33 references to ExplicitTypeExceptWhereApparent
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (33)
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests.cs (32)
133await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 165await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 345await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeExceptWhereApparent())); 371await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); // preference for builtin types dominates 398await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 425await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 452await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 481await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 516await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 543await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 570await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 601await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 634await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 665await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 696await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 727await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 756await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 789await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 822await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 853await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 882await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 911await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 946await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 979await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 1012await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 1045await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 1120await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 1147await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); // preference for builtin types dominates 1174await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 1200await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 2684await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 2702await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeExceptWhereApparent()));
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests_FixAllTests.cs (1)
391""", new(options: ExplicitTypeExceptWhereApparent()));