10 references to Isolate
Microsoft.CodeAnalysis.CSharp.Workspaces (10)
CodeGeneration\CSharpSyntaxGenerator.cs (10)
1028=> this.Isolate(declaration, d => this.InsertAttributesInternal(d, index, attributes)); 1059return this.Isolate(declaration, d => this.InsertReturnAttributesInternal(d, index, attributes)); 1133=> this.Isolate(declaration, d => InsertAttributeArgumentsInternal(d, index, attributeArguments)); 1615=> this.Isolate(declaration, d => this.WithModifiersInternal(d, modifiers)); 1900=> this.Isolate(declaration, d => this.WithNameInternal(d, name)); 1979=> Isolate(declaration, d => WithTypeInternal(d, type)); 2300=> this.Isolate(declaration, d => WithExpressionInternal(d, expression)); 2855return this.Isolate(root.TrackNodes(declaration), r => this.InsertNodesBeforeInternal(r, r.GetCurrentNode(declaration)!, newDeclarations)); 2894return this.Isolate(root.TrackNodes(declaration), r => this.InsertNodesAfterInternal(r, r.GetCurrentNode(declaration)!, newDeclarations)); 2965return Isolate(root.TrackNodes(node), r => RemoveNodeInternal(r, r.GetCurrentNode(node)!, options));