33 references to ExplicitTypeExceptWhereApparent
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (33)
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests.cs (32)
137
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
169
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
368
await TestMissingInRegularAndScriptAsync(before, new TestParameters(options:
ExplicitTypeExceptWhereApparent
()));
394
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
()); // preference for builtin types dominates
421
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
448
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
475
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
504
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
539
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
566
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
593
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
624
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
657
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
688
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
719
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
750
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
779
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
812
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
845
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
876
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
905
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
934
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
969
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
1002
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
1035
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
1072
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
1105
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
1132
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
()); // preference for builtin types dominates
1159
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
1185
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
2796
await TestInRegularAndScriptAsync(before, after, options:
ExplicitTypeExceptWhereApparent
());
2814
await TestMissingInRegularAndScriptAsync(before, new TestParameters(options:
ExplicitTypeExceptWhereApparent
()));
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests_FixAllTests.cs (1)
414
await TestInRegularAndScriptAsync(input, expected, options:
ExplicitTypeExceptWhereApparent
());