Refer to comment https://github.com/dotnet/runtime/commit/ac5c33defa6a9983e85ce8bf0be352cb09f5b8eb#r49506077