4823 new problems found by Qodana for .NET
Qodana for .NET
4823 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Redundant using directive |
🔶 Warning | 1759 |
Namespace does not correspond to file location |
🔶 Warning | 1083 |
Possible 'System.NullReferenceException' |
🔶 Warning | 335 |
Cannot resolve reference in XML comment |
🔶 Warning | 316 |
Method return value is never used (private accessibility) |
🔶 Warning | 255 |
Type member is never used (private accessibility) |
🔶 Warning | 225 |
Usage of <inheritdoc /> is invalid |
🔶 Warning | 174 |
Missing XML comment for publicly visible type or member |
🔶 Warning | 120 |
Auto-property accessor is never used (non-private accessibility) |
🔶 Warning | 78 |
Code is unreachable |
🔶 Warning | 58 |
Redundant name qualifier |
🔶 Warning | 57 |
Parameter hides member |
🔶 Warning | 33 |
Bitwise operation on enum is not marked by [Flags] attribute |
🔶 Warning | 30 |
Assignment is not used |
🔶 Warning | 28 |
Redundant 'base.' qualifier |
🔶 Warning | 27 |
Member hides static member from outer class |
🔶 Warning | 23 |
Unused parameter (private accessibility) |
🔶 Warning | 19 |
Operator '==' or operator '!=' with 'Object.Equals(object o)' and 'Object.GetHashCode()' not overridden |
🔶 Warning | 18 |
Function is recursive on all execution paths |
🔶 Warning | 17 |
Non-accessed local variable only used to discard the 'out' parameter value |
🔶 Warning | 13 |
Redundant type arguments of method |
🔶 Warning | 13 |
Non-accessed field (private accessibility) |
🔶 Warning | 10 |
Unused local variable |
🔶 Warning | 10 |
Redundant explicit type in array creation |
🔶 Warning | 8 |
Possible 'null' assignment to non-nullable entity |
🔶 Warning | 7 |
Expression is always 'true' or always 'false' |
🔶 Warning | 7 |
Dereference of a possibly null reference. |
🔶 Warning | 6 |
Redundant cast |
🔶 Warning | 6 |
Virtual member call in constructor |
🔶 Warning | 6 |
Possible null reference argument for a parameter. |
🔶 Warning | 5 |
Heuristically unreachable code |
🔶 Warning | 5 |
Redundant lambda expression parameter type specification |
🔶 Warning | 5 |
Static field or auto-property in generic type |
🔶 Warning | 5 |
Keyword 'new' is redundant |
🔶 Warning | 4 |
Ambiguous reference in XML comment |
🔶 Warning | 4 |
Access to modified captured variable |
🔶 Warning | 3 |
Local variable hides member |
🔶 Warning | 3 |
Member initialized value ignored |
🔶 Warning | 3 |
Non-accessed local variable |
🔶 Warning | 3 |
Parameter is only used for precondition check (private accessibility) |
🔶 Warning | 3 |
Private field can be converted into local variable |
🔶 Warning | 3 |
Auto-property accessor is never used (private accessibility) |
🔶 Warning | 3 |
Async function without await expression |
🔶 Warning | 2 |
Async method invocation without await expression |
🔶 Warning | 2 |
Conditional access qualifier expression is not null according to nullable reference types' annotations |
🔶 Warning | 2 |
Possible unassigned object created by 'new' expression |
🔶 Warning | 2 |
Redundant 'partial' modifier on type declaration |
🔶 Warning | 2 |
Redundant catch clause |
🔶 Warning | 2 |
Redundant control flow jump statement |
🔶 Warning | 2 |
Redundant nullable attribute |
🔶 Warning | 2 |
Specify string culture explicitly |
🔶 Warning | 2 |
Unused type parameter |
🔶 Warning | 2 |
Declaring new protected member in sealed class is the same as declaring it as private |
🔶 Warning | 1 |
Cannot convert null literal to non-nullable reference type. |
🔶 Warning | 1 |
Expression is always 'true' or 'false' according to nullable reference types' annotations |
🔶 Warning | 1 |
Empty constructor |
🔶 Warning | 1 |
Empty 'for' loop is redundant |
🔶 Warning | 1 |
Empty general catch clause |
🔶 Warning | 1 |
Empty namespace declaration |
🔶 Warning | 1 |
Non-readonly type member referenced in 'GetHashCode()' |
🔶 Warning | 1 |
Redundant 'case' label |
🔶 Warning | 1 |
Redundant member initializer |
🔶 Warning | 1 |
Redundant include |
🔶 Warning | 1 |
Unused nullable directive |
🔶 Warning | 1 |
Type is never used (private accessibility) |
🔶 Warning | 1 |
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 49 in Common/Security/Script/T4/N.Override.Generated.tt
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 141 in Common/Attribute/Script/GCommand/GCommandSystem.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 168 in Common/Security/Script/T4/N.Implicit.Generated.tt
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 35 in Common/Security/Script/T4/NChar.Construction.Generated.tt
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 35 in Common/Security/Script/T4/NDecimal.Construction.Generated.tt
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 58 in Common/Security/Script/T4/N.Operator.Generated.tt
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute
github-actions / Qodana for .NET
Bitwise operation on enum is not marked by [Flags] attribute
Bitwise operation on enum is not marked by \[Flags\] attribute