+
+ Directory |
+ File |
+ Location |
+ Severity |
+ Code |
+ Message |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC69.DontCallFunctionsInLoopConditions.cs |
+ Row 16, Column 35 |
+ Warning |
+ EC69 |
+ A loop invariant function is called in a loop condition |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC69.DontCallFunctionsInLoopConditions.cs |
+ Row 16, Column 73 |
+ Warning |
+ EC69 |
+ A loop invariant function is called in a loop condition |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC69.DontCallFunctionsInLoopConditions.cs |
+ Row 16, Column 86 |
+ Warning |
+ EC69 |
+ A loop invariant function is called in a loop condition |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC69.DontCallFunctionsInLoopConditions.cs |
+ Row 16, Column 99 |
+ Warning |
+ EC69 |
+ A loop invariant function is called in a loop condition |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC69.DontCallFunctionsInLoopConditions.cs |
+ Row 19, Column 30 |
+ Warning |
+ EC69 |
+ A loop invariant function is called in a loop condition |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC69.DontCallFunctionsInLoopConditions.cs |
+ Row 19, Column 68 |
+ Warning |
+ EC69 |
+ A loop invariant function is called in a loop condition |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC69.DontCallFunctionsInLoopConditions.cs |
+ Row 19, Column 81 |
+ Warning |
+ EC69 |
+ A loop invariant function is called in a loop condition |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC69.DontCallFunctionsInLoopConditions.cs |
+ Row 19, Column 94 |
+ Warning |
+ EC69 |
+ A loop invariant function is called in a loop condition |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC69.DontCallFunctionsInLoopConditions.cs |
+ Row 23, Column 30 |
+ Warning |
+ EC69 |
+ A loop invariant function is called in a loop condition |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC69.DontCallFunctionsInLoopConditions.cs |
+ Row 23, Column 68 |
+ Warning |
+ EC69 |
+ A loop invariant function is called in a loop condition |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC69.DontCallFunctionsInLoopConditions.cs |
+ Row 23, Column 81 |
+ Warning |
+ EC69 |
+ A loop invariant function is called in a loop condition |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC69.DontCallFunctionsInLoopConditions.cs |
+ Row 23, Column 94 |
+ Warning |
+ EC69 |
+ A loop invariant function is called in a loop condition |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC72.DontExecuteSqlCommandsInLoops.cs |
+ Row 17, Column 17 |
+ Warning |
+ EC72 |
+ A SQL command is executed in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC72.DontExecuteSqlCommandsInLoops.cs |
+ Row 18, Column 17 |
+ Warning |
+ EC72 |
+ A SQL command is executed in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC72.DontExecuteSqlCommandsInLoops.cs |
+ Row 19, Column 17 |
+ Warning |
+ EC72 |
+ A SQL command is executed in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC72.DontExecuteSqlCommandsInLoops.cs |
+ Row 20, Column 17 |
+ Warning |
+ EC72 |
+ A SQL command is executed in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC72.DontExecuteSqlCommandsInLoops.cs |
+ Row 9, Column 9 |
+ Info |
+ EC82 |
+ A variable can be made constant |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 14, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 15, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 16, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 23, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 24, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 25, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 33, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 70, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 34, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 35, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 71, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 43, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 57, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 44, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 45, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 58, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 72, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 59, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 83, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 84, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 85, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 108, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 109, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 110, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 113, Column 33 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 114, Column 33 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 115, Column 33 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 122, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 123, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 124, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 127, Column 27 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 128, Column 27 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 129, Column 27 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 136, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 137, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 138, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 141, Column 30 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 142, Column 30 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 143, Column 30 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 149, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 150, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 151, Column 13 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 154, Column 41 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 155, Column 41 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC75.DontConcatenateStringsInLoops.cs |
+ Row 156, Column 41 |
+ Warning |
+ EC75 |
+ A string is concatenated in a loop |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC81.SpecifyStructLayout.cs |
+ Row 11, Column 35 |
+ Warning |
+ EC81 |
+ Use struct layout |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC81.SpecifyStructLayout.cs |
+ Row 18, Column 35 |
+ Warning |
+ EC81 |
+ Use struct layout |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC81.SpecifyStructLayout.cs |
+ Row 20, Column 35 |
+ Warning |
+ EC81 |
+ Use struct layout |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC82.VariableCanBeMadeConstant.cs |
+ Row 7, Column 9 |
+ Info |
+ EC82 |
+ A variable can be made constant |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC82.VariableCanBeMadeConstant.cs |
+ Row 27, Column 9 |
+ Info |
+ EC82 |
+ A variable can be made constant |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC82.VariableCanBeMadeConstant.cs |
+ Row 34, Column 9 |
+ Info |
+ EC82 |
+ A variable can be made constant |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC82.VariableCanBeMadeConstant.cs |
+ Row 37, Column 9 |
+ Info |
+ EC82 |
+ A variable can be made constant |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC82.VariableCanBeMadeConstant.cs |
+ Row 40, Column 9 |
+ Info |
+ EC82 |
+ A variable can be made constant |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC83.ReplaceEnumToStringWithNameOf.cs |
+ Row 14, Column 27 |
+ Warning |
+ EC83 |
+ Enum.ToString() can be replaced with nameof() |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC83.ReplaceEnumToStringWithNameOf.cs |
+ Row 15, Column 27 |
+ Warning |
+ EC83 |
+ Enum.ToString() can be replaced with nameof() |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC83.ReplaceEnumToStringWithNameOf.cs |
+ Row 16, Column 27 |
+ Warning |
+ EC83 |
+ Enum.ToString() can be replaced with nameof() |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC83.ReplaceEnumToStringWithNameOf.cs |
+ Row 17, Column 27 |
+ Warning |
+ EC83 |
+ Enum.ToString() can be replaced with nameof() |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC83.ReplaceEnumToStringWithNameOf.cs |
+ Row 19, Column 27 |
+ Warning |
+ EC83 |
+ Enum.ToString() can be replaced with nameof() |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC83.ReplaceEnumToStringWithNameOf.cs |
+ Row 20, Column 27 |
+ Warning |
+ EC83 |
+ Enum.ToString() can be replaced with nameof() |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC83.ReplaceEnumToStringWithNameOf.cs |
+ Row 23, Column 29 |
+ Warning |
+ EC83 |
+ Enum.ToString() can be replaced with nameof() |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC83.ReplaceEnumToStringWithNameOf.cs |
+ Row 24, Column 29 |
+ Warning |
+ EC83 |
+ Enum.ToString() can be replaced with nameof() |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC83.ReplaceEnumToStringWithNameOf.cs |
+ Row 25, Column 29 |
+ Warning |
+ EC83 |
+ Enum.ToString() can be replaced with nameof() |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC84.AvoidAsyncVoidMethods.cs |
+ Row 7, Column 30 |
+ Warning |
+ EC84 |
+ Avoid async void methods |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC84.AvoidAsyncVoidMethods.cs |
+ Row 19, Column 30 |
+ Warning |
+ EC84 |
+ Avoid async void methods |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC84.AvoidAsyncVoidMethods.cs |
+ Row 7, Column 19 |
+ Info |
+ EC93 |
+ Consider returning a Task directly instead of awaiting a single statement |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC84.AvoidAsyncVoidMethods.cs |
+ Row 10, Column 19 |
+ Info |
+ EC93 |
+ Consider returning a Task directly instead of awaiting a single statement |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC86.GCCollectShouldNotBeCalled.cs |
+ Row 9, Column 9 |
+ Warning |
+ EC86 |
+ Avoid calling GC.Collect() method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC86.GCCollectShouldNotBeCalled.cs |
+ Row 11, Column 9 |
+ Warning |
+ EC86 |
+ Avoid calling GC.Collect() method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC86.GCCollectShouldNotBeCalled.cs |
+ Row 15, Column 9 |
+ Warning |
+ EC86 |
+ Avoid calling GC.Collect() method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC86.GCCollectShouldNotBeCalled.cs |
+ Row 19, Column 9 |
+ Warning |
+ EC86 |
+ Avoid calling GC.Collect() method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC86.GCCollectShouldNotBeCalled.cs |
+ Row 23, Column 9 |
+ Warning |
+ EC86 |
+ Avoid calling GC.Collect() method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC86.GCCollectShouldNotBeCalled.cs |
+ Row 27, Column 9 |
+ Warning |
+ EC86 |
+ Avoid calling GC.Collect() method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC87.UseListIndexer.cs |
+ Row 23, Column 27 |
+ Warning |
+ EC87 |
+ A list indexer should be used instead of a Linq method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC87.UseListIndexer.cs |
+ Row 25, Column 27 |
+ Warning |
+ EC87 |
+ A list indexer should be used instead of a Linq method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC87.UseListIndexer.cs |
+ Row 27, Column 27 |
+ Warning |
+ EC87 |
+ A list indexer should be used instead of a Linq method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC87.UseListIndexer.cs |
+ Row 29, Column 27 |
+ Warning |
+ EC87 |
+ A list indexer should be used instead of a Linq method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC87.UseListIndexer.cs |
+ Row 31, Column 27 |
+ Warning |
+ EC87 |
+ A list indexer should be used instead of a Linq method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC87.UseListIndexer.cs |
+ Row 33, Column 27 |
+ Warning |
+ EC87 |
+ A list indexer should be used instead of a Linq method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC87.UseListIndexer.cs |
+ Row 35, Column 27 |
+ Warning |
+ EC87 |
+ A list indexer should be used instead of a Linq method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC87.UseListIndexer.cs |
+ Row 37, Column 27 |
+ Warning |
+ EC87 |
+ A list indexer should be used instead of a Linq method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC87.UseListIndexer.cs |
+ Row 39, Column 27 |
+ Warning |
+ EC87 |
+ A list indexer should be used instead of a Linq method |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC88.DisposeResourceAsynchronusly.cs |
+ Row 34, Column 9 |
+ Warning |
+ EC88 |
+ A resource can be disposed asynchronously |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC88.DisposeResourceAsynchronusly.cs |
+ Row 37, Column 9 |
+ Warning |
+ EC88 |
+ A resource can be disposed asynchronously |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC91.UseWhereBeforeOrderBy.cs |
+ Row 10, Column 14 |
+ Warning |
+ EC91 |
+ Call Where before OrderBy in a LINQ method chain |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC91.UseWhereBeforeOrderBy.cs |
+ Row 19, Column 14 |
+ Warning |
+ EC91 |
+ Call Where before OrderBy in a LINQ method chain |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC91.UseWhereBeforeOrderBy.cs |
+ Row 28, Column 21 |
+ Warning |
+ EC91 |
+ Call Where before OrderBy in a LINQ method chain |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC91.UseWhereBeforeOrderBy.cs |
+ Row 37, Column 21 |
+ Warning |
+ EC91 |
+ Call Where before OrderBy in a LINQ method chain |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC93.ReturnTaskDirectly.cs |
+ Row 27, Column 19 |
+ Info |
+ EC93 |
+ Consider returning a Task directly instead of awaiting a single statement |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC93.ReturnTaskDirectly.cs |
+ Row 31, Column 19 |
+ Info |
+ EC93 |
+ Consider returning a Task directly instead of awaiting a single statement |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC93.ReturnTaskDirectly.cs |
+ Row 38, Column 19 |
+ Info |
+ EC93 |
+ Consider returning a Task directly instead of awaiting a single statement |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\Roslyn |
+ CA1827.DoNotUseCountWhenAnyCanBeUsed.cs |
+ Row 5, Column 63 |
+ Info |
+ CA1827 |
+ Count() is used where Any() could be used instead to improve performance |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\Roslyn |
+ CA1827.DoNotUseCountWhenAnyCanBeUsed.cs |
+ Row 7, Column 63 |
+ Info |
+ CA1827 |
+ LongCount() is used where Any() could be used instead to improve performance |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\Roslyn |
+ CA1001.TypesThatOwnDisposableFieldsShouldBeDisposable.cs |
+ Row 5, Column 21 |
+ Hidden |
+ CA1001 |
+ Type 'TypesThatOwnDisposableFieldsShouldBeDisposable' owns disposable field(s) '_shouldBeDisposed' but is not disposable |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\Roslyn |
+ CA1825.AvoidZeroLengthArrayAllocations.cs |
+ Row 5, Column 44 |
+ Info |
+ CA1825 |
+ Avoid unnecessary zero-length array allocations. Use Array.Empty() instead. |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\Roslyn |
+ CA1805.DoNotInitializeUnnecessarily.cs |
+ Row 5, Column 31 |
+ Hidden |
+ CA1805 |
+ Member 'MyInt' is explicitly initialized to its default value |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\Roslyn |
+ CA1805.DoNotInitializeUnnecessarily.cs |
+ Row 7, Column 35 |
+ Hidden |
+ CA1805 |
+ Member 'MyStr' is explicitly initialized to its default value |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 177, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 160, Column 24 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 201, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 159, Column 24 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 198, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 158, Column 24 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 189, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 168, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 196, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 202, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 154, Column 22 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 187, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 169, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 220, Column 30 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 194, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 179, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 161, Column 24 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 229, Column 30 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 199, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 178, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 152, Column 22 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 195, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 175, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 151, Column 22 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 173, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 134, Column 24 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 215, Column 22 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 190, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 172, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 144, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 213, Column 22 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 192, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 167, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 145, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 200, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 180, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 171, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 138, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 186, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 165, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 137, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 193, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 174, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 155, Column 22 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 133, Column 22 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 181, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 157, Column 24 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 139, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 48, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 211, Column 22 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 153, Column 22 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 143, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 56, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 54, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 50, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 26, Column 22 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 45, Column 25 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 37, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 32, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 30, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 27, Column 24 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 20, Column 24 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 14, Column 24 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 9, Column 18 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 223, Column 24 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 212, Column 22 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 188, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 166, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 55, Column 29 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 49, Column 29 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 44, Column 23 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 38, Column 27 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 36, Column 26 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 31, Column 28 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 21, Column 23 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 19, Column 22 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 15, Column 23 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 13, Column 22 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+ C:\Users\vlajoumard\source\ecoCode-csharp-test-project\RuleTests\EcoCode |
+ EC85.MakeTypeSealed.cs |
+ Row 10, Column 20 |
+ Info |
+ EC85 |
+ Type may be sealed, as it has no subtypes in its assembly and no user-declared overridable member |
+
+
+
+
diff --git a/ecoCode-csharp-test-project.sln b/ecoCode-csharp-test-project.sln
index 3596335..71d3e92 100644
--- a/ecoCode-csharp-test-project.sln
+++ b/ecoCode-csharp-test-project.sln
@@ -1,21 +1,9 @@
-
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.9.34714.143
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ecoCode-csharp-test-project", "ecoCode-csharp-test-project.csproj", "{6AAA1AD9-DC43-4F33-898A-663C42B06DCA}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0A894299-879E-459D-A0C0-2B25AD5EBD0D}"
- ProjectSection(SolutionItems) = preProject
- .gitattributes = .gitattributes
- .gitignore = .gitignore
- .github\workflows\build.yml = .github\workflows\build.yml
- global.json = global.json
- LICENCE.md = LICENCE.md
- NuGet.Config = NuGet.Config
- README.md = README.md
- EndProjectSection
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -34,3 +22,14 @@ Global
SolutionGuid = {E0DE71DC-90CB-4025-A57B-2F705B187C22}
EndGlobalSection
EndGlobal
+d.0 = Debug|Any CPU
+ {6AAA1AD9-DC43-4F33-898A-663C42B06DCA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6AAA1AD9-DC43-4F33-898A-663C42B06DCA}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {E0DE71DC-90CB-4025-A57B-2F705B187C22}
+ EndGlobalSection
+EndGlobal
diff --git a/src/CA1825.AvoidZeroLengthArrayAllocations.cs b/src/CA1825.AvoidZeroLengthArrayAllocations.cs
deleted file mode 100644
index 6f4478a..0000000
--- a/src/CA1825.AvoidZeroLengthArrayAllocations.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace EcoCode.LiveWarnings;
-
-internal static class AvoidZeroLengthArrayAllocations
-{
- public static void Run()
- {
- int[] anZeroLengthArray = new int[0]; // CA1825
- Console.WriteLine(anZeroLengthArray.Length);
- }
-}
diff --git a/src/CA1827.DoNotUseCountWhenAnyCanBeUsed.cs b/src/CA1827.DoNotUseCountWhenAnyCanBeUsed.cs
deleted file mode 100644
index 0a65ffb..0000000
--- a/src/CA1827.DoNotUseCountWhenAnyCanBeUsed.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace EcoCode.LiveWarnings;
-
-internal static class DoNotUseCountWhenAnyCanBeUsed
-{
- public static string M1(IEnumerable