84 references to ExplicitTypeEverywhere
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (84)
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests.cs (81)
91""", new TestParameters(options: ExplicitTypeEverywhere())); 105""", new TestParameters(options: ExplicitTypeEverywhere())); 139await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 171await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 190""", new TestParameters(options: ExplicitTypeEverywhere())); 207""", new TestParameters(options: ExplicitTypeEverywhere())); 228""", new TestParameters(options: ExplicitTypeEverywhere())); 245""", new TestParameters(options: ExplicitTypeEverywhere())); 263""", new TestParameters(options: ExplicitTypeEverywhere())); 301""", new TestParameters(options: ExplicitTypeEverywhere())); 323""", new TestParameters(options: ExplicitTypeEverywhere())); 343""", new TestParameters(options: ExplicitTypeEverywhere())); 370await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 396await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 423await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 450await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 477await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 506await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 541await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 568await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 595await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 626await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 659await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 690await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 721await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 752await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 781await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 814await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 847await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 878await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 907await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 936await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 971await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1004await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1037await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1074await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1107await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1134await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1161await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1187await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1206""", new TestParameters(options: ExplicitTypeEverywhere())); 1229""", new TestParameters(options: ExplicitTypeEverywhere())); 1256""", options: ExplicitTypeEverywhere()); 1283""", options: ExplicitTypeEverywhere()); 1310""", options: ExplicitTypeEverywhere()); 1337""", options: ExplicitTypeEverywhere()); 1364""", options: ExplicitTypeEverywhere()); 1391""", options: ExplicitTypeEverywhere()); 1418""", options: ExplicitTypeEverywhere()); 1445""", options: ExplicitTypeEverywhere()); 1485""", options: ExplicitTypeEverywhere()); 1502""", new TestParameters(options: ExplicitTypeEverywhere())); 1519""", new TestParameters(options: ExplicitTypeEverywhere())); 1574""", options: ExplicitTypeEverywhere()); 1602""", options: ExplicitTypeEverywhere()); 1630""", options: ExplicitTypeEverywhere()); 1658""", options: ExplicitTypeEverywhere()); 1686""", options: ExplicitTypeEverywhere()); 1714""", options: ExplicitTypeEverywhere()); 1742""", options: ExplicitTypeEverywhere()); 1776""", options: ExplicitTypeEverywhere()); 1814""", options: ExplicitTypeEverywhere()); 1844""", options: ExplicitTypeEverywhere()); 1890""", options: ExplicitTypeEverywhere()); 1922""", options: ExplicitTypeEverywhere()); 1958""", options: ExplicitTypeEverywhere()); 2008""", options: ExplicitTypeEverywhere()); 2056""", options: ExplicitTypeEverywhere()); 2084""", options: ExplicitTypeEverywhere()); 2114""", options: ExplicitTypeEverywhere()); 2154""", options: ExplicitTypeEverywhere()); 2184""", options: ExplicitTypeEverywhere()); 2224""", options: ExplicitTypeEverywhere()); 2451options: ExplicitTypeEverywhere()); 2476options: ExplicitTypeEverywhere()); 2501options: ExplicitTypeEverywhere()); 2530options: ExplicitTypeEverywhere()); 2757""", new TestParameters(options: ExplicitTypeEverywhere())); 2773""", new TestParameters(options: ExplicitTypeEverywhere())); 2798await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 2816await TestMissingInRegularAndScriptAsync(before, new TestParameters(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());