Code Quality uses the following CodeQL queries to analyze C# code and detect code quality issues on:
- Your default branch, with results shown on the repository's "Standard findings" dashboard
- Pull requests, with findings shown as comments made by
github-code-quality[bot]
Copilot Autofix suggestions are provided for findings where possible.
| Query name | Category | Severity |
|---|---|---|
| Block code with a single Response.Write() | Maintainability | Recommendation |
| Call to obsolete method | Maintainability | Warning |
| Class has same name as super class | Maintainability | Recommendation |
| Class implements ICloneable | Maintainability | Recommendation |
| Constant condition | Maintainability | Warning |
| Container contents are never accessed | Maintainability | Error |
| Field masks field in super class | Maintainability | Warning |
| Futile conditional | Maintainability | Warning |
| Local scope variable shadows member | Maintainability | Recommendation |