TokenObject class abstract

The base object for metadata objects.

All metadata objects (typedefs, parameters, fields, events, etc.) have a 32-bit token value, which is the primary key for the object in the underlying Windows metadata database. The high byte of the token describes its type.

Implementers

Constructors

TokenObject(Scope scope, int token)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
isGlobal bool
Returns true if the token is marked as global.
no setter
isResolvedToken bool
Returns true if the token maps to an entry in the WinMD database.
no setter
reader → IMetaDataImport2
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Scope
The Scope that contains this token.
final
token int
A unique identifier for this token in the metadata file.
final
tokenType TokenType
no setter

Methods

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.
override