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

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

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