cenotelie / hime

Apache License 2.0
27 stars 4 forks source link

[.NET] Mark generated classes with GeneratedCodeAttribute #61

Closed woutersl closed 4 years ago

woutersl commented 5 years ago

Original report by David Aramant (Bitbucket: 557058:90c5a420-b317-4f31-bffe-8f5c9effcd9f, GitHub: davidaramant).


It would be nice if the generated C# classes were marked with the GeneratedCode attribute. This attribute is the standard way in .NET of marking that code has been created by a tool. Most analysis software picks up on it and ignores any stylistic discrepancies in code that it knows is generated.

woutersl commented 5 years ago

Original comment by Laurent Wouters (Bitbucket: 557058:675792b6-d731-4823-9f7d-c6dfcb2df2b5, ).


This sounds like a simple fix. This should land in the next release. Thank you for the suggestion.