예제 #1
0
        public IMethodBuilder DefineMethod(string name, MethodAttributes attributes, IType returnType, IType[] parameters, bool entryPoint)
        {
            var builder = new AsmMethodBuilder(this, returnType, parameters, attributes, name, entryPoint);

            TypeMethods.Add(builder);
            return(builder);
        }