Uh oh!
There was an error while loading. Please reload this page.
Fix Options Source Gen with Length attributes applied on properties of Interface type - #93426
Conversation
ghost
commented
Oct 12, 2023
Tagging subscribers to this area: @dotnet/area-extensions-options Issue DetailsThis is fixing a regression from last changes #93088. The problem was when we were looking for the
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
tarekgh
commented
Oct 13, 2023
tarekgh
commented
Oct 13, 2023
/backport to release/8.0 |
Started backporting to release/8.0: https://github.com/dotnet/runtime/actions/runs/6510948978 |
#93403
This is fixing a regression from last changes #93088. The problem was when we were looking for the
Countproperty inside a type, if the type is interfacing the lookup was failing. The reason isITypeSymbol.GetMembersdoesn't report the members of the extended interfaces. The fix is just lookup the property in all interfaces implemented by this type.