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