Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

allow Pragma warning disable #18

Merged
merged 1 commit into from
Dec 16, 2020
Merged

allow Pragma warning disable #18

merged 1 commit into from
Dec 16, 2020

Conversation

dansiegel
Copy link
Owner

Description

There may be several times in which generated code may result in a compiler warning or error. This will allow you to surround a Class, Method, Property, etc with a Pragma warning block to disable the warning/error.

The warnings/errors could occur because of Analyzers that you've written to keep people from duplicating code that you're generating or because you're generating code that you'll then use IL weaving to further manipulate.

@dansiegel dansiegel added the enhancement New feature or request label Dec 16, 2020
@dansiegel dansiegel merged commit a80b741 into master Dec 16, 2020
@dansiegel dansiegel deleted the pragma-warnings branch December 16, 2020 23:34
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant