共用方式為


SyntaxGenerator.ReplaceWithTrivia Method

Definition

Overloads

ReplaceWithTrivia(SyntaxNode, SyntaxNode, SyntaxNode)
ReplaceWithTrivia(SyntaxNode, SyntaxToken, SyntaxToken)
ReplaceWithTrivia<TNode>(SyntaxNode, TNode, Func<TNode,SyntaxNode>)

ReplaceWithTrivia(SyntaxNode, SyntaxNode, SyntaxNode)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
protected:
 static Microsoft::CodeAnalysis::SyntaxNode ^ ReplaceWithTrivia(Microsoft::CodeAnalysis::SyntaxNode ^ root, Microsoft::CodeAnalysis::SyntaxNode ^ original, Microsoft::CodeAnalysis::SyntaxNode ^ replacement);
protected static Microsoft.CodeAnalysis.SyntaxNode ReplaceWithTrivia (Microsoft.CodeAnalysis.SyntaxNode root, Microsoft.CodeAnalysis.SyntaxNode original, Microsoft.CodeAnalysis.SyntaxNode replacement);
static member ReplaceWithTrivia : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Protected Shared Function ReplaceWithTrivia (root As SyntaxNode, original As SyntaxNode, replacement As SyntaxNode) As SyntaxNode

Parameters

root
SyntaxNode
original
SyntaxNode
replacement
SyntaxNode

Returns

Applies to

ReplaceWithTrivia(SyntaxNode, SyntaxToken, SyntaxToken)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
protected:
 static Microsoft::CodeAnalysis::SyntaxNode ^ ReplaceWithTrivia(Microsoft::CodeAnalysis::SyntaxNode ^ root, Microsoft::CodeAnalysis::SyntaxToken original, Microsoft::CodeAnalysis::SyntaxToken replacement);
protected static Microsoft.CodeAnalysis.SyntaxNode ReplaceWithTrivia (Microsoft.CodeAnalysis.SyntaxNode root, Microsoft.CodeAnalysis.SyntaxToken original, Microsoft.CodeAnalysis.SyntaxToken replacement);
static member ReplaceWithTrivia : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.SyntaxNode
Protected Shared Function ReplaceWithTrivia (root As SyntaxNode, original As SyntaxToken, replacement As SyntaxToken) As SyntaxNode

Parameters

root
SyntaxNode
original
SyntaxToken
replacement
SyntaxToken

Returns

Applies to

ReplaceWithTrivia<TNode>(SyntaxNode, TNode, Func<TNode,SyntaxNode>)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
protected:
generic <typename TNode>
 where TNode : Microsoft::CodeAnalysis::SyntaxNode static Microsoft::CodeAnalysis::SyntaxNode ^ ReplaceWithTrivia(Microsoft::CodeAnalysis::SyntaxNode ^ root, TNode original, Func<TNode, Microsoft::CodeAnalysis::SyntaxNode ^> ^ replacer);
protected static Microsoft.CodeAnalysis.SyntaxNode ReplaceWithTrivia<TNode> (Microsoft.CodeAnalysis.SyntaxNode root, TNode original, Func<TNode,Microsoft.CodeAnalysis.SyntaxNode> replacer) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member ReplaceWithTrivia : Microsoft.CodeAnalysis.SyntaxNode * 'Node * Func<'Node, Microsoft.CodeAnalysis.SyntaxNode (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> -> Microsoft.CodeAnalysis.SyntaxNode (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
Protected Shared Function ReplaceWithTrivia(Of TNode As SyntaxNode) (root As SyntaxNode, original As TNode, replacer As Func(Of TNode, SyntaxNode)) As SyntaxNode

Type Parameters

TNode

Parameters

root
SyntaxNode
original
TNode
replacer
Func<TNode,SyntaxNode>

Returns

Applies to