Class OptionalDataModel
Represents an optional type such as Nullable<T>.
public sealed class OptionalDataModel : TypeDataModel
- Inheritance
-
OptionalDataModel
- Inherited Members
Properties
ElementType
Gets the underlying element type of the optional type.
public required ITypeSymbol ElementType { get; init; }
Property Value
Kind
Determines the type of TypeDataModel being used.
public override TypeDataKind Kind { get; }