2 overrides of PreferUnusedLocal
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (2)
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (1)
41
private protected override OptionsCollection
PreferUnusedLocal
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueExpressionStatementTests.cs (1)
35
private protected override OptionsCollection
PreferUnusedLocal
4 references to PreferUnusedLocal
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (4)
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValuesTestsBase.cs (4)
38
case nameof(
PreferUnusedLocal
):
39
return
PreferUnusedLocal
;
56
foreach (var options in new[] { PreferDiscard,
PreferUnusedLocal
})
64
foreach (var options in new[] { PreferDiscard,
PreferUnusedLocal
})