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)
2181
var previousVisited =
_visited
;
5782
var previousVisited =
_visited
;
Binder\RefSafetyAnalysis.cs (6)
324
if (
_visited
is { } &&
_visited
.Count <= MaxTrackVisited)
326
bool added =
_visited
.Add(expr);
338
else if (
_visited
is { } &&
_visited
.Count <= MaxTrackVisited)
340
RoslynDebug.Assert(
_visited
.Contains(expr), $"Expected {expr} `{expr.Syntax}` to be visited.");