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