Skip to content

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants