Search Results for

    Show / Hide Table of Contents

    Class AnnotationExtensions

    Inheritance
    object
    AnnotationExtensions
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Microsoft.CodeAnalysis
    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
    Type Name Description
    TNode node
    SyntaxAnnotation[] annotations
    Returns
    Type Description
    TNode
    Type Parameters
    Name Description
    TNode

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

    Declaration
    public static TNode WithAdditionalAnnotations<TNode>(this TNode node, IEnumerable<SyntaxAnnotation> annotations) where TNode : SyntaxNode
    Parameters
    Type Name Description
    TNode node
    IEnumerable<SyntaxAnnotation> annotations
    Returns
    Type Description
    TNode
    Type Parameters
    Name Description
    TNode

    WithoutAnnotations<TNode>(TNode, params SyntaxAnnotation[])

    Declaration
    public static TNode WithoutAnnotations<TNode>(this TNode node, params SyntaxAnnotation[] annotations) where TNode : SyntaxNode
    Parameters
    Type Name Description
    TNode node
    SyntaxAnnotation[] annotations
    Returns
    Type Description
    TNode
    Type Parameters
    Name Description
    TNode

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

    Declaration
    public static TNode WithoutAnnotations<TNode>(this TNode node, IEnumerable<SyntaxAnnotation> annotations) where TNode : SyntaxNode
    Parameters
    Type Name Description
    TNode node
    IEnumerable<SyntaxAnnotation> annotations
    Returns
    Type Description
    TNode
    Type Parameters
    Name Description
    TNode

    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 Description
    TNode
    Type Parameters
    Name Description
    TNode
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0