-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Overload resolution ambiguity introduced by SDK 8.0.300-preview.24203.14 #73346
Comments
Overload resolution is not preferring the overload with the more specific cc @AlekseyTs |
The code from the repo:
|
The error code is CS0121 (if you came here by searching issues for this code) and apparently the bug made it's way into SDK 8.0.300. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
The SDK 8 preview that comes with the latest VS2022 preview introduces an overload resolution ambiguity that is not in the stable SDK.
Version Used:
8.0.300-preview.24203.14
Steps to Reproduce:
See this repo for a reproduction and this or this workflow run to watch a build fail.
The issue is also in the latest SDK 9 preview. It's not reproducible on dotnetfiddle/sharplab, the latest SDK bits there are seemingly not recent enough.
Everything is fine on 8.0.204.
This might be related to collection expression conversions since the method overload in question has a
params
[] parameter.Note: I also opened an issue in the sdk repo but this might be the more appropriate place.
Update
AzDO issues:
The text was updated successfully, but these errors were encountered: