Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Key

object IDictionaryEnumerator. System.Collections.Generic.Dictionary< TKey, TValue >.Enumerator.Key
get

Implements System.Collections.IDictionaryEnumerator.

Definition at line 178 of file Dictionary.cs.

179 {
180 get
181 {
182 if (_index == 0 || _index == _dictionary._count + 1)
183 {
184 ThrowHelper.ThrowInvalidOperationException_InvalidOperation_EnumOpCantHappen();
185 }
186 return _current.Key;
187 }
188 }
readonly Dictionary< TKey, TValue > _dictionary