Class MonoExtensions
Inheritance
MonoExtensions
Syntax
public static class MonoExtensions
Methods
CalculateMemoryOrdering(TypeDefinition)
Declaration
public static ulong CalculateMemoryOrdering(this TypeDefinition typeDef)
Parameters
Type |
Name |
Description |
TypeDefinition |
typeDef |
|
Returns
CalculateStableTypeHash(TypeDefinition)
Declaration
public static ulong CalculateStableTypeHash(this TypeDefinition typeDef)
Parameters
Type |
Name |
Description |
TypeDefinition |
typeDef |
|
Returns
DynamicArrayElementType(TypeReference)
Declaration
public static TypeReference DynamicArrayElementType(this TypeReference typeRef)
Parameters
Type |
Name |
Description |
TypeReference |
typeRef |
|
Returns
Type |
Description |
TypeReference |
|
FixedSpecialType(TypeReference)
Declaration
public static TypeDefinition FixedSpecialType(this TypeReference typeRef)
Parameters
Type |
Name |
Description |
TypeReference |
typeRef |
|
Returns
Type |
Description |
TypeDefinition |
|
GetReflectionName(TypeReference)
Declaration
public static string GetReflectionName(this TypeReference type)
Parameters
Type |
Name |
Description |
TypeReference |
type |
|
Returns
GetSystemReflectionType(TypeReference)
Declaration
public static Type GetSystemReflectionType(this TypeReference type)
Parameters
Type |
Name |
Description |
TypeReference |
type |
|
Returns
GetSystemRunsAfter(TypeDefinition)
Declaration
public static TypeDefinition[] GetSystemRunsAfter(this TypeDefinition type)
Parameters
Type |
Name |
Description |
TypeDefinition |
type |
|
Returns
Type |
Description |
TypeDefinition[] |
|
GetSystemRunsBefore(TypeDefinition)
Declaration
public static TypeDefinition[] GetSystemRunsBefore(this TypeDefinition type)
Parameters
Type |
Name |
Description |
TypeDefinition |
type |
|
Returns
Type |
Description |
TypeDefinition[] |
|
IsBufferElementComponentType(TypeReference)
Declaration
public static bool IsBufferElementComponentType(this TypeReference typeRef)
Parameters
Type |
Name |
Description |
TypeReference |
typeRef |
|
Returns
IsComplex(TypeReference)
Declaration
public static bool IsComplex(this TypeReference typeRef)
Parameters
Type |
Name |
Description |
TypeReference |
typeRef |
|
Returns
IsComponentType(TypeReference)
Declaration
public static bool IsComponentType(this TypeReference typeRef)
Parameters
Type |
Name |
Description |
TypeReference |
typeRef |
|
Returns
IsCppBasicType(TypeDefinition)
Declaration
public static bool IsCppBasicType(this TypeDefinition type)
Parameters
Type |
Name |
Description |
TypeDefinition |
type |
|
Returns
IsDynamicArray(TypeReference)
Declaration
public static bool IsDynamicArray(this TypeReference type)
Parameters
Type |
Name |
Description |
TypeReference |
type |
|
Returns
IsEntityType(TypeReference)
Declaration
public static bool IsEntityType(this TypeReference typeRef)
Parameters
Type |
Name |
Description |
TypeReference |
typeRef |
|
Returns
IsManagedType(TypeReference)
Declaration
public static bool IsManagedType(this TypeReference typeRef)
Parameters
Type |
Name |
Description |
TypeReference |
typeRef |
|
Returns
IsPodType(TypeReference)
Declaration
public static bool IsPodType(this TypeReference typeRef)
Parameters
Type |
Name |
Description |
TypeReference |
typeRef |
|
Returns
IsSharedComponentType(TypeReference)
Declaration
public static bool IsSharedComponentType(this TypeReference typeRef)
Parameters
Type |
Name |
Description |
TypeReference |
typeRef |
|
Returns
IsStructValueType(TypeDefinition)
Declaration
public static bool IsStructValueType(this TypeDefinition type)
Parameters
Type |
Name |
Description |
TypeDefinition |
type |
|
Returns
IsStructValueType(TypeReference)
Declaration
public static bool IsStructValueType(this TypeReference type)
Parameters
Type |
Name |
Description |
TypeReference |
type |
|
Returns
IsStructWithInterface(TypeDefinition, String)
Declaration
public static bool IsStructWithInterface(this TypeDefinition type, string fullName)
Parameters
Type |
Name |
Description |
TypeDefinition |
type |
|
String |
fullName |
|
Returns
IsSystemFenceType(TypeDefinition)
Declaration
public static bool IsSystemFenceType(this TypeDefinition type)
Parameters
Type |
Name |
Description |
TypeDefinition |
type |
|
Returns
IsSystemStateComponentType(TypeReference)
Declaration
public static bool IsSystemStateComponentType(this TypeReference typeRef)
Parameters
Type |
Name |
Description |
TypeReference |
typeRef |
|
Returns
IsSystemType(TypeDefinition)
Declaration
public static bool IsSystemType(this TypeDefinition type)
Parameters
Type |
Name |
Description |
TypeDefinition |
type |
|
Returns
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.