Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Mirror changes from dotnet/corefx,coreclr #6110

Merged
merged 7 commits into from Jul 18, 2018

Conversation

dotnet-maestro-bot
Copy link
Contributor

@dotnet-maestro-bot dotnet-maestro-bot commented Jul 18, 2018

This PR contains mirrored changes from dotnet/corefx,coreclr

Please REBASE this PR when merging

cc @stephentoub @vancem @pentp @jkotas @pentp

stephentoub and others added 7 commits July 18, 2018 16:47
…18952)

* Improve throughput of {U}Int32/64.{Try}Parse for hex

- Copies/modifies the recently added TryParse32/64IntegerStyle routines for hex in order to provide more optimized parsing.
- Since AllowHexSpecifier can't be used with any other styles (other than allowing leading/trailing whitespace), deletes existing code paths for parsing hex.
- As I was copying code around, I kept getting bitten by different names used for the same thing, so I also standardized some parameter names in various helper functions.

* Clean up

- Remove a bunch of unnecessary 'unsafe' keywords
- Rephrase some while(true) loops as do/while loops for consistency and to avoid some repetition
- Remove an unnecessary wrapper function

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
* Move Decimal to shared

* Remove DecimalCanonicalize{Internal}

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
This fixes shutdown race bug that CoreCLR port reintroduced.
Basically the fix needed some Appdomain APIs that were probably
not in .NET Core 1.0 so they were removed.   However they are
back in .NET Core 2.0 so it is trivial to simply 'do the right thing', and
put the shutdown logic back.

See comment in front of DisposeOnShutdown for more.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
@jkotas jkotas merged commit be13e0a into dotnet:master Jul 18, 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.

None yet

5 participants