terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ CanFormatWith()

bool Terraria.Localization.LocalizedText.CanFormatWith ( object obj)
inline

Definition at line 77 of file LocalizedText.cs.

78 {
80 IEnumerator enumerator;
81 Group group;
82 do
83 {
84 if (!true)
85 {
86 }
87 properties = TypeDescriptor.GetProperties(obj);
88 string text = this.<Value>k__BackingField;
90 enumerator = matchCollection.GetEnumerator();
91 if (properties == null || properties == null)
92 {
93 goto IL_003C;
94 }
95 }
96 while (group.<Length>k__BackingField == 0);
97 if (properties != null)
98 {
99 }
102 IL_003C:
103 long num = 0L;
104 if (enumerator != null)
105 {
106 }
107 if (num == 0L)
108 {
109 throw new InvalidCastException();
110 }
111 throw new OutOfMemoryException();
112 }
class f__AnonymousType0<< Count > j__TPar
static PropertyDescriptorCollection GetProperties(Type componentType)

References System.ComponentModel.TypeDescriptor.GetProperties(), j__TPar, Terraria.Localization.LocalizedText.k__BackingField, System.L, System.obj, System.text, and Terraria.Localization.LocalizedText.Value.