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