26 references to System_Collections_IEnumerator
Microsoft.CodeAnalysis (5)
SpecialMembers.cs (5)
822
(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.
System_Collections_IEnumerator
,
826
(byte)SpecialType.
System_Collections_IEnumerator
, // DeclaringTypeId
833
(byte)SpecialType.
System_Collections_IEnumerator
, // DeclaringTypeId
840
(byte)SpecialType.
System_Collections_IEnumerator
, // DeclaringTypeId
847
(byte)SpecialType.
System_Collections_IEnumerator
, // DeclaringTypeId
Microsoft.CodeAnalysis.CSharp (8)
Binder\ForEachLoopBinder.cs (2)
1166
builder.GetEnumeratorInfo.Method.ReturnType.SpecialType == SpecialType.
System_Collections_IEnumerator
);
1305
TypeSymbol.Equals(builder.GetEnumeratorInfo.Method.ReturnType, this.Compilation.GetSpecialType(SpecialType.
System_Collections_IEnumerator
), TypeCompareKind.ConsiderEverything2));
Binder\InMethodBinder.cs (1)
154
case SpecialType.
System_Collections_IEnumerator
:
Lowering\IteratorRewriter\IteratorRewriter.cs (2)
75
case SpecialType.
System_Collections_IEnumerator
:
107
EnsureSpecialType(SpecialType.
System_Collections_IEnumerator
, bag);
Lowering\IteratorRewriter\IteratorStateMachine.cs (1)
40
interfaces.Add(ContainingAssembly.GetSpecialType(SpecialType.
System_Collections_IEnumerator
));
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
35
var iEnumerator = compilation.GetSpecialType(SpecialType.
System_Collections_IEnumerator
);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
788
&& compilation.GetSpecialType(SpecialType.
System_Collections_IEnumerator
) is not MissingMetadataTypeSymbol
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\CollectionExpressionTests.cs (1)
42444
[InlineData((int)SpecialType.
System_Collections_IEnumerator
)]
Microsoft.CodeAnalysis.VisualBasic (11)
Binding\Binder_Lambda.vb (2)
64
returnType.SpecialType <> SpecialType.
System_Collections_IEnumerator
Then
175
target.ReturnType.SpecialType = SpecialType.
System_Collections_IEnumerator
)) Then
Binding\Binder_Statements.vb (3)
3504
Debug.Assert(enumeratorType.SpecialType = SpecialType.
System_Collections_IEnumerator
)
4003
getEnumeratorReturnType.SpecialType = SpecialType.
System_Collections_IEnumerator
Then
5116
returnSpecialType = SpecialType.
System_Collections_IEnumerator
Then
Lowering\IteratorRewriter\IteratorRewriter.vb (1)
110
EnsureSpecialType(SpecialType.
System_Collections_IEnumerator
, bag)
Lowering\IteratorRewriter\IteratorStateMachine.vb (1)
57
interfaces.Add(containingAssembly.GetSpecialType(SpecialType.
System_Collections_IEnumerator
))
Symbols\Source\SourceMethodSymbol.vb (1)
2338
retType.SpecialType <> SpecialType.
System_Collections_IEnumerator
Then
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (2)
556
method.ReturnType.SpecialType = SpecialType.
System_Collections_IEnumerator
Then
590
prop.Type.SpecialType = SpecialType.
System_Collections_IEnumerator
Then
Symbols\Source\SourcePropertySymbol.vb (1)
393
type.SpecialType <> SpecialType.
System_Collections_IEnumerator
Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeCleanup\AsyncOrIteratorFunctionReturnTypeFixer.vb (1)
133
Case SpecialType.System_Collections_IEnumerable, SpecialType.
System_Collections_IEnumerator
,