Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CreateCaObject()

static unsafe object System.Reflection.CustomAttribute.CreateCaObject ( RuntimeModule module,
RuntimeType type,
IRuntimeMethodInfo ctor,
ref IntPtr blob,
IntPtr blobEnd,
out int namedArgs )
inlinestaticprivate

Definition at line 512 of file CustomAttribute.cs.

513 {
514 byte* ptr = (byte*)(void*)blob;
515 byte* pEndBlob = (byte*)(void*)blobEnd;
516 System.Runtime.CompilerServices.Unsafe.SkipInit(out int num);
517 object result = _CreateCaObject(module, type, ctor, &ptr, pEndBlob, &num);
518 blob = (IntPtr)ptr;
519 namedArgs = num;
520 return result;
521 }
static unsafe object _CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, byte **ppBlob, byte *pEndBlob, int *pcNamedArgs)

References System.type.

Referenced by System.Reflection.CustomAttribute.AddCustomAttributes().