104 references to ImplicitTypeEverywhere
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (104)
src\Analyzers\CSharp\Tests\InlineDeclaration\CSharpInlineDeclarationTests.cs (4)
246
""", new TestParameters(options: new UseImplicitTypeTests().
ImplicitTypeEverywhere
()));
647
""", new TestParameters(options: new UseImplicitTypeTests().
ImplicitTypeEverywhere
()));
692
""", new TestParameters(options: new UseImplicitTypeTests().
ImplicitTypeEverywhere
()));
729
""", new TestParameters(options: new UseImplicitTypeTests().
ImplicitTypeEverywhere
()));
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseImplicitTypeTests.cs (97)
98
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
112
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
129
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
146
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
161
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
178
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
197
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
214
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
231
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
248
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
265
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
282
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
299
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
322
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
343
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
360
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
378
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
396
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
413
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
430
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
449
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
471
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
499
""", CSharpParseOptions.Default, options:
ImplicitTypeEverywhere
());
543
""", options:
ImplicitTypeEverywhere
());
585
""", options:
ImplicitTypeEverywhere
());
610
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
632
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
660
""", options:
ImplicitTypeEverywhere
());
688
""", options:
ImplicitTypeEverywhere
());
718
""", options:
ImplicitTypeEverywhere
());
750
await TestInRegularAndScriptAsync(before, after, options:
ImplicitTypeEverywhere
());
778
""", options:
ImplicitTypeEverywhere
());
806
""", options:
ImplicitTypeEverywhere
());
834
""", options:
ImplicitTypeEverywhere
());
862
""", options:
ImplicitTypeEverywhere
());
890
""", options:
ImplicitTypeEverywhere
());
918
""", options:
ImplicitTypeEverywhere
());
952
""", options:
ImplicitTypeEverywhere
());
990
""", options:
ImplicitTypeEverywhere
());
1020
""", options:
ImplicitTypeEverywhere
());
1066
""", options:
ImplicitTypeEverywhere
());
1098
""", options:
ImplicitTypeEverywhere
());
1134
""", options:
ImplicitTypeEverywhere
());
1184
""", options:
ImplicitTypeEverywhere
());
1232
""", options:
ImplicitTypeEverywhere
());
1262
""", options:
ImplicitTypeEverywhere
());
1302
""", options:
ImplicitTypeEverywhere
());
1332
""", options:
ImplicitTypeEverywhere
());
1362
""", options:
ImplicitTypeEverywhere
());
1402
""", options:
ImplicitTypeEverywhere
());
1430
""", options:
ImplicitTypeEverywhere
());
1966
await TestInRegularAndScriptAsync(before, after, options:
ImplicitTypeEverywhere
());
1978
await TestInRegularAndScriptAsync(before, after, options:
ImplicitTypeEverywhere
());
1990
await TestInRegularAndScriptAsync(before, after, options:
ImplicitTypeEverywhere
());
2019
await TestInRegularAndScriptAsync(before, after, options:
ImplicitTypeEverywhere
());
2030
await TestInRegularAndScriptAsync(before, after, options:
ImplicitTypeEverywhere
());
2106
new TestParameters(options:
ImplicitTypeEverywhere
()));
2143
new TestParameters(options:
ImplicitTypeEverywhere
()));
2209
""", options:
ImplicitTypeEverywhere
());
2238
options:
ImplicitTypeEverywhere
());
2276
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2298
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2320
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2352
""", options:
ImplicitTypeEverywhere
());
2384
""", options:
ImplicitTypeEverywhere
());
2416
""", options:
ImplicitTypeEverywhere
());
2448
""", options:
ImplicitTypeEverywhere
());
2470
""", options:
ImplicitTypeEverywhere
());
2500
""", options:
ImplicitTypeEverywhere
());
2519
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2536
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2564
""", options:
ImplicitTypeEverywhere
());
2592
""", options:
ImplicitTypeEverywhere
());
2622
""", options:
ImplicitTypeEverywhere
());
2640
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2660
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2678
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2706
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2730
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2759
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2785
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2817
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2838
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2864
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
2912
""", options:
ImplicitTypeEverywhere
());
2936
""", parameters: new TestParameters(options:
ImplicitTypeEverywhere
()));
2979
options:
ImplicitTypeEverywhere
());
3010
""", parameters: new TestParameters(options:
ImplicitTypeEverywhere
()));
3038
""", parameters: new TestParameters(options:
ImplicitTypeEverywhere
()));
3056
""", new TestParameters(options:
ImplicitTypeEverywhere
()));
3090
options:
ImplicitTypeEverywhere
());
3123
options:
ImplicitTypeEverywhere
());
3156
options:
ImplicitTypeEverywhere
());
3205
options:
ImplicitTypeEverywhere
());
3254
options:
ImplicitTypeEverywhere
());
3303
options:
ImplicitTypeEverywhere
());
3326
""", CSharpParseOptions.Default, options:
ImplicitTypeEverywhere
());
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseImplicitTypeTests_FixAllTests.cs (3)
130
await TestInRegularAndScriptAsync(input, expected, options:
ImplicitTypeEverywhere
());
246
await TestInRegularAndScriptAsync(input, expected, options:
ImplicitTypeEverywhere
());
362
await TestInRegularAndScriptAsync(input, expected, options:
ImplicitTypeEverywhere
());