-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-Infrastructure-coreclruntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Description
When on .NET SDK 6.0.100-preview.7.21359.1
error CS0121: The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Select<TSource, TResult>(System.Collections.Generic.IEnumerable<TSource>, System.Func<TSource, TResult>)' and 'Internal.CommandLine.Enumerable.Select<T, U>(System.Collections.Generic.IEnumerable<T>, System.Func<T, U>)'
This is code from here
runtime/src/coreclr/tools/Common/CommandLine/Enumerable.cs
Lines 21 to 29 in 6b6310b
public static IEnumerable<U> Select<T, U>(this IEnumerable<T> values, Func<T, U> func) | |
{ | |
Debug.Assert(values != null); | |
foreach (T value in values) | |
{ | |
yield return func(value); | |
} | |
} |
and here
runtime/src/coreclr/tools/Common/CommandLine/Enumerable.cs
Lines 42 to 45 in 6b6310b
public static IEnumerable<T> Concat<T>(this IEnumerable<T> first, IEnumerable<T> second) | |
{ | |
return Linq.Enumerable.Concat(first, second); | |
} |
Metadata
Metadata
Assignees
Labels
area-Infrastructure-coreclruntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner