public static string GetGenericMethodSignature(MethodReference method) { if (_genericSignatures.ContainsKey(method.FullName)) { return(_genericSignatures[method.FullName]); } var signature = method.GetGenericKey(); if (!string.IsNullOrEmpty(signature)) { _genericSignatures.Add(method.FullName, signature); } return(signature); }