コード例 #1
0
        public override void VisitClassDeclaration(ClassDeclarationSyntax node)
        {
            // Ensure that a CCClass is created for this class declaration
            string namespaceName = GetNamespaceName(node);
            string className     = GetClassName(node);

            codeModel.EnsureClass(namespaceName, className);
            base.VisitClassDeclaration(node);
        }