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
{{ message }}
Repository navigation
Share generic-class inference precedence, scoping, and method pairing between discovery modes #7451
Generic class inference currently implements class-row selection, method-derived class types, and class/method pairing separately in the source generator and reflection discovery. Share these decisions so future changes apply to both discovery modes. This is the generic-class portion of #7371.
Scope
Extend the shared inference policy to class Arguments rows (including type-free rows), typed and method data sources, parameter inference attributes, and class GenerateGenericTest.
Centralize source precedence and scoping, including pairing class and method type arguments.
Extend the documented table and common parity matrix to class sources and combined generic classes/methods.
Both modes use the shared class policy. The same parity matrix covers source ordering, duplicate inference, inferred/uninferred rows, explicit class types, and class/method pairing. Relevant generator snapshots and targeted tests pass.
Activity
Clarify generic class policy boundaries and require failure diagnosti…
Clarify unmatched class-row fallback for #7451
Simplify inferred row matching after review (#7451)
Share generic class row selection and pairing policy (#7498)