12 references to TryGetCollectionIterationType
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Conversions.cs (2)
1043
result =
TryGetCollectionIterationType
(syntax, targetTypeOriginalDefinition, out TypeWithAnnotations elementTypeOriginalDefinition);
1752
if (!
TryGetCollectionIterationType
(node.Syntax, targetType, out elementTypeWithAnnotations))
Binder\Semantics\Conversions\Conversions.cs (1)
175
_binder.
TryGetCollectionIterationType
(syntax, targetType, out elementTypeWithAnnotations);
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
680
if (!binder.
TryGetCollectionIterationType
((ExpressionSyntax)argument.Syntax, targetType.StrippedType(), out TypeWithAnnotations targetElementType))
905
if (!binder.
TryGetCollectionIterationType
((ExpressionSyntax)argument.Syntax, formalType.Type, out TypeWithAnnotations targetElementType))
Binder\Semantics\OverloadResolution\OverloadResolution.cs (3)
1345
binder.
TryGetCollectionIterationType
(syntax, type, out elementType);
3225
_binder.
TryGetCollectionIterationType
(CSharpSyntaxTree.Dummy.GetRoot(), t1, out elementType1);
3230
_binder.
TryGetCollectionIterationType
(CSharpSyntaxTree.Dummy.GetRoot(), t2, out elementType2);
FlowAnalysis\NullableWalker.cs (2)
4047
var foundIterationType = _binder.
TryGetCollectionIterationType
((ExpressionSyntax)node.Syntax, collectionType, out targetElementType);
4054
_binder.
TryGetCollectionIterationType
(node.Syntax, collectionType, out targetElementType);
Symbols\Source\SourceComplexParameterSymbol.cs (2)
1591
binder.
TryGetCollectionIterationType
(syntax, Type, out elementTypeWithAnnotations);
1649
binder.
TryGetCollectionIterationType
(syntax, Type, out elementTypeWithAnnotations);