version | downloads | package |
---|---|---|
Qowaiv.Analyzers.CSharp |
Contains Roslyn (static code) diagnostic analyzers.
- QW0001 - Use a testable Time Provider
- QW0003 - Decorate pure functions
- QW0004 - Characters with Trojan Horse potential are not allowed
- QW0005 - Seal concrete classes unless designed for inheritance
- QW0006 - Only unsealed concrete classes should be decorated as inheritable
- QW0007 - Use file-scoped namespace declarations
- QW0008 - Define properties as not-nullable for types with a defined empty state
- QW0009 - Define properties as not-nullable for enums with a defined none/empty value
- QW0010 - Use System.DateOnly instead of Qowaiv.Date
- QW0011 - Define properties as immutables
- QW0012 - Use immutable types for properties
- QW0013 - Use Qowaiv decimal rounding
- QW0014 - Define global using statements separately
- QW0015 - Define global using statements in single file
- QW0016 - Prefer regular over positional properties
- QW0017 - Apply arithmetic operations on non-nullables only