85 references to ExplicitTypeEverywhere
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (85)
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests.cs (82)
87""", new TestParameters(options: ExplicitTypeEverywhere())); 101""", new TestParameters(options: ExplicitTypeEverywhere())); 135await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 167await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 186""", new TestParameters(options: ExplicitTypeEverywhere())); 203""", new TestParameters(options: ExplicitTypeEverywhere())); 224""", new TestParameters(options: ExplicitTypeEverywhere())); 241""", new TestParameters(options: ExplicitTypeEverywhere())); 259""", new TestParameters(options: ExplicitTypeEverywhere())); 297""", new TestParameters(options: ExplicitTypeEverywhere())); 319""", new TestParameters(options: ExplicitTypeEverywhere())); 339""", new TestParameters(options: ExplicitTypeEverywhere())); 366await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 392await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 419await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 446await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 473await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 502await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 537await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 564await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 591await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 622await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 655await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 686await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 717await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 748await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 777await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 810await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 843await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 874await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 903await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 932await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 967await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1000await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1033await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1070await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1103await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1130await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1157await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1183await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1202""", new TestParameters(options: ExplicitTypeEverywhere())); 1225""", new TestParameters(options: ExplicitTypeEverywhere())); 1252""", options: ExplicitTypeEverywhere()); 1279""", options: ExplicitTypeEverywhere()); 1306""", options: ExplicitTypeEverywhere()); 1333""", options: ExplicitTypeEverywhere()); 1360""", options: ExplicitTypeEverywhere()); 1387""", options: ExplicitTypeEverywhere()); 1414""", options: ExplicitTypeEverywhere()); 1441""", options: ExplicitTypeEverywhere()); 1481""", options: ExplicitTypeEverywhere()); 1498""", new TestParameters(options: ExplicitTypeEverywhere())); 1515""", new TestParameters(options: ExplicitTypeEverywhere())); 1570""", options: ExplicitTypeEverywhere()); 1598""", options: ExplicitTypeEverywhere()); 1626""", options: ExplicitTypeEverywhere()); 1654""", options: ExplicitTypeEverywhere()); 1682""", options: ExplicitTypeEverywhere()); 1710""", options: ExplicitTypeEverywhere()); 1738""", options: ExplicitTypeEverywhere()); 1772""", options: ExplicitTypeEverywhere()); 1810""", options: ExplicitTypeEverywhere()); 1840""", options: ExplicitTypeEverywhere()); 1886""", options: ExplicitTypeEverywhere()); 1918""", options: ExplicitTypeEverywhere()); 1954""", options: ExplicitTypeEverywhere()); 2004""", options: ExplicitTypeEverywhere()); 2052""", options: ExplicitTypeEverywhere()); 2080""", options: ExplicitTypeEverywhere()); 2110""", options: ExplicitTypeEverywhere()); 2150""", options: ExplicitTypeEverywhere()); 2180""", options: ExplicitTypeEverywhere()); 2220""", options: ExplicitTypeEverywhere()); 2447options: ExplicitTypeEverywhere()); 2472options: ExplicitTypeEverywhere()); 2497options: ExplicitTypeEverywhere()); 2526options: ExplicitTypeEverywhere()); 2753""", new TestParameters(options: ExplicitTypeEverywhere())); 2769""", new TestParameters(options: ExplicitTypeEverywhere())); 2794await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 2812await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeEverywhere())); 2842""", options: ExplicitTypeEverywhere());
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests_FixAllTests.cs (3)
130await TestInRegularAndScriptAsync(input, expected, options: ExplicitTypeEverywhere()); 246await TestInRegularAndScriptAsync(input, expected, options: ExplicitTypeEverywhere()); 362await TestInRegularAndScriptAsync(input, expected, options: ExplicitTypeEverywhere());