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