-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[Group 5] Enable nullable annotations for Microsoft.Extensions.Configuration.Xml
#67178
Conversation
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
Tagging subscribers to this area: @dotnet/area-extensions-configuration Issue DetailsRelated to #43605
Questions:
|
Looking at the code, I believe this can only return runtime/src/libraries/System.Private.Xml/src/System/Xml/Dom/XmlDocument.cs Lines 784 to 789 in c3843c5
Since we are calling it on @krwq - is this something we can fix in the annotations for System.Xml? I think we can remove the runtime/src/libraries/System.Private.Xml/src/System/Xml/Dom/XmlDocument.cs Lines 771 to 774 in c3843c5
|
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. Thanks again @maxkoshevoi.
Related to #43605
System.Security.Cryptography.Xml
is not annotated yet (maybe will get around to it in some time), but it's only used in one place where there's no nullability questions (#66892 (comment)).Questions:
CreateNavigator()
can returnnull
hereruntime/src/libraries/Microsoft.Extensions.Configuration.Xml/src/XmlDocumentDecryptor.cs
Line 101 in 0ceb116