1 instantiation of ExceptionHandlerScope
Microsoft.CodeAnalysis (1)
CodeGen\LocalScopeManager.cs (1)
704var handler = new ExceptionHandlerScope(this, scopeType, exceptionType);
38 references to ExceptionHandlerScope
Microsoft.CodeAnalysis (38)
CodeGen\BasicBlock.cs (6)
153public virtual ExceptionHandlerScope EnclosingHandler => null; 678public readonly ExceptionHandlerScope enclosingHandler; 680public BasicBlockWithHandlerScope(ILBuilder builder, ExceptionHandlerScope enclosingHandler) 686public override ExceptionHandlerScope EnclosingHandler => enclosingHandler; 693public ExceptionHandlerLeaderBlock(ILBuilder builder, ExceptionHandlerScope enclosingHandler, BlockType type) : 715public SwitchBlock(ILBuilder builder, ExceptionHandlerScope enclosingHandler) :
CodeGen\ILBuilder.cs (11)
185private ExceptionHandlerScope EnclosingExceptionHandler => _scopeManager.EnclosingExceptionHandler; 307var enclosingFinally = block.EnclosingHandler; 376var srcHandler = src.EnclosingHandler; 387private static object BlockedBranchDestinationSlow(ExceptionHandlerScope destHandler, ExceptionHandlerScope srcHandler) 539var currentHandler = targetBlock.EnclosingHandler; 540var newHandler = targetsTarget.EnclosingHandler; 599var currentHandler = targetBlock.EnclosingHandler; 600var newHandler = targetsTarget.EnclosingHandler; 619private static bool CanMoveLabelToAnotherHandler(ExceptionHandlerScope currentHandler, 620ExceptionHandlerScope newHandler)
CodeGen\LocalScopeManager.cs (21)
26private ExceptionHandlerScope _enclosingExceptionHandler; 44_enclosingExceptionHandler = (ExceptionHandlerScope)scope; 74internal ExceptionHandlerScope EnclosingExceptionHandler => _enclosingExceptionHandler; 76private ExceptionHandlerScope GetEnclosingExceptionHandler() 87return (ExceptionHandlerScope)scope; 206ExceptionHandlerScope currentHandler) 328ExceptionHandlerScope currentExceptionHandler) 382var enclosingHandler = builder.EnclosingExceptionHandler; 678private readonly ImmutableArray<ExceptionHandlerScope>.Builder _handlers; 680private readonly ExceptionHandlerScope _containingHandler; 682public ExceptionHandlerContainerScope(ExceptionHandlerScope containingHandler) 684_handlers = ImmutableArray.CreateBuilder<ExceptionHandlerScope>(2); 689public ExceptionHandlerScope ContainingHandler => _containingHandler; 697ExceptionHandlerScope currentExceptionHandler) 704var handler = new ExceptionHandlerScope(this, scopeType, exceptionType); 714var tryScope = _handlers[0]; 719var handlerScope = _handlers[i]; 751ExceptionHandlerScope tryScope = null; 754foreach (var handlerScope in _handlers) 820private static ScopeBounds GetBounds(ExceptionHandlerScope scope) 832foreach (var scope in _handlers)