fix: fix bug of TypeSigUtil::ComputeMethodDefSignature that didn't distinguish not generic method with generic method which have same return and parameter types.
parent
7619928b07
commit
56374bbac7
|
@ -22,6 +22,10 @@ namespace Obfuz.Utils
|
||||||
result.Append(method.DeclaringType.FullName);
|
result.Append(method.DeclaringType.FullName);
|
||||||
result.Append("::");
|
result.Append("::");
|
||||||
result.Append(method.Name);
|
result.Append(method.Name);
|
||||||
|
if (method.HasGenericParameters)
|
||||||
|
{
|
||||||
|
result.Append($"`{method.GenericParameters.Count}");
|
||||||
|
}
|
||||||
result.Append("(");
|
result.Append("(");
|
||||||
for (int i = 0; i < method.Parameters.Count; i++)
|
for (int i = 0; i < method.Parameters.Count; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue