1 implementation of ICatchClauseOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
7600internal sealed partial class CatchClauseOperation : Operation, ICatchClauseOperation
24 references to ICatchClauseOperation
Microsoft.CodeAnalysis (11)
Generated\OperationKind.Generated.cs (1)
183/// <summary>Indicates an <see cref="ICatchClauseOperation"/>.</summary>
Generated\Operations.Generated.cs (6)
452ImmutableArray<ICatchClauseOperation> Catches { get; } 4347internal TryOperation(IBlockOperation body, ImmutableArray<ICatchClauseOperation> catches, IBlockOperation? @finally, ILabelSymbol? exitLabel, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit) 4356public ImmutableArray<ICatchClauseOperation> Catches { get; } 10611public override IOperation VisitCatchClause(ICatchClauseOperation operation, object? argument) 10929public virtual void VisitCatchClause(ICatchClauseOperation operation) => DefaultVisit(operation); 11065public virtual TResult? VisitCatchClause(ICatchClauseOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (2)
3669foreach (ICatchClauseOperation catchClause in operation.Catches) 3805public 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)
SymbolUsageAnalysis.Walker.cs (1)
265operation.Parent is ICatchClauseOperation catchClause && catchClause.ExceptionDeclarationOrExpression == operation)
Microsoft.CodeAnalysis.CSharp (3)
Operations\CSharpOperationFactory.cs (3)
1887ImmutableArray<ICatchClauseOperation> catches = CreateFromArray<BoundCatchBlock, ICatchClauseOperation>(boundTryStatement.CatchBlocks); 1894private 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.VisualBasic (3)
Operations\VisualBasicOperationFactory.vb (3)
1263Dim catches As ImmutableArray(Of ICatchClauseOperation) = CreateFromArray(Of BoundCatchBlock, ICatchClauseOperation)(boundTryStatement.CatchBlocks) 1281Private Function CreateBoundCatchBlockOperation(boundCatchBlock As BoundCatchBlock) As ICatchClauseOperation
Microsoft.CodeAnalysis.Workspaces (1)
SymbolUsageAnalysis.Walker.cs (1)
265operation.Parent is ICatchClauseOperation catchClause && catchClause.ExceptionDeclarationOrExpression == operation)