-
Notifications
You must be signed in to change notification settings - Fork 867
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
Support a named global namespace #1525
Support a named global namespace #1525
Conversation
@jwittner, It will cover your contributions to all .NET Foundation-managed open source projects. |
@jwittner, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request. |
36bd8e2
to
f59d56c
Compare
{ | ||
Logger.LogWarning($"DocFX currently only supports generating metadata with namespace defined. The following types in assembly \"{symbol.MetadataName}\" will have no metadata generated: {string.Join(", ", typeMembers.Select(m => m.MetadataName))}. "); | ||
namespaces = Enumerable.Repeat( symbol.GlobalNamespace, 1); |
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.
[](start = 47, length = 1)
minor: remove
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.
Fixed! =)
|
f59d56c
to
2cbf75a
Compare
* Avoid null deref by failing match with against null * Support global namespaces if a name is supplied
Thanks a ton for getting this in! |
Allows specifying an id for the global namespace and includes the global namespace in metadata generation if one is provided.
Resolves #1519