2 overrides of ReplaceCore
Microsoft.CodeAnalysis (1)
Syntax\SyntaxList.cs (1)
29
protected internal override SyntaxNode
ReplaceCore
<TNode>(IEnumerable<TNode>? nodes = null, Func<TNode, TNode, SyntaxNode>? computeReplacementNode = null, IEnumerable<SyntaxToken>? tokens = null, Func<SyntaxToken, SyntaxToken, SyntaxToken>? computeReplacementToken = null, IEnumerable<SyntaxTrivia>? trivia = null, Func<SyntaxTrivia, SyntaxTrivia, SyntaxTrivia>? computeReplacementTrivia = null)
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxNode.cs (1)
464
protected internal override SyntaxNode
ReplaceCore
<TNode>(
7 references to ReplaceCore
Microsoft.CodeAnalysis (7)
Syntax\SyntaxNodeExtensions.cs (7)
40
return (TRoot)root.
ReplaceCore
(
60
return (TRoot)root.
ReplaceCore
(nodes: nodes, computeReplacementNode: computeReplacementNode);
78
return (TRoot)root.
ReplaceCore
(nodes: new[] { oldNode }, computeReplacementNode: (o, r) => newNode);
210
return (TRoot)root.
ReplaceCore
<SyntaxNode>(tokens: tokens, computeReplacementToken: computeReplacementToken);
224
return (TRoot)root.
ReplaceCore
<SyntaxNode>(tokens: new[] { oldToken }, computeReplacementToken: (o, r) => newToken);
239
return (TRoot)root.
ReplaceCore
<SyntaxNode>(trivia: trivia, computeReplacementTrivia: computeReplacementTrivia);
252
return (TRoot)root.
ReplaceCore
<SyntaxNode>(trivia: new[] { trivia }, computeReplacementTrivia: (o, r) => newTrivia);