1 instantiation of TestContext
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.cs (1)
878
return new
TestContext
(expected, ignoreResult, language, workspace, semanticModel);
40 references to TestContext
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (40)
CodeGeneration\CodeGenerationTests.cs (40)
45
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
68
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
111
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
151
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
196
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
228
using
var
testContext = await
TestContext
.CreateAsync(initial, initial, ignoreResult: true);
278
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
310
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
325
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
346
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
382
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
434
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
514
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
535
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
551
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
575
using
var
testContext = await
TestContext
.CreateAsync(initial, expected);
625
using
var
testContext = await
TestContext
.CreateAsync(initial, expected, forceLanguage);
633
.AddProject(projectId, "GenerationSource", "GenerationSource",
TestContext
.GetLanguage(symbolSource))
642
var symbol =
TestContext
.GetSelectedSymbol<INamespaceOrTypeSymbol>(destSpan, semanticModel);
687
private static ImmutableArray<IParameterSymbol> GetParameterSymbols(ImmutableArray<Func<SemanticModel, IParameterSymbol>> parameters,
TestContext
context)
693
Func<SemanticModel, ImmutableArray<IMethodSymbol>> explicitInterface,
TestContext
context)
698
private static ImmutableArray<ISymbol> GetSymbols(ImmutableArray<Func<SemanticModel, ISymbol>> members,
TestContext
context)
871
public static async Task<
TestContext
> CreateAsync(string initial, string expected, string forceLanguage = null, bool ignoreResult = false)