1 write to CaptureIds
Microsoft.CodeAnalysis (1)
Operations\ControlFlowRegion.cs (1)
80
CaptureIds
= captureIds.NullToEmpty();
14 references to CaptureIds
Microsoft.CodeAnalysis.Test.Utilities (14)
Compilation\ControlFlowGraphVerifier.cs (14)
150
Assert.Empty(currentRegion.
CaptureIds
);
401
foreach (CaptureId id in region.
CaptureIds
)
503
foreach (CaptureId id in region.
CaptureIds
)
723
entryState.RemoveAll(region.
CaptureIds
);
780
AssertTrueWithGraph(block.EnclosingRegion.
CaptureIds
.Contains(id), $"Flow capture initialization [{id}] should come from the containing region.", finalGraph);
796
if (block.EnclosingRegion.
CaptureIds
.Contains(id) || longLivedIds.Contains(id))
801
if (block.EnclosingRegion.EnclosingRegion.
CaptureIds
.Contains(id))
813
else if (block.EnclosingRegion.EnclosingRegion?.EnclosingRegion.
CaptureIds
.Contains(id) ?? false)
1027
if (region.
CaptureIds
.Contains(id))
1401
if (!region.
CaptureIds
.IsEmpty)
1405
foreach (CaptureId id in region.
CaptureIds
)
1469
Assert.False(region.Locals.IsEmpty && region.LocalFunctions.IsEmpty && region.
CaptureIds
.IsEmpty);
1477
Assert.Empty(region.
CaptureIds
);
1675
foreach (CaptureId id in region.
CaptureIds
)