Skip to main content

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

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