1 override of GetComposition
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionProviders\SnippetCompletionProviderTests.cs (1)
32protected override TestComposition GetComposition()
28 references to GetComposition
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (19)
Completion\CompletionProviders\AbstractCSharpCompletionProviderTests.cs (1)
44=> EditorTestWorkspace.CreateCSharp(fileContents, composition: GetComposition());
Completion\CompletionProviders\AbstractInteractiveCSharpCompletionProviderTests.cs (1)
15=> InteractiveCSharpTestWorkspaceFixture.CreateInteractiveWorkspace(fileContents, composition: GetComposition());
Completion\CompletionProviders\CrefCompletionProviderTests.cs (1)
444using var workspace = EditorTestWorkspace.Create(LanguageNames.CSharp, new CSharpCompilationOptions(OutputKind.ConsoleApplication), new CSharpParseOptions(), [text], composition: GetComposition());
Completion\CompletionProviders\DeclarationNameCompletionProviderTests.cs (4)
707var workspace = workspaceFixture.Target.GetWorkspace(GetComposition()); 2356var workspace = workspaceFixture.Target.GetWorkspace(GetComposition()); 2384var workspace = workspaceFixture.Target.GetWorkspace(GetComposition()); 2800var workspace = workspaceFixture.Target.GetWorkspace(GetComposition());
Completion\CompletionProviders\ObjectInitializerCompletionProviderTests.cs (2)
687using var workspace = EditorTestWorkspace.CreateCSharp(markup, composition: GetComposition()); 1279using var workspace = EditorTestWorkspace.CreateCSharp(markup, composition: GetComposition());
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (6)
2463using var testWorkspace = EditorTestWorkspace.Create(xmlString, composition: GetComposition()); 2716using var testWorkspace = EditorTestWorkspace.Create(xmlString, composition: GetComposition()); 2771using var testWorkspace = EditorTestWorkspace.Create(xmlString, composition: GetComposition()); 3058using var workspace = EditorTestWorkspace.Create(LanguageNames.CSharp, new CSharpCompilationOptions(OutputKind.ConsoleApplication), new CSharpParseOptions(), [text], composition: GetComposition()); 3184using var workspace = EditorTestWorkspace.Create(text, composition: GetComposition()); 3222using var workspace = EditorTestWorkspace.Create(source, composition: GetComposition());
Completion\CompletionProviders\PartialMethodCompletionProviderTests.cs (2)
886var workspace = workspaceFixture.Target.GetWorkspace(GetComposition()); 918var workspace = workspaceFixture.Target.GetWorkspace(GetComposition());
Completion\CompletionProviders\SnippetCompletionProviderTests.cs (1)
33=> base.GetComposition().AddParts(typeof(MockSnippetInfoService));
Completion\CompletionProviders\SuggestionModeCompletionProviderTests.cs (1)
1510workspaceFixture.GetWorkspace(GetComposition());
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (9)
Completion\AbstractCompletionProviderTests.cs (9)
253var workspace = workspaceFixture.Target.GetWorkspace(markup, GetComposition()); 272var workspace = workspaceFixture.Target.GetWorkspace(markup, GetComposition(), workspaceKind: workspaceKind); 287using (workspaceFixture.Target.GetWorkspace(markupBeforeCommit, GetComposition())) 313workspaceFixture.Target.GetWorkspace(markupBeforeCommit, GetComposition()); 419workspaceFixture.Target.GetWorkspace(GetComposition()); 810using var testWorkspace = TestWorkspace.Create(xmlString, composition: GetComposition()); 866using var testWorkspace = TestWorkspace.Create(xmlString, composition: GetComposition()); 895using var testWorkspace = EditorTestWorkspace.Create(xmlString, composition: GetComposition()); 1120workspaceFixture.Target.GetWorkspace(markup, GetComposition());