Uh oh!
There was an error while loading. Please reload this page.
Add ImmutableArray<T>.Builder.DrainToImmutable() - #79385
Conversation
ghost
commented
Dec 8, 2022
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. |
ghost
commented
Dec 8, 2022
Tagging subscribers to this area: @dotnet/area-system-collections Issue DetailsCloses #72625. Approved API details: #72625 (comment).
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jeffhandley
commented
Dec 8, 2022
|
Uh oh!
There was an error while loading. Please reload this page.
Closes#72625. Approved API details: #72625 (comment).
DrainToImmutablewill "do the cheapest thing possible" to return the current contents as an immutable array and then reset the collection to a zero-length array.