-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add explicit support for assembly aliases #294
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
21d7498
to
c7098df
Compare
c7098df
to
01038f3
Compare
@dupdob Once we get the draft out, we can do the merge |
Thanks PR no longer in Draft |
@phmonte think you could find some time to release this in the near future? We could use this feature in stryker |
@rouke-broersma yes, I can generate a new version today. |
@rouke-broersma @Corniel and @dupdob I'm having a compatibility issue between versions (which was expected). I'm analyzing it carefully so that we don't have any surprises. I plan to publish the new version this weekend. |
New version published 7.1.0, thanks. |
🚀 Support Assembly Aliases
Description
This PR adds explicit support for assembly aliases, that is the ability to add a prefix (an alias) to the namespace(s) of one or more assemblies in order to deal with name conflict.
This PR adds a
ReferenceAliases
property toIAnalyzerResult
interface. This property exposes a dictionary providing the list of aliases for every aliased references. If a referenced assembly is not aliased, it will not be listed in this dictionary.This property is also used for Roslyn Workspace building.
Tests
A dedicated test project (
SdkNet8Alias
) has been added and is used in integration tests and workspace tests.