4 instantiations of CatchClauseSyntax
Microsoft.CodeAnalysis.CSharp (4)
_generated\1\Syntax.xml.Internal.Generated.cs (4)
14841=> new CatchClauseSyntax(this.Kind, this.catchKeyword, this.declaration, this.filter, this.block, diagnostics, GetAnnotations()); 14844=> new CatchClauseSyntax(this.Kind, this.catchKeyword, this.declaration, this.filter, this.block, GetDiagnostics(), annotations); 31838return new CatchClauseSyntax(SyntaxKind.CatchClause, catchKeyword, declaration, filter, block, this.context); 37260return new CatchClauseSyntax(SyntaxKind.CatchClause, catchKeyword, declaration, filter, block);
17 references to CatchClauseSyntax
Microsoft.CodeAnalysis.CSharp (17)
_generated\0\Syntax.xml.Main.Generated.cs (1)
4746return (TryStatementSyntax)Syntax.InternalSyntax.SyntaxFactory.TryStatement(attributeLists.Node.ToGreenList<Syntax.InternalSyntax.AttributeListSyntax>(), (Syntax.InternalSyntax.SyntaxToken)tryKeyword.Node!, (Syntax.InternalSyntax.BlockSyntax)block.Green, catches.Node.ToGreenList<Syntax.InternalSyntax.CatchClauseSyntax>(), @finally == null ? null : (Syntax.InternalSyntax.FinallyClauseSyntax)@finally.Green).CreateRed();
_generated\1\Syntax.xml.Internal.Generated.cs (12)
14692public CoreSyntax.SyntaxList<CatchClauseSyntax> Catches => new CoreSyntax.SyntaxList<CatchClauseSyntax>(this.catches); 14711public TryStatementSyntax Update(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, SyntaxToken tryKeyword, BlockSyntax block, CoreSyntax.SyntaxList<CatchClauseSyntax> catches, FinallyClauseSyntax @finally) 14823public CatchClauseSyntax Update(SyntaxToken catchKeyword, CatchDeclarationSyntax declaration, CatchFilterClauseSyntax filter, BlockSyntax block) 14827var newNode = SyntaxFactory.CatchClause(catchKeyword, declaration, filter, block); 27564public virtual TResult VisitCatchClause(CatchClauseSyntax node) => this.DefaultVisit(node); 27818public virtual void VisitCatchClause(CatchClauseSyntax node) => this.DefaultVisit(node); 28368public override CSharpSyntaxNode VisitCatchClause(CatchClauseSyntax node) 31819public TryStatementSyntax TryStatement(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, SyntaxToken tryKeyword, BlockSyntax block, CoreSyntax.SyntaxList<CatchClauseSyntax> catches, FinallyClauseSyntax? @finally) 31830public CatchClauseSyntax CatchClause(SyntaxToken catchKeyword, CatchDeclarationSyntax? declaration, CatchFilterClauseSyntax? filter, BlockSyntax block) 37241public static TryStatementSyntax TryStatement(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, SyntaxToken tryKeyword, BlockSyntax block, CoreSyntax.SyntaxList<CatchClauseSyntax> catches, FinallyClauseSyntax? @finally) 37252public static CatchClauseSyntax CatchClause(SyntaxToken catchKeyword, CatchDeclarationSyntax? declaration, CatchFilterClauseSyntax? filter, BlockSyntax block)
_generated\2\Syntax.xml.Syntax.Generated.cs (1)
9182public SyntaxToken CatchKeyword => new SyntaxToken(this, ((InternalSyntax.CatchClauseSyntax)this.Green).catchKeyword, Position, 0);
Parser\LanguageParser.cs (3)
9439SyntaxListBuilder<CatchClauseSyntax> catchClauses = default; 9443catchClauses = _pool.Allocate<CatchClauseSyntax>(); 9488private CatchClauseSyntax ParseCatchClause()