39 references to System_Collections_IEnumerable
Microsoft.CodeAnalysis (1)
SpecialMembers.cs (1)
730(byte)SpecialType.System_Collections_IEnumerable, // DeclaringTypeId
Microsoft.CodeAnalysis.CodeStyle (1)
ITypeSymbolExtensions.cs (1)
404typeSymbol.AllInterfaces.Any(static i => i.SpecialType == SpecialType.System_Collections_IEnumerable) &&
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Expressions.cs (1)
5373TypeSymbol collectionsIEnumerableType = this.GetSpecialType(SpecialType.System_Collections_IEnumerable, diagnostics, node);
Binder\Binder_Lookup.cs (1)
980iFaceSpecial == SpecialType.System_Collections_IEnumerable ||
Binder\Binder_QueryErrors.cs (1)
127var ienumerable = Compilation.GetSpecialType(SpecialType.System_Collections_IEnumerable);
Binder\ForEachLoopBinder.cs (5)
629else if (collectionExpr.Type.SpecialType == SpecialType.System_String && builder.CollectionType.SpecialType == SpecialType.System_Collections_IEnumerable) 983Debug.Assert(collectionType.SpecialType == SpecialType.System_Collections_IEnumerable); 1076builder.CollectionType = GetSpecialType(SpecialType.System_Collections_IEnumerable, diagnostics, _syntax); 1516case SpecialType.System_Collections_IEnumerable: 1557var implementedNonGeneric = this.Compilation.GetSpecialType(SpecialType.System_Collections_IEnumerable);
Binder\InMethodBinder.cs (1)
153case SpecialType.System_Collections_IEnumerable:
Binder\Semantics\Conversions\ConversionsBase.cs (1)
2426if (destination.SpecialType == SpecialType.System_Collections_IEnumerable)
FlowAnalysis\NullableWalker.cs (1)
10027if (node.Expression.Type!.SpecialType == SpecialType.System_Collections_IEnumerable)
Lowering\IteratorRewriter\IteratorRewriter.cs (2)
70case SpecialType.System_Collections_IEnumerable: 119EnsureSpecialType(SpecialType.System_Collections_IEnumerable, bag);
Lowering\IteratorRewriter\IteratorStateMachine.cs (1)
35interfaces.Add(ContainingAssembly.GetSpecialType(SpecialType.System_Collections_IEnumerable));
Microsoft.CodeAnalysis.CSharp.Features (1)
Snippets\CSharpForEachLoopSnippetProvider.cs (1)
44namedSymbol => namedSymbol.SpecialType is SpecialType.System_Collections_Generic_IEnumerable_T or SpecialType.System_Collections_IEnumerable) &&
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\ForEachTests.cs (7)
1219Assert.Equal(SpecialType.System_Collections_IEnumerable, boundNode.Expression.Type.SpecialType); 1460Assert.Equal(SpecialType.System_Collections_IEnumerable, boundNode.Expression.Type.SpecialType); 1499Assert.Equal(SpecialType.System_Collections_IEnumerable, boundNode.Expression.Type.SpecialType); 1667Assert.Equal(SpecialType.System_Collections_IEnumerable, info.CollectionType.SpecialType); 1680Assert.Equal(SpecialType.System_Collections_IEnumerable, boundNode.Expression.Type.SpecialType); 1700Assert.Equal(SpecialType.System_Collections_IEnumerable, info.CollectionType.SpecialType); 1713Assert.Equal(SpecialType.System_Collections_IEnumerable, boundNode.Expression.Type.SpecialType);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\SemanticModelGetSemanticInfoTests.cs (1)
6231Assert.Equal(SpecialType.System_Collections_IEnumerable, semanticInfo.ConvertedType.SpecialType);
Microsoft.CodeAnalysis.VisualBasic (12)
Binding\Binder_Lambda.vb (2)
63returnType.SpecialType <> SpecialType.System_Collections_IEnumerable AndAlso 174Not ((source.Flags And SourceMemberFlags.Iterator) <> 0 AndAlso (target.ReturnType.SpecialType = SpecialType.System_Collections_IEnumerable OrElse
Binding\Binder_Lookup.vb (1)
839iFaceSpecial = SpecialType.System_Collections_IEnumerable OrElse
Binding\Binder_ObjectInitializer.vb (1)
803Dim ienumerable = GetSpecialType(SpecialType.System_Collections_IEnumerable,
Binding\Binder_Statements.vb (3)
3782Dim ienumerable = GetSpecialType(SpecialType.System_Collections_IEnumerable, collectionSyntax, ienumerableUseSiteDiagnostics) 3792interfaceSpecialType = SpecialType.System_Collections_IEnumerable 5084If returnSpecialType = SpecialType.System_Collections_IEnumerable OrElse
Lowering\IteratorRewriter\IteratorRewriter.vb (2)
64retSpecialType = SpecialType.System_Collections_IEnumerable 120EnsureSpecialType(SpecialType.System_Collections_IEnumerable, bag)
Lowering\IteratorRewriter\IteratorStateMachine.vb (1)
52interfaces.Add(containingAssembly.GetSpecialType(SpecialType.System_Collections_IEnumerable))
Symbols\Source\SourceMethodSymbol.vb (1)
2327retType.SpecialType <> SpecialType.System_Collections_IEnumerable AndAlso
Symbols\Source\SourcePropertySymbol.vb (1)
389type.SpecialType <> SpecialType.System_Collections_IEnumerable AndAlso
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeCleanup\AsyncOrIteratorFunctionReturnTypeFixer.vb (1)
133Case SpecialType.System_Collections_IEnumerable, SpecialType.System_Collections_IEnumerator,
Microsoft.CodeAnalysis.Workspaces (1)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs\ITypeSymbolExtensions.cs (1)
404typeSymbol.AllInterfaces.Any(static i => i.SpecialType == SpecialType.System_Collections_IEnumerable) &&