2018-05-26 00:28:02 +02:00
|
|
|
# System.Collections.Generic
|
|
|
|
|
|
|
|
``` diff
|
|
|
|
namespace System.Collections.Generic {
|
|
|
|
public class Dictionary<TKey, TValue> : ICollection, ICollection<KeyValuePair<TKey, TValue>>, IDeserializationCallback, IDictionary, IDictionary<TKey, TValue>, IEnumerable, IEnumerable<KeyValuePair<TKey, TValue>>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IReadOnlyDictionary<TKey, TValue>, ISerializable {
|
|
|
|
+ public int EnsureCapacity(int capacity);
|
|
|
|
+ public void TrimExcess();
|
|
|
|
+ public void TrimExcess(int capacity);
|
|
|
|
}
|
|
|
|
public class HashSet<T> : ICollection<T>, IDeserializationCallback, IEnumerable, IEnumerable<T>, IReadOnlyCollection<T>, ISerializable, ISet<T> {
|
|
|
|
+ public int EnsureCapacity(int capacity);
|
|
|
|
}
|
|
|
|
- public class KeyNotFoundException : SystemException, ISerializable
|
|
|
|
+ public class KeyNotFoundException : SystemException
|
2018-06-06 20:43:50 +02:00
|
|
|
- public struct KeyValuePair<TKey, TValue>
|
|
|
|
+ public readonly struct KeyValuePair<TKey, TValue>
|
2018-05-26 00:28:02 +02:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|