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