1 implementation of ICatchClauseOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
7973internal sealed partial class CatchClauseOperation : Operation, ICatchClauseOperation
21 references to ICatchClauseOperation
Microsoft.CodeAnalysis (11)
Generated\OperationKind.Generated.cs (1)
183/// <summary>Indicates an <see cref="ICatchClauseOperation"/>.</summary>
Generated\Operations.Generated.cs (6)
482ImmutableArray<ICatchClauseOperation> Catches { get; } 4720internal TryOperation(IBlockOperation body, ImmutableArray<ICatchClauseOperation> catches, IBlockOperation? @finally, ILabelSymbol? exitLabel, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit) 4729public ImmutableArray<ICatchClauseOperation> Catches { get; } 11161public override IOperation VisitCatchClause(ICatchClauseOperation operation, object? argument) 11494public virtual void VisitCatchClause(ICatchClauseOperation operation) => DefaultVisit(operation); 11633public virtual TResult? VisitCatchClause(ICatchClauseOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (2)
3686foreach (ICatchClauseOperation catchClause in operation.Catches) 3822public override IOperation VisitCatchClause(ICatchClauseOperation operation, int? captureIdForResult)
Operations\ControlFlowRegionKind.cs (2)
33/// Region representing <see cref="ICatchClauseOperation.Filter"/> 38/// Region representing <see cref="ICatchClauseOperation.Handler"/>
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
273operation.Parent is ICatchClauseOperation catchClause && catchClause.ExceptionDeclarationOrExpression == operation)
Microsoft.CodeAnalysis.CSharp (3)
Operations\CSharpOperationFactory.cs (3)
1998ImmutableArray<ICatchClauseOperation> catches = CreateFromArray<BoundCatchBlock, ICatchClauseOperation>(boundTryStatement.CatchBlocks); 2005private ICatchClauseOperation CreateBoundCatchBlockOperation(BoundCatchBlock boundCatchBlock)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests.cs (2)
671var catchOperation = (ICatchClauseOperation)semanticModel.GetOperation(catchBlock);
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
728public override void VisitCatchClause(ICatchClauseOperation operation) 730LogString(nameof(ICatchClauseOperation));
Compilation\TestOperationVisitor.cs (1)
439public override void VisitCatchClause(ICatchClauseOperation operation)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
273operation.Parent is ICatchClauseOperation catchClause && catchClause.ExceptionDeclarationOrExpression == operation)