Skip to content

Conversation

@CyrusNajmabadi
Copy link
Member

No description provided.

jasonmalinowski and others added 8 commits June 12, 2025 18:38
This existed back from when the input to the function was a namespace,
but that's not the case anymore.
CPS passes us an INamespaceSymbol that is the global namespace symbol;
it doesn't have a containing assembly. It does have a containing
Compilation though, which is what we actually need.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2506795
Fixes dotnet#78697
I'm not sure why this ever took an INamespaceSymbol in the first place,
but we either have code working around it, or having an (old) comment
saying the code was wrong.
CPS passes us an INamespaceSymbol that is the global namespace symbol;
it doesn't have a containing assembly. It does have a containing
Compilation though, which is what we actually need.

While I'm here, let's expose a better API for this to avoid this silly
dance in the first place.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2506795
Fixes dotnet#78697
@CyrusNajmabadi CyrusNajmabadi requested review from a team as code owners June 17, 2025 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants