12 references to TryGetCollectionIterationType
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Conversions.cs (2)
1043result = TryGetCollectionIterationType(syntax, targetTypeOriginalDefinition, out TypeWithAnnotations elementTypeOriginalDefinition); 1752if (!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)
680if (!binder.TryGetCollectionIterationType((ExpressionSyntax)argument.Syntax, targetType.StrippedType(), out TypeWithAnnotations targetElementType)) 905if (!binder.TryGetCollectionIterationType((ExpressionSyntax)argument.Syntax, formalType.Type, out TypeWithAnnotations targetElementType))
Binder\Semantics\OverloadResolution\OverloadResolution.cs (3)
1345binder.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)
4047var foundIterationType = _binder.TryGetCollectionIterationType((ExpressionSyntax)node.Syntax, collectionType, out targetElementType); 4054_binder.TryGetCollectionIterationType(node.Syntax, collectionType, out targetElementType);
Symbols\Source\SourceComplexParameterSymbol.cs (2)
1591binder.TryGetCollectionIterationType(syntax, Type, out elementTypeWithAnnotations); 1649binder.TryGetCollectionIterationType(syntax, Type, out elementTypeWithAnnotations);