Skip to content

Does not restore disabled pragma for types 649 and 8765 #4961

@Jeneland

Description

@Jeneland

When generating the code with Nswag, the following codes are disabled at the beginning but are not restored at the end when all the other codes are restored. Therefore, this needed to be adjusted manually, but it is easy to overlook.

#pragma warning disable 649 // Disable "CS0649 Field is never assigned to, and will always have its default value null"
#pragma warning disable 8765 // Disable "CS8765 Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes)."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions