1 override of GetComposition
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionProviders\SnippetCompletionProviderTests.cs (1)
32
protected override TestComposition
GetComposition
()
29 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
());
1347
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)
1511
workspaceFixture.GetWorkspace(
GetComposition
());
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (10)
Completion\AbstractCompletionProviderTests.cs (10)
323
var workspace = workspaceFixture.Target.GetWorkspace(markup,
GetComposition
());
349
var workspace = workspaceFixture.Target.GetWorkspace(markup,
GetComposition
());
365
var workspace = workspaceFixture.Target.GetWorkspace(markup,
GetComposition
(), workspaceKind: workspaceKind);
380
using (workspaceFixture.Target.GetWorkspace(markupBeforeCommit,
GetComposition
()))
406
workspaceFixture.Target.GetWorkspace(markupBeforeCommit,
GetComposition
());
549
workspaceFixture.Target.GetWorkspace(
GetComposition
());
955
using var testWorkspace = TestWorkspace.Create(xmlString, composition:
GetComposition
());
1011
using var testWorkspace = TestWorkspace.Create(xmlString, composition:
GetComposition
());
1040
using var testWorkspace = EditorTestWorkspace.Create(xmlString, composition:
GetComposition
());
1348
workspaceFixture.Target.GetWorkspace(markup,
GetComposition
());