4 writes to _current
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenCapturing.cs (4)
223
_current
= (-1, -1);
236
return FindNonEmptyDepth(0, _layout, out
_current
);
243
return FindNonEmptyDepth(_current.depth + 1, _layout, out
_current
);
246
_current
= (_current.depth, newIndex);
6 references to _current
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
CodeGen\CodeGenCapturing.cs (6)
226
public (int depth, int localFuncIndex) Current =>
_current
;
234
if (
_current
.depth < 0)
240
int newIndex =
_current
.localFuncIndex + 1;
241
if (newIndex == _layout[
_current
.depth])
243
return FindNonEmptyDepth(
_current
.depth + 1, _layout, out _current);
246
_current = (
_current
.depth, newIndex);