-
Notifications
You must be signed in to change notification settings - Fork 5k
Remove InternalsVisibleTo from System.Collections.Immutable. #107872
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
Conversation
<Compile Include="..\src\System\Collections\Frozen\String\Hashing.cs" Link="System\Collections\Frozen\String\Hashing.cs" /> | ||
<Compile Include="..\src\System\Collections\Frozen\String\KeyAnalyzer.cs" Link="System\Collections\Frozen\String\KeyAnalyzer.cs" /> | ||
<Compile Include="..\src\System\Collections\Immutable\IBinaryTree.cs" Link="System\Collections\Immutable\IBinaryTree.cs" /> | ||
<Compile Include="..\src\Validation\Requires.cs" Link="Validation\Requires.cs" /> |
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.
We should probably follow up to separate these out further, but for now this PR is definitely a good step in the right direction.
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.
Thanks!
Out of curiosity, I tried building S.C.I with and without this PR. This reduces its size on disk by ~5%. |
src/libraries/System.Collections.Immutable/src/System.Collections.Immutable.csproj
Outdated
Show resolved
Hide resolved
@vitek-karas could you suggest any workarounds for enabling private field access in blazor-wasm? My change in d3cf8f9 doesn't seem to do it. |
…107872) * Remove InternalsVisibleTo from System.Collections.Immutable. * Remove a few unneeded internal interfaces. * Replace IOrderedCollection<T> with IReadOnlyList<T> * Remove empty folder. * Avoid trimming necessary reflection metadata. * Do not look up IBinaryTree interface. * Revert "Avoid trimming necessary reflection metadata." This reverts commit d3cf8f9. * Remove IBinaryTree interface.
Fix #107848.