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( 212testContext.Result = await testContext.Service.AddMembersAsync( 293testContext.Result = await testContext.Service.AddMethodAsync( 319testContext.Result = testContext.Document.WithSyntaxRoot((await testContext.Document.GetSyntaxRootAsync()).ReplaceNode(oldSyntax, newSyntax)); 335testContext.Result = testContext.Document.WithSyntaxRoot((await testContext.Document.GetSyntaxRootAsync()).ReplaceNode(oldMemberSyntax, newMemberSyntax)); 361testContext.Result = await testContext.Service.AddNamedTypeAsync( 401testContext.Result = await testContext.Service.AddEventAsync( 494testContext.Result = await testContext.Service.AddPropertyAsync( 523testContext.Result = await testContext.Service.AddNamedTypeAsync( 561testContext.Result = testContext.Document.WithSyntaxRoot(testContext.SemanticModel.SyntaxTree.GetRoot().ReplaceNode(oldNode, newNode)); 580testContext.Result = testContext.Document.WithSyntaxRoot(testContext.SemanticModel.SyntaxTree.GetRoot().ReplaceNode(declarationNode, newNode)); 632testContext.Result = testContext.Document.WithSyntaxRoot(testContext.SemanticModel.SyntaxTree.GetRoot().ReplaceNode(declarationNode, updatedDeclarationNode)); 665testContext.Result = await testContext.Service.AddMembersAsync(solutionContext, (INamedTypeSymbol)destination, members, CancellationToken.None); 669testContext.Result = await testContext.Service.AddNamespaceOrTypeAsync(solutionContext, (INamespaceSymbol)destination, symbol, CancellationToken.None);
1 reference to Result
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.cs (1)
972this.Document = this.Result;