47 references to ExplicitTypeForBuiltInTypesOnly
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (47)
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests.cs (47)
136await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
168await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
367await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
393await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly());
420await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly());
447await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly());
474await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly());
503await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly());
538await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly());
565await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly());
592await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
623await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
656await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
687await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
718await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
749await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
778await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
811await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
844await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
875await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
904await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
933await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
968await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
1001await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
1034await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
1071await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
1104await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
1131await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly());
1158await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
1184await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly());
2248""", options: ExplicitTypeForBuiltInTypesOnly());
2280""", options: ExplicitTypeForBuiltInTypesOnly());
2310""", options: ExplicitTypeForBuiltInTypesOnly());
2342""", options: ExplicitTypeForBuiltInTypesOnly());
2543""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
2562""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
2579""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
2600""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
2618""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
2636""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
2654""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
2677""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
2695""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
2714""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
2732""", new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
2795await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));
2813await TestMissingInRegularAndScriptAsync(before, new TestParameters(options: ExplicitTypeForBuiltInTypesOnly()));