static ParseContext CreateContext(MethodDefinition method, IILVisitor visitor) { var code = method.Module.Read(method, (_, reader) => CodeReader.CreateCodeReader(reader)); return(new ParseContext { Code = code, Metadata = code.reader, Visitor = visitor, }); }