84 references to ExplicitTypeEverywhere
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (84)
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests.cs (81)
91
""", new TestParameters(options:
ExplicitTypeEverywhere
()));
105
""", new TestParameters(options:
ExplicitTypeEverywhere
()));
139
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
171
await 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
()));
370
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
396
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
423
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
450
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
477
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
506
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
541
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
568
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
595
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
626
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
659
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
690
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
721
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
752
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
781
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
814
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
847
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
878
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
907
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
936
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
971
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
1004
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
1037
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
1074
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
1107
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
1134
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
1161
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
1187
await 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
());
2451
options:
ExplicitTypeEverywhere
());
2476
options:
ExplicitTypeEverywhere
());
2501
options:
ExplicitTypeEverywhere
());
2530
options:
ExplicitTypeEverywhere
());
2757
""", new TestParameters(options:
ExplicitTypeEverywhere
()));
2773
""", new TestParameters(options:
ExplicitTypeEverywhere
()));
2798
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeEverywhere
());
2816
await TestMissingInRegularAndScriptAsync(before, new TestParameters(options:
ExplicitTypeEverywhere
()));
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests_FixAllTests.cs (3)
130
await TestInRegularAndScriptAsync(input, expected, options:
ExplicitTypeEverywhere
());
246
await TestInRegularAndScriptAsync(input, expected, options:
ExplicitTypeEverywhere
());
362
await TestInRegularAndScriptAsync(input, expected, options:
ExplicitTypeEverywhere
());