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
[ReadOnly]RefEnumerable<T>.DangerousCreate static constructors #3645
[ReadOnly]RefEnumerable<T>.DangerousCreate static constructors #3645
Conversation
Thanks Sergio0694 for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌 |
110e88a
to
3fae98f
Compare
Hello @michael-hawker! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
3fae98f
to
24c1288
Compare
Re-kicked the build due to the transient ColorCode issue. |
24c1288
to
d57b5d0
Compare
Closes #3641
PR Type
What kind of change does this PR introduce?
What is the current behavior?
There is no way to manually create a
RefEnumerable<T>
or aReadOnlyRefEnumerable<T>
instance.What is the new behavior?
This PR adds a new
[ReadOnly]RefEnumerable<T>.DangerousCreate
static constructor.This gives the two types feature parity on this front with the likes of
[ReadOnly]Span2D<T>
, that expose this API.PR Checklist
Please check if your PR fulfills the following requirements:
Pull Request has been submitted to the documentation repository instructions. Link:Sample in sample app has been added / updated (for bug fixes / features)Icon has been created (if new sample) following the Thumbnail Style Guide and templates