Class SyntaxAnnotation
Inheritance
SyntaxAnnotation
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
Properties
Data
Declaration
public string? Data { get; }
Property Value
ElasticAnnotation
Declaration
public static SyntaxAnnotation ElasticAnnotation { get; }
Property Value
Kind
Declaration
public string? Kind { get; }
Property Value
Methods
Equals(SyntaxAnnotation?)
Declaration
public bool Equals(SyntaxAnnotation? other)
Parameters
Returns
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
operator ==(SyntaxAnnotation?, SyntaxAnnotation?)
Declaration
public static bool operator ==(SyntaxAnnotation? left, SyntaxAnnotation? right)
Parameters
Returns
operator !=(SyntaxAnnotation?, SyntaxAnnotation?)
Declaration
public static bool operator !=(SyntaxAnnotation? left, SyntaxAnnotation? right)
Parameters
Returns
Implements