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