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