public MethodDefinitionReader(ImageReader imageReader, BinaryReader reader) { this.bmd = new BabelMethodDefinition(); this.methodReferenceReader = new MethodReferenceReader(imageReader, reader, bmd); this.methodBodyReader = new MethodBodyReader(imageReader, reader); }
public MethodDefReader(ImageReader imageReader) { bmd = new BabelMethodDef(); methodRefReader = new MethodRefReader(imageReader, bmd); methodBodyReader = new MethodBodyReader(imageReader); }
public MethodDefReader(ImageReader imageReader, IBinaryReader reader) { this.bmd = new BabelMethodDef(); this.methodRefReader = new MethodRefReader(imageReader, reader, bmd); this.methodBodyReader = new MethodBodyReader(imageReader, reader); }
public void setBody(MethodBodyReader mbr) { Flags2 = mbr.Flags2; MaxStack = mbr.MaxStack; Locals = mbr.Locals; Instructions = mbr.Instructions; ExceptionHandlers = mbr.ExceptionHandlers; }