31 references to LocalLifetime
Microsoft.CodeAnalysis (29)
Operations\ControlFlowGraphBuilder.cs (27)
122
builder.EnterRegion(new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
));
530
if (r.Kind == ControlFlowRegionKind.
LocalLifetime
&&
546
case ControlFlowRegionKind.
LocalLifetime
:
553
if (subRegion.Kind == ControlFlowRegionKind.
LocalLifetime
&& subRegion.FirstBlock == region.FirstBlock && subRegion.LastBlock == region.LastBlock)
573
if (subRegion.Kind == ControlFlowRegionKind.
LocalLifetime
&& !subRegion.HasLocalFunctions &&
775
@try.Kind = ControlFlowRegionKind.
LocalLifetime
;
1386
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, locals: operation.Locals));
1484
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, locals: operation.Locals));
1645
var resultCaptureRegion = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, isStackSpillRegion: true);
1841
frameOpt.RegionBuilderOpt = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, isStackSpillRegion: true);
3576
var locals = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, locals: operation.Locals);
3958
var usingRegion = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, locals: locals);
4077
resourceRegion = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
);
4308
var lockRegion = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
,
4457
var enumeratorCaptureRegion = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
);
4482
regionForCollection = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, locals: ImmutableArray.Create(local));
4513
var localsRegion = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, locals: operation.Locals);
4748
var loopRegion = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, locals: locals);
5470
var switchRegion = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, locals: locals);
5735
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, locals: operation.Locals));
5751
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, locals: operation.ConditionLocals));
5779
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, locals: operation.Locals));
6795
var constructorRegion = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
);
6855
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
));
7276
EnterRegion(new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, locals: initializer.Locals));
7750
var armScopeRegion = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
, locals: arm.Locals);
7951
var innerCaptureRegion = new RegionBuilder(ControlFlowRegionKind.
LocalLifetime
);
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (1)
33
Debug.Assert(!isStackSpillRegion || (kind == ControlFlowRegionKind.
LocalLifetime
&& locals.IsDefaultOrEmpty));
Operations\ControlFlowRegion.cs (1)
123
case ControlFlowRegionKind.
LocalLifetime
:
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\ControlFlowGraphVerifier.cs (2)
1467
case ControlFlowRegionKind.
LocalLifetime
:
1531
case ControlFlowRegionKind.
LocalLifetime
: