47 references to ExplicitTypeForBuiltInTypesOnly
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (47)
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests.cs (47)
140await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 172await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 371await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 397await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 424await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 451await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 478await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 507await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 542await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 569await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 596await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 627await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 660await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 691await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 722await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 753await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 782await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 815await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 848await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 879await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 908await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 937await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 972await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 1005await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 1038await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 1075await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 1108await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 1135await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 1162await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 1188await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 2252""", options: ExplicitTypeForBuiltInTypesOnly()); 2284""", options: ExplicitTypeForBuiltInTypesOnly()); 2314""", options: ExplicitTypeForBuiltInTypesOnly()); 2346""", options: ExplicitTypeForBuiltInTypesOnly()); 2547""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 2566""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 2583""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 2604""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 2622""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 2640""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 2658""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 2681""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 2699""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 2718""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 2736""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 2799await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly())); 2817await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));