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

◆ GetEditor()

virtual object System.ComponentModel.PropertyDescriptor.GetEditor ( Type editorBaseType)
inlinevirtualinherited

Definition at line 182 of file PropertyDescriptor.cs.

183 {
184 if (this._editorTypes != null)
185 {
186 if (this._editorCount == 0)
187 {
188 }
190 }
191 if (this != null)
192 {
193 string displayName = this.displayName;
194 Type typeFromName = this.GetTypeFromName(displayName);
195 bool flag = editorBaseType == typeFromName;
196 int nameHash = this.nameHash;
197 }
198 if (this._editorTypes == null)
199 {
201 }
202 int editorCount = this._editorCount;
203 object[] editors = this._editors;
205 object[] editors2 = this._editors;
206 int editorCount2 = this._editorCount;
207 if (editorBaseType != null)
208 {
209 if (editorBaseType == null)
210 {
211 goto IL_00B1;
212 }
213 int editorCount3 = this._editorCount;
214 }
215 object[] editors3 = this._editors;
216 object obj;
217 if (obj == null || obj != null)
218 {
219 return obj;
220 }
221 IL_00B1:
222 throw new ArrayTypeMismatchException();
223 }
class f__AnonymousType0<< Count > j__TPar

References System.ComponentModel.PropertyDescriptor._editorCount, System.ComponentModel.PropertyDescriptor._editors, System.ComponentModel.PropertyDescriptor._editorTypes, System.ComponentModel.MemberDescriptor.displayName, System.ComponentModel.PropertyDescriptor.GetTypeFromName(), j__TPar, System.ComponentModel.MemberDescriptor.nameHash, and System.obj.