Ejemplo n.º 1
0
 protected bool Equals(ShouldThrowMethod other)
 {
     return(string.Equals(Name, other.Name) && Parameters.All(p => other.Parameters.Any(op => p.Name == op.Name && p.ParameterType == op.ParameterType)));
 }
Ejemplo n.º 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)));
 }