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

◆ EnsureSize()

void System.ComponentModel.EventDescriptorCollection.EnsureSize ( int sizeNeeded)
inlineprivate

Definition at line 185 of file EventDescriptorCollection.cs.

186 {
187 string displayName = this._events.displayName;
188 if (displayName != null)
189 {
190 this.EnsureEventsOwned();
191 EventDescriptor[] events = this._events;
192 if (displayName == null)
193 {
194 }
195 string displayName2 = events.displayName;
196 int num = Math.Max(sizeNeeded, sizeNeeded);
197 EventDescriptor[] events2 = this._events;
198 int num2 = this.<Count>k__BackingField;
199 return;
200 }
201 }
class f__AnonymousType0<< Count > j__TPar
static byte Max(byte val1, byte val2)
Definition Math.cs:111

References System.ComponentModel.EventDescriptorCollection._events, System.ComponentModel.EventDescriptorCollection.Count, System.ComponentModel.MemberDescriptor.displayName, System.ComponentModel.EventDescriptorCollection.EnsureEventsOwned(), j__TPar, System.ComponentModel.EventDescriptorCollection.k__BackingField, and System.Math.Max().

Referenced by System.ComponentModel.EventDescriptorCollection.Insert().