63 references to SingleClass
Microsoft.CodeAnalysis.Workspaces.UnitTests (63)
FindAllDeclarationsTests.cs (62)
29InlineData("", true, SolutionKind.SingleClass, new string[0]), 30InlineData(" ", true, SolutionKind.SingleClass, new string[0]), 31InlineData("\u2619", true, SolutionKind.SingleClass, new string[0]), 33InlineData("testcase", true, SolutionKind.SingleClass, new[] { "TestCases.TestCase" }), 34InlineData("testcase", false, SolutionKind.SingleClass, new string[0]), 35InlineData("testcases", true, SolutionKind.SingleClass, new[] { "TestCases" }), 36InlineData("testcases", false, SolutionKind.SingleClass, new string[0]), 37InlineData("TestCase", true, SolutionKind.SingleClass, new[] { "TestCases.TestCase" }), 38InlineData("TestCase", false, SolutionKind.SingleClass, new[] { "TestCases.TestCase" }), 39InlineData("TestCases", true, SolutionKind.SingleClass, new[] { "TestCases" }), 40InlineData("TestCases", false, SolutionKind.SingleClass, new[] { "TestCases" }), 113using var workspace = CreateWorkspaceWithProject(SolutionKind.SingleClass, out var project); 123var workspace = CreateWorkspaceWithProject(SolutionKind.SingleClass, out var project, testHost); 195InlineData("", true, SolutionKind.SingleClass, new string[0]), 196InlineData(" ", true, SolutionKind.SingleClass, new string[0]), 197InlineData("\u2619", true, SolutionKind.SingleClass, new string[0]), 199InlineData("testcase", true, SolutionKind.SingleClass, new[] { "TestCases.TestCase" }), 200InlineData("testcase", false, SolutionKind.SingleClass, new string[0]), 201InlineData("testcases", true, SolutionKind.SingleClass, new[] { "TestCases" }), 202InlineData("testcases", false, SolutionKind.SingleClass, new string[0]), 203InlineData("TestCase", true, SolutionKind.SingleClass, new[] { "TestCases.TestCase" }), 204InlineData("TestCase", false, SolutionKind.SingleClass, new[] { "TestCases.TestCase" }), 205InlineData("TestCases", true, SolutionKind.SingleClass, new[] { "TestCases" }), 206InlineData("TestCases", false, SolutionKind.SingleClass, new[] { "TestCases" }), 279using var workspace = CreateWorkspaceWithProject(SolutionKind.SingleClass, out var project); 289using var workspace = CreateWorkspaceWithProject(SolutionKind.SingleClass, out var project); 300InlineData("", true, SolutionKind.SingleClass, new string[0]), 301InlineData(" ", true, SolutionKind.SingleClass, new string[0]), 302InlineData("\u2619", true, SolutionKind.SingleClass, new string[0]), 304InlineData("testcase", true, SolutionKind.SingleClass, new[] { "TestCases.TestCase" }), 305InlineData("testcase", false, SolutionKind.SingleClass, new string[0]), 306InlineData("testcases", true, SolutionKind.SingleClass, new[] { "TestCases" }), 307InlineData("testcases", false, SolutionKind.SingleClass, new string[0]), 308InlineData("TestCase", true, SolutionKind.SingleClass, new[] { "TestCases.TestCase" }), 309InlineData("TestCase", false, SolutionKind.SingleClass, new[] { "TestCases.TestCase" }), 310InlineData("TestCases", true, SolutionKind.SingleClass, new[] { "TestCases" }), 311InlineData("TestCases", false, SolutionKind.SingleClass, new[] { "TestCases" }), 384using var workspace = CreateWorkspaceWithSolution(SolutionKind.SingleClass, out var solution); 394using var workspace = CreateWorkspaceWithSolution(SolutionKind.SingleClass, out var solution); 404InlineData(SolutionKind.SingleClass, new[] { "TestCases", "TestCases.TestCase" }), 424using var workspace = CreateWorkspaceWithProject(SolutionKind.SingleClass, out var project); 426Verify(SolutionKind.SingleClass, declarations, "TestCases", "TestCases.TestCase"); 432using var workspace = CreateWorkspaceWithProject(SolutionKind.SingleClass, out var project); 434Verify(SolutionKind.SingleClass, declarations); 451using var workspace = CreateWorkspaceWithProject(SolutionKind.SingleClass, out var project); 461using var workspace = CreateWorkspaceWithProject(SolutionKind.SingleClass, out var project); 471InlineData(SolutionKind.SingleClass, new[] { "TestCases", "TestCases.TestCase" }), 491using var workspace = CreateWorkspaceWithSolution(SolutionKind.SingleClass, out var solution); 493Verify(SolutionKind.SingleClass, declarations, "TestCases", "TestCases.TestCase"); 499using var workspace = CreateWorkspaceWithSolution(SolutionKind.SingleClass, out var solution); 501Verify(SolutionKind.SingleClass, declarations); 518using var workspace = CreateWorkspaceWithSolution(SolutionKind.SingleClass, out var solution); 528using var workspace = CreateWorkspaceWithSolution(SolutionKind.SingleClass, out var solution); 538InlineData(SolutionKind.SingleClass, new[] { "TestCases", "TestCases.TestCase" }), 556InlineData(SolutionKind.SingleClass, "tc", new[] { "TestCases", "TestCases.TestCase" }), 582using var workspace = CreateWorkspaceWithProject(SolutionKind.SingleClass, out var project); 592using var workspace = CreateWorkspaceWithProject(SolutionKind.SingleClass, out var project); 602InlineData(SolutionKind.SingleClass, new[] { "TestCases", "TestCases.TestCase" }), 620InlineData(SolutionKind.SingleClass, "tc", new[] { "TestCases", "TestCases.TestCase" }), 646using var workspace = CreateWorkspaceWithSolution(SolutionKind.SingleClass, out var solution); 656using var workspace = CreateWorkspaceWithSolution(SolutionKind.SingleClass, out var solution); 666using var workspace = CreateWorkspaceWithSolution(SolutionKind.SingleClass, out var solution);
FindAllDeclarationsTests.TestSolutionsAndProject.cs (1)
128SolutionKind.SingleClass => CreateWorkspaceWithSingleProjectSolution(testHost, [SingleClass], out solution),