Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Reflection.Emit.SignatureHelper Class Referencesealed

Public Member Functions

void AddArgument (Type clsArgument)
 
void AddArgument (Type argument, bool pinned)
 
void AddArguments (Type[]? arguments, Type[][]? requiredCustomModifiers, Type[][]? optionalCustomModifiers)
 
void AddArgument (Type argument, Type[]? requiredCustomModifiers, Type[]? optionalCustomModifiers)
 
void AddSentinel ()
 
override bool Equals (object? obj)
 
override int GetHashCode ()
 
byte[] GetSignature ()
 
override string ToString ()
 

Static Public Member Functions

static SignatureHelper GetMethodSigHelper (Module? mod, Type? returnType, Type[]? parameterTypes)
 
static SignatureHelper GetMethodSigHelper (Module? mod, CallingConventions callingConvention, Type? returnType)
 
static SignatureHelper GetLocalVarSigHelper ()
 
static SignatureHelper GetMethodSigHelper (CallingConventions callingConvention, Type? returnType)
 
static SignatureHelper GetLocalVarSigHelper (Module? mod)
 
static SignatureHelper GetFieldSigHelper (Module? mod)
 
static SignatureHelper GetPropertySigHelper (Module? mod, Type? returnType, Type[]? parameterTypes)
 
static SignatureHelper GetPropertySigHelper (Module? mod, Type? returnType, Type[]? requiredReturnTypeCustomModifiers, Type[]? optionalReturnTypeCustomModifiers, Type[]? parameterTypes, Type[][]? requiredParameterTypeCustomModifiers, Type[][]? optionalParameterTypeCustomModifiers)
 
static SignatureHelper GetPropertySigHelper (Module? mod, CallingConventions callingConvention, Type? returnType, Type[]? requiredReturnTypeCustomModifiers, Type[]? optionalReturnTypeCustomModifiers, Type[]? parameterTypes, Type[][]? requiredParameterTypeCustomModifiers, Type[][]? optionalParameterTypeCustomModifiers)
 

Package Functions

byte[] InternalGetSignature (out int length)
 
byte[] InternalGetSignatureArray ()
 
byte[] GetSignature (bool appendEndOfSig)
 

Static Package Functions

static SignatureHelper GetMethodSpecSigHelper (Module scope, Type[] inst)
 
static SignatureHelper GetMethodSigHelper (Module scope, CallingConventions callingConvention, Type returnType, Type[] requiredReturnTypeCustomModifiers, Type[] optionalReturnTypeCustomModifiers, Type[] parameterTypes, Type[][] requiredParameterTypeCustomModifiers, Type[][] optionalParameterTypeCustomModifiers)
 
static SignatureHelper GetMethodSigHelper (Module scope, CallingConventions callingConvention, int cGenericParam, Type returnType, Type[] requiredReturnTypeCustomModifiers, Type[] optionalReturnTypeCustomModifiers, Type[] parameterTypes, Type[][] requiredParameterTypeCustomModifiers, Type[][] optionalParameterTypeCustomModifiers)
 
static SignatureHelper GetMethodSigHelper (Module mod, CallingConvention unmanagedCallConv, Type returnType)
 
static SignatureHelper GetMethodSigHelper (CallingConvention unmanagedCallingConvention, Type returnType)
 
static SignatureHelper GetTypeSigToken (Module module, Type type)
 
static bool IsSimpleType (CorElementType type)
 

Properties

int ArgumentCount [get]
 

Private Member Functions

 SignatureHelper (Module mod, MdSigCallingConvention callingConvention)
 
 SignatureHelper (Module mod, MdSigCallingConvention callingConvention, int cGenericParameters, Type returnType, Type[] requiredCustomModifiers, Type[] optionalCustomModifiers)
 
 SignatureHelper (Module mod, MdSigCallingConvention callingConvention, Type returnType, Type[] requiredCustomModifiers, Type[] optionalCustomModifiers)
 
 SignatureHelper (Module mod, Type type)
 
void Init (Module mod)
 
void Init (Module mod, MdSigCallingConvention callingConvention)
 
void Init (Module mod, MdSigCallingConvention callingConvention, int cGenericParam)
 
void AddOneArgTypeHelper (Type argument, bool pinned)
 
void AddOneArgTypeHelper (Type clsArgument, Type[] requiredCustomModifiers, Type[] optionalCustomModifiers)
 
void AddOneArgTypeHelper (Type clsArgument)
 
void AddOneArgTypeHelperWorker (Type clsArgument, bool lastWasGenericInst)
 
void AddData (int data)
 
void AddElementType (CorElementType cvt)
 
void AddToken (int token)
 
void InternalAddTypeToken (int clsToken, CorElementType CorType)
 
unsafe void InternalAddRuntimeType (Type type)
 
void IncrementArgCounts ()
 
void SetNumberOfSignatureElements (bool forceCopy)
 

Static Private Member Functions

static byte[] ExpandArray (byte[] inArray)
 
static byte[] ExpandArray (byte[] inArray, int requiredLength)
 

Private Attributes

byte[] m_signature
 
int m_currSig
 
int m_sizeLoc
 
ModuleBuilder m_module
 
bool m_sigDone
 
int m_argCount
 

Detailed Description

Definition at line 8 of file SignatureHelper.cs.


The documentation for this class was generated from the following file: