internal NativeType GetBlobNativeType()
{
byte typeIx = blob.ReadByte();
if (typeIx == (byte)NativeTypeIx.Array) {
return new NativeArray(GetBlobNativeType(),blob.ReadCompressedNum(),
blob.ReadCompressedNum(), blob.ReadCompressedNum());
} else
return NativeType.GetNativeType(typeIx);
}
PEReader::GetBlobNativeType ( uint blobIx ) : |
internal override void Resolve(PEReader buff) { field = buff.GetCodedElement(CIx.HasFieldMarshal,parentIx); nt = buff.GetBlobNativeType(ntIx); if (field is FieldDef) { ((FieldDef)field).SetMarshalType(nt); } else { ((Param)field).SetMarshalType(nt); } }