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

Add section on global usings #7

Open
mvonballmo opened this issue Jan 24, 2022 · 0 comments
Open

Add section on global usings #7

mvonballmo opened this issue Jan 24, 2022 · 0 comments

Comments

@mvonballmo
Copy link
Owner

Notes

Library authors should be aware that package users will generally only see the source files downloaded via SourceLink. If too many of the usings are in a solution-specific "global usings" file, then it won't be clear from the sources where the types came from. The compiler will know, but the developer will not. This applies also to direct developers of the project.

It almost goes without saying that you should not include global usings that might cause ambiguities in too many source files.

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

1 participant