41 references to RegionBuilder
Microsoft.CodeAnalysis (41)
Operations\ControlFlowGraphBuilder.cs (41)
116var root = new RegionBuilder(ControlFlowRegionKind.Root); 122builder.EnterRegion(new RegionBuilder(ControlFlowRegionKind.LocalLifetime)); 1386EnterRegion(new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: operation.Locals)); 1484EnterRegion(new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: operation.Locals)); 1524EnterRegion(new RegionBuilder(ControlFlowRegionKind.ErroneousBody)); 1645var resultCaptureRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime, isStackSpillRegion: true); 1841frameOpt.RegionBuilderOpt = new RegionBuilder(ControlFlowRegionKind.LocalLifetime, isStackSpillRegion: true); 3576var locals = new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: operation.Locals); 3666tryAndFinallyRegion = new RegionBuilder(ControlFlowRegionKind.TryAndFinally); 3668EnterRegion(new RegionBuilder(ControlFlowRegionKind.Try)); 3674EnterRegion(new RegionBuilder(ControlFlowRegionKind.TryAndCatch)); 3675EnterRegion(new RegionBuilder(ControlFlowRegionKind.Try)); 3697filterAndHandlerRegion = new RegionBuilder(ControlFlowRegionKind.FilterAndHandler, catchClause.ExceptionType, catchClause.Locals); 3700var filterRegion = new RegionBuilder(ControlFlowRegionKind.Filter, catchClause.ExceptionType); 3716var handlerRegion = new RegionBuilder(ControlFlowRegionKind.Catch, catchClause.ExceptionType, 3764var finallyRegion = new RegionBuilder(ControlFlowRegionKind.Finally); 3958var usingRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: locals); 4077resourceRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime); 4087EnterRegion(new RegionBuilder(ControlFlowRegionKind.TryAndFinally)); 4088EnterRegion(new RegionBuilder(ControlFlowRegionKind.Try)); 4120var finallyRegion = new RegionBuilder(ControlFlowRegionKind.Finally); 4308var lockRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime, 4359EnterRegion(new RegionBuilder(ControlFlowRegionKind.TryAndFinally)); 4360EnterRegion(new RegionBuilder(ControlFlowRegionKind.Try)); 4402EnterRegion(new RegionBuilder(ControlFlowRegionKind.Finally)); 4457var enumeratorCaptureRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime); 4482regionForCollection = new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: ImmutableArray.Create(local)); 4499EnterRegion(new RegionBuilder(ControlFlowRegionKind.TryAndFinally)); 4500EnterRegion(new RegionBuilder(ControlFlowRegionKind.Try)); 4513var localsRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: operation.Locals); 4748var loopRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: locals); 5470var switchRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: locals); 5735EnterRegion(new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: operation.Locals)); 5751EnterRegion(new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: operation.ConditionLocals)); 5779EnterRegion(new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: operation.Locals)); 5837EnterRegion(new RegionBuilder(ControlFlowRegionKind.StaticLocalInitializer)); 6795var constructorRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime); 6855EnterRegion(new RegionBuilder(ControlFlowRegionKind.LocalLifetime)); 7276EnterRegion(new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: initializer.Locals)); 7750var armScopeRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: arm.Locals); 7951var innerCaptureRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime);