31 references to LocalLifetime
Microsoft.CodeAnalysis (29)
Operations\ControlFlowGraphBuilder.cs (27)
122builder.EnterRegion(new RegionBuilder(ControlFlowRegionKind.LocalLifetime)); 530if (r.Kind == ControlFlowRegionKind.LocalLifetime && 546case ControlFlowRegionKind.LocalLifetime: 553if (subRegion.Kind == ControlFlowRegionKind.LocalLifetime && subRegion.FirstBlock == region.FirstBlock && subRegion.LastBlock == region.LastBlock) 573if (subRegion.Kind == ControlFlowRegionKind.LocalLifetime && !subRegion.HasLocalFunctions && 775@try.Kind = ControlFlowRegionKind.LocalLifetime; 1386EnterRegion(new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: operation.Locals)); 1484EnterRegion(new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: operation.Locals)); 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); 3958var usingRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: locals); 4077resourceRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime); 4308var lockRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime, 4457var enumeratorCaptureRegion = new RegionBuilder(ControlFlowRegionKind.LocalLifetime); 4482regionForCollection = new RegionBuilder(ControlFlowRegionKind.LocalLifetime, locals: ImmutableArray.Create(local)); 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)); 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);
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (1)
33Debug.Assert(!isStackSpillRegion || (kind == ControlFlowRegionKind.LocalLifetime && locals.IsDefaultOrEmpty));
Operations\ControlFlowRegion.cs (1)
123case ControlFlowRegionKind.LocalLifetime:
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\ControlFlowGraphVerifier.cs (2)
1467case ControlFlowRegionKind.LocalLifetime: 1531case ControlFlowRegionKind.LocalLifetime: