ClassLayout class

Layout information for the class referenced by a specified token.

Inheritance

Constructors

ClassLayout(Scope scope, int classToken)

Properties

fieldOffsets List<FieldOffset>
The array of field offsets, for manually-aligned structs.
final
hashCode int
The hash code for this object.
no setterinherited
isGlobal bool
Returns true if the token is marked as global.
no setterinherited
isResolvedToken bool
Returns true if the token maps to an entry in the WinMD database.
no setterinherited
minimumSize int?
The size in bytes of the class represented.
getter/setter pair
packingAlignment int?
The pack size of the class.
getter/setter pair
reader → IMetaDataImport2
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Scope
The Scope that contains this token.
finalinherited
token int
A unique identifier for this token in the metadata file.
finalinherited
tokenType TokenType
no setterinherited

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