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: 0x0200036D RID: 877
[Token(Token = "0x200036D")]
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: 0x0600176F RID: 5999
[Token(Token = "0x600176F")]
[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: 0x06001770 RID: 6000
[Token(Token = "0x6001770")]
[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: 0x06001771 RID: 6001
[Token(Token = "0x6001771")]
[Address(Slot = "2")]
void IntersectWith(IEnumerable other);
}
}