コード例 #1
0
            public override SyntaxNode VisitInterfaceDeclaration(InterfaceDeclarationSyntax node)
            {
                if (!IsGoodInterfaceName(node.Identifier.Text))
                {
                    node = node.WithAdditionalAnnotations(s_markerAnnotation);
                    _count++;
                }

                return(node);
            }