Repository navigation
Add Span overloads in TextRenderer - #3711
Conversation
This adds the span overloads per dotnet#3651. It also obsoletes `TextFormatFlags.ModifyString` and fully blocks it in the span overloads. We'll add a safe API for getting output strings in a future version.
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
I think you mixed up the issue IDs, this does not resolve #3710 since no output-overloads are provided |
Hmm, I don't recall adding that. Interesting. |
Codecov Report
@@ Coverage Diff @@
## master #3711 +/- ##
====================================================
- Coverage 67.16215% 35.71148% -31.45067%
====================================================
Files 1381 910 -471
Lines 503148 249774 -253374
Branches 40768 36557 -4211
====================================================
- Hits 337925 89198 -248727
+ Misses 159504 155576 -3928
+ Partials 5719 5000 -719
Flags with carried forward coverage won't be shown. Click here to find out more. |
Sorry, that'd be me... 🤦♂️ I thought it was related |
RussKie
left a comment
There was a problem hiding this comment.
👍
Please annotate all new public API with xml-docs.
How precisely do you want to do that? These are identical to the existing APIs with an additional caveat that they block the setting. And do we need to block this for docs or can I follow up in a separate PR? |
We still need to add /// comments, as these get imported into the docs repo (via a complicated pipeline). AFAIK if we don't have these from the get go we'll have to add them manually to xml files over in the docs repo, which is a much-much harder job to do. |
|
Docs: dotnet/docs#20804 |
This adds the span overloads per #3651. It also obsoletes
TextFormatFlags.ModifyStringand fully blocks it in the span overloads. We'll add a safe API for getting output strings in a future version.Resolves #3651
Microsoft Reviewers: Open in CodeFlow