Base:
property
PreferUnusedLocal
Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.RemoveUnusedParametersAndValues.RemoveUnusedValuesTestsBase.PreferUnusedLocal
21 references to PreferUnusedLocal
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (21)
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueExpressionStatementTests.cs (21)
88
[InlineData(nameof(
PreferUnusedLocal
))]
107
[InlineData(nameof(
PreferUnusedLocal
), "var unused")]
137
[InlineData(nameof(
PreferUnusedLocal
), "var unused")]
167
[InlineData(nameof(
PreferUnusedLocal
))]
184
[InlineData(nameof(
PreferUnusedLocal
))]
203
[InlineData(nameof(
PreferUnusedLocal
))]
220
[InlineData(nameof(
PreferUnusedLocal
))]
239
[InlineData(nameof(
PreferUnusedLocal
))]
259
[InlineData(nameof(
PreferUnusedLocal
))]
279
[InlineData(nameof(
PreferUnusedLocal
))]
362
""", options:
PreferUnusedLocal
);
392
""", options:
PreferUnusedLocal
);
428
""", options:
PreferUnusedLocal
);
470
""", options:
PreferUnusedLocal
);
475
[InlineData(nameof(
PreferUnusedLocal
), "var unused", "var unused", "var unused3")]
611
""", options:
PreferUnusedLocal
);
642
""", options:
PreferUnusedLocal
);
647
[InlineData(nameof(
PreferUnusedLocal
))]
662
[InlineData(nameof(
PreferUnusedLocal
))]
681
[InlineData(nameof(
PreferUnusedLocal
))]
703
[InlineData(nameof(
PreferUnusedLocal
))]