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)
176
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)
9023
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
9227
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
9391
Assert.Null(info.
MoveNextMethod
);
9591
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
9815
AssertEx.Equal("System.Boolean System.Collections.IEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
10024
AssertEx.Equal("System.Boolean System.Collections.IEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
10251
AssertEx.Equal("System.Boolean IMyEnumerator<System.Int32>.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
10354
Assert.Null(info.
MoveNextMethod
);
10449
Assert.Null(info.
MoveNextMethod
);
10634
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
10831
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
11072
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
11299
AssertEx.Equal("System.Boolean ICustomEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
11511
AssertEx.Equal("System.Boolean ICustomEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
11611
AssertEx.Equal("System.Boolean ICustomEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
11706
AssertEx.Equal("System.Boolean ICustomEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
19204
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
19375
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
19532
Assert.Null(info.
MoveNextMethod
);
19700
AssertEx.Equal("System.Boolean S2.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
19868
AssertEx.Equal("System.Boolean System.Collections.IEnumerator.MoveNext()", info.
MoveNextMethod
.ToTestDisplayString());
19973
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)
176
info.
MoveNextMethod
,