Skip to content

Conversation

@tarekgh
Copy link
Member

@tarekgh tarekgh commented Oct 12, 2023

#93403

This is fixing a regression from last changes #93088. The problem was when we were looking for the Count property inside a type, if the type is interfacing the lookup was failing. The reason is ITypeSymbol.GetMembers doesn't report the members of the extended interfaces. The fix is just lookup the property in all interfaces implemented by this type.

@ghost ghost assigned tarekgh Oct 12, 2023
@ghost
Copy link

ghost commented Oct 12, 2023

Tagging subscribers to this area: @dotnet/area-extensions-options
See info in area-owners.md if you want to be subscribed.

Issue Details

#93403

This is fixing a regression from last changes #93088. The problem was when we were looking for the Count property inside a type, if the type is interfacing the lookup was failing. The reason is ITypeSymbol.GetMembers doesn't report the members of the extended interfaces. The fix is just lookup the property in all interfaces implemented by this type.

Author: tarekgh
Assignees: tarekgh
Labels:

area-Extensions-Options

Milestone: -

@tarekgh tarekgh added this to the 8.0.0 milestone Oct 12, 2023
@tarekgh tarekgh added the source-generator Indicates an issue with a source generator feature label Oct 12, 2023
@tarekgh
Copy link
Member Author

tarekgh commented Oct 13, 2023

failures are tracked by #92423 which are unrelated. I am not sure why the build analysis didn't detect it automatically. CC @agocke

@tarekgh tarekgh merged commit fe1247b into dotnet:main Oct 13, 2023
@tarekgh
Copy link
Member Author

tarekgh commented Oct 13, 2023

/backport to release/8.0

@github-actions
Copy link
Contributor

Started backporting to release/8.0: https://github.com/dotnet/runtime/actions/runs/6510948978

@ghost ghost locked as resolved and limited conversation to collaborators Nov 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Extensions-Options source-generator Indicates an issue with a source generator feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants