1 write to MoveNextMethod
Microsoft.CodeAnalysis.CSharp (1)
Compilation\ForEachStatementInfo.cs (1)
76
this.
MoveNextMethod
= moveNextMethod;
54 references to MoveNextMethod
Microsoft.CodeAnalysis.CSharp (3)
Compilation\ForEachStatementInfo.cs (3)
93
&& object.Equals(this.
MoveNextMethod
, other.
MoveNextMethod
)
105
Hash.Combine(
MoveNextMethod
,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
177
info.
MoveNextMethod
,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (18)
CodeGen\CodeGenAwaitForeachTests.cs (18)
941
Assert.Equal("System.Threading.Tasks.Task<System.Boolean> C.Enumerator.MoveNextAsync()", info.
MoveNextMethod
.ToTestDisplayString());
1665
Assert.Equal("System.Threading.Tasks.Task<System.Boolean> C.Enumerator.MoveNextAsync()", info.
MoveNextMethod
.ToTestDisplayString());
2972
Assert.Equal("System.Threading.Tasks.ValueTask<System.Boolean> C.AsyncEnumerator.MoveNextAsync()", info.
MoveNextMethod
.ToTestDisplayString());
3037
Assert.Equal("C.Awaitable C.AsyncEnumerator.MoveNextAsync()", info.
MoveNextMethod
.ToTestDisplayString());
3122
Assert.Null(info.
MoveNextMethod
);
3239
Assert.Null(info.
MoveNextMethod
);
3721
info.
MoveNextMethod
.ToTestDisplayString());
4468
info.
MoveNextMethod
.ToTestDisplayString());
4542
info.
MoveNextMethod
.ToTestDisplayString());
4652
info.
MoveNextMethod
.ToTestDisplayString());
4751
info.
MoveNextMethod
.ToTestDisplayString());
5055
info.
MoveNextMethod
.ToTestDisplayString());
5136
info.
MoveNextMethod
.ToTestDisplayString());
6443
Assert.Equal("System.Threading.Tasks.Task<System.Boolean> C.Enumerator.MoveNextAsync()", info.
MoveNextMethod
.ToTestDisplayString());
9114
info.
MoveNextMethod
.ToTestDisplayString());
9190
info.
MoveNextMethod
.ToTestDisplayString());
9268
info.
MoveNextMethod
.ToTestDisplayString());
9400
info.
MoveNextMethod
.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (25)
RefStructInterfacesTests.cs (22)
9024
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
9228
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
9392
Assert.Null(info.
MoveNextMethod
);
9592
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
9816
AssertEx.Equal("System.Boolean System.Collections.IEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
10025
AssertEx.Equal("System.Boolean System.Collections.IEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
10252
AssertEx.Equal("System.Boolean IMyEnumerator<System.Int32>.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
10355
Assert.Null(info.
MoveNextMethod
);
10450
Assert.Null(info.
MoveNextMethod
);
10635
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
10832
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
11073
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
11300
AssertEx.Equal("System.Boolean ICustomEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
11512
AssertEx.Equal("System.Boolean ICustomEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
11612
AssertEx.Equal("System.Boolean ICustomEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
11707
AssertEx.Equal("System.Boolean ICustomEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
19205
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
19376
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
19533
Assert.Null(info.
MoveNextMethod
);
19701
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
19869
AssertEx.Equal("System.Boolean System.Collections.IEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
19974
Assert.Null(info.
MoveNextMethod
);
Semantics\InlineArrayTests.cs (3)
18597
Assert.Equal("System.Boolean System.Span<System.Int32>.Enumerator.MoveNext()", forEachInfo.
MoveNextMethod
.ToTestDisplayString());
18923
Assert.Equal("System.Boolean System.ReadOnlySpan<System.Int32>.Enumerator.MoveNext()", forEachInfo.
MoveNextMethod
.ToTestDisplayString());
19260
Assert.Equal("System.Boolean System.ReadOnlySpan<System.Int32>.Enumerator.MoveNext()", forEachInfo.
MoveNextMethod
.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\ForEachTests.cs (5)
2135
Assert.Equal<ISymbol>(comp.GetSpecialTypeMember(SpecialMember.System_Collections_IEnumerator__MoveNext).GetPublicSymbol(), loopInfo.
MoveNextMethod
);
2187
Assert.Equal<ISymbol>(comp.GetSpecialTypeMember(SpecialMember.System_Collections_IEnumerator__MoveNext).GetPublicSymbol(), loopInfo0.
MoveNextMethod
);
2196
Assert.Equal(loopInfo0.
MoveNextMethod
, loopInfo1.
MoveNextMethod
);
3278
Assert.Equal(enumeratorInfo.MoveNextInfo.Method.GetPublicSymbol(), statementInfo.
MoveNextMethod
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\SemanticModelAPITests.cs (1)
2003
Assert.Equal("System.Boolean System.Collections.IEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
177
info.
MoveNextMethod
,