4 instantiations of PredefinedTypeSyntax
Microsoft.CodeAnalysis.CSharp (4)
_generated\1\Syntax.xml.Internal.Generated.cs (4)
538=> new PredefinedTypeSyntax(this.Kind, this.keyword, diagnostics, GetAnnotations()); 541=> new PredefinedTypeSyntax(this.Kind, this.keyword, GetDiagnostics(), annotations); 28825var result = new PredefinedTypeSyntax(SyntaxKind.PredefinedType, keyword, this.context); 34247var result = new PredefinedTypeSyntax(SyntaxKind.PredefinedType, keyword);
15 references to PredefinedTypeSyntax
Microsoft.CodeAnalysis.CSharp (15)
_generated\1\Syntax.xml.Internal.Generated.cs (11)
520public PredefinedTypeSyntax Update(SyntaxToken keyword) 524var newNode = SyntaxFactory.PredefinedType(keyword); 27421public virtual TResult VisitPredefinedType(PredefinedTypeSyntax node) => this.DefaultVisit(node); 27675public virtual void VisitPredefinedType(PredefinedTypeSyntax node) => this.DefaultVisit(node); 27939public override CSharpSyntaxNode VisitPredefinedType(PredefinedTypeSyntax node) 28795public PredefinedTypeSyntax PredefinedType(SyntaxToken keyword) 28823if (cached != null) return (PredefinedTypeSyntax)cached; 28825var result = new PredefinedTypeSyntax(SyntaxKind.PredefinedType, keyword, this.context); 34217public static PredefinedTypeSyntax PredefinedType(SyntaxToken keyword) 34245if (cached != null) return (PredefinedTypeSyntax)cached; 34247var result = new PredefinedTypeSyntax(SyntaxKind.PredefinedType, keyword);
_generated\2\Syntax.xml.Syntax.Generated.cs (1)
333public SyntaxToken Keyword => new SyntaxToken(this, ((InternalSyntax.PredefinedTypeSyntax)this.Green).keyword, Position, 0);
Parser\LanguageParser.cs (3)
2705var voidType = _syntaxFactory.PredefinedType( 10844if (allowLocalFunctions && localFunction == null && type is PredefinedTypeSyntax { Keyword.Kind: SyntaxKind.VoidKeyword }) 12150var expr = _syntaxFactory.PredefinedType(this.EatToken());