You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling some code that works fine with SDK 8.0.250 and Visual Studio 17.9.7 fails with error CS0121 The call is ambiguous between the following methods when using SDK 8.0.300
Determining projects to restore...
All projects are up-to-date for restore.
C:\temp\SdkBug\Program.cs(4,24): error CS0121: The call is ambiguous between the following methods or properties: 'Test
<TIntermediate>.X<TElement>(params Expression<Func<TIntermediate, TElement>>[])' and 'Test<TIntermediate>.X<TElement>(p
arams Expression<Func<TIntermediate, List<TElement>>>[])' [C:\temp\SdkBug\SdkBug.csproj]
Build FAILED.
C:\temp\SdkBug\Program.cs(4,24): error CS0121: The call is ambiguous between the following methods or properties: 'Test
<TIntermediate>.X<TElement>(params Expression<Func<TIntermediate, TElement>>[])' and 'Test<TIntermediate>.X<TElement>(p
arams Expression<Func<TIntermediate, List<TElement>>>[])' [C:\temp\SdkBug\SdkBug.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:01.68
Describe the bug
Compiling some code that works fine with SDK 8.0.250 and Visual Studio 17.9.7 fails with error CS0121
The call is ambiguous between the following methods
when using SDK 8.0.300To Reproduce
dotnet build .\SdkBug.csproj
:Further technical details
dotnet --info
output:The text was updated successfully, but these errors were encountered: