Beispiel #1
0
        public MethodBody GetMethodBody(uint rid, RVA rva, IList <Parameter> parameters)
        {
            var dm = getDumpedMethod(rid);

            if (dm == null)
            {
                return(null);
            }
            return(MethodBodyReader.Create(module, dm.code, dm.extraSections, parameters, dm.mhFlags, dm.mhMaxStack, dm.mhCodeSize, dm.mhLocalVarSigTok));
        }