Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# 13: Overload resolution priority. #18575

Merged
merged 8 commits into from
Jan 24, 2025

Conversation

michaelnebel
Copy link
Contributor

In this PR we add tests and some minor QL library functionality for the overload resolution priority attribute as described here.

With respect to the dispatch test it is worth noting that the overload resolution priority is not respected in case the method is called via an interface (unless the interface declaration is tagged with the overload resolution priority attribute). That is, the dispatch test correctly identifies the viable callables as the overload resolution priority is ignored.

@github-actions github-actions bot added the C# label Jan 23, 2025
@michaelnebel
Copy link
Contributor Author

DCA looks good.

@michaelnebel michaelnebel marked this pull request as ready for review January 24, 2025 09:36
@Copilot Copilot bot review requested due to automatic review settings January 24, 2025 09:36
@michaelnebel michaelnebel requested a review from a team as a code owner January 24, 2025 09:36

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 16 out of 16 changed files in this pull request and generated no comments.

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

@michaelnebel michaelnebel merged commit d3d3cce into github:main Jan 24, 2025
21 checks passed
@michaelnebel michaelnebel deleted the csharp/overloadresolution branch January 24, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants