Back to Azure Sdk For

Azure SDK Analyzers

sdk/tools/Azure.SdkAnalyzers/README.md

2019-05-16T16-521.1 KB
Original Source

Azure SDK Analyzers

Roslyn analyzers that enforce Azure SDK Design Guidelines for .NET library authors.

This package is automatically included in all Azure SDK libraries in this repository to ensure consistent code quality and adherence to Azure SDK conventions.

Implemented Rules

  • AZC0012: Avoid single word type names
  • AZC0020: Propagate CancellationToken to RequestContext

For Library Authors

These analyzers run automatically during build and will produce warnings when your code doesn't follow Azure SDK conventions. Review the Azure SDK Design Guidelines for detailed guidance on all rules.

For detailed information about each diagnostic rule, see the list of diagnostics.