SyntaxGenerator.ReplaceWithTrivia Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
- 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
- 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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET