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

◆ Entry

DictionaryEntry System.Resources.ResourceReader.ResourceEnumerator.Entry
get

Implements System.Collections.IDictionaryEnumerator.

Definition at line 48 of file ResourceReader.cs.

49 {
50 get
51 {
52 if (_currentName == int.MinValue)
53 {
54 throw new InvalidOperationException(SR.InvalidOperation_EnumEnded);
55 }
56 if (!_currentIsValid)
57 {
58 throw new InvalidOperationException(SR.InvalidOperation_EnumNotStarted);
59 }
60 if (_reader._resCache == null)
61 {
62 throw new InvalidOperationException(SR.ResourceReaderIsClosed);
63 }
64 object obj = null;
65 string key;
67 {
69 {
72 {
73 obj = value.Value;
74 }
75 if (obj == null)
76 {
78 }
79 }
80 }
81 return new DictionaryEntry(key, obj);
82 }
83 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
unsafe string AllocateStringForNameIndex(int index, out int dataOffset)
object GetValueForNameIndex(int index)
Dictionary< string, ResourceLocator > _resCache