コード例 #1
0
        public void OnVisitSyntaxNode(SyntaxNode syntaxNode)
        {
            if (syntaxNode is not TypeDeclarationSyntax classSyntax)
            {
                return;
            }

            if (MvcFacts.CanBeController(classSyntax))
            {
                PossibleControllers.Add(classSyntax);
            }
        }