Skip to content
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

Exposed public classes under System namespace cause conflicts with other third party libraries #451

Closed
dfaivre opened this issue Jan 8, 2024 · 5 comments
Milestone

Comments

@dfaivre
Copy link

dfaivre commented Jan 8, 2024

Issue description

Specifically:

public static byte[]? ToByteArray(this Stream? stream) {

It probably wouldn't collide as much but a lot of the functions are declared under the root System namespace - so they are automatically imported.

Could these classes/functions be made internal - or at least the ones declared in the System namespace?

Very useful project - thank you for all the work!

@aloneguid
Copy link
Owner

Good catch, thank you. They shutoff be all internal, it's a bug

aloneguid added a commit that referenced this issue Jan 8, 2024
@aloneguid aloneguid added this to the 4.21.0 milestone Jan 8, 2024
@aloneguid
Copy link
Owner

released

@dfaivre
Copy link
Author

dfaivre commented Jan 11, 2024 via email

@aloneguid
Copy link
Owner

I'm glad you found it useful :) If you liked it, please consider giving it a star rating, it really makes a difference.

@dfaivre
Copy link
Author

dfaivre commented Jan 12, 2024

Done!

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

No branches or pull requests

2 participants