Class AnnotationExtensions
Inheritance
AnnotationExtensions
Assembly: Microsoft.CodeAnalysis.dll
Syntax
public static class AnnotationExtensions
Methods
WithAdditionalAnnotations<TNode>(TNode, params SyntaxAnnotation[])
Declaration
public static TNode WithAdditionalAnnotations<TNode>(this TNode node, params SyntaxAnnotation[] annotations) where TNode : SyntaxNode
Parameters
Returns
Type Parameters
WithAdditionalAnnotations<TNode>(TNode, IEnumerable<SyntaxAnnotation>)
Declaration
public static TNode WithAdditionalAnnotations<TNode>(this TNode node, IEnumerable<SyntaxAnnotation> annotations) where TNode : SyntaxNode
Parameters
Returns
Type Parameters
WithoutAnnotations<TNode>(TNode, params SyntaxAnnotation[])
Declaration
public static TNode WithoutAnnotations<TNode>(this TNode node, params SyntaxAnnotation[] annotations) where TNode : SyntaxNode
Parameters
Returns
Type Parameters
WithoutAnnotations<TNode>(TNode, IEnumerable<SyntaxAnnotation>)
Declaration
public static TNode WithoutAnnotations<TNode>(this TNode node, IEnumerable<SyntaxAnnotation> annotations) where TNode : SyntaxNode
Parameters
Returns
Type Parameters
WithoutAnnotations<TNode>(TNode, string)
Declaration
public static TNode WithoutAnnotations<TNode>(this TNode node, string annotationKind) where TNode : SyntaxNode
Parameters
| Type |
Name |
Description |
| TNode |
node |
|
| string |
annotationKind |
|
Returns
Type Parameters