33 references to FrameworkTypeInDeclaration
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (33)
PreferFrameworkType\PreferFrameworkTypeTests.cs (33)
89""", new TestParameters(options: FrameworkTypeInDeclaration));
139""", new TestParameters(options: FrameworkTypeInDeclaration));
154""", new TestParameters(options: FrameworkTypeInDeclaration));
171""", new TestParameters(options: FrameworkTypeInDeclaration));
188""", new TestParameters(options: FrameworkTypeInDeclaration));
209await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
232await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
259await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
277await TestMissingInRegularAndScriptAsync(code, new TestParameters(options: FrameworkTypeInDeclaration));
296await TestMissingInRegularAndScriptAsync(code, new TestParameters(options: FrameworkTypeInDeclaration));
314""", new TestParameters(options: FrameworkTypeInDeclaration));
337await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
360await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
383await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
408await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
431await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
454await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
477await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
502await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
531await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
647await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
676await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
705await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
734await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
763await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
792await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
821await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
850await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
881await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
910await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
939await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
970await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);
999await TestInRegularAndScriptAsync(code, expected, options: FrameworkTypeInDeclaration);