Search Results for

    Show / Hide Table of Contents

    Class SyntaxAnnotation

    Inheritance
    object
    SyntaxAnnotation
    Implements
    IEquatable<SyntaxAnnotation>
    Inherited Members
    object.GetType()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Microsoft.CodeAnalysis
    Assembly: Microsoft.CodeAnalysis.dll
    Syntax
    public sealed class SyntaxAnnotation : IEquatable<SyntaxAnnotation?>

    Constructors

    SyntaxAnnotation()

    Declaration
    public SyntaxAnnotation()

    SyntaxAnnotation(string?)

    Declaration
    public SyntaxAnnotation(string? kind)
    Parameters
    Type Name Description
    string kind

    SyntaxAnnotation(string?, string?)

    Declaration
    public SyntaxAnnotation(string? kind, string? data)
    Parameters
    Type Name Description
    string kind
    string data

    Properties

    Data

    Declaration
    public string? Data { get; }
    Property Value
    Type Description
    string

    ElasticAnnotation

    Declaration
    public static SyntaxAnnotation ElasticAnnotation { get; }
    Property Value
    Type Description
    SyntaxAnnotation

    Kind

    Declaration
    public string? Kind { get; }
    Property Value
    Type Description
    string

    Methods

    Equals(SyntaxAnnotation?)

    Declaration
    public bool Equals(SyntaxAnnotation? other)
    Parameters
    Type Name Description
    SyntaxAnnotation other
    Returns
    Type Description
    bool

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Operators

    operator ==(SyntaxAnnotation?, SyntaxAnnotation?)

    Declaration
    public static bool operator ==(SyntaxAnnotation? left, SyntaxAnnotation? right)
    Parameters
    Type Name Description
    SyntaxAnnotation left
    SyntaxAnnotation right
    Returns
    Type Description
    bool

    operator !=(SyntaxAnnotation?, SyntaxAnnotation?)

    Declaration
    public static bool operator !=(SyntaxAnnotation? left, SyntaxAnnotation? right)
    Parameters
    Type Name Description
    SyntaxAnnotation left
    SyntaxAnnotation right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0