diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Versioning/VersioningHelper.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Versioning/VersioningHelper.cs index b552a4ce1292c..d26adc50a1944 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/Versioning/VersioningHelper.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Versioning/VersioningHelper.cs @@ -84,8 +84,7 @@ private static string GetCLRInstanceString() // actually call GetRuntimeId() which is an ecall method and cannot be // directly called from outside of the corelib. // In CoreCLR, GetRuntimeId() gets the TLS index for the thread and adds 3 to that number. - int id = 3; - return id.ToString(CultureInfo.InvariantCulture); + return "3"; } private static SxSRequirements GetRequirements(ResourceScope consumeAsScope, ResourceScope calleeScope)