10 references to Isolate
Microsoft.CodeAnalysis.CSharp.Workspaces (10)
CodeGeneration\CSharpSyntaxGenerator.cs (10)
1030=> this.Isolate(declaration, d => this.InsertAttributesInternal(d, index, attributes)); 1061return this.Isolate(declaration, d => this.InsertReturnAttributesInternal(d, index, attributes)); 1135=> this.Isolate(declaration, d => InsertAttributeArgumentsInternal(d, index, attributeArguments)); 1617=> this.Isolate(declaration, d => this.WithModifiersInternal(d, modifiers)); 1902=> this.Isolate(declaration, d => this.WithNameInternal(d, name)); 1981=> Isolate(declaration, d => WithTypeInternal(d, type)); 2302=> this.Isolate(declaration, d => WithExpressionInternal(d, expression)); 2857return this.Isolate(root.TrackNodes(declaration), r => this.InsertNodesBeforeInternal(r, r.GetCurrentNode(declaration)!, newDeclarations)); 2896return this.Isolate(root.TrackNodes(declaration), r => this.InsertNodesAfterInternal(r, r.GetCurrentNode(declaration)!, newDeclarations)); 2967return Isolate(root.TrackNodes(node), r => RemoveNodeInternal(r, r.GetCurrentNode(node)!, options));