protected CodeElements GetCustomAttributes(CodeAttributeDeclarationCollection collection)
        {
            CodeDomCodeElements res = new CodeDomCodeElements(DTE, this);

            //!!! not right
            return(res);
        }
        protected CodeElements GetParameters(CodeParameterDeclarationExpressionCollection collection)
        {
            CodeDomCodeElements res = new CodeDomCodeElements(DTE, this);

            foreach (CodeParameterDeclarationExpression param in collection)
            {
                if (param.UserData[CodeKey] == null)
                {
                    param.UserData[CodeKey] = new CodeDomCodeParameter(this, param);
                }
                res.Add(CodeDomCodeParameter.GetCodeParameter(param));
            }
            return(res);
        }