Skip to main content

engage/generated/system/reflection/emit/
enumbuilder.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "system-reflection-emit-enumbuilder-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        reflection::{
11            memberinfo::{IMemberInfo, MemberInfo},
12            typeinfo::{ITypeInfo, TypeInfo},
13        },
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/system/reflection/emit/enumbuilder/EnumBuilder.md"))]
17    #[::unity::class(namespace = "System.Reflection.Emit", name = "EnumBuilder")]
18    #[parent(crate::system::reflection::typeinfo::TypeInfo)]
19    pub struct EnumBuilder {}
20}
21
22#[cfg(feature = "system-reflection-emit-enumbuilder-types")]
23pub use __types::*;
24
25#[cfg(feature = "system-reflection-emit-enumbuilder")]
26pub trait IEnumBuilderMethods: IEnumBuilder {
27    #[doc = "`get_Assembly()` overload"]
28    fn get_assembly(self) -> crate::system::reflection::assembly::Assembly {
29        unsafe {
30            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
31            {
32                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
33                let __vi = *__vt.get(25usize).unwrap_or_else(|| {
34                    panic!(
35                        "unity: virtual slot {}
36 out of range (vtable len {}
37) on the runtime class behind {}
38 (method `{}
39`)",
40                        25usize,
41                        __vt.len(),
42                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
43                        "get_Assembly",
44                    )
45                });
46                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> crate::system::reflection::assembly::Assembly =
47                    ::core::mem::transmute(__vi.method_ptr);
48                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
49                __inner(__receiver, __mi)
50            }
51        }
52    }
53    #[doc = "`get_AssemblyQualifiedName()` overload"]
54    fn get_assembly_qualified_name(self) -> ::unity::Il2CppString {
55        unsafe {
56            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
57            {
58                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
59                let __vi = *__vt.get(29usize).unwrap_or_else(|| {
60                    panic!(
61                        "unity: virtual slot {}
62 out of range (vtable len {}
63) on the runtime class behind {}
64 (method `{}
65`)",
66                        29usize,
67                        __vt.len(),
68                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
69                        "get_AssemblyQualifiedName",
70                    )
71                });
72                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
73                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
74                __inner(__receiver, __mi)
75            }
76        }
77    }
78    #[doc = "`get_BaseType()` overload"]
79    fn get_base_type(self) -> ::unity::SystemType {
80        unsafe {
81            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
82            {
83                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
84                let __vi = *__vt.get(31usize).unwrap_or_else(|| {
85                    panic!(
86                        "unity: virtual slot {}
87 out of range (vtable len {}
88) on the runtime class behind {}
89 (method `{}
90`)",
91                        31usize,
92                        __vt.len(),
93                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
94                        "get_BaseType",
95                    )
96                });
97                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__vi.method_ptr);
98                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
99                __inner(__receiver, __mi)
100            }
101        }
102    }
103    #[doc = "`get_FullName()` overload"]
104    fn get_full_name(self) -> ::unity::Il2CppString {
105        unsafe {
106            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107            {
108                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
109                let __vi = *__vt.get(27usize).unwrap_or_else(|| {
110                    panic!(
111                        "unity: virtual slot {}
112 out of range (vtable len {}
113) on the runtime class behind {}
114 (method `{}
115`)",
116                        27usize,
117                        __vt.len(),
118                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
119                        "get_FullName",
120                    )
121                });
122                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
123                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
124                __inner(__receiver, __mi)
125            }
126        }
127    }
128    #[doc = "`get_Module()` overload"]
129    fn get_module(self) -> crate::system::reflection::module::Module {
130        unsafe {
131            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
132            {
133                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
134                let __vi = *__vt.get(15usize).unwrap_or_else(|| {
135                    panic!(
136                        "unity: virtual slot {}
137 out of range (vtable len {}
138) on the runtime class behind {}
139 (method `{}
140`)",
141                        15usize,
142                        __vt.len(),
143                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
144                        "get_Module",
145                    )
146                });
147                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> crate::system::reflection::module::Module =
148                    ::core::mem::transmute(__vi.method_ptr);
149                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
150                __inner(__receiver, __mi)
151            }
152        }
153    }
154    #[doc = "`get_Name()` overload"]
155    fn get_name(self) -> ::unity::Il2CppString {
156        unsafe {
157            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
158            {
159                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
160                let __vi = *__vt.get(7usize).unwrap_or_else(|| {
161                    panic!(
162                        "unity: virtual slot {}
163 out of range (vtable len {}
164) on the runtime class behind {}
165 (method `{}
166`)",
167                        7usize,
168                        __vt.len(),
169                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
170                        "get_Name",
171                    )
172                });
173                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
174                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
175                __inner(__receiver, __mi)
176            }
177        }
178    }
179    #[doc = "`get_Namespace()` overload"]
180    fn get_namespace(self) -> ::unity::Il2CppString {
181        unsafe {
182            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
183            {
184                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
185                let __vi = *__vt.get(28usize).unwrap_or_else(|| {
186                    panic!(
187                        "unity: virtual slot {}
188 out of range (vtable len {}
189) on the runtime class behind {}
190 (method `{}
191`)",
192                        28usize,
193                        __vt.len(),
194                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
195                        "get_Namespace",
196                    )
197                });
198                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
199                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
200                __inner(__receiver, __mi)
201            }
202        }
203    }
204    #[doc = "`GetElementType()` overload"]
205    fn get_element_type(self) -> ::unity::SystemType {
206        unsafe {
207            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
208            {
209                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
210                let __vi = *__vt.get(107usize).unwrap_or_else(|| {
211                    panic!(
212                        "unity: virtual slot {}
213 out of range (vtable len {}
214) on the runtime class behind {}
215 (method `{}
216`)",
217                        107usize,
218                        __vt.len(),
219                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
220                        "GetElementType",
221                    )
222                });
223                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__vi.method_ptr);
224                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
225                __inner(__receiver, __mi)
226            }
227        }
228    }
229    #[doc = "`get_UnderlyingSystemType()` overload"]
230    fn get_underlying_system_type(self) -> ::unity::SystemType {
231        unsafe {
232            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
233            {
234                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
235                let __vi = *__vt.get(116usize).unwrap_or_else(|| {
236                    panic!(
237                        "unity: virtual slot {}
238 out of range (vtable len {}
239) on the runtime class behind {}
240 (method `{}
241`)",
242                        116usize,
243                        __vt.len(),
244                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
245                        "get_UnderlyingSystemType",
246                    )
247                });
248                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__vi.method_ptr);
249                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
250                __inner(__receiver, __mi)
251            }
252        }
253    }
254    #[doc = "`GetAttributeFlagsImpl()` overload"]
255    fn get_attribute_flags_impl(self) -> crate::system::reflection::typeattributes::TypeAttributes {
256        unsafe {
257            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
258            {
259                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
260                let __vi = *__vt.get(98usize).unwrap_or_else(|| {
261                    panic!(
262                        "unity: virtual slot {}
263 out of range (vtable len {}
264) on the runtime class behind {}
265 (method `{}
266`)",
267                        98usize,
268                        __vt.len(),
269                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
270                        "GetAttributeFlagsImpl",
271                    )
272                });
273                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> crate::system::reflection::typeattributes::TypeAttributes =
274                    ::core::mem::transmute(__vi.method_ptr);
275                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
276                __inner(__receiver, __mi)
277            }
278        }
279    }
280    #[doc = "`GetConstructorImpl(crate::system::reflection::bindingflags::BindingFlags, crate::system::reflection::binder::Binder, crate::system::reflection::callingconventions::CallingConventions, ::unity::Array<::unity::SystemType>, ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>)` overload"]
281    fn get_constructor_impl(
282        self,
283        binding_attr: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
284        binder: impl ::core::convert::Into<crate::system::reflection::binder::Binder>,
285        call_convention: impl ::core::convert::Into<crate::system::reflection::callingconventions::CallingConventions>,
286        types: impl ::core::convert::Into<::unity::Array<::unity::SystemType>>,
287        modifiers: impl ::core::convert::Into<::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>>,
288    ) -> crate::system::reflection::constructorinfo::ConstructorInfo {
289        unsafe {
290            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
291            {
292                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
293                let __vi = *__vt.get(35usize).unwrap_or_else(|| {
294                    panic!(
295                        "unity: virtual slot {}
296 out of range (vtable len {}
297) on the runtime class behind {}
298 (method `{}
299`)",
300                        35usize,
301                        __vt.len(),
302                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
303                        "GetConstructorImpl",
304                    )
305                });
306                let __inner: extern "C" fn(
307                    EnumBuilder,
308                    crate::system::reflection::bindingflags::BindingFlags,
309                    crate::system::reflection::binder::Binder,
310                    crate::system::reflection::callingconventions::CallingConventions,
311                    ::unity::Array<::unity::SystemType>,
312                    ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>,
313                    ::unity::OptionalMethod,
314                ) -> crate::system::reflection::constructorinfo::ConstructorInfo = ::core::mem::transmute(__vi.method_ptr);
315                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
316                __inner(
317                    __receiver,
318                    ::core::convert::Into::into(binding_attr),
319                    ::core::convert::Into::into(binder),
320                    ::core::convert::Into::into(call_convention),
321                    ::core::convert::Into::into(types),
322                    ::core::convert::Into::into(modifiers),
323                    __mi,
324                )
325            }
326        }
327    }
328    #[doc = "`GetConstructors(crate::system::reflection::bindingflags::BindingFlags)` overload"]
329    fn get_constructors(
330        self,
331        binding_attr: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
332    ) -> ::unity::Array<crate::system::reflection::constructorinfo::ConstructorInfo> {
333        unsafe {
334            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
335            {
336                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
337                let __vi = *__vt.get(36usize).unwrap_or_else(|| {
338                    panic!(
339                        "unity: virtual slot {}
340 out of range (vtable len {}
341) on the runtime class behind {}
342 (method `{}
343`)",
344                        36usize,
345                        __vt.len(),
346                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
347                        "GetConstructors",
348                    )
349                });
350                let __inner: extern "C" fn(
351                    EnumBuilder,
352                    crate::system::reflection::bindingflags::BindingFlags,
353                    ::unity::OptionalMethod,
354                ) -> ::unity::Array<crate::system::reflection::constructorinfo::ConstructorInfo> = ::core::mem::transmute(__vi.method_ptr);
355                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
356                __inner(__receiver, ::core::convert::Into::into(binding_attr), __mi)
357            }
358        }
359    }
360    #[doc = "`GetCustomAttributes(bool)` overload"]
361    fn get_custom_attributes(self, inherit: impl ::core::convert::Into<bool>) -> ::unity::Array<crate::system::object::Object> {
362        unsafe {
363            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
364            {
365                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
366                let __vi = *__vt.get(10usize).unwrap_or_else(|| {
367                    panic!(
368                        "unity: virtual slot {}
369 out of range (vtable len {}
370) on the runtime class behind {}
371 (method `{}
372`)",
373                        10usize,
374                        __vt.len(),
375                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
376                        "GetCustomAttributes",
377                    )
378                });
379                let __inner: extern "C" fn(EnumBuilder, bool, ::unity::OptionalMethod) -> ::unity::Array<crate::system::object::Object> =
380                    ::core::mem::transmute(__vi.method_ptr);
381                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
382                __inner(__receiver, ::core::convert::Into::into(inherit), __mi)
383            }
384        }
385    }
386    #[doc = "`GetCustomAttributes(::unity::SystemType, bool)` overload"]
387    fn get_custom_attributes_2(
388        self,
389        attribute_type: impl ::core::convert::Into<::unity::SystemType>,
390        inherit: impl ::core::convert::Into<bool>,
391    ) -> ::unity::Array<crate::system::object::Object> {
392        unsafe {
393            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
394            {
395                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
396                let __vi = *__vt.get(11usize).unwrap_or_else(|| {
397                    panic!(
398                        "unity: virtual slot {}
399 out of range (vtable len {}
400) on the runtime class behind {}
401 (method `{}
402`)",
403                        11usize,
404                        __vt.len(),
405                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
406                        "GetCustomAttributes",
407                    )
408                });
409                let __inner: extern "C" fn(
410                    EnumBuilder,
411                    ::unity::SystemType,
412                    bool,
413                    ::unity::OptionalMethod,
414                ) -> ::unity::Array<crate::system::object::Object> = ::core::mem::transmute(__vi.method_ptr);
415                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
416                __inner(
417                    __receiver,
418                    ::core::convert::Into::into(attribute_type),
419                    ::core::convert::Into::into(inherit),
420                    __mi,
421                )
422            }
423        }
424    }
425    #[doc = "`GetEvent(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags)` overload"]
426    fn get_event(
427        self,
428        name: impl ::core::convert::Into<::unity::Il2CppString>,
429        binding_attr: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
430    ) -> crate::system::reflection::eventinfo::EventInfo {
431        unsafe {
432            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
433            {
434                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
435                let __vi = *__vt.get(49usize).unwrap_or_else(|| {
436                    panic!(
437                        "unity: virtual slot {}
438 out of range (vtable len {}
439) on the runtime class behind {}
440 (method `{}
441`)",
442                        49usize,
443                        __vt.len(),
444                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
445                        "GetEvent",
446                    )
447                });
448                let __inner: extern "C" fn(
449                    EnumBuilder,
450                    ::unity::Il2CppString,
451                    crate::system::reflection::bindingflags::BindingFlags,
452                    ::unity::OptionalMethod,
453                ) -> crate::system::reflection::eventinfo::EventInfo = ::core::mem::transmute(__vi.method_ptr);
454                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
455                __inner(
456                    __receiver,
457                    ::core::convert::Into::into(name),
458                    ::core::convert::Into::into(binding_attr),
459                    __mi,
460                )
461            }
462        }
463    }
464    #[doc = "`GetEvents(crate::system::reflection::bindingflags::BindingFlags)` overload"]
465    fn get_events(
466        self,
467        binding_attr: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
468    ) -> ::unity::Array<crate::system::reflection::eventinfo::EventInfo> {
469        unsafe {
470            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
471            {
472                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
473                let __vi = *__vt.get(50usize).unwrap_or_else(|| {
474                    panic!(
475                        "unity: virtual slot {}
476 out of range (vtable len {}
477) on the runtime class behind {}
478 (method `{}
479`)",
480                        50usize,
481                        __vt.len(),
482                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
483                        "GetEvents",
484                    )
485                });
486                let __inner: extern "C" fn(
487                    EnumBuilder,
488                    crate::system::reflection::bindingflags::BindingFlags,
489                    ::unity::OptionalMethod,
490                ) -> ::unity::Array<crate::system::reflection::eventinfo::EventInfo> = ::core::mem::transmute(__vi.method_ptr);
491                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
492                __inner(__receiver, ::core::convert::Into::into(binding_attr), __mi)
493            }
494        }
495    }
496    #[doc = "`GetField(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags)` overload"]
497    fn get_field(
498        self,
499        name: impl ::core::convert::Into<::unity::Il2CppString>,
500        binding_attr: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
501    ) -> crate::system::reflection::fieldinfo::FieldInfo {
502        unsafe {
503            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
504            {
505                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
506                let __vi = *__vt.get(44usize).unwrap_or_else(|| {
507                    panic!(
508                        "unity: virtual slot {}
509 out of range (vtable len {}
510) on the runtime class behind {}
511 (method `{}
512`)",
513                        44usize,
514                        __vt.len(),
515                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
516                        "GetField",
517                    )
518                });
519                let __inner: extern "C" fn(
520                    EnumBuilder,
521                    ::unity::Il2CppString,
522                    crate::system::reflection::bindingflags::BindingFlags,
523                    ::unity::OptionalMethod,
524                ) -> crate::system::reflection::fieldinfo::FieldInfo = ::core::mem::transmute(__vi.method_ptr);
525                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
526                __inner(
527                    __receiver,
528                    ::core::convert::Into::into(name),
529                    ::core::convert::Into::into(binding_attr),
530                    __mi,
531                )
532            }
533        }
534    }
535    #[doc = "`GetFields(crate::system::reflection::bindingflags::BindingFlags)` overload"]
536    fn get_fields(
537        self,
538        binding_attr: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
539    ) -> ::unity::Array<crate::system::reflection::fieldinfo::FieldInfo> {
540        unsafe {
541            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
542            {
543                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
544                let __vi = *__vt.get(45usize).unwrap_or_else(|| {
545                    panic!(
546                        "unity: virtual slot {}
547 out of range (vtable len {}
548) on the runtime class behind {}
549 (method `{}
550`)",
551                        45usize,
552                        __vt.len(),
553                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
554                        "GetFields",
555                    )
556                });
557                let __inner: extern "C" fn(
558                    EnumBuilder,
559                    crate::system::reflection::bindingflags::BindingFlags,
560                    ::unity::OptionalMethod,
561                ) -> ::unity::Array<crate::system::reflection::fieldinfo::FieldInfo> = ::core::mem::transmute(__vi.method_ptr);
562                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
563                __inner(__receiver, ::core::convert::Into::into(binding_attr), __mi)
564            }
565        }
566    }
567    #[doc = "`GetInterface(::unity::Il2CppString, bool)` overload"]
568    fn get_interface(
569        self,
570        name: impl ::core::convert::Into<::unity::Il2CppString>,
571        ignore_case: impl ::core::convert::Into<bool>,
572    ) -> ::unity::SystemType {
573        unsafe {
574            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
575            {
576                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
577                let __vi = *__vt.get(47usize).unwrap_or_else(|| {
578                    panic!(
579                        "unity: virtual slot {}
580 out of range (vtable len {}
581) on the runtime class behind {}
582 (method `{}
583`)",
584                        47usize,
585                        __vt.len(),
586                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
587                        "GetInterface",
588                    )
589                });
590                let __inner: extern "C" fn(EnumBuilder, ::unity::Il2CppString, bool, ::unity::OptionalMethod) -> ::unity::SystemType =
591                    ::core::mem::transmute(__vi.method_ptr);
592                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
593                __inner(
594                    __receiver,
595                    ::core::convert::Into::into(name),
596                    ::core::convert::Into::into(ignore_case),
597                    __mi,
598                )
599            }
600        }
601    }
602    #[doc = "`GetInterfaces()` overload"]
603    fn get_interfaces(self) -> ::unity::Array<::unity::SystemType> {
604        unsafe {
605            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
606            {
607                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
608                let __vi = *__vt.get(48usize).unwrap_or_else(|| {
609                    panic!(
610                        "unity: virtual slot {}
611 out of range (vtable len {}
612) on the runtime class behind {}
613 (method `{}
614`)",
615                        48usize,
616                        __vt.len(),
617                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
618                        "GetInterfaces",
619                    )
620                });
621                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> ::unity::Array<::unity::SystemType> =
622                    ::core::mem::transmute(__vi.method_ptr);
623                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
624                __inner(__receiver, __mi)
625            }
626        }
627    }
628    #[doc = "`GetMethodImpl(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags, crate::system::reflection::binder::Binder, crate::system::reflection::callingconventions::CallingConventions, ::unity::Array<::unity::SystemType>, ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>)` overload"]
629    fn get_method_impl(
630        self,
631        name: impl ::core::convert::Into<::unity::Il2CppString>,
632        binding_attr: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
633        binder: impl ::core::convert::Into<crate::system::reflection::binder::Binder>,
634        call_convention: impl ::core::convert::Into<crate::system::reflection::callingconventions::CallingConventions>,
635        types: impl ::core::convert::Into<::unity::Array<::unity::SystemType>>,
636        modifiers: impl ::core::convert::Into<::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>>,
637    ) -> crate::system::reflection::methodinfo::MethodInfo {
638        unsafe {
639            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
640            {
641                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
642                let __vi = *__vt.get(41usize).unwrap_or_else(|| {
643                    panic!(
644                        "unity: virtual slot {}
645 out of range (vtable len {}
646) on the runtime class behind {}
647 (method `{}
648`)",
649                        41usize,
650                        __vt.len(),
651                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
652                        "GetMethodImpl",
653                    )
654                });
655                let __inner: extern "C" fn(
656                    EnumBuilder,
657                    ::unity::Il2CppString,
658                    crate::system::reflection::bindingflags::BindingFlags,
659                    crate::system::reflection::binder::Binder,
660                    crate::system::reflection::callingconventions::CallingConventions,
661                    ::unity::Array<::unity::SystemType>,
662                    ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>,
663                    ::unity::OptionalMethod,
664                ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__vi.method_ptr);
665                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
666                __inner(
667                    __receiver,
668                    ::core::convert::Into::into(name),
669                    ::core::convert::Into::into(binding_attr),
670                    ::core::convert::Into::into(binder),
671                    ::core::convert::Into::into(call_convention),
672                    ::core::convert::Into::into(types),
673                    ::core::convert::Into::into(modifiers),
674                    __mi,
675                )
676            }
677        }
678    }
679    #[doc = "`GetMethods(crate::system::reflection::bindingflags::BindingFlags)` overload"]
680    fn get_methods(
681        self,
682        binding_attr: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
683    ) -> ::unity::Array<crate::system::reflection::methodinfo::MethodInfo> {
684        unsafe {
685            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
686            {
687                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
688                let __vi = *__vt.get(43usize).unwrap_or_else(|| {
689                    panic!(
690                        "unity: virtual slot {}
691 out of range (vtable len {}
692) on the runtime class behind {}
693 (method `{}
694`)",
695                        43usize,
696                        __vt.len(),
697                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
698                        "GetMethods",
699                    )
700                });
701                let __inner: extern "C" fn(
702                    EnumBuilder,
703                    crate::system::reflection::bindingflags::BindingFlags,
704                    ::unity::OptionalMethod,
705                ) -> ::unity::Array<crate::system::reflection::methodinfo::MethodInfo> = ::core::mem::transmute(__vi.method_ptr);
706                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
707                __inner(__receiver, ::core::convert::Into::into(binding_attr), __mi)
708            }
709        }
710    }
711    #[doc = "`GetNestedType(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags)` overload"]
712    fn get_nested_type(
713        self,
714        name: impl ::core::convert::Into<::unity::Il2CppString>,
715        binding_attr: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
716    ) -> ::unity::SystemType {
717        unsafe {
718            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
719            {
720                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
721                let __vi = *__vt.get(59usize).unwrap_or_else(|| {
722                    panic!(
723                        "unity: virtual slot {}
724 out of range (vtable len {}
725) on the runtime class behind {}
726 (method `{}
727`)",
728                        59usize,
729                        __vt.len(),
730                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
731                        "GetNestedType",
732                    )
733                });
734                let __inner: extern "C" fn(
735                    EnumBuilder,
736                    ::unity::Il2CppString,
737                    crate::system::reflection::bindingflags::BindingFlags,
738                    ::unity::OptionalMethod,
739                ) -> ::unity::SystemType = ::core::mem::transmute(__vi.method_ptr);
740                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
741                __inner(
742                    __receiver,
743                    ::core::convert::Into::into(name),
744                    ::core::convert::Into::into(binding_attr),
745                    __mi,
746                )
747            }
748        }
749    }
750    #[doc = "`GetNestedTypes(crate::system::reflection::bindingflags::BindingFlags)` overload"]
751    fn get_nested_types(
752        self,
753        binding_attr: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
754    ) -> ::unity::Array<::unity::SystemType> {
755        unsafe {
756            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
757            {
758                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
759                let __vi = *__vt.get(58usize).unwrap_or_else(|| {
760                    panic!(
761                        "unity: virtual slot {}
762 out of range (vtable len {}
763) on the runtime class behind {}
764 (method `{}
765`)",
766                        58usize,
767                        __vt.len(),
768                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
769                        "GetNestedTypes",
770                    )
771                });
772                let __inner: extern "C" fn(
773                    EnumBuilder,
774                    crate::system::reflection::bindingflags::BindingFlags,
775                    ::unity::OptionalMethod,
776                ) -> ::unity::Array<::unity::SystemType> = ::core::mem::transmute(__vi.method_ptr);
777                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
778                __inner(__receiver, ::core::convert::Into::into(binding_attr), __mi)
779            }
780        }
781    }
782    #[doc = "`GetProperties(crate::system::reflection::bindingflags::BindingFlags)` overload"]
783    fn get_properties(
784        self,
785        binding_attr: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
786    ) -> ::unity::Array<crate::system::reflection::propertyinfo::PropertyInfo> {
787        unsafe {
788            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
789            {
790                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
791                let __vi = *__vt.get(56usize).unwrap_or_else(|| {
792                    panic!(
793                        "unity: virtual slot {}
794 out of range (vtable len {}
795) on the runtime class behind {}
796 (method `{}
797`)",
798                        56usize,
799                        __vt.len(),
800                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
801                        "GetProperties",
802                    )
803                });
804                let __inner: extern "C" fn(
805                    EnumBuilder,
806                    crate::system::reflection::bindingflags::BindingFlags,
807                    ::unity::OptionalMethod,
808                ) -> ::unity::Array<crate::system::reflection::propertyinfo::PropertyInfo> = ::core::mem::transmute(__vi.method_ptr);
809                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
810                __inner(__receiver, ::core::convert::Into::into(binding_attr), __mi)
811            }
812        }
813    }
814    #[doc = "`GetPropertyImpl(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags, crate::system::reflection::binder::Binder, ::unity::SystemType, ::unity::Array<::unity::SystemType>, ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>)` overload"]
815    fn get_property_impl(
816        self,
817        name: impl ::core::convert::Into<::unity::Il2CppString>,
818        binding_attr: impl ::core::convert::Into<crate::system::reflection::bindingflags::BindingFlags>,
819        binder: impl ::core::convert::Into<crate::system::reflection::binder::Binder>,
820        return_type: impl ::core::convert::Into<::unity::SystemType>,
821        types: impl ::core::convert::Into<::unity::Array<::unity::SystemType>>,
822        modifiers: impl ::core::convert::Into<::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>>,
823    ) -> crate::system::reflection::propertyinfo::PropertyInfo {
824        unsafe {
825            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
826            {
827                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
828                let __vi = *__vt.get(55usize).unwrap_or_else(|| {
829                    panic!(
830                        "unity: virtual slot {}
831 out of range (vtable len {}
832) on the runtime class behind {}
833 (method `{}
834`)",
835                        55usize,
836                        __vt.len(),
837                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
838                        "GetPropertyImpl",
839                    )
840                });
841                let __inner: extern "C" fn(
842                    EnumBuilder,
843                    ::unity::Il2CppString,
844                    crate::system::reflection::bindingflags::BindingFlags,
845                    crate::system::reflection::binder::Binder,
846                    ::unity::SystemType,
847                    ::unity::Array<::unity::SystemType>,
848                    ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>,
849                    ::unity::OptionalMethod,
850                ) -> crate::system::reflection::propertyinfo::PropertyInfo = ::core::mem::transmute(__vi.method_ptr);
851                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
852                __inner(
853                    __receiver,
854                    ::core::convert::Into::into(name),
855                    ::core::convert::Into::into(binding_attr),
856                    ::core::convert::Into::into(binder),
857                    ::core::convert::Into::into(return_type),
858                    ::core::convert::Into::into(types),
859                    ::core::convert::Into::into(modifiers),
860                    __mi,
861                )
862            }
863        }
864    }
865    #[doc = "`HasElementTypeImpl()` overload"]
866    fn has_element_type_impl(self) -> bool {
867        unsafe {
868            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
869            {
870                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
871                let __vi = *__vt.get(110usize).unwrap_or_else(|| {
872                    panic!(
873                        "unity: virtual slot {}
874 out of range (vtable len {}
875) on the runtime class behind {}
876 (method `{}
877`)",
878                        110usize,
879                        __vt.len(),
880                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
881                        "HasElementTypeImpl",
882                    )
883                });
884                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
885                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
886                __inner(__receiver, __mi)
887            }
888        }
889    }
890    #[doc = "`IsArrayImpl()` overload"]
891    fn is_array_impl(self) -> bool {
892        unsafe {
893            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
894            {
895                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
896                let __vi = *__vt.get(99usize).unwrap_or_else(|| {
897                    panic!(
898                        "unity: virtual slot {}
899 out of range (vtable len {}
900) on the runtime class behind {}
901 (method `{}
902`)",
903                        99usize,
904                        __vt.len(),
905                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
906                        "IsArrayImpl",
907                    )
908                });
909                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
910                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
911                __inner(__receiver, __mi)
912            }
913        }
914    }
915    #[doc = "`IsByRefImpl()` overload"]
916    fn is_by_ref_impl(self) -> bool {
917        unsafe {
918            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
919            {
920                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
921                let __vi = *__vt.get(100usize).unwrap_or_else(|| {
922                    panic!(
923                        "unity: virtual slot {}
924 out of range (vtable len {}
925) on the runtime class behind {}
926 (method `{}
927`)",
928                        100usize,
929                        __vt.len(),
930                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
931                        "IsByRefImpl",
932                    )
933                });
934                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
935                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
936                __inner(__receiver, __mi)
937            }
938        }
939    }
940    #[doc = "`IsCOMObjectImpl()` overload"]
941    fn is_com_object_impl(self) -> bool {
942        unsafe {
943            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
944            {
945                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
946                let __vi = *__vt.get(103usize).unwrap_or_else(|| {
947                    panic!(
948                        "unity: virtual slot {}
949 out of range (vtable len {}
950) on the runtime class behind {}
951 (method `{}
952`)",
953                        103usize,
954                        __vt.len(),
955                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
956                        "IsCOMObjectImpl",
957                    )
958                });
959                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
960                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
961                __inner(__receiver, __mi)
962            }
963        }
964    }
965    #[doc = "`IsDefined(::unity::SystemType, bool)` overload"]
966    fn is_defined(self, attribute_type: impl ::core::convert::Into<::unity::SystemType>, inherit: impl ::core::convert::Into<bool>) -> bool {
967        unsafe {
968            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
969            {
970                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
971                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
972                    panic!(
973                        "unity: virtual slot {}
974 out of range (vtable len {}
975) on the runtime class behind {}
976 (method `{}
977`)",
978                        12usize,
979                        __vt.len(),
980                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
981                        "IsDefined",
982                    )
983                });
984                let __inner: extern "C" fn(EnumBuilder, ::unity::SystemType, bool, ::unity::OptionalMethod) -> bool =
985                    ::core::mem::transmute(__vi.method_ptr);
986                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
987                __inner(
988                    __receiver,
989                    ::core::convert::Into::into(attribute_type),
990                    ::core::convert::Into::into(inherit),
991                    __mi,
992                )
993            }
994        }
995    }
996    #[doc = "`IsPointerImpl()` overload"]
997    fn is_pointer_impl(self) -> bool {
998        unsafe {
999            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1000            {
1001                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1002                let __vi = *__vt.get(101usize).unwrap_or_else(|| {
1003                    panic!(
1004                        "unity: virtual slot {}
1005 out of range (vtable len {}
1006) on the runtime class behind {}
1007 (method `{}
1008`)",
1009                        101usize,
1010                        __vt.len(),
1011                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
1012                        "IsPointerImpl",
1013                    )
1014                });
1015                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
1016                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1017                __inner(__receiver, __mi)
1018            }
1019        }
1020    }
1021    #[doc = "`IsPrimitiveImpl()` overload"]
1022    fn is_primitive_impl(self) -> bool {
1023        unsafe {
1024            let __receiver = <EnumBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1025            {
1026                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1027                let __vi = *__vt.get(102usize).unwrap_or_else(|| {
1028                    panic!(
1029                        "unity: virtual slot {}
1030 out of range (vtable len {}
1031) on the runtime class behind {}
1032 (method `{}
1033`)",
1034                        102usize,
1035                        __vt.len(),
1036                        <EnumBuilder as ::unity::ClassIdentity>::NAME,
1037                        "IsPrimitiveImpl",
1038                    )
1039                });
1040                let __inner: extern "C" fn(EnumBuilder, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
1041                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1042                __inner(__receiver, __mi)
1043            }
1044        }
1045    }
1046}
1047
1048#[cfg(feature = "system-reflection-emit-enumbuilder")]
1049impl<__T: IEnumBuilder> IEnumBuilderMethods for __T {}
1050
1051#[cfg(feature = "system-reflection-emit-enumbuilder")]
1052impl EnumBuilder {
1053    pub fn get_assembly_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1054        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1055    }
1056
1057    pub fn get_assembly_qualified_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1058        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1059    }
1060
1061    pub fn get_base_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1062        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1063    }
1064
1065    pub fn get_full_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1066        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1067    }
1068
1069    pub fn get_module_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1070        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1071    }
1072
1073    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1074        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1075    }
1076
1077    pub fn get_namespace_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1078        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1079    }
1080
1081    pub fn get_element_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1082        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1083    }
1084
1085    pub fn get_underlying_system_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1086        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1087    }
1088
1089    pub fn get_attribute_flags_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1090        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1091    }
1092
1093    pub fn get_constructor_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1094        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1095    }
1096
1097    pub fn get_constructors_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1098        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1099    }
1100
1101    pub fn get_custom_attributes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1102        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1103    }
1104
1105    pub fn get_custom_attributes_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1106        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1107    }
1108
1109    pub fn get_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1110        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1111    }
1112
1113    pub fn get_events_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1114        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1115    }
1116
1117    pub fn get_field_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1118        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1119    }
1120
1121    pub fn get_fields_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1122        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1123    }
1124
1125    pub fn get_interface_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1126        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1127    }
1128
1129    pub fn get_interfaces_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1130        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1131    }
1132
1133    pub fn get_method_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1134        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1135    }
1136
1137    pub fn get_methods_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1138        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1139    }
1140
1141    pub fn get_nested_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1142        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1143    }
1144
1145    pub fn get_nested_types_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1146        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1147    }
1148
1149    pub fn get_properties_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1150        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1151    }
1152
1153    pub fn get_property_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1154        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1155    }
1156
1157    pub fn has_element_type_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1158        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1159    }
1160
1161    pub fn is_array_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1162        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1163    }
1164
1165    pub fn is_by_ref_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1166        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1167    }
1168
1169    pub fn is_com_object_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1170        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1171    }
1172
1173    pub fn is_defined_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1174        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1175    }
1176
1177    pub fn is_pointer_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1178        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1179    }
1180
1181    pub fn is_primitive_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1182        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1183    }
1184}
1185
1186#[cfg(feature = "system-reflection-emit-enumbuilder")]
1187impl EnumBuilder {
1188    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `get_Assembly`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1189    pub unsafe fn get_assembly(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::system::reflection::assembly::Assembly {
1190        let __mi = Self::get_assembly_method_info();
1191        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::reflection::assembly::Assembly =
1192            ::core::mem::transmute(__mi.method_ptr);
1193        __inner(this.into(), ::core::option::Option::None)
1194    }
1195
1196    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `get_AssemblyQualifiedName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1197    pub unsafe fn get_assembly_qualified_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1198        let __mi = Self::get_assembly_qualified_name_method_info();
1199        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1200        __inner(this.into(), ::core::option::Option::None)
1201    }
1202
1203    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `get_BaseType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1204    pub unsafe fn get_base_type(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::SystemType {
1205        let __mi = Self::get_base_type_method_info();
1206        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__mi.method_ptr);
1207        __inner(this.into(), ::core::option::Option::None)
1208    }
1209
1210    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `get_FullName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1211    pub unsafe fn get_full_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1212        let __mi = Self::get_full_name_method_info();
1213        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1214        __inner(this.into(), ::core::option::Option::None)
1215    }
1216
1217    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `get_Module`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1218    pub unsafe fn get_module(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::system::reflection::module::Module {
1219        let __mi = Self::get_module_method_info();
1220        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::reflection::module::Module =
1221            ::core::mem::transmute(__mi.method_ptr);
1222        __inner(this.into(), ::core::option::Option::None)
1223    }
1224
1225    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `get_Name`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1226    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1227        let __mi = Self::get_name_method_info();
1228        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1229        __inner(this.into(), ::core::option::Option::None)
1230    }
1231
1232    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `get_Namespace`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1233    pub unsafe fn get_namespace(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1234        let __mi = Self::get_namespace_method_info();
1235        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1236        __inner(this.into(), ::core::option::Option::None)
1237    }
1238
1239    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetElementType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1240    pub unsafe fn get_element_type(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::SystemType {
1241        let __mi = Self::get_element_type_method_info();
1242        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__mi.method_ptr);
1243        __inner(this.into(), ::core::option::Option::None)
1244    }
1245
1246    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `get_UnderlyingSystemType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1247    pub unsafe fn get_underlying_system_type(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::SystemType {
1248        let __mi = Self::get_underlying_system_type_method_info();
1249        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__mi.method_ptr);
1250        __inner(this.into(), ::core::option::Option::None)
1251    }
1252
1253    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetAttributeFlagsImpl`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1254    pub unsafe fn get_attribute_flags_impl(
1255        this: impl ::core::convert::Into<::unity::IlInstance>,
1256    ) -> crate::system::reflection::typeattributes::TypeAttributes {
1257        let __mi = Self::get_attribute_flags_impl_method_info();
1258        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::reflection::typeattributes::TypeAttributes =
1259            ::core::mem::transmute(__mi.method_ptr);
1260        __inner(this.into(), ::core::option::Option::None)
1261    }
1262
1263    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetConstructorImpl`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1264    pub unsafe fn get_constructor_impl(
1265        this: impl ::core::convert::Into<::unity::IlInstance>,
1266        binding_attr: crate::system::reflection::bindingflags::BindingFlags,
1267        binder: crate::system::reflection::binder::Binder,
1268        call_convention: crate::system::reflection::callingconventions::CallingConventions,
1269        types: ::unity::Array<::unity::SystemType>,
1270        modifiers: ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>,
1271    ) -> crate::system::reflection::constructorinfo::ConstructorInfo {
1272        let __mi = Self::get_constructor_impl_method_info();
1273        let __inner: extern "C" fn(
1274            ::unity::IlInstance,
1275            crate::system::reflection::bindingflags::BindingFlags,
1276            crate::system::reflection::binder::Binder,
1277            crate::system::reflection::callingconventions::CallingConventions,
1278            ::unity::Array<::unity::SystemType>,
1279            ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>,
1280            ::unity::OptionalMethod,
1281        ) -> crate::system::reflection::constructorinfo::ConstructorInfo = ::core::mem::transmute(__mi.method_ptr);
1282        __inner(
1283            this.into(),
1284            binding_attr,
1285            binder,
1286            call_convention,
1287            types,
1288            modifiers,
1289            ::core::option::Option::None,
1290        )
1291    }
1292
1293    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetConstructors`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1294    pub unsafe fn get_constructors(
1295        this: impl ::core::convert::Into<::unity::IlInstance>,
1296        binding_attr: crate::system::reflection::bindingflags::BindingFlags,
1297    ) -> ::unity::Array<crate::system::reflection::constructorinfo::ConstructorInfo> {
1298        let __mi = Self::get_constructors_method_info();
1299        let __inner: extern "C" fn(
1300            ::unity::IlInstance,
1301            crate::system::reflection::bindingflags::BindingFlags,
1302            ::unity::OptionalMethod,
1303        ) -> ::unity::Array<crate::system::reflection::constructorinfo::ConstructorInfo> = ::core::mem::transmute(__mi.method_ptr);
1304        __inner(this.into(), binding_attr, ::core::option::Option::None)
1305    }
1306
1307    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetCustomAttributes`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1308    pub unsafe fn get_custom_attributes(
1309        this: impl ::core::convert::Into<::unity::IlInstance>,
1310        inherit: bool,
1311    ) -> ::unity::Array<crate::system::object::Object> {
1312        let __mi = Self::get_custom_attributes_method_info();
1313        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> ::unity::Array<crate::system::object::Object> =
1314            ::core::mem::transmute(__mi.method_ptr);
1315        __inner(this.into(), inherit, ::core::option::Option::None)
1316    }
1317
1318    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetCustomAttributes`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1319    pub unsafe fn get_custom_attributes_2(
1320        this: impl ::core::convert::Into<::unity::IlInstance>,
1321        attribute_type: ::unity::SystemType,
1322        inherit: bool,
1323    ) -> ::unity::Array<crate::system::object::Object> {
1324        let __mi = Self::get_custom_attributes_2_method_info();
1325        let __inner: extern "C" fn(
1326            ::unity::IlInstance,
1327            ::unity::SystemType,
1328            bool,
1329            ::unity::OptionalMethod,
1330        ) -> ::unity::Array<crate::system::object::Object> = ::core::mem::transmute(__mi.method_ptr);
1331        __inner(this.into(), attribute_type, inherit, ::core::option::Option::None)
1332    }
1333
1334    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetEvent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1335    pub unsafe fn get_event(
1336        this: impl ::core::convert::Into<::unity::IlInstance>,
1337        name: ::unity::Il2CppString,
1338        binding_attr: crate::system::reflection::bindingflags::BindingFlags,
1339    ) -> crate::system::reflection::eventinfo::EventInfo {
1340        let __mi = Self::get_event_method_info();
1341        let __inner: extern "C" fn(
1342            ::unity::IlInstance,
1343            ::unity::Il2CppString,
1344            crate::system::reflection::bindingflags::BindingFlags,
1345            ::unity::OptionalMethod,
1346        ) -> crate::system::reflection::eventinfo::EventInfo = ::core::mem::transmute(__mi.method_ptr);
1347        __inner(this.into(), name, binding_attr, ::core::option::Option::None)
1348    }
1349
1350    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetEvents`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1351    pub unsafe fn get_events(
1352        this: impl ::core::convert::Into<::unity::IlInstance>,
1353        binding_attr: crate::system::reflection::bindingflags::BindingFlags,
1354    ) -> ::unity::Array<crate::system::reflection::eventinfo::EventInfo> {
1355        let __mi = Self::get_events_method_info();
1356        let __inner: extern "C" fn(
1357            ::unity::IlInstance,
1358            crate::system::reflection::bindingflags::BindingFlags,
1359            ::unity::OptionalMethod,
1360        ) -> ::unity::Array<crate::system::reflection::eventinfo::EventInfo> = ::core::mem::transmute(__mi.method_ptr);
1361        __inner(this.into(), binding_attr, ::core::option::Option::None)
1362    }
1363
1364    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetField`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1365    pub unsafe fn get_field(
1366        this: impl ::core::convert::Into<::unity::IlInstance>,
1367        name: ::unity::Il2CppString,
1368        binding_attr: crate::system::reflection::bindingflags::BindingFlags,
1369    ) -> crate::system::reflection::fieldinfo::FieldInfo {
1370        let __mi = Self::get_field_method_info();
1371        let __inner: extern "C" fn(
1372            ::unity::IlInstance,
1373            ::unity::Il2CppString,
1374            crate::system::reflection::bindingflags::BindingFlags,
1375            ::unity::OptionalMethod,
1376        ) -> crate::system::reflection::fieldinfo::FieldInfo = ::core::mem::transmute(__mi.method_ptr);
1377        __inner(this.into(), name, binding_attr, ::core::option::Option::None)
1378    }
1379
1380    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetFields`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1381    pub unsafe fn get_fields(
1382        this: impl ::core::convert::Into<::unity::IlInstance>,
1383        binding_attr: crate::system::reflection::bindingflags::BindingFlags,
1384    ) -> ::unity::Array<crate::system::reflection::fieldinfo::FieldInfo> {
1385        let __mi = Self::get_fields_method_info();
1386        let __inner: extern "C" fn(
1387            ::unity::IlInstance,
1388            crate::system::reflection::bindingflags::BindingFlags,
1389            ::unity::OptionalMethod,
1390        ) -> ::unity::Array<crate::system::reflection::fieldinfo::FieldInfo> = ::core::mem::transmute(__mi.method_ptr);
1391        __inner(this.into(), binding_attr, ::core::option::Option::None)
1392    }
1393
1394    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetInterface`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1395    pub unsafe fn get_interface(
1396        this: impl ::core::convert::Into<::unity::IlInstance>,
1397        name: ::unity::Il2CppString,
1398        ignore_case: bool,
1399    ) -> ::unity::SystemType {
1400        let __mi = Self::get_interface_method_info();
1401        let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, bool, ::unity::OptionalMethod) -> ::unity::SystemType =
1402            ::core::mem::transmute(__mi.method_ptr);
1403        __inner(this.into(), name, ignore_case, ::core::option::Option::None)
1404    }
1405
1406    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetInterfaces`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1407    pub unsafe fn get_interfaces(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Array<::unity::SystemType> {
1408        let __mi = Self::get_interfaces_method_info();
1409        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Array<::unity::SystemType> =
1410            ::core::mem::transmute(__mi.method_ptr);
1411        __inner(this.into(), ::core::option::Option::None)
1412    }
1413
1414    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetMethodImpl`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1415    pub unsafe fn get_method_impl(
1416        this: impl ::core::convert::Into<::unity::IlInstance>,
1417        name: ::unity::Il2CppString,
1418        binding_attr: crate::system::reflection::bindingflags::BindingFlags,
1419        binder: crate::system::reflection::binder::Binder,
1420        call_convention: crate::system::reflection::callingconventions::CallingConventions,
1421        types: ::unity::Array<::unity::SystemType>,
1422        modifiers: ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>,
1423    ) -> crate::system::reflection::methodinfo::MethodInfo {
1424        let __mi = Self::get_method_impl_method_info();
1425        let __inner: extern "C" fn(
1426            ::unity::IlInstance,
1427            ::unity::Il2CppString,
1428            crate::system::reflection::bindingflags::BindingFlags,
1429            crate::system::reflection::binder::Binder,
1430            crate::system::reflection::callingconventions::CallingConventions,
1431            ::unity::Array<::unity::SystemType>,
1432            ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>,
1433            ::unity::OptionalMethod,
1434        ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__mi.method_ptr);
1435        __inner(
1436            this.into(),
1437            name,
1438            binding_attr,
1439            binder,
1440            call_convention,
1441            types,
1442            modifiers,
1443            ::core::option::Option::None,
1444        )
1445    }
1446
1447    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetMethods`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1448    pub unsafe fn get_methods(
1449        this: impl ::core::convert::Into<::unity::IlInstance>,
1450        binding_attr: crate::system::reflection::bindingflags::BindingFlags,
1451    ) -> ::unity::Array<crate::system::reflection::methodinfo::MethodInfo> {
1452        let __mi = Self::get_methods_method_info();
1453        let __inner: extern "C" fn(
1454            ::unity::IlInstance,
1455            crate::system::reflection::bindingflags::BindingFlags,
1456            ::unity::OptionalMethod,
1457        ) -> ::unity::Array<crate::system::reflection::methodinfo::MethodInfo> = ::core::mem::transmute(__mi.method_ptr);
1458        __inner(this.into(), binding_attr, ::core::option::Option::None)
1459    }
1460
1461    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetNestedType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1462    pub unsafe fn get_nested_type(
1463        this: impl ::core::convert::Into<::unity::IlInstance>,
1464        name: ::unity::Il2CppString,
1465        binding_attr: crate::system::reflection::bindingflags::BindingFlags,
1466    ) -> ::unity::SystemType {
1467        let __mi = Self::get_nested_type_method_info();
1468        let __inner: extern "C" fn(
1469            ::unity::IlInstance,
1470            ::unity::Il2CppString,
1471            crate::system::reflection::bindingflags::BindingFlags,
1472            ::unity::OptionalMethod,
1473        ) -> ::unity::SystemType = ::core::mem::transmute(__mi.method_ptr);
1474        __inner(this.into(), name, binding_attr, ::core::option::Option::None)
1475    }
1476
1477    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetNestedTypes`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1478    pub unsafe fn get_nested_types(
1479        this: impl ::core::convert::Into<::unity::IlInstance>,
1480        binding_attr: crate::system::reflection::bindingflags::BindingFlags,
1481    ) -> ::unity::Array<::unity::SystemType> {
1482        let __mi = Self::get_nested_types_method_info();
1483        let __inner: extern "C" fn(
1484            ::unity::IlInstance,
1485            crate::system::reflection::bindingflags::BindingFlags,
1486            ::unity::OptionalMethod,
1487        ) -> ::unity::Array<::unity::SystemType> = ::core::mem::transmute(__mi.method_ptr);
1488        __inner(this.into(), binding_attr, ::core::option::Option::None)
1489    }
1490
1491    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetProperties`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1492    pub unsafe fn get_properties(
1493        this: impl ::core::convert::Into<::unity::IlInstance>,
1494        binding_attr: crate::system::reflection::bindingflags::BindingFlags,
1495    ) -> ::unity::Array<crate::system::reflection::propertyinfo::PropertyInfo> {
1496        let __mi = Self::get_properties_method_info();
1497        let __inner: extern "C" fn(
1498            ::unity::IlInstance,
1499            crate::system::reflection::bindingflags::BindingFlags,
1500            ::unity::OptionalMethod,
1501        ) -> ::unity::Array<crate::system::reflection::propertyinfo::PropertyInfo> = ::core::mem::transmute(__mi.method_ptr);
1502        __inner(this.into(), binding_attr, ::core::option::Option::None)
1503    }
1504
1505    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `GetPropertyImpl`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1506    pub unsafe fn get_property_impl(
1507        this: impl ::core::convert::Into<::unity::IlInstance>,
1508        name: ::unity::Il2CppString,
1509        binding_attr: crate::system::reflection::bindingflags::BindingFlags,
1510        binder: crate::system::reflection::binder::Binder,
1511        return_type: ::unity::SystemType,
1512        types: ::unity::Array<::unity::SystemType>,
1513        modifiers: ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>,
1514    ) -> crate::system::reflection::propertyinfo::PropertyInfo {
1515        let __mi = Self::get_property_impl_method_info();
1516        let __inner: extern "C" fn(
1517            ::unity::IlInstance,
1518            ::unity::Il2CppString,
1519            crate::system::reflection::bindingflags::BindingFlags,
1520            crate::system::reflection::binder::Binder,
1521            ::unity::SystemType,
1522            ::unity::Array<::unity::SystemType>,
1523            ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>,
1524            ::unity::OptionalMethod,
1525        ) -> crate::system::reflection::propertyinfo::PropertyInfo = ::core::mem::transmute(__mi.method_ptr);
1526        __inner(
1527            this.into(),
1528            name,
1529            binding_attr,
1530            binder,
1531            return_type,
1532            types,
1533            modifiers,
1534            ::core::option::Option::None,
1535        )
1536    }
1537
1538    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `HasElementTypeImpl`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1539    pub unsafe fn has_element_type_impl(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1540        let __mi = Self::has_element_type_impl_method_info();
1541        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1542        __inner(this.into(), ::core::option::Option::None)
1543    }
1544
1545    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `IsArrayImpl`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1546    pub unsafe fn is_array_impl(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1547        let __mi = Self::is_array_impl_method_info();
1548        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1549        __inner(this.into(), ::core::option::Option::None)
1550    }
1551
1552    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `IsByRefImpl`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1553    pub unsafe fn is_by_ref_impl(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1554        let __mi = Self::is_by_ref_impl_method_info();
1555        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1556        __inner(this.into(), ::core::option::Option::None)
1557    }
1558
1559    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `IsCOMObjectImpl`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1560    pub unsafe fn is_com_object_impl(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1561        let __mi = Self::is_com_object_impl_method_info();
1562        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1563        __inner(this.into(), ::core::option::Option::None)
1564    }
1565
1566    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `IsDefined`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1567    pub unsafe fn is_defined(this: impl ::core::convert::Into<::unity::IlInstance>, attribute_type: ::unity::SystemType, inherit: bool) -> bool {
1568        let __mi = Self::is_defined_method_info();
1569        let __inner: extern "C" fn(::unity::IlInstance, ::unity::SystemType, bool, ::unity::OptionalMethod) -> bool =
1570            ::core::mem::transmute(__mi.method_ptr);
1571        __inner(this.into(), attribute_type, inherit, ::core::option::Option::None)
1572    }
1573
1574    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `IsPointerImpl`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1575    pub unsafe fn is_pointer_impl(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1576        let __mi = Self::is_pointer_impl_method_info();
1577        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1578        __inner(this.into(), ::core::option::Option::None)
1579    }
1580
1581    #[doc = "Direct (non-virtual) call to `EnumBuilder`'s own `IsPrimitiveImpl`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1582    pub unsafe fn is_primitive_impl(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1583        let __mi = Self::is_primitive_impl_method_info();
1584        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1585        __inner(this.into(), ::core::option::Option::None)
1586    }
1587}
1588
1589#[cfg(feature = "system-reflection-emit-enumbuilder")]
1590#[doc(hidden)]
1591pub mod prelude {
1592    pub use super::{EnumBuilder, IEnumBuilder, IEnumBuilderMethods};
1593    #[cfg(feature = "system-object")]
1594    pub use crate::system::object::IObjectMethods;
1595    #[cfg(feature = "system-reflection-memberinfo")]
1596    pub use crate::system::reflection::memberinfo::IMemberInfoMethods;
1597    #[cfg(feature = "system-reflection-typeinfo")]
1598    pub use crate::system::reflection::typeinfo::ITypeInfoMethods;
1599    pub use crate::system::{
1600        object::IObject,
1601        reflection::{memberinfo::IMemberInfo, typeinfo::ITypeInfo},
1602    };
1603}