3 writes to CaptureIds
Microsoft.CodeAnalysis (3)
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (3)
70
CaptureIds
= ArrayBuilder<CaptureId>.GetInstance();
87
CaptureIds
= ArrayBuilder<CaptureId>.GetInstance();
293
CaptureIds
= null;
13 references to CaptureIds
Microsoft.CodeAnalysis (13)
Operations\ControlFlowGraphBuilder.cs (3)
560
region.AddCaptureIds(subRegion.
CaptureIds
);
1757
_currentRegion.AddCaptureIds(toMerge.
CaptureIds
);
1896
if (candidate.HasCaptureIds && candidate.
CaptureIds
.Any((id, set) => set.Contains(id), idsStillOnTheStack))
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (10)
56
[MemberNotNullWhen(true, nameof(
CaptureIds
))]
57
public bool HasCaptureIds =>
CaptureIds
?.Count > 0;
63
[MemberNotNull(nameof(
CaptureIds
))]
68
if (
CaptureIds
== null)
73
CaptureIds
.Add(new CaptureId(captureId));
85
if (
CaptureIds
== null)
90
CaptureIds
.AddRange(others);
292
CaptureIds
?.Free();
335
CaptureIds
?.Sort((x, y) => x.Value.CompareTo(y.Value));
340
CaptureIds
?.ToImmutable() ?? default,