コード例 #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)));
 }
コード例 #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)));
 }