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