public bool SetIfNull(indexIdentity value) { if (Index == ErrorIndex) { Index = value.Index; Identity = value.Identity; return(true); } return(false); }
public int Equals(indexIdentity value) { return((Index ^ value.Index) | (Identity ^ value.Identity)); }