public bool IsSubsetOf(StrongName2 target) { if (this.m_publicKeyBlob == null) { return(true); } if (!this.m_publicKeyBlob.Equals(target.m_publicKeyBlob)) { return(false); } if ((this.m_name != null) && ((target.m_name == null) || !StrongName.CompareNames(target.m_name, this.m_name))) { return(false); } return((this.m_version == null) || ((target.m_version != null) && (target.m_version.CompareTo(this.m_version) == 0))); }
public bool IsSubsetOf(StrongName2 target) { return(this.m_publicKeyBlob == null || this.m_publicKeyBlob.Equals(target.m_publicKeyBlob) && (this.m_name == null || target.m_name != null && StrongName.CompareNames(target.m_name, this.m_name)) && (this.m_version == null || target.m_version != null && target.m_version.CompareTo(this.m_version) == 0)); }