TypeDefOrRef class sealed

Represents a coded index for a TypeDef, TypeRef, or TypeSpec.

Implemented types
Implementers

Constructors

TypeDefOrRef.typeDef(TypeDefIndex value)
Constructs a TypeDefOrRef referencing a TypeDef.
const
factory
TypeDefOrRef.typeRef(TypeRefIndex value)
Constructs a TypeDefOrRef referencing a TypeRef.
const
factory
TypeDefOrRef.typeSpec(TypeSpecIndex value)
Constructs a TypeDefOrRef referencing a TypeSpec.
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() int
Encodes the coded index into its compressed integer representation.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

none → const TypeDefOrRef
This results in an encoded value of zero.