예제 #1
0
            /// <summary>
            /// Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.
            /// </summary>
            /// <param name="other">The collection to compare to the current set.</param>
            public void SymmetricExceptWith(IEnumerable <T> other)
            {
                var result = ImmutableHashSet <T> .SymmetricExcept(other, this.Origin);

                this.Apply(result);
            }