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