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

◆ GetMarshalAs()

static void System.Reflection.MetadataImport.GetMarshalAs ( ConstArray nativeType,
out UnmanagedType unmanagedType,
out VarEnum safeArraySubType,
out string safeArrayUserDefinedSubType,
out UnmanagedType arraySubType,
out int sizeParamIndex,
out int sizeConst,
out string marshalType,
out string marshalCookie,
out int iidParamIndex )
inlinestaticpackage

Definition at line 36 of file MetadataImport.cs.

37 {
38 _GetMarshalAs(nativeType.Signature, nativeType.Length, out var unmanagedType2, out var safeArraySubType2, out safeArrayUserDefinedSubType, out var arraySubType2, out sizeParamIndex, out sizeConst, out marshalType, out marshalCookie, out iidParamIndex);
39 unmanagedType = (UnmanagedType)unmanagedType2;
40 safeArraySubType = (VarEnum)safeArraySubType2;
41 arraySubType = (UnmanagedType)arraySubType2;
42 }
static void _GetMarshalAs(IntPtr pNativeType, int cNativeType, out int unmanagedType, out int safeArraySubType, out string safeArrayUserDefinedSubType, out int arraySubType, out int sizeParamIndex, out int sizeConst, out string marshalType, out string marshalCookie, out int iidParamIndex)

References System.Reflection.MetadataImport._GetMarshalAs(), System.Reflection.ConstArray.Length, and System.Reflection.ConstArray.Signature.

Referenced by System.Reflection.PseudoCustomAttribute.GetMarshalAsCustomAttribute().