public bool Equals(ObscuredString PDGAOEAMDCL) { if (PDGAOEAMDCL == (ObscuredString)null) { return(false); } return(this.currentCryptoKey == PDGAOEAMDCL.currentCryptoKey ? ObscuredString.ArraysEquals(this.hiddenValue, PDGAOEAMDCL.hiddenValue) : string.Equals(this.InternalDecrypt(), PDGAOEAMDCL.InternalDecrypt())); }
public bool Equals(ObscuredString value) { if (value == null) { return(false); } if (this.currentCryptoKey == value.currentCryptoKey) { return(ObscuredString.ArraysEquals(this.hiddenValue, value.hiddenValue)); } return(string.Equals(this.InternalDecrypt(), value.InternalDecrypt())); }
public static bool operator ==(ObscuredString IPJGCOBNHLB, ObscuredString IMMPDMOKFGC) { if ((object)IPJGCOBNHLB == (object)IMMPDMOKFGC) { return(true); } if ((object)IPJGCOBNHLB == null || (object)IMMPDMOKFGC == null) { return(false); } return(IPJGCOBNHLB.currentCryptoKey == IMMPDMOKFGC.currentCryptoKey ? ObscuredString.ArraysEquals(IPJGCOBNHLB.hiddenValue, IMMPDMOKFGC.hiddenValue) : string.Equals(IPJGCOBNHLB.InternalDecrypt(), IMMPDMOKFGC.InternalDecrypt())); }
public static bool operator ==(ObscuredString a, ObscuredString b) { if (object.ReferenceEquals(a, b)) { return(true); } if (a == null || b == null) { return(false); } if (a.currentCryptoKey == b.currentCryptoKey) { return(ObscuredString.ArraysEquals(a.hiddenValue, b.hiddenValue)); } return(string.Equals(a.InternalDecrypt(), b.InternalDecrypt())); }