Repository navigation
Conversation
|
Tagging subscribers to this area: @dotnet/ncl Issue DetailsAs described in #92285 new interface implementation added.
|
| } | ||
| } | ||
|
|
||
| static bool IParsable<Uri>.TryParse(string? s, IFormatProvider? provider, out Uri result) |
There was a problem hiding this comment.
The nullability can be handled by adding [MaybeNullWhen(returnValue: false)] to the out Uri result parameter.
The return value should match whether result is null or not.
|
I see error in CI run: But when I tried to build with that flag, I got another errors like that: Would be appreciated for links to docs about how to do it. |
Got it, I will look at it soon. |
|
Anyway, I'm not sure about actual status of #59099 |
Did you hit any errors while following the build instructions?
It's currently partially implemented, see #59099 (comment). |
I found that this stage is missed: Now I run it, but got errors:
AllowImplicitFilePaths is presented in MihaZupan@fef4435, what is not right with that implementation? |
|
Did you install the Linux prerequisites? https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/linux-requirements.md
It's been a few years so I don't remember all the details. But at a minimum getting it to build with the current |
|
You also need to make changes to the ref assemblies. |
|
Thank you for contributing here. I'll close this PR for now given #93479 (review) -- we'll need to implement #59099 first, so can't make progress here until then |
As described in #92285 new interface implementation added.
I'm not sure how to properly handle nullability in TryParse method, so decided to just create new instance (it looks little bit better than ! usage).
And as I see NoImplicitFilePaths which mentioned in issue is not able to be implemented right now.