Skip to content

Conversation

@jozkee
Copy link
Member

@jozkee jozkee commented Aug 19, 2020

Contributes to #2339
No annotations are needed for the APIs exposed in this assembly.
Add missing annotations to XPathException.

@jozkee jozkee added this to the 5.0.0 milestone Aug 19, 2020
@jozkee jozkee requested review from buyaa-n and krwq August 19, 2020 21:50
@jozkee jozkee self-assigned this Aug 19, 2020
@ghost
Copy link

ghost commented Aug 19, 2020

Tagging subscribers to this area: @buyaa-n, @krwq
See info in area-owners.md if you want to be subscribed.

@stephentoub
Copy link
Member

stephentoub commented Aug 19, 2020

No annotations are needed for the APIs exposed in this assembly.

That doesn't sound right. For example, I see there's an XpathException type, and its message and innerException ctor arguments should be nullable.

@buyaa-n
Copy link
Contributor

buyaa-n commented Aug 19, 2020

Constructor overloads accept nullable
https://source.dot.net/#System.Private.CoreLib/Exception.cs,32

@jozkee
Copy link
Member Author

jozkee commented Aug 19, 2020

@stephentoub @buyaa-n you are right, I missed the message parameter in the src annotations as well. Will add them here.

Copy link
Member

@jeffhandley jeffhandley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @buyaa-n can you take a look too?

Never mind -- I see you already did; I needed to refresh.

Copy link
Contributor

@buyaa-n buyaa-n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@jeffhandley
Copy link
Member

@jozkee Is there anything left on this one, or is it ready for merge? Did you want a review from @krwq first?

@jozkee
Copy link
Member Author

jozkee commented Aug 20, 2020

@jeffhandley I think is fine, will merge now...

@jozkee jozkee merged commit 6891633 into dotnet:master Aug 20, 2020
@jozkee jozkee deleted the nullability_5 branch August 20, 2020 05:41
@krwq
Copy link
Member

krwq commented Aug 20, 2020

LGTM thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants