bool CanCompareMethods(MethodDefinition current, MethodDefinition target)
 {
     return(current.HasBody && target.HasBody &&
            !CheckedMethods.Contains(target.Name) &&
            current != target);
 }
Beispiel #2
0
 private bool CanCompareMethods(MethodDefinition currentMethod, MethodDefinition targetMethod)
 {
     return(currentMethod.HasBody && targetMethod.HasBody &&
            !CheckedMethods.Contains(targetMethod.Name) &&
            currentMethod != targetMethod);
 }