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

◆ ParseAttributeArguments() [1/2]

static void System.Reflection.CustomAttributeEncodedArgument.ParseAttributeArguments ( ConstArray attributeBlob,
ref CustomAttributeCtorParameter[] customAttributeCtorParameters,
ref CustomAttributeNamedParameter[] customAttributeNamedParameters,
RuntimeModule customAttributeModule )
inlinestaticpackage

Definition at line 28 of file CustomAttributeEncodedArgument.cs.

29 {
30 if ((object)customAttributeModule == null)
31 {
32 throw new ArgumentNullException("customAttributeModule");
33 }
34 if (customAttributeCtorParameters.Length != 0 || customAttributeNamedParameters.Length != 0)
35 {
36 ParseAttributeArguments(attributeBlob.Signature, attributeBlob.Length, ref customAttributeCtorParameters, ref customAttributeNamedParameters, (RuntimeAssembly)customAttributeModule.Assembly);
37 }
38 }
static void ParseAttributeArguments(IntPtr pCa, int cCa, ref CustomAttributeCtorParameter[] CustomAttributeCtorParameters, ref CustomAttributeNamedParameter[] CustomAttributeTypedArgument, RuntimeAssembly assembly)

References System.Reflection.RuntimeModule.Assembly, System.Reflection.ConstArray.Length, System.Reflection.CustomAttributeEncodedArgument.ParseAttributeArguments(), and System.Reflection.ConstArray.Signature.