Table of Contents

Class IrTypeAttributes

Namespace
MuLang.IR
Assembly
MuLang.IR.dll

Represents diagnostic attributes associated with an IR type.

public sealed record IrTypeAttributes : IEquatable<IrTypeAttributes>
Inheritance
IrTypeAttributes
Implements
Inherited Members

Constructors

IrTypeAttributes(IReadOnlyList<string>)

Represents diagnostic attributes associated with an IR type.

public IrTypeAttributes(IReadOnlyList<string> SourceNames)

Parameters

SourceNames IReadOnlyList<string>

The ordered source-level type aliases.

Properties

SourceNames

The ordered source-level type aliases.

public IReadOnlyList<string> SourceNames { get; init; }

Property Value

IReadOnlyList<string>

Methods

Deconstruct(out IReadOnlyList<string>)

public void Deconstruct(out IReadOnlyList<string> SourceNames)

Parameters

SourceNames IReadOnlyList<string>

Equals(IrTypeAttributes?)

public bool Equals(IrTypeAttributes? other)

Parameters

other IrTypeAttributes

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(IrTypeAttributes?, IrTypeAttributes?)

public static bool operator ==(IrTypeAttributes? left, IrTypeAttributes? right)

Parameters

left IrTypeAttributes
right IrTypeAttributes

Returns

bool

operator !=(IrTypeAttributes?, IrTypeAttributes?)

public static bool operator !=(IrTypeAttributes? left, IrTypeAttributes? right)

Parameters

left IrTypeAttributes
right IrTypeAttributes

Returns

bool