4 writes to _visited
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (4)
1927
_visited
= null;
1931
_visited
= previousVisited;
5599
_visited
= null;
5603
_visited
= previousVisited;
8 references to _visited
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (2)
1926
var previousVisited =
_visited
;
5598
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.");