Configuration saving #339
124 new problems found by Qodana for .NET
Qodana for .NET
107 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Use of obsolete symbol |
🔶 Warning | 46 |
Redundant using directive |
🔶 Warning | 10 |
Namespace does not correspond to file location |
🔶 Warning | 9 |
Static resource not resolved |
🔶 Warning | 6 |
Unused parameter in partial method |
🔶 Warning | 5 |
Convert 'if' statement into 'switch' |
◽️ Notice | 7 |
Invert 'if' statement to reduce nesting |
◽️ Notice | 6 |
Member can be made static (shared) (private accessibility) |
◽️ Notice | 5 |
Part of foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used |
◽️ Notice | 4 |
Use preferred style of 'new' expression when created type is not evident |
◽️ Notice | 3 |
'if-return' statement can be rewritten as 'return' statement |
◽️ Notice | 3 |
Convert local variable or field into constant (private accessibility) |
◽️ Notice | 1 |
Foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used |
◽️ Notice | 1 |
Loop can be converted into LINQ-expression |
◽️ Notice | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at qodana-support@jetbrains.com
- 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
Check notice on line 41 in source/RevitLookup/Views/FallbackValues/RevitConfigFallbacks.cs
github-actions / Qodana for .NET
Use preferred style of 'new' expression when created type is not evident
Missing type specification
Check notice on line 29 in source/RevitLookup/Views/FallbackValues/RevitConfigFallbacks.cs
github-actions / Qodana for .NET
Use preferred style of 'new' expression when created type is not evident
Missing type specification
Check notice on line 35 in source/RevitLookup/Views/FallbackValues/RevitConfigFallbacks.cs
github-actions / Qodana for .NET
Use preferred style of 'new' expression when created type is not evident
Missing type specification
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
Check warning on line 250 in source/RevitLookup/Core/Modules/Visualization/XyzVisualizationServer.cs
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
Check warning on line 264 in source/RevitLookup/Core/Modules/Visualization/XyzVisualizationServer.cs
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
Check warning on line 278 in source/RevitLookup/Core/Modules/Visualization/XyzVisualizationServer.cs
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'
github-actions / Qodana for .NET
Use of obsolete symbol
CS0618: Property 'Nice3point.Revit.Toolkit.Context.UiDocument' is obsolete: 'Document property will be removed in the next Major version, use Context.ActiveUiDocument() instead'