public virtual bool Equals(TypeDependencyId other) { if (ReferenceEquals(other, null)) { return(false); } else { return(TypeNameReference.Equals(_type, other._type)); } }
public static bool Equals(TypeDependencyId a, TypeDependencyId b) { if (ReferenceEquals(a, b)) { return(true); } else if (ReferenceEquals(a, null)) { return(false); } else { return(a.Equals(b)); } }
protected virtual void CreateReadOnlyCopy(out TypeDependencyId readOnlyCopy) => readOnlyCopy = new TypeDependencyId(this, isReadOnly: true);