Table of Contents

Class DerivedTypeModel

Namespace
PolyType.Roslyn
Assembly
PolyType.Roslyn.dll

Represents a derived type defined in the context of a polymorphic type.

public sealed class DerivedTypeModel
Inheritance
DerivedTypeModel
Inherited Members

Properties

Index

The index of the derived type.

public required int Index { get; init; }

Property Value

int

IsBaseType

Whether the derived type equals the base type.

public required bool IsBaseType { get; init; }

Property Value

bool

IsTagSpecified

Gets a value indicating whether Tag has been explicitly specified or inferred in a less stable way.

public required bool IsTagSpecified { get; init; }

Property Value

bool

Name

The string identifier of the derived type.

public required string Name { get; init; }

Property Value

string

Tag

The numeric identifier of the derived type.

public required int Tag { get; init; }

Property Value

int

Type

The type symbol for the derived type.

public required ITypeSymbol Type { get; init; }

Property Value

ITypeSymbol