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