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

◆ Resolve()

Type System.TypeSpec.Resolve ( Func< AssemblyName, Assembly > assemblyResolver,
Func< Assembly, string, bool, Type > typeResolver,
bool throwOnError,
bool ignoreCase,
StackCrawlMark stackMark )
inlinepackage

Definition at line 123 of file TypeSpec.cs.

124 {
125 int num = 1;
126 string text;
127 if (typeResolver == null && assemblyResolver == null)
128 {
129 if (this.display_fullname == null)
130 {
132 }
133 if (num == 0)
134 {
135 }
136 }
137 string text2 = this.assembly_name;
138 string text4;
139 if (text2 != null)
140 {
141 if (assemblyResolver != null)
142 {
143 }
144 Assembly assembly = Assembly.Load(text2);
145 string text3 = this.assembly_name;
146 text4 = "Could not resolve assembly '" + text3 + "'";
147 }
148 int stringLength = text4._stringLength;
149 int value = stringLength.m_value;
150 if (text != null)
151 {
152 }
153 if (text4._stringLength == 0)
154 {
155 return "Could not resolve type '";
156 }
157 long num2;
158 if (num2 == 0L)
159 {
160 return "Could not resolve type '";
161 }
162 string text5;
163 int stringLength2 = text5._stringLength;
164 throw new OutOfMemoryException();
165 }
class f__AnonymousType0<< Count > j__TPar
static Assembly Load(string assemblyString)
Definition Assembly.cs:267
string assembly_name
Definition TypeSpec.cs:234
string display_fullname
Definition TypeSpec.cs:249

References System.TypeSpec.assembly_name, System.TypeSpec.display_fullname, j__TPar, System.L, System.Reflection.Assembly.Load(), System.text, and System.value.