Better number ToString formatting, cleanups

This commit is contained in:
Sinai
2021-05-13 00:58:23 +10:00
parent b61020fe67
commit 275225a284
8 changed files with 92 additions and 93 deletions

View File

@ -374,15 +374,16 @@ namespace UnityExplorer
var sig = methodName;
// If the signature could be ambiguous (internally, within UnityExplorer's own use)
// then append the arguments to the key.
// Currently not needed and not used, but just in case I need it one day.
if (cacheAmbiguous)
{
sig += "|";
foreach (var arg in argumentTypes)
sig += arg.FullName + ",";
}
else
{
sig += "|" + (argumentTypes?.Length.ToString() ?? "null");
}
try
{