18 writes to Result
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (18)
CodeGeneration\CodeGenerationTests.cs (18)
47testContext.Result = await testContext.Service.AddNamespaceAsync( 81testContext.Result = await testContext.Service.AddFieldAsync( 95testContext.Result = testContext.Document.WithSyntaxRoot(newRoot); 123testContext.Result = await testContext.Service.AddMethodAsync( 168testContext.Result = await testContext.Service.AddMethodAsync( 209testContext.Result = await testContext.Service.AddMembersAsync( 290testContext.Result = await testContext.Service.AddMethodAsync( 316testContext.Result = testContext.Document.WithSyntaxRoot((await testContext.Document.GetSyntaxRootAsync()).ReplaceNode(oldSyntax, newSyntax)); 332testContext.Result = testContext.Document.WithSyntaxRoot((await testContext.Document.GetSyntaxRootAsync()).ReplaceNode(oldMemberSyntax, newMemberSyntax)); 358testContext.Result = await testContext.Service.AddNamedTypeAsync( 398testContext.Result = await testContext.Service.AddEventAsync( 491testContext.Result = await testContext.Service.AddPropertyAsync( 520testContext.Result = await testContext.Service.AddNamedTypeAsync( 543testContext.Result = testContext.Document.WithSyntaxRoot(testContext.SemanticModel.SyntaxTree.GetRoot().ReplaceNode(oldNode, newNode)); 562testContext.Result = testContext.Document.WithSyntaxRoot(testContext.SemanticModel.SyntaxTree.GetRoot().ReplaceNode(declarationNode, newNode)); 614testContext.Result = testContext.Document.WithSyntaxRoot(testContext.SemanticModel.SyntaxTree.GetRoot().ReplaceNode(declarationNode, updatedDeclarationNode)); 647testContext.Result = await testContext.Service.AddMembersAsync(solutionContext, (INamedTypeSymbol)destination, members, CancellationToken.None); 651testContext.Result = await testContext.Service.AddNamespaceOrTypeAsync(solutionContext, (INamespaceSymbol)destination, symbol, CancellationToken.None);
1 reference to Result
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.cs (1)
954this.Document = this.Result;