예제 #1
0
        public NetMethod CreateMethodModel(MethodKey key)
        {
            var model = _methodMap[key];

            model.Name = key.Name;

            return(model);
        }
        public NetMethod CreateMethodModel(MethodDefinition methodDefinition)
        {
            var key = new MethodKey(methodDefinition.DeclaringType.FullName, methodDefinition.Name, 0);

            var model = _methodMap[key];

            model.Name = methodDefinition.Name;

            return(model);
        }