public SequenceValue(Sequence sequence) { if (sequence == null) { throw new NullReferenceException(); } this.sequence = sequence; }