m
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Collections.Generic
|
||||
{
|
||||
/// <summary>Provides the base interface for the abstraction of sets.</summary>
|
||||
/// <typeparam name="T">The type of elements in the set.</typeparam>
|
||||
// Token: 0x0200036D RID: 877
|
||||
[Token(Token = "0x200036D")]
|
||||
public interface ISet<T> : ICollection<T>, IEnumerable<T>, IEnumerable
|
||||
{
|
||||
/// <summary>Adds an element to the current set and returns a value to indicate if the element was successfully added.</summary>
|
||||
/// <param name="item">The element to add to the set.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
|
||||
// Token: 0x0600176F RID: 5999
|
||||
[Token(Token = "0x600176F")]
|
||||
[Address(Slot = "0")]
|
||||
bool Add(T item);
|
||||
|
||||
/// <summary>Modifies the current set so that it contains all elements that are present in the current set, in the specified collection, or in both.</summary>
|
||||
/// <param name="other">The collection to compare to the current set.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="other" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06001770 RID: 6000
|
||||
[Token(Token = "0x6001770")]
|
||||
[Address(Slot = "1")]
|
||||
void UnionWith(IEnumerable<T> other);
|
||||
|
||||
/// <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
|
||||
/// <param name="other">The collection to compare to the current set.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="other" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06001771 RID: 6001
|
||||
[Token(Token = "0x6001771")]
|
||||
[Address(Slot = "2")]
|
||||
void IntersectWith(IEnumerable<T> other);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user