コード例 #1
0
            public override void VisitRecordDeclaration(RecordDeclarationSyntax node)
            {
                if (!node.HasModifier(SyntaxKind.PartialKeyword))
                {
                    return;
                }

                var symbol = model.GetDeclaredSymbol(node, context.CancellationToken);

                if (symbol is null || !symbol.IsCustomView())
                {
                    return;
                }

                base.VisitRecordDeclaration(node);
            }