1 write to GetEnumeratorMethod
Microsoft.CodeAnalysis.CSharp (1)
Compilation\ForEachStatementInfo.cs (1)
75this.GetEnumeratorMethod = getEnumeratorMethod;
28 references to GetEnumeratorMethod
Microsoft.CodeAnalysis.CSharp (3)
Compilation\ForEachStatementInfo.cs (3)
92&& object.Equals(this.GetEnumeratorMethod, other.GetEnumeratorMethod) 104Hash.Combine(GetEnumeratorMethod,
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
CSharpSemanticFacts.cs (1)
173info.GetEnumeratorMethod,
SpeculationAnalyzer.cs (1)
815getEnumeratorMethod = info.GetEnumeratorMethod;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
CodeGen\CodeGenAwaitForeachTests.cs (14)
940Assert.Equal("C.Enumerator C.GetAsyncEnumerator()", info.GetEnumeratorMethod.ToTestDisplayString()); 1664Assert.Equal("C.Enumerator C.GetAsyncEnumerator([System.Threading.CancellationToken token = default(System.Threading.CancellationToken)])", info.GetEnumeratorMethod.ToTestDisplayString()); 2867info.GetEnumeratorMethod.ToTestDisplayString()); 3614info.GetEnumeratorMethod.ToTestDisplayString()); 3688info.GetEnumeratorMethod.ToTestDisplayString()); 3798info.GetEnumeratorMethod.ToTestDisplayString()); 3897info.GetEnumeratorMethod.ToTestDisplayString()); 4124info.GetEnumeratorMethod.ToTestDisplayString()); 4205info.GetEnumeratorMethod.ToTestDisplayString()); 5508Assert.Equal("C.Enumerator Extensions.GetAsyncEnumerator(this C self)", info.GetEnumeratorMethod.ToTestDisplayString()); 8170info.GetEnumeratorMethod.ToTestDisplayString()); 8246info.GetEnumeratorMethod.ToTestDisplayString()); 8324info.GetEnumeratorMethod.ToTestDisplayString()); 8456info.GetEnumeratorMethod.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\ForEachTests.cs (5)
2132Assert.Equal<ISymbol>(comp.GetSpecialTypeMember(SpecialMember.System_Collections_IEnumerable__GetEnumerator).GetPublicSymbol(), loopInfo.GetEnumeratorMethod); 2184Assert.Equal<ISymbol>(comp.GetSpecialTypeMember(SpecialMember.System_Collections_IEnumerable__GetEnumerator).GetPublicSymbol(), loopInfo0.GetEnumeratorMethod); 2193Assert.Equal(loopInfo0.GetEnumeratorMethod, loopInfo1.GetEnumeratorMethod); 3275Assert.Equal(enumeratorInfo.GetEnumeratorInfo.Method.GetPublicSymbol(), statementInfo.GetEnumeratorMethod);
Semantics\OutVarTests.cs (1)
35642info.GetEnumeratorMethod.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\SemanticModelAPITests.cs (1)
2001Assert.Equal("System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()", info.GetEnumeratorMethod.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CSharpSemanticFacts.cs (1)
173info.GetEnumeratorMethod,
SpeculationAnalyzer.cs (1)
815getEnumeratorMethod = info.GetEnumeratorMethod;