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

Collapse leftover AsSpan().Slice(...) into AsSpan(...)#29078

Merged
ahsonkhan merged 1 commit intodotnet:masterfrom
ahsonkhan:CollapseAsSpan
Apr 13, 2018
Merged

Collapse leftover AsSpan().Slice(...) into AsSpan(...)#29078
ahsonkhan merged 1 commit intodotnet:masterfrom
ahsonkhan:CollapseAsSpan

Conversation

@ahsonkhan
Copy link

Leftover from https://github.com/dotnet/corefx/issues/27330

Mainly updating usage pattern in tests.

cc @tarekgh

@ahsonkhan ahsonkhan self-assigned this Apr 12, 2018
if (skip > 0)
{
sb.Append(path.AsSpan().Slice(0, skip));
sb.Append(path.AsSpan(0, skip));
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, @JeremyKuhne

This should get mirrored to coreclr. cc @Anipik

@tarekgh
Copy link
Member

tarekgh commented Apr 12, 2018

Looks these changes happened after fixing #27330

@ahsonkhan
Copy link
Author

@dotnet-bot test NETFX x86 Release Build
@dotnet-bot test Windows x86 Release Build

@ahsonkhan ahsonkhan merged commit 5c01da9 into dotnet:master Apr 13, 2018
@ahsonkhan ahsonkhan deleted the CollapseAsSpan branch April 13, 2018 05:40
@karelz karelz added this to the 2.1.0 milestone Apr 14, 2018
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants