Skip to content

Code Analysis Attributes #50

@michaelstonis

Description

@michaelstonis

Consider adding the following attributes to generated methods and properties:

  • System.CodeDom.Compiler.GeneratedCode
  • System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage

If a project has a configured editorconfig or stylecop configuration, it can cause a ton of build warnings if the generated code does not match the configured rules.

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