Commit migrated from https://github.com/dotnet/corefx/commit/ed43dd3bc73fc4426d6e38d5156f7715d693742f