4 writes to MoveNextInfo
Microsoft.CodeAnalysis.CSharp (4)
Binder\ForEachLoopBinder.cs (4)
1152
builder.
MoveNextInfo
= MethodArgumentInfo.CreateParameterlessMethod(moveNextMethod);
1162
builder.
MoveNextInfo
= GetParameterlessSpecialTypeMemberInfo(SpecialMember.System_Collections_IEnumerator__MoveNext, errorLocationSyntax, diagnostics);
1302
builder.
MoveNextInfo
= GetParameterlessSpecialTypeMemberInfo(SpecialMember.System_Collections_IEnumerator__MoveNext, syntax, diagnostics);
1688
builder.
MoveNextInfo
= moveNextMethodCandidate;
5 references to MoveNextInfo
Microsoft.CodeAnalysis.CSharp (5)
Binder\ForEachEnumeratorInfo.cs (3)
122
Debug.Assert(
MoveNextInfo
!= null);
132
MoveNextInfo
,
143
=> GetEnumeratorInfo is null ||
MoveNextInfo
is null || CurrentPropertyGetter is null;
Binder\ForEachLoopBinder.cs (2)
255
var placeholder = new BoundAwaitableValuePlaceholder(expr, builder.
MoveNextInfo
?.Method.ReturnType ?? CreateErrorType());
461
ReportDiagnosticsIfObsolete(diagnostics, builder.
MoveNextInfo
.Method, foreachKeyword, hasBaseReceiver: false);