4 instantiations of RefTypeSyntax
Microsoft.CodeAnalysis.CSharp (4)
_generated\1\Syntax.xml.Internal.Generated.cs (4)
1680=> new RefTypeSyntax(this.Kind, this.refKeyword, this.readOnlyKeyword, this.type, diagnostics, GetAnnotations()); 1683=> new RefTypeSyntax(this.Kind, this.refKeyword, this.readOnlyKeyword, this.type, GetDiagnostics(), annotations); 29110var result = new RefTypeSyntax(SyntaxKind.RefType, refKeyword, readOnlyKeyword, type, this.context); 34532var result = new RefTypeSyntax(SyntaxKind.RefType, refKeyword, readOnlyKeyword, type);
14 references to RefTypeSyntax
Microsoft.CodeAnalysis.CSharp (14)
_generated\1\Syntax.xml.Internal.Generated.cs (11)
1662public RefTypeSyntax Update(SyntaxToken refKeyword, SyntaxToken readOnlyKeyword, TypeSyntax type) 1666var newNode = SyntaxFactory.RefType(refKeyword, readOnlyKeyword, type); 27434public virtual TResult VisitRefType(RefTypeSyntax node) => this.DefaultVisit(node); 27688public virtual void VisitRefType(RefTypeSyntax node) => this.DefaultVisit(node); 27978public override CSharpSyntaxNode VisitRefType(RefTypeSyntax node) 29089public RefTypeSyntax RefType(SyntaxToken refKeyword, SyntaxToken? readOnlyKeyword, TypeSyntax type) 29108if (cached != null) return (RefTypeSyntax)cached; 29110var result = new RefTypeSyntax(SyntaxKind.RefType, refKeyword, readOnlyKeyword, type, this.context); 34511public static RefTypeSyntax RefType(SyntaxToken refKeyword, SyntaxToken? readOnlyKeyword, TypeSyntax type) 34530if (cached != null) return (RefTypeSyntax)cached; 34532var result = new RefTypeSyntax(SyntaxKind.RefType, refKeyword, readOnlyKeyword, type);
_generated\2\Syntax.xml.Syntax.Generated.cs (2)
1000public SyntaxToken RefKeyword => new SyntaxToken(this, ((InternalSyntax.RefTypeSyntax)this.Green).refKeyword, Position, 0); 1007var slot = ((Syntax.InternalSyntax.RefTypeSyntax)this.Green).readOnlyKeyword;
Parser\LanguageParser.cs (1)
3145if (propertyType is RefTypeSyntax refType)