1 instantiation of ExceptionHandlerScope
Microsoft.CodeAnalysis (1)
CodeGen\LocalScopeManager.cs (1)
702var handler = new ExceptionHandlerScope(this, scopeType, exceptionType);
38 references to ExceptionHandlerScope
Microsoft.CodeAnalysis (38)
CodeGen\BasicBlock.cs (6)
154public virtual ExceptionHandlerScope EnclosingHandler => null; 679public readonly ExceptionHandlerScope enclosingHandler; 681public BasicBlockWithHandlerScope(ILBuilder builder, ExceptionHandlerScope enclosingHandler) 687public override ExceptionHandlerScope EnclosingHandler => enclosingHandler; 694public ExceptionHandlerLeaderBlock(ILBuilder builder, ExceptionHandlerScope enclosingHandler, BlockType type) : 716public SwitchBlock(ILBuilder builder, ExceptionHandlerScope enclosingHandler) :
CodeGen\ILBuilder.cs (11)
187private ExceptionHandlerScope EnclosingExceptionHandler => _scopeManager.EnclosingExceptionHandler; 309var enclosingFinally = block.EnclosingHandler; 374var srcHandler = src.EnclosingHandler; 385private static object BlockedBranchDestinationSlow(ExceptionHandlerScope destHandler, ExceptionHandlerScope srcHandler) 528var currentHandler = targetBlock.EnclosingHandler; 529var newHandler = targetsTarget.EnclosingHandler; 588var currentHandler = targetBlock.EnclosingHandler; 589var newHandler = targetsTarget.EnclosingHandler; 608private static bool CanMoveLabelToAnotherHandler(ExceptionHandlerScope currentHandler, 609ExceptionHandlerScope 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; 676private readonly ImmutableArray<ExceptionHandlerScope>.Builder _handlers; 678private readonly ExceptionHandlerScope _containingHandler; 680public ExceptionHandlerContainerScope(ExceptionHandlerScope containingHandler) 682_handlers = ImmutableArray.CreateBuilder<ExceptionHandlerScope>(2); 687public ExceptionHandlerScope ContainingHandler => _containingHandler; 695ExceptionHandlerScope currentExceptionHandler) 702var handler = new ExceptionHandlerScope(this, scopeType, exceptionType); 712var tryScope = _handlers[0]; 717var handlerScope = _handlers[i]; 749ExceptionHandlerScope tryScope = null; 752foreach (var handlerScope in _handlers) 818private static ScopeBounds GetBounds(ExceptionHandlerScope scope) 830foreach (var scope in _handlers)