25 references to ImplementsIEnumerable
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (1)
4817
case CollectionExpressionTypeKind.
ImplementsIEnumerable
:
Binder\Binder_Conversions.cs (6)
893
if (collectionTypeKind != CollectionExpressionTypeKind.
ImplementsIEnumerable
&&
928
if (collectionTypeKind == CollectionExpressionTypeKind.
ImplementsIEnumerable
)
1025
CollectionExpressionTypeKind.
ImplementsIEnumerable
,
2150
if (expr.CollectionTypeKind is CollectionExpressionTypeKind.
ImplementsIEnumerable
)
2284
case CollectionExpressionTypeKind.
ImplementsIEnumerable
:
2310
if (collectionTypeKind == CollectionExpressionTypeKind.
ImplementsIEnumerable
)
Binder\Semantics\Conversions\Conversions.cs (2)
172
case CollectionExpressionTypeKind.
ImplementsIEnumerable
:
191
if (collectionTypeKind == CollectionExpressionTypeKind.
ImplementsIEnumerable
)
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1688
return CollectionExpressionTypeKind.
ImplementsIEnumerable
;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (4)
1347
case CollectionExpressionTypeKind.
ImplementsIEnumerable
:
1358
if (collectionTypeKind == CollectionExpressionTypeKind.
ImplementsIEnumerable
)
3230
if (kind1 is CollectionExpressionTypeKind.CollectionBuilder or CollectionExpressionTypeKind.
ImplementsIEnumerable
)
3235
if (kind2 is CollectionExpressionTypeKind.CollectionBuilder or CollectionExpressionTypeKind.
ImplementsIEnumerable
)
FlowAnalysis\NullableWalker.cs (2)
3916
node.CollectionTypeKind == CollectionExpressionTypeKind.
ImplementsIEnumerable
)
4180
else if (collectionKind is CollectionExpressionTypeKind.
ImplementsIEnumerable
)
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
43
case CollectionExpressionTypeKind.
ImplementsIEnumerable
:
Operations\CSharpOperationFactory.cs (1)
1259
case CollectionExpressionTypeKind.
ImplementsIEnumerable
:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1627
case CollectionExpressionTypeKind.
ImplementsIEnumerable
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Semantics\CollectionExpressionTests.cs (6)
4991
Assert.Equal(CollectionExpressionTypeKind.
ImplementsIEnumerable
, ConversionsBase.GetCollectionExpressionTypeKind(comp, collectionType, out _));
5046
Assert.Equal(CollectionExpressionTypeKind.
ImplementsIEnumerable
, ConversionsBase.GetCollectionExpressionTypeKind(comp, collectionType, out _));
32814
Assert.Equal(CollectionExpressionTypeKind.
ImplementsIEnumerable
, ConversionsBase.GetCollectionExpressionTypeKind(comp, collectionType, out _));
32838
Assert.Equal(CollectionExpressionTypeKind.
ImplementsIEnumerable
, ConversionsBase.GetCollectionExpressionTypeKind(comp, collectionType, out _));
32873
Assert.Equal(CollectionExpressionTypeKind.
ImplementsIEnumerable
, ConversionsBase.GetCollectionExpressionTypeKind(comp, collectionType, out _));
32895
Assert.Equal(CollectionExpressionTypeKind.
ImplementsIEnumerable
, ConversionsBase.GetCollectionExpressionTypeKind(comp, collectionType, out _));