private void initialize() { if (this.initialized) { return; } MonoGenericClass monoGenericClass = this.GetParentType() as MonoGenericClass; if (monoGenericClass != null) { monoGenericClass.initialize(); } EventInfo[] events_internal = this.generic_type.GetEvents_internal(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic); this.event_count = events_internal.Length; this.initialize(this.generic_type.GetMethods(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic), this.generic_type.GetConstructorsInternal(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic), this.generic_type.GetFields(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic), this.generic_type.GetProperties(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic), events_internal); this.initialized = true; }
void initialize() { if (initialized) { return; } MonoGenericClass parent = GetParentType() as MonoGenericClass; if (parent != null) { parent.initialize(); } initialize(generic_type.GetFields(flags)); initialized = true; }
void initialize() { if (initialized) { return; } MonoGenericClass parent = GetParentType() as MonoGenericClass; if (parent != null) { parent.initialize(); } initialize(generic_type.GetMethods(flags), generic_type.GetConstructors(flags), generic_type.GetFields(flags), generic_type.GetProperties(flags), get_event_info()); initialized = true; }
void initialize() { if (initialized) { return; } MonoGenericClass parent = GetParentType() as MonoGenericClass; if (parent != null) { parent.initialize(); } EventInfo[] events = generic_type.GetEvents_internal(flags); event_count = events.Length; initialize(generic_type.GetMethods(flags), generic_type.GetConstructorsInternal(flags), generic_type.GetFields(flags), generic_type.GetProperties(flags), events); initialized = true; }