public override bool Equals(object obj) { DirectoryInfoHashed other = (DirectoryInfoHashed)obj; if (other == null) { return(false); } return(DirectoryEqualityComparer.SamePath(other.m_wrapped, m_wrapped)); }
public DirectoryInfoHashed(DirectoryInfo wrapped) { m_wrapped = wrapped; m_hashCode = DirectoryEqualityComparer.GetHashCodeStatic(wrapped); }