33 references to ExplicitTypeExceptWhereApparent
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (33)
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests.cs (32)
141
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
173
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
372
await TestMissingInRegularAndScriptAsync(before, new TestParameters(options:
ExplicitTypeExceptWhereApparent
()));
398
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
()); // preference for builtin types dominates
425
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
452
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
479
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
508
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
543
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
570
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
597
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
628
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
661
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
692
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
723
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
754
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
783
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
816
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
849
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
880
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
909
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
938
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
973
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
1006
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
1039
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
1076
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
1109
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
1136
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
()); // preference for builtin types dominates
1163
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
1189
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
2800
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
2818
await TestMissingInRegularAndScriptAsync(before, new TestParameters(options:
ExplicitTypeExceptWhereApparent
()));
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests_FixAllTests.cs (1)
414
await TestInRegularAndScriptAsync(input, expected, options:
ExplicitTypeExceptWhereApparent
());