Compartilhar via


AnnotationExtensions.WithoutAnnotations Method

Definition

Overloads

WithoutAnnotations<TNode>(TNode, SyntaxAnnotation[])

Creates a new node identical to this node with the specified annotations removed.

WithoutAnnotations<TNode>(TNode, IEnumerable<SyntaxAnnotation>)

Creates a new node identical to this node with the specified annotations removed.

WithoutAnnotations<TNode>(TNode, String)

Creates a new node identical to this node with the annotations of the specified kind removed.

WithoutAnnotations<TNode>(TNode, SyntaxAnnotation[])

Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs

Creates a new node identical to this node with the specified annotations removed.

public:
generic <typename TNode>
 where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
 static TNode WithoutAnnotations(TNode node, ... cli::array <Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public static TNode WithoutAnnotations<TNode> (this TNode node, params Microsoft.CodeAnalysis.SyntaxAnnotation[] annotations) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member WithoutAnnotations : 'Node * Microsoft.CodeAnalysis.SyntaxAnnotation[] -> 'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithoutAnnotations(Of TNode As SyntaxNode) (node As TNode, ParamArray annotations As SyntaxAnnotation()) As TNode

Type Parameters

TNode

Parameters

node
TNode

Original node.

annotations
SyntaxAnnotation[]

Annotations to be removed from the new node.

Returns

TNode

Applies to

WithoutAnnotations<TNode>(TNode, IEnumerable<SyntaxAnnotation>)

Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs

Creates a new node identical to this node with the specified annotations removed.

public:
generic <typename TNode>
 where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
 static TNode WithoutAnnotations(TNode node, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxAnnotation ^> ^ annotations);
public static TNode WithoutAnnotations<TNode> (this TNode node, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxAnnotation> annotations) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member WithoutAnnotations : 'Node * seq<Microsoft.CodeAnalysis.SyntaxAnnotation> -> 'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithoutAnnotations(Of TNode As SyntaxNode) (node As TNode, annotations As IEnumerable(Of SyntaxAnnotation)) As TNode

Type Parameters

TNode

Parameters

node
TNode

Original node.

annotations
IEnumerable<SyntaxAnnotation>

Annotations to be removed from the new node.

Returns

TNode

Applies to

WithoutAnnotations<TNode>(TNode, String)

Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs
Source:
AnnotationExtensions.cs

Creates a new node identical to this node with the annotations of the specified kind removed.

public:
generic <typename TNode>
 where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
 static TNode WithoutAnnotations(TNode node, System::String ^ annotationKind);
public static TNode WithoutAnnotations<TNode> (this TNode node, string annotationKind) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member WithoutAnnotations : 'Node * string -> 'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithoutAnnotations(Of TNode As SyntaxNode) (node As TNode, annotationKind As String) As TNode

Type Parameters

TNode

Parameters

node
TNode

Original node.

annotationKind
String

The kind of annotation to remove.

Returns

TNode

Applies to