Class VTablesImpl
Inheritance
System.Object
VTablesImpl
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Cosmos.Core.dll
Syntax
public static class VTablesImpl
Fields
|
Improve this Doc
View Source
EnableDebug
Declaration
public static bool EnableDebug
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
gcTypes
Declaration
public static GCTable[] gcTypes
Field Value
|
Improve this Doc
View Source
mTypes
Declaration
public static VTable[] mTypes
Field Value
Methods
|
Improve this Doc
View Source
GetAssemblyQualifiedName(UInt32)
Gets the Assembly Qualified Name for the type
Declaration
public static string GetAssemblyQualifiedName(uint aType)
Parameters
Type |
Name |
Description |
System.UInt32 |
aType |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetBaseType(UInt32)
Declaration
public static uint GetBaseType(uint aObjectType)
Parameters
Type |
Name |
Description |
System.UInt32 |
aObjectType |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
GetDeclaringTypeOfMethodForType(UInt32, UInt32)
Declaration
public static uint GetDeclaringTypeOfMethodForType(uint aType, uint aMethodId)
Parameters
Type |
Name |
Description |
System.UInt32 |
aType |
|
System.UInt32 |
aMethodId |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
GetGCFieldCount(UInt32)
Get nnumber of GC tracked Fields in Type
This includes all objects and struct fields
Declaration
public static uint GetGCFieldCount(uint aType)
Parameters
Type |
Name |
Description |
System.UInt32 |
aType |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
GetGCFieldOffsets(UInt32)
Get Field Offsets of all Fields tracked by GC in bytes
Declaration
public static uint[] GetGCFieldOffsets(uint aType)
Parameters
Type |
Name |
Description |
System.UInt32 |
aType |
|
Returns
Type |
Description |
System.UInt32[] |
|
|
Improve this Doc
View Source
GetGCFieldTypes(UInt32)
Get Types of Types Fields
Declaration
public static uint[] GetGCFieldTypes(uint aType)
Parameters
Type |
Name |
Description |
System.UInt32 |
aType |
|
Returns
Type |
Description |
System.UInt32[] |
|
|
Improve this Doc
View Source
GetMethodAddressForInterfaceType(UInt32, UInt32)
Declaration
public static uint GetMethodAddressForInterfaceType(uint aType, uint aInterfaceMethodId)
Parameters
Type |
Name |
Description |
System.UInt32 |
aType |
|
System.UInt32 |
aInterfaceMethodId |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
GetMethodAddressForType(UInt32, UInt32)
Declaration
public static uint GetMethodAddressForType(uint aType, uint aMethodId)
Parameters
Type |
Name |
Description |
System.UInt32 |
aType |
|
System.UInt32 |
aMethodId |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
GetName(UInt32)
Gets the Name of the type
Declaration
public static string GetName(uint aType)
Parameters
Type |
Name |
Description |
System.UInt32 |
aType |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetSize(UInt32)
Declaration
public static uint GetSize(uint aObjectType)
Parameters
Type |
Name |
Description |
System.UInt32 |
aObjectType |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
GetType(String)
Get type id of type matching the name
The name can either be name of the class or the assembly qualified name
Only inlcuding the first or first two parts of the assembly qualified name also works
Declaration
public static int GetType(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Int32 |
Returns -1 if no type can be found
|
|
Improve this Doc
View Source
IsInstance(UInt32, UInt32, Boolean)
Declaration
public static bool IsInstance(uint aObjectType, uint aDesiredObjectType, bool aIsInterface)
Parameters
Type |
Name |
Description |
System.UInt32 |
aObjectType |
|
System.UInt32 |
aDesiredObjectType |
|
System.Boolean |
aIsInterface |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsStruct(UInt32)
Determine if a Type is a Struct
Declaration
public static bool IsStruct(uint aType)
Parameters
Type |
Name |
Description |
System.UInt32 |
aType |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsValueType(UInt32)
Determine if Type is a ValueType
Declaration
public static bool IsValueType(uint aType)
Parameters
Type |
Name |
Description |
System.UInt32 |
aType |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SetInterfaceInfo(Int32, Int32, UInt32)
Declaration
public static void SetInterfaceInfo(int aType, int aInterfaceIndex, uint aInterfaceIdentifier)
Parameters
Type |
Name |
Description |
System.Int32 |
aType |
|
System.Int32 |
aInterfaceIndex |
|
System.UInt32 |
aInterfaceIdentifier |
|
|
Improve this Doc
View Source
SetInterfaceMethodInfo(Int32, Int32, UInt32, UInt32)
Declaration
public static void SetInterfaceMethodInfo(int aType, int aMethodIndex, uint aInterfaceMethodId, uint aTargetMethodId)
Parameters
Type |
Name |
Description |
System.Int32 |
aType |
|
System.Int32 |
aMethodIndex |
|
System.UInt32 |
aInterfaceMethodId |
|
System.UInt32 |
aTargetMethodId |
|
|
Improve this Doc
View Source
SetMethodInfo(Int32, Int32, UInt32, UInt32)
Declaration
public static void SetMethodInfo(int aType, int aMethodIndex, uint aMethodIdentifier, uint aMethodAddress)
Parameters
Type |
Name |
Description |
System.Int32 |
aType |
|
System.Int32 |
aMethodIndex |
|
System.UInt32 |
aMethodIdentifier |
|
System.UInt32 |
aMethodAddress |
|
|
Improve this Doc
View Source
SetTypeInfo(Int32, UInt32, UInt32, UInt32, UInt32[], UInt32, UInt32[], UInt32[], UInt32, UInt32[], UInt32[], UInt32, UInt32[], UInt32[], Boolean, Boolean, String, String)
Declaration
public static void SetTypeInfo(int aType, uint aBaseType, uint aSize, uint aInterfaceCount, uint[] aInterfaceIndexes, uint aMethodCount, uint[] aMethodIndexes, uint[] aMethodAddresses, uint aInterfaceMethodCount, uint[] aInterfaceMethodIndexes, uint[] aTargetMethodIndexes, uint aGCFieldCount, uint[] aGCFieldOffsets, uint[] aGCFieldTypes, bool aIsValueType, bool aIsStruct, string aName, string aAssemblyQualifiedName)
Parameters
Type |
Name |
Description |
System.Int32 |
aType |
|
System.UInt32 |
aBaseType |
|
System.UInt32 |
aSize |
|
System.UInt32 |
aInterfaceCount |
|
System.UInt32[] |
aInterfaceIndexes |
|
System.UInt32 |
aMethodCount |
|
System.UInt32[] |
aMethodIndexes |
|
System.UInt32[] |
aMethodAddresses |
|
System.UInt32 |
aInterfaceMethodCount |
|
System.UInt32[] |
aInterfaceMethodIndexes |
|
System.UInt32[] |
aTargetMethodIndexes |
|
System.UInt32 |
aGCFieldCount |
|
System.UInt32[] |
aGCFieldOffsets |
|
System.UInt32[] |
aGCFieldTypes |
|
System.Boolean |
aIsValueType |
|
System.Boolean |
aIsStruct |
|
System.String |
aName |
|
System.String |
aAssemblyQualifiedName |
|