예제 #1
0
 protected bool Equals(ShouldThrowMethod other)
 {
     return(string.Equals(Name, other.Name) && Parameters.All(p => other.Parameters.Any(op => p.Name == op.Name && TypeEqual(p.ParameterType, op.ParameterType))));
 }
예제 #2
0
 protected bool Equals(ShouldThrowMethod other)
 {
     return string.Equals(Name, other.Name) && Parameters.All(p => other.Parameters.Any(op => p.Name == op.Name && TypeEqual(p.ParameterType, op.ParameterType)));
 }