예제 #1
0
        public AttribType declMethodAttrib(string attribName, params AttribArgType[] arguments)
        {
            AttribType at = new AttribType(attribName, arguments);

            currMethod.CustomAttributes.Add(at);
            return(at);
        }
예제 #2
0
        public AttribType declClassAttrib(string attribName, params AttribArgType[] arguments)
        {
            AttribType at = new AttribType(attribName, arguments);

            typePeek().CustomAttributes.Add(at);
            return(at);
        }