public override void CopyFrom(TermState other) { if (Debugging.AssertsEnabled) { Debugging.Assert(other is OrdTermState, () => "can not copy from " + other.GetType().Name); } this.Ord = ((OrdTermState)other).Ord; }
public override void CopyFrom(TermState other) { Debug.Assert(other is OrdTermState, "can not copy from " + other.GetType().Name); this.Ord = ((OrdTermState)other).Ord; }