Skip to content

OverloadResolutionPriority with Deconstruct Extension Methods and Generics #9379

Answered by jcouv
fitdev asked this question in Q&A
Discussion options

You must be logged in to vote

To be specific, I verified in main branch that ORPA works as expected with extension Deconstruct methods, and also that generic Deconstruct methods work as expected.
I also manually tested your code above in a recent VS preview (using compiler version: '4.14.0-3.25227.1 (49152f06)') and got not compilation error.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
3 replies
@fitdev
Comment options

@333fred
Comment options

@colejohnson66
Comment options

Comment options

You must be logged in to vote
7 replies
@bzd3y
Comment options

@jcouv
Comment options

jcouv May 13, 2025
Collaborator

@fitdev
Comment options

@jcouv
Comment options

jcouv May 13, 2025
Collaborator

Answer selected by fitdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants