14 public class Dictionary<TKey, TValue> :
IDictionary<TKey, TValue>,
ICollection<KeyValuePair<TKey, TValue>>,
IEnumerable<KeyValuePair<TKey, TValue>>,
IEnumerable,
IDictionary,
ICollection,
IReadOnlyDictionary<TKey, TValue>,
IReadOnlyCollection<KeyValuePair<TKey, TValue>>,
ISerializable,
IDeserializationCallback
206 public TValue
this[TKey
key]
366 info.AddValue(
"Comparer",
info, type);
372 info.AddValue(
"HashSize", (
int)num);
377 info.AddValue(
"KeyValuePairs", buckets,
type2);
395 long value = num.m_value;
469 if (
obj !=
null &&
obj ==
null)
589 int rank =
array.Rank;
591 if (
array.GetLowerBound((
int)num) != 0)
616 if (num2 == 0
L ||
num2 != 0
L)
1157 int rank =
array.Rank;
1159 if (
array.GetLowerBound((
int)num) != 0)
1179 if (keys ==
null || keys !=
null)
1243 return default(
bool);
1491 int rank =
array.Rank;
1493 if (
array.GetLowerBound((
int)num) != 0)
1572 return default(
bool);
class f__AnonymousType0<< Count > j__TPar
Dictionary< TKey, TValue >.KeyCollection.Enumerator GetEnumerator()
KeyCollection(Dictionary< TKey, TValue > dictionary)
void CopyTo(TKey[] array, int index)
Dictionary< TKey, TValue > _dictionary
Dictionary< TKey, TValue > _dictionary
ValueCollection(Dictionary< TKey, TValue > dictionary)
void CopyTo(TValue[] array, int index)
Dictionary< TKey, TValue >.ValueCollection.Enumerator GetEnumerator()
Dictionary< TKey, TValue >.KeyCollection _keys
IEqualityComparer< TKey > _comparer
bool ContainsKey(TKey key)
bool ContainsValue(TValue value)
const string HashSizeName
void CopyTo(KeyValuePair< TKey, TValue >[] array, int index)
Dictionary< TKey, TValue >.Entry[] _entries
bool TryInsert(TKey key, TValue value, InsertionBehavior behavior)
const string KeyValuePairsName
Dictionary(int capacity, IEqualityComparer< TKey > comparer)
int Initialize(int capacity)
static bool IsCompatibleKey(object key)
bool TryGetValue(TKey key, [Out] TValue value)
Dictionary(SerializationInfo info, StreamingContext context)
void Resize(int newSize, bool forceNewHashCodes)
Dictionary< TKey, TValue >.KeyCollection Keys
Dictionary< TKey, TValue >.ValueCollection Values
bool TryAdd(TKey key, TValue value)
Dictionary< TKey, TValue >.ValueCollection _values
virtual void GetObjectData(SerializationInfo info, StreamingContext context)
Dictionary(IDictionary< TKey, TValue > dictionary, IEqualityComparer< TKey > comparer)
Dictionary(IDictionary< TKey, TValue > dictionary)
virtual void OnDeserialization(object sender)
Dictionary< TKey, TValue >.Enumerator GetEnumerator()
Dictionary(IEqualityComparer< TKey > comparer)
const string ComparerName
void Add(TKey key, TValue value)
static int GetPrime(int min)
static int ExpandPrime(int oldSize)
static ConditionalWeakTable< object, SerializationInfo > SerializationInfoTable
void AddValue(string name, object value, Type type)
static void ThrowArgumentNullException(ExceptionArgument argument)
static void ThrowArgumentException_Argument_InvalidArrayType()
static void ThrowNotSupportedException()
static void ThrowInvalidOperationException_InvalidOperation_EnumFailedVersion()
static void ThrowIndexArgumentOutOfRange_NeedNonNegNumException()
static void ThrowInvalidOperationException_ConcurrentOperationsNotSupported()
void CopyTo(T[] array, int arrayIndex)
ICollection< TValue > Values
void Add(TKey key, TValue value)
IEnumerator< T > GetEnumerator()
Dictionary< TKey, TValue > _dictionary
int _getEnumeratorRetType
KeyValuePair< TKey, TValue > Current
Enumerator(Dictionary< TKey, TValue > dictionary, int getEnumeratorRetType)
KeyValuePair< TKey, TValue > _current
Enumerator(Dictionary< TKey, TValue > dictionary)
Dictionary< TKey, TValue > _dictionary
Enumerator(Dictionary< TKey, TValue > dictionary)
Dictionary< TKey, TValue > _dictionary