4 writes to _visited
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (4)
2182_visited = null; 2186_visited = previousVisited; 5783_visited = null; 5787_visited = previousVisited;
8 references to _visited
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (2)
2181var previousVisited = _visited; 5782var previousVisited = _visited;
Binder\RefSafetyAnalysis.cs (6)
324if (_visited is { } && _visited.Count <= MaxTrackVisited) 326bool added = _visited.Add(expr); 338else if (_visited is { } && _visited.Count <= MaxTrackVisited) 340RoslynDebug.Assert(_visited.Contains(expr), $"Expected {expr} `{expr.Syntax}` to be visited.");