using System;
using Cpp2IlInjected;
namespace System.Collections.Generic
{
/// Provides the base interface for the abstraction of sets.
/// The type of elements in the set.
// Token: 0x02000371 RID: 881
[Token(Token = "0x2000371")]
public interface ISet : ICollection, IEnumerable, IEnumerable
{
/// Adds an element to the current set and returns a value to indicate if the element was successfully added.
/// The element to add to the set.
///
/// if the element is added to the set; if the element is already in the set.
// Token: 0x06001786 RID: 6022
[Token(Token = "0x6001786")]
[Address(Slot = "0")]
bool Add(T item);
/// Modifies the current set so that it contains all elements that are present in the current set, in the specified collection, or in both.
/// The collection to compare to the current set.
///
/// is .
// Token: 0x06001787 RID: 6023
[Token(Token = "0x6001787")]
[Address(Slot = "1")]
void UnionWith(IEnumerable other);
/// Modifies the current set so that it contains only elements that are also in a specified collection.
/// The collection to compare to the current set.
///
/// is .
// Token: 0x06001788 RID: 6024
[Token(Token = "0x6001788")]
[Address(Slot = "2")]
void IntersectWith(IEnumerable other);
}
}