Skip to content
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

[corlib]: Bring Random from CoreFX and add RandomNumberGenerator.Fill(Span<byte>). #11797

Merged
merged 4 commits into from Nov 30, 2018

Conversation

baulig
Copy link
Contributor

@baulig baulig commented Nov 27, 2018

This adds some Span<byte> overloads to Random and RandomNumberGenerator.

Part of #7737

@baulig baulig self-assigned this Nov 27, 2018
@marek-safar
Copy link
Member

Could you add tests for Random as well so we know it works as expected

@baulig
Copy link
Contributor Author

baulig commented Nov 27, 2018

I believe the only test that we did not enable was Random.netcoreapp.cs - which I just enabled.

@baulig
Copy link
Contributor Author

baulig commented Nov 28, 2018

@monojenkins commit csproj

@marek-safar
Copy link
Member

@baulig there are few conflicts to resolve

@baulig
Copy link
Contributor Author

baulig commented Nov 28, 2018

@monojenkins commit apidiff

@akoeplinger
Copy link
Member

akoeplinger commented Nov 29, 2018

@baulig please don't use "commit apidiff" until the PR is about to be merged, it creates conflicts with other PRs otherwise.

@marek-safar
Copy link
Member

@monojenkins build failed

@akoeplinger
Copy link
Member

@monojenkins commit apidiff and csproj

monojenkins added a commit to mono/api-snapshot that referenced this pull request Nov 30, 2018
@akoeplinger akoeplinger merged commit e14a676 into mono:master Nov 30, 2018
@baulig baulig deleted the work-corefx-random branch November 30, 2018 21:04
alexischr pushed a commit to alexischr/mono that referenced this pull request Dec 5, 2018
…ill(Span<byte>)`. (mono#11797)

This adds some `Span<byte>` overloads to `Random` and `RandomNumberGenerator`.

Part of mono#7737
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants