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