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