/// <summary> /// Complement the specified string in this set. /// The set will not contain the specified string once the call /// returns. /// <para/> /// <b>Warning: you cannot add an empty string ("") to a UnicodeSet.</b> /// </summary> /// <param name="set">This set.</param> /// <param name="s">The string to complement.</param> /// <returns>This object, for chaining.</returns> /// <draft>ICU4N 60.1</draft> /// <provisional>This API might change or be removed in a future release.</provisional> public static UnicodeSet Complement(this UnicodeSet set, ICharSequence s) { if (set == null) { throw new ArgumentNullException(nameof(set)); } return(set.Complement(s)); }
/// <summary> /// Complement the specified string in this set. /// The set will not contain the specified string once the call /// returns. /// <para/> /// <b>Warning: you cannot add an empty string ("") to a UnicodeSet.</b> /// </summary> /// <param name="set">This set.</param> /// <param name="s">The string to complement.</param> /// <returns>This object, for chaining.</returns> /// <draft>ICU4N 60.1</draft> /// <provisional>This API might change or be removed in a future release.</provisional> public static UnicodeSet Complement(this UnicodeSet set, StringBuilder s) { if (set == null) { throw new ArgumentNullException(nameof(set)); } return(set.Complement(s)); }