SyntaxGenerator.ReplaceWithTrivia Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
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
Параметры
- root
- SyntaxNode
- original
- SyntaxNode
- replacement
- SyntaxNode
Возвращаемое значение
Применяется к
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
Параметры
- root
- SyntaxNode
- original
- SyntaxToken
- replacement
- SyntaxToken
Возвращаемое значение
Применяется к
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
Параметры типа
- TNode
Параметры
- root
- SyntaxNode
- original
- TNode
- replacer
- Func<TNode,SyntaxNode>
Возвращаемое значение
Применяется к
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.