public bool Equals(PipelineStateDescriptionWithHash other) { return(Hash == other.Hash && (State == null) == (other.State == null) && (State?.Equals(other.State) ?? true)); }
public bool Equals(PipelineStateDescriptionWithHash other) { return(Hash == other.Hash && State.Equals(other.State)); }