Skip to content

Commit

Permalink
Remove silly ToString in GetCLRInstanceString (#44335)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub committed Nov 6, 2020
1 parent 230b5b1 commit 5aaf0c1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5aaf0c1

Please sign in to comment.