Delen via


AnnotationExtensions Class

Definition

public ref class AnnotationExtensions abstract sealed
public static class AnnotationExtensions
type AnnotationExtensions = class
Public Module AnnotationExtensions
Inheritance
AnnotationExtensions

Methods

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

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

WithAdditionalAnnotations<TNode>(TNode, SyntaxAnnotation[])

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

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[])

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

Applies to