4 writes to _visited
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (4)
1950
_visited
= null;
1954
_visited
= previousVisited;
5617
_visited
= null;
5621
_visited
= previousVisited;
8 references to _visited
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (2)
1949
var previousVisited =
_visited
;
5616
var previousVisited =
_visited
;
Binder\RefSafetyAnalysis.cs (6)
283
if (
_visited
is { } &&
_visited
.Count <= MaxTrackVisited)
285
bool added =
_visited
.Add(expr);
297
else if (
_visited
is { } &&
_visited
.Count <= MaxTrackVisited)
299
RoslynDebug.Assert(
_visited
.Contains(expr), $"Expected {expr} `{expr.Syntax}` to be visited.");