Type

Overview

Reflection class for type info

Location

 

constructor    (declared in Object)

 

constructor

 

Type()

 

init()

 

Type()

 

Sub New()

constructor (^IslandTypeInfo)

 

constructor(aValue: ^IslandTypeInfo)

 

Type(IslandTypeInfo* aValue)

 

init(_ aValue: UnsafeMutablePointer<IslandTypeInfo>)

 

Type(IslandTypeInfo* aValue)

 

Sub New(aValue As Ptr(Of IslandTypeInfo))

Parameters:

  • aValue:

AllTypes

Gets access to all types loaded/compiled in.

 

class property AllTypes: IEnumerable<Type> read;

 

class IEnumerable<Type> AllTypes { get; }

 

static var AllTypes: IEnumerable<Type> { get{} }

 

class IEnumerable<Type> AllTypes { __get; }

 

Shared ReadOnly Property AllTypes() As IEnumerable<Type>

Attributes

Custom attributes defined on this type

 

property Attributes: IEnumerable<CustomAttribute> read;

 

IEnumerable<CustomAttribute> Attributes { get; }

 

var Attributes: IEnumerable<CustomAttribute> { get{} }

 

IEnumerable<CustomAttribute> Attributes { __get; }

 

ReadOnly Property Attributes() As IEnumerable<CustomAttribute>

BaseType

Parent type for this type.

 

property BaseType: Type read;

 

Type BaseType { get; }

 

var BaseType: Type { get{} }

 

Type BaseType { __get; }

 

ReadOnly Property BaseType() As Type

BoxedDataOffset

For value types, the offset the data starts at; including alignment

 

property BoxedDataOffset: Int32 read;

 

Int32 BoxedDataOffset { get; }

 

var BoxedDataOffset: Int32 { get{} }

 

Int32 BoxedDataOffset { __get; }

 

ReadOnly Property BoxedDataOffset() As Int32

Code

Type code; for core types

 

property Code: TypeCodes read;

 

TypeCodes Code { get; }

 

var Code: TypeCodes { get{} }

 

TypeCodes Code { __get; }

 

ReadOnly Property Code() As TypeCodes

COMGuids

Returns a sequence of 0 or more guids attached to this type.

 

property COMGuids: IEnumerable<Guid> read;

 

IEnumerable<Guid> COMGuids { get; }

 

var COMGuids: IEnumerable<Guid> { get{} }

 

IEnumerable<Guid> COMGuids { __get; }

 

ReadOnly Property COMGuids() As IEnumerable<Guid>

Constants

Returns a sequence of constants in this type

 

property Constants: IEnumerable<ConstantInfo> read;

 

IEnumerable<ConstantInfo> Constants { get; }

 

var Constants: IEnumerable<ConstantInfo> { get{} }

 

IEnumerable<ConstantInfo> Constants { __get; }

 

ReadOnly Property Constants() As IEnumerable<ConstantInfo>

DefFlags

Flags for this type

 

property DefFlags: TypeDefFlags read;

 

TypeDefFlags DefFlags { get; }

 

var DefFlags: TypeDefFlags { get{} }

 

TypeDefFlags DefFlags { __get; }

 

ReadOnly Property DefFlags() As TypeDefFlags

Equals (Object): Boolean  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

Equals (Object): Boolean  override virtual

 

method Equals(other: Object): Boolean

 

Boolean Equals(Object other)

 

func Equals(_ other: Object) -> Boolean

 

Boolean Equals(Object other)

 

Function Equals(other As Object) As Boolean

Parameters:

  • other:

Events

Returns a sequence of events on this type

 

property Events: IEnumerable<EventInfo> read;

 

IEnumerable<EventInfo> Events { get; }

 

var Events: IEnumerable<EventInfo> { get{} }

 

IEnumerable<EventInfo> Events { __get; }

 

ReadOnly Property Events() As IEnumerable<EventInfo>

fEnd Android, Fuchsia, Ubuntu, WebAssembly

 

class var fEnd: ^IslandTypeInfo;

 

static IslandTypeInfo* fEnd

 

static var fEnd: UnsafeMutablePointer<IslandTypeInfo>

 

static IslandTypeInfo* fEnd

 

Shared FIELD fEnd() As Ptr(Of IslandTypeInfo)

fEndM Android, Fuchsia, Ubuntu, WebAssembly

 

class var fEndM: IslandMethodUIDInfo;

 

static IslandMethodUIDInfo fEndM

 

static var fEndM: IslandMethodUIDInfo

 

static IslandMethodUIDInfo fEndM

 

Shared FIELD fEndM() As IslandMethodUIDInfo

Fields

Returns a sequence of fields in this type

 

property Fields: IEnumerable<FieldInfo> read;

 

IEnumerable<FieldInfo> Fields { get; }

 

var Fields: IEnumerable<FieldInfo> { get{} }

 

IEnumerable<FieldInfo> Fields { __get; }

 

ReadOnly Property Fields() As IEnumerable<FieldInfo>

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

Flags

Flags defined on this type

 

property Flags: IslandTypeFlags read;

 

IslandTypeFlags Flags { get; }

 

var Flags: IslandTypeFlags { get{} }

 

IslandTypeFlags Flags { __get; }

 

ReadOnly Property Flags() As IslandTypeFlags

fMethods

 

class var fMethods: array of IslandMethodUIDInfo;

 

static IslandMethodUIDInfo[] fMethods

 

static var fMethods: IslandMethodUIDInfo...

 

static IslandMethodUIDInfo[] fMethods

 

Shared FIELD fMethods() As IslandMethodUIDInfo()

fStart Android, Fuchsia, Ubuntu, WebAssembly

 

class var fStart: ^IslandTypeInfo;

 

static IslandTypeInfo* fStart

 

static var fStart: UnsafeMutablePointer<IslandTypeInfo>

 

static IslandTypeInfo* fStart

 

Shared FIELD fStart() As Ptr(Of IslandTypeInfo)

fStartM Android, Fuchsia, Ubuntu, WebAssembly

 

class var fStartM: IslandMethodUIDInfo;

 

static IslandMethodUIDInfo fStartM

 

static var fStartM: IslandMethodUIDInfo

 

static IslandMethodUIDInfo fStartM

 

Shared FIELD fStartM() As IslandMethodUIDInfo

fTypes

 

class var fTypes: array of ^IslandTypeInfo;

 

static IslandTypeInfo*[] fTypes

 

static var fTypes: UnsafeMutablePointer<IslandTypeInfo>...

 

static IslandTypeInfo*[] fTypes

 

Shared FIELD fTypes() As ^IslandTypeInfo()

FullName

 

property FullName: String read;

 

String FullName { get; }

 

var FullName: String { get{} }

 

String FullName { __get; }

 

ReadOnly Property FullName() As String

GenericArguments

Returns a sequence of generic arguments.

 

property GenericArguments: IEnumerable<Type> read;

 

IEnumerable<Type> GenericArguments { get; }

 

var GenericArguments: IEnumerable<Type> { get{} }

 

IEnumerable<Type> GenericArguments { __get; }

 

ReadOnly Property GenericArguments() As IEnumerable<Type>

GetHashCode  override virtual

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetHDR iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS, watchOS Simulator

 

// iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS Simulator
class method GetHDR: ^__struct_mach_header_64
// watchOS
class method GetHDR: ^__struct_mach_header

 

// iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS Simulator
static __struct_mach_header_64* GetHDR()
// watchOS
static __struct_mach_header* GetHDR()

 

// iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS Simulator
static func GetHDR() -> UnsafeMutablePointer<__struct_mach_header_64>
// watchOS
static func GetHDR() -> UnsafeMutablePointer<__struct_mach_header>

 

// iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS Simulator
static __struct_mach_header_64* GetHDR()
// watchOS
static __struct_mach_header* GetHDR()

 

// iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS Simulator
Shared Function GetHDR() As Ptr(Of __struct_mach_header_64)
// watchOS
Shared Function GetHDR() As Ptr(Of __struct_mach_header)

GetMethodsEnd Android, Fuchsia, Ubuntu, WebAssembly

 

class method GetMethodsEnd: ^IslandMethodUIDInfo

 

static IslandMethodUIDInfo* GetMethodsEnd()

 

static func GetMethodsEnd() -> UnsafeMutablePointer<IslandMethodUIDInfo>

 

static IslandMethodUIDInfo* GetMethodsEnd()

 

Shared Function GetMethodsEnd() As Ptr(Of IslandMethodUIDInfo)

GetMethodStart Android, Fuchsia, Ubuntu, WebAssembly

 

class method GetMethodStart: ^IslandMethodUIDInfo

 

static IslandMethodUIDInfo* GetMethodStart()

 

static func GetMethodStart() -> UnsafeMutablePointer<IslandMethodUIDInfo>

 

static IslandMethodUIDInfo* GetMethodStart()

 

Shared Function GetMethodStart() As Ptr(Of IslandMethodUIDInfo)

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

Instantiate

Instantiates this class by calling the default constructor; only works if there is a constructor with no parameters.

 

method Instantiate: Object

 

Object Instantiate()

 

func Instantiate() -> Object

 

Object Instantiate()

 

Function Instantiate() As Object

Instantiate<T>

Instantiate with a specific lifetime management provider.

 

method Instantiate<T>: Object

 

Object Instantiate<T>()

 

func Instantiate<T>() -> Object

 

Object Instantiate<T>()

 

Function Instantiate<T>() As Object

InstantiateArray

 

method InstantiateArray(aSize: IntPtr): Array

 

Array InstantiateArray(IntPtr aSize)

 

func InstantiateArray(_ aSize: IntPtr) -> Array

 

Array InstantiateArray(IntPtr aSize)

 

Function InstantiateArray(aSize As IntPtr) As Array

Parameters:

  • aSize:

Interfaces

Returns a sequence of interfaces this type implements

 

property Interfaces: IEnumerable<Type> read;

 

IEnumerable<Type> Interfaces { get; }

 

var Interfaces: IEnumerable<Type> { get{} }

 

IEnumerable<Type> Interfaces { __get; }

 

ReadOnly Property Interfaces() As IEnumerable<Type>

IsArray

 

property IsArray: Boolean read;

 

Boolean IsArray { get; }

 

var IsArray: Boolean { get{} }

 

Boolean IsArray { __get; }

 

ReadOnly Property IsArray() As Boolean

IsAssignableFrom

Returns true if this type is assignable from another type

 

method IsAssignableFrom(aOrg: Type): Boolean

 

Boolean IsAssignableFrom(Type aOrg)

 

func IsAssignableFrom(_ aOrg: Type) -> Boolean

 

Boolean IsAssignableFrom(Type aOrg)

 

Function IsAssignableFrom(aOrg As Type) As Boolean

Parameters:

  • aOrg:

IsClass

 

property IsClass: Boolean read;

 

Boolean IsClass { get; }

 

var IsClass: Boolean { get{} }

 

Boolean IsClass { __get; }

 

ReadOnly Property IsClass() As Boolean

IsCocoaClass

True if this type is a cocoa class

 

property IsCocoaClass: Boolean read;

 

Boolean IsCocoaClass { get; }

 

var IsCocoaClass: Boolean { get{} }

 

Boolean IsCocoaClass { __get; }

 

ReadOnly Property IsCocoaClass() As Boolean

IsComInterface

True if this type is a COM interface

 

property IsComInterface: Boolean read;

 

Boolean IsComInterface { get; }

 

var IsComInterface: Boolean { get{} }

 

Boolean IsComInterface { __get; }

 

ReadOnly Property IsComInterface() As Boolean

IsDelegate

True if this type is a delegate or function pointer

 

property IsDelegate: Boolean read;

 

Boolean IsDelegate { get; }

 

var IsDelegate: Boolean { get{} }

 

Boolean IsDelegate { __get; }

 

ReadOnly Property IsDelegate() As Boolean

IsEnum

True if this type is an enum

 

property IsEnum: Boolean read;

 

Boolean IsEnum { get; }

 

var IsEnum: Boolean { get{} }

 

Boolean IsEnum { __get; }

 

ReadOnly Property IsEnum() As Boolean

IsFloat

True if this type is a Single or Double.

 

property IsFloat: Boolean read;

 

Boolean IsFloat { get; }

 

var IsFloat: Boolean { get{} }

 

Boolean IsFloat { __get; }

 

ReadOnly Property IsFloat() As Boolean

IsInteger

True if this type is an integer type.

 

property IsInteger: Boolean read;

 

Boolean IsInteger { get; }

 

var IsInteger: Boolean { get{} }

 

Boolean IsInteger { __get; }

 

ReadOnly Property IsInteger() As Boolean

IsIntegerOrFloat

True if this type is an integer or floating point type.

 

property IsIntegerOrFloat: Boolean read;

 

Boolean IsIntegerOrFloat { get; }

 

var IsIntegerOrFloat: Boolean { get{} }

 

Boolean IsIntegerOrFloat { __get; }

 

ReadOnly Property IsIntegerOrFloat() As Boolean

IsInterface

 

property IsInterface: Boolean read;

 

Boolean IsInterface { get; }

 

var IsInterface: Boolean { get{} }

 

Boolean IsInterface { __get; }

 

ReadOnly Property IsInterface() As Boolean

IsSigned

Use this to check if an integer type is signed or not (unsigned)

 

property IsSigned: Boolean read;

 

Boolean IsSigned { get; }

 

var IsSigned: Boolean { get{} }

 

Boolean IsSigned { __get; }

 

ReadOnly Property IsSigned() As Boolean

IsStruct

 

property IsStruct: Boolean read;

 

Boolean IsStruct { get; }

 

var IsStruct: Boolean { get{} }

 

Boolean IsStruct { __get; }

 

ReadOnly Property IsStruct() As Boolean

IsSubclassOf

Checks if a type is a subclass of another type.

 

method IsSubclassOf(aType: Type): Boolean

 

Boolean IsSubclassOf(Type aType)

 

func IsSubclassOf(_ aType: Type) -> Boolean

 

Boolean IsSubclassOf(Type aType)

 

Function IsSubclassOf(aType As Type) As Boolean

Parameters:

  • aType: The type to compare against

IsSwiftClass

True if this class is a swift class

 

property IsSwiftClass: Boolean read;

 

Boolean IsSwiftClass { get; }

 

var IsSwiftClass: Boolean { get{} }

 

Boolean IsSwiftClass { __get; }

 

ReadOnly Property IsSwiftClass() As Boolean

IsValueType

Returns true if this type is a valuetype

 

property IsValueType: Boolean read;

 

Boolean IsValueType { get; }

 

var IsValueType: Boolean { get{} }

 

Boolean IsValueType { __get; }

 

ReadOnly Property IsValueType() As Boolean

LoadMethods

 

class method LoadMethods

 

static void LoadMethods()

 

static func LoadMethods()

 

static void LoadMethods()

 

Shared Sub LoadMethods()

LoadTypes Android, Fuchsia, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, visionOS, visionOS Simulator, watchOS, watchOS Simulator, WebAssembly

 

class method LoadTypes

 

static void LoadTypes()

 

static func LoadTypes()

 

static void LoadTypes()

 

Shared Sub LoadTypes()

Members

Gets all members defined in this type

 

property Members: IEnumerable<MemberInfo> read;

 

IEnumerable<MemberInfo> Members { get; }

 

var Members: IEnumerable<MemberInfo> { get{} }

 

IEnumerable<MemberInfo> Members { __get; }

 

ReadOnly Property Members() As IEnumerable<MemberInfo>

Methods

Returns a sequence of all members in this type

 

property Methods: IEnumerable<MethodInfo> read;

 

IEnumerable<MethodInfo> Methods { get; }

 

var Methods: IEnumerable<MethodInfo> { get{} }

 

IEnumerable<MethodInfo> Methods { __get; }

 

ReadOnly Property Methods() As IEnumerable<MethodInfo>

Name

Returns the full type name of this type

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

 

ReadOnly Property Name() As String

NestedTypes

Returns all types nested in this type

 

property NestedTypes: IEnumerable<Type> read;

 

IEnumerable<Type> NestedTypes { get; }

 

var NestedTypes: IEnumerable<Type> { get{} }

 

IEnumerable<Type> NestedTypes { __get; }

 

ReadOnly Property NestedTypes() As IEnumerable<Type>

ObjectModel

Returns the object model of this type.

 

property ObjectModel: ObjectModel read;

 

ObjectModel ObjectModel { get; }

 

var ObjectModel: ObjectModel { get{} }

 

ObjectModel ObjectModel { __get; }

 

ReadOnly Property ObjectModel() As ObjectModel

Properties

Returns a sequence of properties in this class.

 

property Properties: IEnumerable<PropertyInfo> read;

 

IEnumerable<PropertyInfo> Properties { get; }

 

var Properties: IEnumerable<PropertyInfo> { get{} }

 

IEnumerable<PropertyInfo> Properties { __get; }

 

ReadOnly Property Properties() As IEnumerable<PropertyInfo>

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

RTTI

Raw RTTI info for this type.

 

property RTTI: ^IslandTypeInfo read;

 

IslandTypeInfo* RTTI { get; }

 

var RTTI: UnsafeMutablePointer<IslandTypeInfo> { get{} }

 

IslandTypeInfo* RTTI { __get; }

 

ReadOnly Property RTTI() As Ptr(Of IslandTypeInfo)

SizeOfType

Returns the size of this type, for value types this is the size as it's stored locally, for classes as it would be stored on the heap.

 

property SizeOfType: Int32 read;

 

Int32 SizeOfType { get; }

 

var SizeOfType: Int32 { get{} }

 

Int32 SizeOfType { __get; }

 

ReadOnly Property SizeOfType() As Int32

 

class method Sorter(a: ^IslandTypeInfo; b: ^IslandTypeInfo): Int32

 

static Int32 Sorter(IslandTypeInfo* a, IslandTypeInfo* b)

 

static func Sorter(_ a: UnsafeMutablePointer<IslandTypeInfo>, _ b: UnsafeMutablePointer<IslandTypeInfo>) -> Int32

 

static Int32 Sorter(IslandTypeInfo* a, IslandTypeInfo* b)

 

Shared Function Sorter(a As Ptr(Of IslandTypeInfo), b As Ptr(Of IslandTypeInfo)) As Int32

Parameters:

  • a:
  • b:

 

class method Sorter(a: IslandMethodUIDInfo; b: IslandMethodUIDInfo): Int32

 

static func Sorter(_ a: IslandMethodUIDInfo, _ b: IslandMethodUIDInfo) -> Int32

 

Shared Function Sorter(a As IslandMethodUIDInfo, b As IslandMethodUIDInfo) As Int32

Parameters:

  • a:
  • b:

SortMethods

 

class method SortMethods(aMethods: array of IslandMethodUIDInfo)

 

static void SortMethods(IslandMethodUIDInfo[] aMethods)

 

static func SortMethods(_ aMethods: IslandMethodUIDInfo...)

 

static void SortMethods(IslandMethodUIDInfo[] aMethods)

 

Shared Sub SortMethods(aMethods As IslandMethodUIDInfo())

Parameters:

  • aMethods:

SortTypes

 

class method SortTypes(aTypes: array of ^IslandTypeInfo)

 

static void SortTypes(IslandTypeInfo*[] aTypes)

 

static func SortTypes(_ aTypes: UnsafeMutablePointer<IslandTypeInfo>...)

 

static void SortTypes(IslandTypeInfo*[] aTypes)

 

Shared Sub SortTypes(aTypes As ^IslandTypeInfo())

Parameters:

  • aTypes:

SubType

Element type for this type; depending on the type this could be a pointer sub type or array element type.

 

property SubType: Type read;

 

Type SubType { get; }

 

var SubType: Type { get{} }

 

Type SubType { __get; }

 

ReadOnly Property SubType() As Type

ToString  override virtual

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

TypeIsValueType

Helper to determine if a type info record points to a struct or enum

 

class method TypeIsValueType(aType: ^IslandTypeInfo): Boolean

 

static Boolean TypeIsValueType(IslandTypeInfo* aType)

 

static func TypeIsValueType(_ aType: UnsafeMutablePointer<IslandTypeInfo>) -> Boolean

 

static Boolean TypeIsValueType(IslandTypeInfo* aType)

 

Shared Function TypeIsValueType(aType As Ptr(Of IslandTypeInfo)) As Boolean

Parameters:

  • aType:

 

fEnd Android, Fuchsia, Ubuntu, WebAssembly

 

class var fEnd: ^IslandTypeInfo;

 

static IslandTypeInfo* fEnd

 

static var fEnd: UnsafeMutablePointer<IslandTypeInfo>

 

static IslandTypeInfo* fEnd

 

Shared FIELD fEnd() As Ptr(Of IslandTypeInfo)

fEndM Android, Fuchsia, Ubuntu, WebAssembly

 

class var fEndM: IslandMethodUIDInfo;

 

static IslandMethodUIDInfo fEndM

 

static var fEndM: IslandMethodUIDInfo

 

static IslandMethodUIDInfo fEndM

 

Shared FIELD fEndM() As IslandMethodUIDInfo

fMethods

 

class var fMethods: array of IslandMethodUIDInfo;

 

static IslandMethodUIDInfo[] fMethods

 

static var fMethods: IslandMethodUIDInfo...

 

static IslandMethodUIDInfo[] fMethods

 

Shared FIELD fMethods() As IslandMethodUIDInfo()

fStart Android, Fuchsia, Ubuntu, WebAssembly

 

class var fStart: ^IslandTypeInfo;

 

static IslandTypeInfo* fStart

 

static var fStart: UnsafeMutablePointer<IslandTypeInfo>

 

static IslandTypeInfo* fStart

 

Shared FIELD fStart() As Ptr(Of IslandTypeInfo)

fStartM Android, Fuchsia, Ubuntu, WebAssembly

 

class var fStartM: IslandMethodUIDInfo;

 

static IslandMethodUIDInfo fStartM

 

static var fStartM: IslandMethodUIDInfo

 

static IslandMethodUIDInfo fStartM

 

Shared FIELD fStartM() As IslandMethodUIDInfo

fTypes

 

class var fTypes: array of ^IslandTypeInfo;

 

static IslandTypeInfo*[] fTypes

 

static var fTypes: UnsafeMutablePointer<IslandTypeInfo>...

 

static IslandTypeInfo*[] fTypes

 

Shared FIELD fTypes() As ^IslandTypeInfo()

 

Attributes

Custom attributes defined on this type

 

property Attributes: IEnumerable<CustomAttribute> read;

 

IEnumerable<CustomAttribute> Attributes { get; }

 

var Attributes: IEnumerable<CustomAttribute> { get{} }

 

IEnumerable<CustomAttribute> Attributes { __get; }

 

ReadOnly Property Attributes() As IEnumerable<CustomAttribute>

BaseType

Parent type for this type.

 

property BaseType: Type read;

 

Type BaseType { get; }

 

var BaseType: Type { get{} }

 

Type BaseType { __get; }

 

ReadOnly Property BaseType() As Type

BoxedDataOffset

For value types, the offset the data starts at; including alignment

 

property BoxedDataOffset: Int32 read;

 

Int32 BoxedDataOffset { get; }

 

var BoxedDataOffset: Int32 { get{} }

 

Int32 BoxedDataOffset { __get; }

 

ReadOnly Property BoxedDataOffset() As Int32

Code

Type code; for core types

 

property Code: TypeCodes read;

 

TypeCodes Code { get; }

 

var Code: TypeCodes { get{} }

 

TypeCodes Code { __get; }

 

ReadOnly Property Code() As TypeCodes

COMGuids

Returns a sequence of 0 or more guids attached to this type.

 

property COMGuids: IEnumerable<Guid> read;

 

IEnumerable<Guid> COMGuids { get; }

 

var COMGuids: IEnumerable<Guid> { get{} }

 

IEnumerable<Guid> COMGuids { __get; }

 

ReadOnly Property COMGuids() As IEnumerable<Guid>

Constants

Returns a sequence of constants in this type

 

property Constants: IEnumerable<ConstantInfo> read;

 

IEnumerable<ConstantInfo> Constants { get; }

 

var Constants: IEnumerable<ConstantInfo> { get{} }

 

IEnumerable<ConstantInfo> Constants { __get; }

 

ReadOnly Property Constants() As IEnumerable<ConstantInfo>

DefFlags

Flags for this type

 

property DefFlags: TypeDefFlags read;

 

TypeDefFlags DefFlags { get; }

 

var DefFlags: TypeDefFlags { get{} }

 

TypeDefFlags DefFlags { __get; }

 

ReadOnly Property DefFlags() As TypeDefFlags

Events

Returns a sequence of events on this type

 

property Events: IEnumerable<EventInfo> read;

 

IEnumerable<EventInfo> Events { get; }

 

var Events: IEnumerable<EventInfo> { get{} }

 

IEnumerable<EventInfo> Events { __get; }

 

ReadOnly Property Events() As IEnumerable<EventInfo>

Fields

Returns a sequence of fields in this type

 

property Fields: IEnumerable<FieldInfo> read;

 

IEnumerable<FieldInfo> Fields { get; }

 

var Fields: IEnumerable<FieldInfo> { get{} }

 

IEnumerable<FieldInfo> Fields { __get; }

 

ReadOnly Property Fields() As IEnumerable<FieldInfo>

Flags

Flags defined on this type

 

property Flags: IslandTypeFlags read;

 

IslandTypeFlags Flags { get; }

 

var Flags: IslandTypeFlags { get{} }

 

IslandTypeFlags Flags { __get; }

 

ReadOnly Property Flags() As IslandTypeFlags

FullName

 

property FullName: String read;

 

String FullName { get; }

 

var FullName: String { get{} }

 

String FullName { __get; }

 

ReadOnly Property FullName() As String

GenericArguments

Returns a sequence of generic arguments.

 

property GenericArguments: IEnumerable<Type> read;

 

IEnumerable<Type> GenericArguments { get; }

 

var GenericArguments: IEnumerable<Type> { get{} }

 

IEnumerable<Type> GenericArguments { __get; }

 

ReadOnly Property GenericArguments() As IEnumerable<Type>

Interfaces

Returns a sequence of interfaces this type implements

 

property Interfaces: IEnumerable<Type> read;

 

IEnumerable<Type> Interfaces { get; }

 

var Interfaces: IEnumerable<Type> { get{} }

 

IEnumerable<Type> Interfaces { __get; }

 

ReadOnly Property Interfaces() As IEnumerable<Type>

IsArray

 

property IsArray: Boolean read;

 

Boolean IsArray { get; }

 

var IsArray: Boolean { get{} }

 

Boolean IsArray { __get; }

 

ReadOnly Property IsArray() As Boolean

IsClass

 

property IsClass: Boolean read;

 

Boolean IsClass { get; }

 

var IsClass: Boolean { get{} }

 

Boolean IsClass { __get; }

 

ReadOnly Property IsClass() As Boolean

IsCocoaClass

True if this type is a cocoa class

 

property IsCocoaClass: Boolean read;

 

Boolean IsCocoaClass { get; }

 

var IsCocoaClass: Boolean { get{} }

 

Boolean IsCocoaClass { __get; }

 

ReadOnly Property IsCocoaClass() As Boolean

IsComInterface

True if this type is a COM interface

 

property IsComInterface: Boolean read;

 

Boolean IsComInterface { get; }

 

var IsComInterface: Boolean { get{} }

 

Boolean IsComInterface { __get; }

 

ReadOnly Property IsComInterface() As Boolean

IsDelegate

True if this type is a delegate or function pointer

 

property IsDelegate: Boolean read;

 

Boolean IsDelegate { get; }

 

var IsDelegate: Boolean { get{} }

 

Boolean IsDelegate { __get; }

 

ReadOnly Property IsDelegate() As Boolean

IsEnum

True if this type is an enum

 

property IsEnum: Boolean read;

 

Boolean IsEnum { get; }

 

var IsEnum: Boolean { get{} }

 

Boolean IsEnum { __get; }

 

ReadOnly Property IsEnum() As Boolean

IsFloat

True if this type is a Single or Double.

 

property IsFloat: Boolean read;

 

Boolean IsFloat { get; }

 

var IsFloat: Boolean { get{} }

 

Boolean IsFloat { __get; }

 

ReadOnly Property IsFloat() As Boolean

IsInteger

True if this type is an integer type.

 

property IsInteger: Boolean read;

 

Boolean IsInteger { get; }

 

var IsInteger: Boolean { get{} }

 

Boolean IsInteger { __get; }

 

ReadOnly Property IsInteger() As Boolean

IsIntegerOrFloat

True if this type is an integer or floating point type.

 

property IsIntegerOrFloat: Boolean read;

 

Boolean IsIntegerOrFloat { get; }

 

var IsIntegerOrFloat: Boolean { get{} }

 

Boolean IsIntegerOrFloat { __get; }

 

ReadOnly Property IsIntegerOrFloat() As Boolean

IsInterface

 

property IsInterface: Boolean read;

 

Boolean IsInterface { get; }

 

var IsInterface: Boolean { get{} }

 

Boolean IsInterface { __get; }

 

ReadOnly Property IsInterface() As Boolean

IsSigned

Use this to check if an integer type is signed or not (unsigned)

 

property IsSigned: Boolean read;

 

Boolean IsSigned { get; }

 

var IsSigned: Boolean { get{} }

 

Boolean IsSigned { __get; }

 

ReadOnly Property IsSigned() As Boolean

IsStruct

 

property IsStruct: Boolean read;

 

Boolean IsStruct { get; }

 

var IsStruct: Boolean { get{} }

 

Boolean IsStruct { __get; }

 

ReadOnly Property IsStruct() As Boolean

IsSwiftClass

True if this class is a swift class

 

property IsSwiftClass: Boolean read;

 

Boolean IsSwiftClass { get; }

 

var IsSwiftClass: Boolean { get{} }

 

Boolean IsSwiftClass { __get; }

 

ReadOnly Property IsSwiftClass() As Boolean

IsValueType

Returns true if this type is a valuetype

 

property IsValueType: Boolean read;

 

Boolean IsValueType { get; }

 

var IsValueType: Boolean { get{} }

 

Boolean IsValueType { __get; }

 

ReadOnly Property IsValueType() As Boolean

Members

Gets all members defined in this type

 

property Members: IEnumerable<MemberInfo> read;

 

IEnumerable<MemberInfo> Members { get; }

 

var Members: IEnumerable<MemberInfo> { get{} }

 

IEnumerable<MemberInfo> Members { __get; }

 

ReadOnly Property Members() As IEnumerable<MemberInfo>

Methods

Returns a sequence of all members in this type

 

property Methods: IEnumerable<MethodInfo> read;

 

IEnumerable<MethodInfo> Methods { get; }

 

var Methods: IEnumerable<MethodInfo> { get{} }

 

IEnumerable<MethodInfo> Methods { __get; }

 

ReadOnly Property Methods() As IEnumerable<MethodInfo>

Name

Returns the full type name of this type

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

 

ReadOnly Property Name() As String

NestedTypes

Returns all types nested in this type

 

property NestedTypes: IEnumerable<Type> read;

 

IEnumerable<Type> NestedTypes { get; }

 

var NestedTypes: IEnumerable<Type> { get{} }

 

IEnumerable<Type> NestedTypes { __get; }

 

ReadOnly Property NestedTypes() As IEnumerable<Type>

ObjectModel

Returns the object model of this type.

 

property ObjectModel: ObjectModel read;

 

ObjectModel ObjectModel { get; }

 

var ObjectModel: ObjectModel { get{} }

 

ObjectModel ObjectModel { __get; }

 

ReadOnly Property ObjectModel() As ObjectModel

Properties

Returns a sequence of properties in this class.

 

property Properties: IEnumerable<PropertyInfo> read;

 

IEnumerable<PropertyInfo> Properties { get; }

 

var Properties: IEnumerable<PropertyInfo> { get{} }

 

IEnumerable<PropertyInfo> Properties { __get; }

 

ReadOnly Property Properties() As IEnumerable<PropertyInfo>

RTTI

Raw RTTI info for this type.

 

property RTTI: ^IslandTypeInfo read;

 

IslandTypeInfo* RTTI { get; }

 

var RTTI: UnsafeMutablePointer<IslandTypeInfo> { get{} }

 

IslandTypeInfo* RTTI { __get; }

 

ReadOnly Property RTTI() As Ptr(Of IslandTypeInfo)

SizeOfType

Returns the size of this type, for value types this is the size as it's stored locally, for classes as it would be stored on the heap.

 

property SizeOfType: Int32 read;

 

Int32 SizeOfType { get; }

 

var SizeOfType: Int32 { get{} }

 

Int32 SizeOfType { __get; }

 

ReadOnly Property SizeOfType() As Int32

SubType

Element type for this type; depending on the type this could be a pointer sub type or array element type.

 

property SubType: Type read;

 

Type SubType { get; }

 

var SubType: Type { get{} }

 

Type SubType { __get; }

 

ReadOnly Property SubType() As Type

AllTypes

Gets access to all types loaded/compiled in.

 

class property AllTypes: IEnumerable<Type> read;

 

class IEnumerable<Type> AllTypes { get; }

 

static var AllTypes: IEnumerable<Type> { get{} }

 

class IEnumerable<Type> AllTypes { __get; }

 

Shared ReadOnly Property AllTypes() As IEnumerable<Type>

 

GetHDR iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS, watchOS Simulator

 

// iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS Simulator
class method GetHDR: ^__struct_mach_header_64
// watchOS
class method GetHDR: ^__struct_mach_header

 

// iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS Simulator
static __struct_mach_header_64* GetHDR()
// watchOS
static __struct_mach_header* GetHDR()

 

// iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS Simulator
static func GetHDR() -> UnsafeMutablePointer<__struct_mach_header_64>
// watchOS
static func GetHDR() -> UnsafeMutablePointer<__struct_mach_header>

 

// iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS Simulator
static __struct_mach_header_64* GetHDR()
// watchOS
static __struct_mach_header* GetHDR()

 

// iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS Simulator
Shared Function GetHDR() As Ptr(Of __struct_mach_header_64)
// watchOS
Shared Function GetHDR() As Ptr(Of __struct_mach_header)

GetMethodsEnd Android, Fuchsia, Ubuntu, WebAssembly

 

class method GetMethodsEnd: ^IslandMethodUIDInfo

 

static IslandMethodUIDInfo* GetMethodsEnd()

 

static func GetMethodsEnd() -> UnsafeMutablePointer<IslandMethodUIDInfo>

 

static IslandMethodUIDInfo* GetMethodsEnd()

 

Shared Function GetMethodsEnd() As Ptr(Of IslandMethodUIDInfo)

GetMethodStart Android, Fuchsia, Ubuntu, WebAssembly

 

class method GetMethodStart: ^IslandMethodUIDInfo

 

static IslandMethodUIDInfo* GetMethodStart()

 

static func GetMethodStart() -> UnsafeMutablePointer<IslandMethodUIDInfo>

 

static IslandMethodUIDInfo* GetMethodStart()

 

Shared Function GetMethodStart() As Ptr(Of IslandMethodUIDInfo)

LoadMethods

 

class method LoadMethods

 

static void LoadMethods()

 

static func LoadMethods()

 

static void LoadMethods()

 

Shared Sub LoadMethods()

LoadTypes Android, Fuchsia, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, visionOS, visionOS Simulator, watchOS, watchOS Simulator, WebAssembly

 

class method LoadTypes

 

static void LoadTypes()

 

static func LoadTypes()

 

static void LoadTypes()

 

Shared Sub LoadTypes()

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

 

class method Sorter(a: ^IslandTypeInfo; b: ^IslandTypeInfo): Int32

 

static Int32 Sorter(IslandTypeInfo* a, IslandTypeInfo* b)

 

static func Sorter(_ a: UnsafeMutablePointer<IslandTypeInfo>, _ b: UnsafeMutablePointer<IslandTypeInfo>) -> Int32

 

static Int32 Sorter(IslandTypeInfo* a, IslandTypeInfo* b)

 

Shared Function Sorter(a As Ptr(Of IslandTypeInfo), b As Ptr(Of IslandTypeInfo)) As Int32

Parameters:

  • a:
  • b:

 

class method Sorter(a: IslandMethodUIDInfo; b: IslandMethodUIDInfo): Int32

 

static func Sorter(_ a: IslandMethodUIDInfo, _ b: IslandMethodUIDInfo) -> Int32

 

Shared Function Sorter(a As IslandMethodUIDInfo, b As IslandMethodUIDInfo) As Int32

Parameters:

  • a:
  • b:

SortMethods

 

class method SortMethods(aMethods: array of IslandMethodUIDInfo)

 

static void SortMethods(IslandMethodUIDInfo[] aMethods)

 

static func SortMethods(_ aMethods: IslandMethodUIDInfo...)

 

static void SortMethods(IslandMethodUIDInfo[] aMethods)

 

Shared Sub SortMethods(aMethods As IslandMethodUIDInfo())

Parameters:

  • aMethods:

SortTypes

 

class method SortTypes(aTypes: array of ^IslandTypeInfo)

 

static void SortTypes(IslandTypeInfo*[] aTypes)

 

static func SortTypes(_ aTypes: UnsafeMutablePointer<IslandTypeInfo>...)

 

static void SortTypes(IslandTypeInfo*[] aTypes)

 

Shared Sub SortTypes(aTypes As ^IslandTypeInfo())

Parameters:

  • aTypes:

TypeIsValueType

Helper to determine if a type info record points to a struct or enum

 

class method TypeIsValueType(aType: ^IslandTypeInfo): Boolean

 

static Boolean TypeIsValueType(IslandTypeInfo* aType)

 

static func TypeIsValueType(_ aType: UnsafeMutablePointer<IslandTypeInfo>) -> Boolean

 

static Boolean TypeIsValueType(IslandTypeInfo* aType)

 

Shared Function TypeIsValueType(aType As Ptr(Of IslandTypeInfo)) As Boolean

Parameters:

  • aType:

 

constructor    (declared in Object)

 

constructor

 

Type()

 

init()

 

Type()

 

Sub New()

constructor (^IslandTypeInfo)

 

constructor(aValue: ^IslandTypeInfo)

 

Type(IslandTypeInfo* aValue)

 

init(_ aValue: UnsafeMutablePointer<IslandTypeInfo>)

 

Type(IslandTypeInfo* aValue)

 

Sub New(aValue As Ptr(Of IslandTypeInfo))

Parameters:

  • aValue:

Equals (Object): Boolean  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

Equals (Object): Boolean  override virtual

 

method Equals(other: Object): Boolean

 

Boolean Equals(Object other)

 

func Equals(_ other: Object) -> Boolean

 

Boolean Equals(Object other)

 

Function Equals(other As Object) As Boolean

Parameters:

  • other:

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetHashCode  override virtual

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

Instantiate

Instantiates this class by calling the default constructor; only works if there is a constructor with no parameters.

 

method Instantiate: Object

 

Object Instantiate()

 

func Instantiate() -> Object

 

Object Instantiate()

 

Function Instantiate() As Object

Instantiate<T>

Instantiate with a specific lifetime management provider.

 

method Instantiate<T>: Object

 

Object Instantiate<T>()

 

func Instantiate<T>() -> Object

 

Object Instantiate<T>()

 

Function Instantiate<T>() As Object

InstantiateArray

 

method InstantiateArray(aSize: IntPtr): Array

 

Array InstantiateArray(IntPtr aSize)

 

func InstantiateArray(_ aSize: IntPtr) -> Array

 

Array InstantiateArray(IntPtr aSize)

 

Function InstantiateArray(aSize As IntPtr) As Array

Parameters:

  • aSize:

IsAssignableFrom

Returns true if this type is assignable from another type

 

method IsAssignableFrom(aOrg: Type): Boolean

 

Boolean IsAssignableFrom(Type aOrg)

 

func IsAssignableFrom(_ aOrg: Type) -> Boolean

 

Boolean IsAssignableFrom(Type aOrg)

 

Function IsAssignableFrom(aOrg As Type) As Boolean

Parameters:

  • aOrg:

IsSubclassOf

Checks if a type is a subclass of another type.

 

method IsSubclassOf(aType: Type): Boolean

 

Boolean IsSubclassOf(Type aType)

 

func IsSubclassOf(_ aType: Type) -> Boolean

 

Boolean IsSubclassOf(Type aType)

 

Function IsSubclassOf(aType As Type) As Boolean

Parameters:

  • aType: The type to compare against

ToString  override virtual

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String