18 writes to Result
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (18)
CodeGeneration\CodeGenerationTests.cs (18)
49testContext.Result = await testContext.Service.AddNamespaceAsync( 84testContext.Result = await testContext.Service.AddFieldAsync( 99testContext.Result = testContext.Document.WithSyntaxRoot(newRoot); 127testContext.Result = await testContext.Service.AddMethodAsync( 173testContext.Result = await testContext.Service.AddMethodAsync( 215testContext.Result = await testContext.Service.AddMembersAsync( 298testContext.Result = await testContext.Service.AddMethodAsync( 325testContext.Result = testContext.Document.WithSyntaxRoot((await testContext.Document.GetSyntaxRootAsync()).ReplaceNode(oldSyntax, newSyntax)); 341testContext.Result = testContext.Document.WithSyntaxRoot((await testContext.Document.GetSyntaxRootAsync()).ReplaceNode(oldMemberSyntax, newMemberSyntax)); 367testContext.Result = await testContext.Service.AddNamedTypeAsync( 408testContext.Result = await testContext.Service.AddEventAsync( 502testContext.Result = await testContext.Service.AddPropertyAsync( 532testContext.Result = await testContext.Service.AddNamedTypeAsync( 556testContext.Result = testContext.Document.WithSyntaxRoot(testContext.SemanticModel.SyntaxTree.GetRoot().ReplaceNode(oldNode, newNode)); 575testContext.Result = testContext.Document.WithSyntaxRoot(testContext.SemanticModel.SyntaxTree.GetRoot().ReplaceNode(declarationNode, newNode)); 627testContext.Result = testContext.Document.WithSyntaxRoot(testContext.SemanticModel.SyntaxTree.GetRoot().ReplaceNode(declarationNode, updatedDeclarationNode)); 661testContext.Result = await testContext.Service.AddMembersAsync(solutionContext, (INamedTypeSymbol)destination, members, CancellationToken.None); 665testContext.Result = await testContext.Service.AddNamespaceOrTypeAsync(solutionContext, (INamespaceSymbol)destination, symbol, CancellationToken.None);
1 reference to Result
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.cs (1)
968this.Document = this.Result;