Beispiel #1
0
 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);
     }
 }