Class IrFunctionAttributes
Represents diagnostic attributes associated with an IR function.
public sealed record IrFunctionAttributes : IEquatable<IrFunctionAttributes>
- Inheritance
-
IrFunctionAttributes
- Implements
- Inherited Members
Constructors
IrFunctionAttributes(string?, string?, TextSpan?)
Represents diagnostic attributes associated with an IR function.
public IrFunctionAttributes(string? SourceName, string? QualifiedSourceName, TextSpan? DeclarationSpan)
Parameters
SourceNamestringThe source-level function name, when available.
QualifiedSourceNamestringThe qualified source-level function name, when available.
DeclarationSpanTextSpan?The source declaration span, when available.
Properties
DeclarationSpan
The source declaration span, when available.
public TextSpan? DeclarationSpan { get; init; }
Property Value
QualifiedSourceName
The qualified source-level function name, when available.
public string? QualifiedSourceName { get; init; }
Property Value
SourceName
The source-level function name, when available.
public string? SourceName { get; init; }
Property Value
Methods
Deconstruct(out string?, out string?, out TextSpan?)
public void Deconstruct(out string? SourceName, out string? QualifiedSourceName, out TextSpan? DeclarationSpan)
Parameters
Equals(IrFunctionAttributes?)
public bool Equals(IrFunctionAttributes? other)
Parameters
otherIrFunctionAttributes
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(IrFunctionAttributes?, IrFunctionAttributes?)
public static bool operator ==(IrFunctionAttributes? left, IrFunctionAttributes? right)
Parameters
leftIrFunctionAttributesrightIrFunctionAttributes
Returns
operator !=(IrFunctionAttributes?, IrFunctionAttributes?)
public static bool operator !=(IrFunctionAttributes? left, IrFunctionAttributes? right)
Parameters
leftIrFunctionAttributesrightIrFunctionAttributes