12 references to TryGetCollectionIterationType
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Conversions.cs (2)
1432result = TryGetCollectionIterationType(syntax, targetTypeOriginalDefinition, out TypeWithAnnotations elementTypeOriginalDefinition); 2287if (!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)
682if (!binder.TryGetCollectionIterationType((ExpressionSyntax)argument.Syntax, targetType.StrippedType(), out TypeWithAnnotations targetElementType)) 907if (!binder.TryGetCollectionIterationType((ExpressionSyntax)argument.Syntax, formalType.Type, out TypeWithAnnotations targetElementType))
Binder\Semantics\OverloadResolution\OverloadResolution.cs (3)
1351binder.TryGetCollectionIterationType(syntax, type, out elementType); 3232_binder.TryGetCollectionIterationType(CSharpSyntaxTree.Dummy.GetRoot(), t1, out elementType1); 3237_binder.TryGetCollectionIterationType(CSharpSyntaxTree.Dummy.GetRoot(), t2, out elementType2);
FlowAnalysis\NullableWalker.cs (2)
4177var foundIterationType = _binder.TryGetCollectionIterationType((ExpressionSyntax)node.Syntax, collectionType, out targetElementType); 4184_binder.TryGetCollectionIterationType(node.Syntax, collectionType, out targetElementType);
Symbols\Source\SourceComplexParameterSymbol.cs (2)
1632binder.TryGetCollectionIterationType(syntax, Type, out elementTypeWithAnnotations); 1691binder.TryGetCollectionIterationType(syntax, Type, out elementTypeWithAnnotations);