Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Current
object System.Collections.Hashtable.HashtableEnumerator.Current
get
Implements
System.Collections.IEnumerator
.
Definition at line
297
of file
Hashtable.cs
.
298
{
299
get
300
{
301
if
(!
_current
)
302
{
303
throw
new
InvalidOperationException
(SR.InvalidOperation_EnumOpCantHappen);
304
}
305
if
(
_getObjectRetType
== 1)
306
{
307
return
_currentKey
;
308
}
309
if
(
_getObjectRetType
== 2)
310
{
311
return
_currentValue
;
312
}
313
return
new
DictionaryEntry(
_currentKey
,
_currentValue
);
314
}
315
}
System.Collections.Hashtable.HashtableEnumerator._current
bool _current
Definition
Hashtable.cs:265
System.Collections.Hashtable.HashtableEnumerator._currentKey
object _currentKey
Definition
Hashtable.cs:269
System.Collections.Hashtable.HashtableEnumerator._currentValue
object _currentValue
Definition
Hashtable.cs:271
System.Collections.Hashtable.HashtableEnumerator._getObjectRetType
readonly int _getObjectRetType
Definition
Hashtable.cs:267
System.Transactions.TransactionExceptionType.InvalidOperationException
@ InvalidOperationException
System
Collections
Hashtable
HashtableEnumerator
Generated by
1.10.0