/// <summary> /// Initializes this instance with default values or values copied from another instance. /// </summary> /// <param name="cloneOptions">If not null, copies its options into this variable.</param> internal OptWarnings(OptWarnings cloneOptions = null) { if (cloneOptions != null) { _Copy(cloneOptions); } }
void _Copy(OptWarnings o) { _o = o._o; _disabledWarnings = o._disabledWarnings == null ? null : new List <string>(o._disabledWarnings); }