public bool Equals(ClangFieldInfoBase other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(RoughCxTypeComparer.CompareEquality(Type, other.Type) && string.Equals(Name, other.Name, StringComparison.Ordinal)); }
public bool Equals(ClangEnumInfoBase other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(RoughCxTypeComparer.CompareEquality(UnderlyingType, other.UnderlyingType) && string.Equals(Name, other.Name, StringComparison.Ordinal) && Definitions.SequenceEqual(other.Definitions)); }
public bool Equals(ClangFunctionInfoBase other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(RoughCxTypeComparer.CompareEquality(ReturnType, other.ReturnType) && string.Equals(Name, other.Name, StringComparison.Ordinal) && Parameters.SequenceEqual(other.Parameters)); }