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