Esempio n. 1
0
        public override UstNode VisitDelegateDeclaration(DelegateDeclarationSyntax node)
        {
            var typeType      = ConvertTypeType(TypeType.Delegate);
            var typeTypeToken = new TypeTypeLiteral(typeType, node.DelegateKeyword.GetTextSpan(), FileNode);
            var result        = new TypeDeclaration(typeTypeToken, ConvertId(node.Identifier), new EntityDeclaration[0],
                                                    node.GetTextSpan(), FileNode);

            return(result);
        }