public static MethodImportDescriptor FromReader(DisReader reader)
 {
     return(new MethodImportDescriptor {
         Signature = reader.ReadInt32(),
         Name = reader.ReadString()
     });
 }
Exemple #2
0
        public static ExportDescriptor FromReader(DisReader reader)
        {
            ExportDescriptor result = new ExportDescriptor();

            result.PC          = reader.ReadOP();
            result.FrameTypeId = reader.ReadOP();
            result.Signature   = reader.ReadInt32();
            result.Name        = reader.ReadString();

            return(result);
        }