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

Refactor BinaryReader.ReadChars using Span #26325

Merged
jkotas merged 1 commit into
dotnet:masterfrom
jkotas:binaryreader-span
Sep 3, 2019
Merged

Refactor BinaryReader.ReadChars using Span #26325
jkotas merged 1 commit into
dotnet:masterfrom
jkotas:binaryreader-span

Conversation

@jkotas
Copy link
Copy Markdown
Member

@jkotas jkotas commented Aug 22, 2019

No description provided.

@jkotas jkotas changed the title Binaryreader span Refactor BinaryReader.ReadChars using Span Aug 22, 2019
@jkotas
Copy link
Copy Markdown
Member Author

jkotas commented Aug 22, 2019

This is additional refactoring on top of #26324 that won't be ported to release/3.0.

@jkotas jkotas requested a review from carlossanlop August 22, 2019 23:38
@jkotas jkotas force-pushed the binaryreader-span branch from f29760c to 38e7c00 Compare August 29, 2019 16:38
@jkotas jkotas closed this Sep 1, 2019
@jkotas jkotas reopened this Sep 1, 2019
Avoids unsafe code and makes the code simpler
@jkotas jkotas marked this pull request as ready for review September 2, 2019 04:52
@jkotas
Copy link
Copy Markdown
Member Author

jkotas commented Sep 2, 2019

This is ready for review. cc @carlossanlop @stephentoub

Comment thread src/System.Private.CoreLib/shared/System/IO/BinaryReader.cs
@jkotas jkotas merged commit 98d09ee into dotnet:master Sep 3, 2019
Dotnet-GitSync-Bot pushed a commit to Dotnet-GitSync-Bot/corefx that referenced this pull request Sep 3, 2019
Avoids unsafe code and makes the code simpler

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Dotnet-GitSync-Bot pushed a commit to Dotnet-GitSync-Bot/corert that referenced this pull request Sep 3, 2019
Avoids unsafe code and makes the code simpler

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
stephentoub pushed a commit to dotnet/corefx that referenced this pull request Sep 3, 2019
Avoids unsafe code and makes the code simpler

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Dotnet-GitSync-Bot pushed a commit to Dotnet-GitSync-Bot/mono that referenced this pull request Sep 4, 2019
Avoids unsafe code and makes the code simpler

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
jkotas added a commit to dotnet/corert that referenced this pull request Sep 4, 2019
Avoids unsafe code and makes the code simpler

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
vargaz pushed a commit to mono/mono that referenced this pull request Sep 4, 2019
* Refactor BinaryReader.ReadChars using Span (dotnet/coreclr#26325)

Avoids unsafe code and makes the code simpler

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>

* Remove unnecessary parens from `return (true);` and `return (false);` (#26488)

Just a search and replace.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>

* Avoid some unnecessary initialization in DateTimeParse (#26487)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>

* Update analyzer versions (dotnet/corefx#40778)

In particular to pick up StyleCop fixes related to C# 8 and nullability.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
@jkotas jkotas deleted the binaryreader-span branch September 14, 2019 01:12
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Avoids unsafe code and makes the code simpler

Commit migrated from dotnet/coreclr@98d09ee
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.

2 participants