Severity | Project | Directory | File | Location | Rule | Message |
---|---|---|---|---|---|---|
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 1:1 | SA1200 | Using directive should appear within a namespace declaration |
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 2:1 | SA1200 | Using directive should appear within a namespace declaration |
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 3:1 | SA1200 | Using directive should appear within a namespace declaration |
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 4:1 | SA1200 | Using directive should appear within a namespace declaration |
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 5:1 | SA1200 | Using directive should appear within a namespace declaration |
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 1:1 | SA1633 | The file header is missing or not located at the top of the file. |
Warning | ClassLibrary1 | src/ClassLibrary1 | CSC | CA9998 | FxCopAnalyzers package has been deprecated in favor of 'Microsoft.CodeAnalysis.NetAnalyzers', that ships with the .NET SDK. Please refer to https://docs.microsoft.com/visualstudio/code-quality/migrate-from-fxcop-analyzers-to-net-analyzers to migrate to .NET analyzers. | |
Warning | ClassLibrary1 | src/ClassLibrary1 | CSC | CA9998 | FxCopAnalyzers package has been deprecated in favor of 'Microsoft.CodeAnalysis.NetAnalyzers', that ships with the .NET SDK. Please refer to https://docs.microsoft.com/visualstudio/code-quality/migrate-from-fxcop-analyzers-to-net-analyzers to migrate to .NET analyzers. | |
Warning | ClassLibrary1 | src/ClassLibrary1 | CSC | CA9998 | FxCopAnalyzers package has been deprecated in favor of 'Microsoft.CodeAnalysis.NetAnalyzers', that ships with the .NET SDK. Please refer to https://docs.microsoft.com/visualstudio/code-quality/migrate-from-fxcop-analyzers-to-net-analyzers to migrate to .NET analyzers. | |
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 11:21 | CA1822 | Member 'Foo' does not access instance data and can be marked as static |
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 21:21 | CA1822 | Member 'Bar' does not access instance data and can be marked as static |
Warning | ClassLibrary1 | src/ClassLibrary1 | CSC | SA0001 | XML comment analysis is disabled due to project configuration |
Severity | Project | Directory | File | Location | Rule | Message |
---|---|---|---|---|---|---|
Warning | src/ClassLibrary1 | Class1.cs | 12-19 | dupFinder | Possible duplicate detected (cost 76). The following fragments were found that might be duplicates: "src\ClassLibrary1\Class1.cs" (Line 22 to 29) | |
Warning | src/ClassLibrary1 | Class1.cs | 22-29 | dupFinder | Possible duplicate detected (cost 76). The following fragments were found that might be duplicates: "src\ClassLibrary1\Class1.cs" (Line 12 to 19) |
Severity | Project | Directory | File | Location | Rule | Message |
---|---|---|---|---|---|---|
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 1 | RedundantUsingDirective | Using directive is not required by the code and can be safely removed |
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 2 | RedundantUsingDirective | Using directive is not required by the code and can be safely removed |
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 3 | RedundantUsingDirective | Using directive is not required by the code and can be safely removed |
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 4 | RedundantUsingDirective | Using directive is not required by the code and can be safely removed |
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 5 | RedundantUsingDirective | Using directive is not required by the code and can be safely removed |
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 17 | UnusedVariable | Local variable 'foobar' is never used |
Warning | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 27 | UnusedVariable | Local variable 'foobar' is never used |
Suggestion | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 9 | UnusedType.Global | Class 'Class1' is never used |
Suggestion | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 11 | UnusedMember.Global | Method 'Foo' is never used |
Suggestion | ClassLibrary1 | src/ClassLibrary1 | Class1.cs | 21 | UnusedMember.Global | Method 'Bar' is never used |
Severity | Project | Directory | File | Location | Rule | Message |
---|---|---|---|---|---|---|
Warning | docs | index.md | 1 | MD022 | Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "# foo"] | |
Warning | docs | index.md | 2:811 | MD009 | Trailing spaces [Expected: 0 or 2; Actual: 1] | |
Warning | docs | index.md | 2:101 | MD013 | Line length [Expected: 100; Actual: 811] | |
Warning | docs | index.md | 4 | MD022 | Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "# bar"] | |
Warning | docs | index.md | 4 | MD025 | Multiple top-level headings in the same document [Context: "# bar"] | |
Warning | docs | index.md | 5 | MD031 | Fenced code blocks should be surrounded by blank lines [Context: "```"] | |
Warning | docs | index.md | 5 | MD040 | Fenced code blocks should have a language specified [Context: "```"] | |
Warning | docs | index.md | 7:3 | MD047 | Files should end with a single newline character |
Severity | Project | Directory | File | Location | Rule | Message |
---|---|---|---|---|---|---|
Warning | myfile.txt | 42 | Something went wrong |