Skip to content

Code Analysis Attributes #50

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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