4 instantiations of CatchFilterClauseSyntax
Microsoft.CodeAnalysis.CSharp (4)
_generated\1\Syntax.xml.Internal.Generated.cs (4)
15038
=> new
CatchFilterClauseSyntax
(this.Kind, this.whenKeyword, this.openParenToken, this.filterExpression, this.closeParenToken, diagnostics, GetAnnotations());
15041
=> new
CatchFilterClauseSyntax
(this.Kind, this.whenKeyword, this.openParenToken, this.filterExpression, this.closeParenToken, GetDiagnostics(), annotations);
31875
return new
CatchFilterClauseSyntax
(SyntaxKind.CatchFilterClause, whenKeyword, openParenToken, filterExpression, closeParenToken, this.context);
37297
return new
CatchFilterClauseSyntax
(SyntaxKind.CatchFilterClause, whenKeyword, openParenToken, filterExpression, closeParenToken);
21 references to CatchFilterClauseSyntax
Microsoft.CodeAnalysis.CSharp (21)
_generated\0\Syntax.xml.Main.Generated.cs (1)
4764
return (CatchClauseSyntax)Syntax.InternalSyntax.SyntaxFactory.CatchClause((Syntax.InternalSyntax.SyntaxToken)catchKeyword.Node!, declaration == null ? null : (Syntax.InternalSyntax.CatchDeclarationSyntax)declaration.Green, filter == null ? null : (Syntax.InternalSyntax.
CatchFilterClauseSyntax
)filter.Green, (Syntax.InternalSyntax.BlockSyntax)block.Green).CreateRed();
_generated\1\Syntax.xml.Internal.Generated.cs (16)
14739
internal readonly
CatchFilterClauseSyntax
? filter;
14742
internal CatchClauseSyntax(SyntaxKind kind, SyntaxToken catchKeyword, CatchDeclarationSyntax? declaration,
CatchFilterClauseSyntax
? filter, BlockSyntax block, DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations)
14762
internal CatchClauseSyntax(SyntaxKind kind, SyntaxToken catchKeyword, CatchDeclarationSyntax? declaration,
CatchFilterClauseSyntax
? filter, BlockSyntax block, SyntaxFactoryContext context)
14783
internal CatchClauseSyntax(SyntaxKind kind, SyntaxToken catchKeyword, CatchDeclarationSyntax? declaration,
CatchFilterClauseSyntax
? filter, BlockSyntax block)
14805
public
CatchFilterClauseSyntax
? Filter => this.filter;
14823
public CatchClauseSyntax Update(SyntaxToken catchKeyword, CatchDeclarationSyntax declaration,
CatchFilterClauseSyntax
filter, BlockSyntax block)
15020
public
CatchFilterClauseSyntax
Update(SyntaxToken whenKeyword, SyntaxToken openParenToken, ExpressionSyntax filterExpression, SyntaxToken closeParenToken)
15024
var
newNode = SyntaxFactory.CatchFilterClause(whenKeyword, openParenToken, filterExpression, closeParenToken);
27566
public virtual TResult VisitCatchFilterClause(
CatchFilterClauseSyntax
node) => this.DefaultVisit(node);
27820
public virtual void VisitCatchFilterClause(
CatchFilterClauseSyntax
node) => this.DefaultVisit(node);
28369
=> node.Update((SyntaxToken)Visit(node.CatchKeyword), (CatchDeclarationSyntax)Visit(node.Declaration), (
CatchFilterClauseSyntax
)Visit(node.Filter), (BlockSyntax)Visit(node.Block));
28374
public override CSharpSyntaxNode VisitCatchFilterClause(
CatchFilterClauseSyntax
node)
31830
public CatchClauseSyntax CatchClause(SyntaxToken catchKeyword, CatchDeclarationSyntax? declaration,
CatchFilterClauseSyntax
? filter, BlockSyntax block)
31863
public
CatchFilterClauseSyntax
CatchFilterClause(SyntaxToken whenKeyword, SyntaxToken openParenToken, ExpressionSyntax filterExpression, SyntaxToken closeParenToken)
37252
public static CatchClauseSyntax CatchClause(SyntaxToken catchKeyword, CatchDeclarationSyntax? declaration,
CatchFilterClauseSyntax
? filter, BlockSyntax block)
37285
public static
CatchFilterClauseSyntax
CatchFilterClause(SyntaxToken whenKeyword, SyntaxToken openParenToken, ExpressionSyntax filterExpression, SyntaxToken closeParenToken)
_generated\2\Syntax.xml.Syntax.Generated.cs (3)
9302
public SyntaxToken WhenKeyword => new SyntaxToken(this, ((InternalSyntax.
CatchFilterClauseSyntax
)this.Green).whenKeyword, Position, 0);
9304
public SyntaxToken OpenParenToken => new SyntaxToken(this, ((InternalSyntax.
CatchFilterClauseSyntax
)this.Green).openParenToken, GetChildPosition(1), GetChildIndex(1));
9308
public SyntaxToken CloseParenToken => new SyntaxToken(this, ((InternalSyntax.
CatchFilterClauseSyntax
)this.Green).closeParenToken, GetChildPosition(3), GetChildIndex(3));
Parser\LanguageParser.cs (1)
9515
CatchFilterClauseSyntax
filter = null;