public bool Conflict(ExecutableMethodInfo other) { if (other == null) { return(false); } if (Equals(other)) { return(false); } if (IsAcceptOptions && !other.IsAcceptOptions || !IsAcceptOptions && other.IsAcceptOptions) { return(false); } return(Parameters.Count() == other.Parameters.Count()); }
public ExecutableMethodParameterInfo(ExecutableMethodInfo method, ParameterInfo parameter) { Method = method; _parameter = parameter; }