Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Mirror changes from dotnet/coreclr#28634

Closed
dotnet-bot wants to merge 4 commits into
masterfrom
mirror-merge-9594816
Closed

Mirror changes from dotnet/coreclr#28634
dotnet-bot wants to merge 4 commits into
masterfrom
mirror-merge-9594816

Conversation

@dotnet-bot
Copy link
Copy Markdown

This PR contains mirrored changes from dotnet/coreclr

Please REBASE this PR when merging

ahsonkhan and others added 4 commits March 30, 2018 01:36
* Adding Memory.Pin() to eventually replace Memory.Retain(bool)

* Fix copy/paste error and return default for when object is null.

* Fix XML comments.

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
* 'value' to 'other': bool System.IEquatable<System.UIntPtr>.Equals(UIntPtr value);

* 'value' to 'other': bool System.IEquatable<System.IntPtr>.Equals(IntPtr value);

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
* Use ROSpan.IndexOf as the workhorse for string.IndexOf

* Make changes to Span.IndexOf to follow what string.IndexOf did.

* Address PR feedback.

* Use Unsafe.Read instead of Unsafe.ReadUnaligned.

* Remove special casing for count == 0

* Fix up debug assert to use vector count instead of intptr.size

* Use size of Vector<ushort> instead of Vector<byte>.Count

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
@Anipik Anipik closed this Mar 30, 2018
@ahsonkhan ahsonkhan deleted the mirror-merge-9594816 branch March 30, 2018 02:55
@karelz karelz added this to the 2.1.0 milestone Apr 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants