Skip to main content

engage/generated/moon_sharp/interpreter/compatibility/frameworks/
frameworkclrbase.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "moon_sharp-interpreter-compatibility-frameworks-frameworkclrbase-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        moon_sharp::interpreter::compatibility::frameworks::{
10            frameworkbase::{FrameworkBase, IFrameworkBase},
11            frameworkreflectionbase::{FrameworkReflectionBase, IFrameworkReflectionBase},
12        },
13        system::object::{IObject, Object},
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/moon_sharp/interpreter/compatibility/frameworks/frameworkclrbase/FrameworkClrBase.md"))]
17    #[::unity::class(namespace = "MoonSharp.Interpreter.Compatibility.Frameworks", name = "FrameworkClrBase")]
18    #[parent(crate::moon_sharp::interpreter::compatibility::frameworks::frameworkreflectionbase::FrameworkReflectionBase)]
19    pub struct FrameworkClrBase {
20        #[offset(16)]
21        #[rename(name = "BINDINGFLAGS_MEMBER")]
22        pub bindingflags_member: crate::system::reflection::bindingflags::BindingFlags,
23        #[offset(20)]
24        #[rename(name = "BINDINGFLAGS_INNERCLASS")]
25        pub bindingflags_innerclass: crate::system::reflection::bindingflags::BindingFlags,
26    }
27}
28
29#[cfg(feature = "moon_sharp-interpreter-compatibility-frameworks-frameworkclrbase-types")]
30pub use __types::*;
31
32#[cfg(feature = "moon_sharp-interpreter-compatibility-frameworks-frameworkclrbase")]
33#[doc(hidden)]
34#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
35mod __FrameworkClrBase_unity_raw {
36    use super::*;
37    #[doc(hidden)]
38    #[allow(non_snake_case)]
39    pub mod __lookup_ctor {
40        use super::*;
41        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
42            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
43            ::unity::lookup::method_info_on_class_with_signature(
44                <FrameworkClrBase as ::unity::ClassIdentity>::class(),
45                ".ctor",
46                0,
47                param_types,
48                false,
49            )
50        });
51        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
52            match &*METHOD {
53                ::core::result::Result::Ok(mi) => *mi,
54                ::core::result::Result::Err(e) => {
55                    panic!(
56                        "method lookup failed: {}
57::{}
58: {}
59",
60                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
61                        ".ctor",
62                        e
63                    )
64                },
65            }
66        }
67    }
68}
69
70#[cfg(feature = "moon_sharp-interpreter-compatibility-frameworks-frameworkclrbase")]
71pub trait IFrameworkClrBaseMethods: IFrameworkClrBase {
72    #[doc = "`GetTypeInfoFromType(::unity::SystemType)` overload"]
73    fn get_type_info_from_type(self, t: impl ::core::convert::Into<::unity::SystemType>) -> ::unity::SystemType {
74        unsafe {
75            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
76            {
77                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
78                let __vi = *__vt.get(36usize).unwrap_or_else(|| {
79                    panic!(
80                        "unity: virtual slot {}
81 out of range (vtable len {}
82) on the runtime class behind {}
83 (method `{}
84`)",
85                        36usize,
86                        __vt.len(),
87                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
88                        "GetTypeInfoFromType",
89                    )
90                });
91                let __inner: extern "C" fn(FrameworkClrBase, ::unity::SystemType, ::unity::OptionalMethod) -> ::unity::SystemType =
92                    ::core::mem::transmute(__vi.method_ptr);
93                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
94                __inner(__receiver, ::core::convert::Into::into(t), __mi)
95            }
96        }
97    }
98    #[doc = "`GetAddMethod(crate::system::reflection::eventinfo::EventInfo)` overload"]
99    fn get_add_method(
100        self,
101        ei: impl ::core::convert::Into<crate::system::reflection::eventinfo::EventInfo>,
102    ) -> crate::system::reflection::methodinfo::MethodInfo {
103        unsafe {
104            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
105            {
106                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
107                let __vi = *__vt.get(18usize).unwrap_or_else(|| {
108                    panic!(
109                        "unity: virtual slot {}
110 out of range (vtable len {}
111) on the runtime class behind {}
112 (method `{}
113`)",
114                        18usize,
115                        __vt.len(),
116                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
117                        "GetAddMethod",
118                    )
119                });
120                let __inner: extern "C" fn(
121                    FrameworkClrBase,
122                    crate::system::reflection::eventinfo::EventInfo,
123                    ::unity::OptionalMethod,
124                ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__vi.method_ptr);
125                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
126                __inner(__receiver, ::core::convert::Into::into(ei), __mi)
127            }
128        }
129    }
130    #[doc = "`GetConstructors(::unity::SystemType)` overload"]
131    fn get_constructors(
132        self,
133        r#type: impl ::core::convert::Into<::unity::SystemType>,
134    ) -> ::unity::Array<crate::system::reflection::constructorinfo::ConstructorInfo> {
135        unsafe {
136            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137            {
138                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
139                let __vi = *__vt.get(27usize).unwrap_or_else(|| {
140                    panic!(
141                        "unity: virtual slot {}
142 out of range (vtable len {}
143) on the runtime class behind {}
144 (method `{}
145`)",
146                        27usize,
147                        __vt.len(),
148                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
149                        "GetConstructors",
150                    )
151                });
152                let __inner: extern "C" fn(
153                    FrameworkClrBase,
154                    ::unity::SystemType,
155                    ::unity::OptionalMethod,
156                ) -> ::unity::Array<crate::system::reflection::constructorinfo::ConstructorInfo> = ::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, ::core::convert::Into::into(r#type), __mi)
159            }
160        }
161    }
162    #[doc = "`GetEvents(::unity::SystemType)` overload"]
163    fn get_events(self, r#type: impl ::core::convert::Into<::unity::SystemType>) -> ::unity::Array<crate::system::reflection::eventinfo::EventInfo> {
164        unsafe {
165            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
166            {
167                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
168                let __vi = *__vt.get(26usize).unwrap_or_else(|| {
169                    panic!(
170                        "unity: virtual slot {}
171 out of range (vtable len {}
172) on the runtime class behind {}
173 (method `{}
174`)",
175                        26usize,
176                        __vt.len(),
177                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
178                        "GetEvents",
179                    )
180                });
181                let __inner: extern "C" fn(
182                    FrameworkClrBase,
183                    ::unity::SystemType,
184                    ::unity::OptionalMethod,
185                ) -> ::unity::Array<crate::system::reflection::eventinfo::EventInfo> = ::core::mem::transmute(__vi.method_ptr);
186                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
187                __inner(__receiver, ::core::convert::Into::into(r#type), __mi)
188            }
189        }
190    }
191    #[doc = "`GetFields(::unity::SystemType)` overload"]
192    fn get_fields(self, r#type: impl ::core::convert::Into<::unity::SystemType>) -> ::unity::Array<crate::system::reflection::fieldinfo::FieldInfo> {
193        unsafe {
194            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195            {
196                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
197                let __vi = *__vt.get(30usize).unwrap_or_else(|| {
198                    panic!(
199                        "unity: virtual slot {}
200 out of range (vtable len {}
201) on the runtime class behind {}
202 (method `{}
203`)",
204                        30usize,
205                        __vt.len(),
206                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
207                        "GetFields",
208                    )
209                });
210                let __inner: extern "C" fn(
211                    FrameworkClrBase,
212                    ::unity::SystemType,
213                    ::unity::OptionalMethod,
214                ) -> ::unity::Array<crate::system::reflection::fieldinfo::FieldInfo> = ::core::mem::transmute(__vi.method_ptr);
215                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
216                __inner(__receiver, ::core::convert::Into::into(r#type), __mi)
217            }
218        }
219    }
220    #[doc = "`GetGenericArguments(::unity::SystemType)` overload"]
221    fn get_generic_arguments(self, r#type: impl ::core::convert::Into<::unity::SystemType>) -> ::unity::Array<::unity::SystemType> {
222        unsafe {
223            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
224            {
225                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
226                let __vi = *__vt.get(32usize).unwrap_or_else(|| {
227                    panic!(
228                        "unity: virtual slot {}
229 out of range (vtable len {}
230) on the runtime class behind {}
231 (method `{}
232`)",
233                        32usize,
234                        __vt.len(),
235                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
236                        "GetGenericArguments",
237                    )
238                });
239                let __inner: extern "C" fn(FrameworkClrBase, ::unity::SystemType, ::unity::OptionalMethod) -> ::unity::Array<::unity::SystemType> =
240                    ::core::mem::transmute(__vi.method_ptr);
241                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
242                __inner(__receiver, ::core::convert::Into::into(r#type), __mi)
243            }
244        }
245    }
246    #[doc = "`GetGetMethod(crate::system::reflection::propertyinfo::PropertyInfo)` overload"]
247    fn get_get_method(
248        self,
249        pi: impl ::core::convert::Into<crate::system::reflection::propertyinfo::PropertyInfo>,
250    ) -> crate::system::reflection::methodinfo::MethodInfo {
251        unsafe {
252            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
253            {
254                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
255                let __vi = *__vt.get(20usize).unwrap_or_else(|| {
256                    panic!(
257                        "unity: virtual slot {}
258 out of range (vtable len {}
259) on the runtime class behind {}
260 (method `{}
261`)",
262                        20usize,
263                        __vt.len(),
264                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
265                        "GetGetMethod",
266                    )
267                });
268                let __inner: extern "C" fn(
269                    FrameworkClrBase,
270                    crate::system::reflection::propertyinfo::PropertyInfo,
271                    ::unity::OptionalMethod,
272                ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__vi.method_ptr);
273                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
274                __inner(__receiver, ::core::convert::Into::into(pi), __mi)
275            }
276        }
277    }
278    #[doc = "`GetInterfaces(::unity::SystemType)` overload"]
279    fn get_interfaces(self, t: impl ::core::convert::Into<::unity::SystemType>) -> ::unity::Array<::unity::SystemType> {
280        unsafe {
281            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
282            {
283                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
284                let __vi = *__vt.get(16usize).unwrap_or_else(|| {
285                    panic!(
286                        "unity: virtual slot {}
287 out of range (vtable len {}
288) on the runtime class behind {}
289 (method `{}
290`)",
291                        16usize,
292                        __vt.len(),
293                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
294                        "GetInterfaces",
295                    )
296                });
297                let __inner: extern "C" fn(FrameworkClrBase, ::unity::SystemType, ::unity::OptionalMethod) -> ::unity::Array<::unity::SystemType> =
298                    ::core::mem::transmute(__vi.method_ptr);
299                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
300                __inner(__receiver, ::core::convert::Into::into(t), __mi)
301            }
302        }
303    }
304    #[doc = "`GetMethod(::unity::SystemType, ::unity::Il2CppString)` overload"]
305    fn get_method(
306        self,
307        r#type: impl ::core::convert::Into<::unity::SystemType>,
308        name: impl ::core::convert::Into<::unity::Il2CppString>,
309    ) -> crate::system::reflection::methodinfo::MethodInfo {
310        unsafe {
311            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
312            {
313                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
314                let __vi = *__vt.get(31usize).unwrap_or_else(|| {
315                    panic!(
316                        "unity: virtual slot {}
317 out of range (vtable len {}
318) on the runtime class behind {}
319 (method `{}
320`)",
321                        31usize,
322                        __vt.len(),
323                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
324                        "GetMethod",
325                    )
326                });
327                let __inner: extern "C" fn(
328                    FrameworkClrBase,
329                    ::unity::SystemType,
330                    ::unity::Il2CppString,
331                    ::unity::OptionalMethod,
332                ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__vi.method_ptr);
333                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
334                __inner(__receiver, ::core::convert::Into::into(r#type), ::core::convert::Into::into(name), __mi)
335            }
336        }
337    }
338    #[doc = "`GetMethods(::unity::SystemType)` overload"]
339    fn get_methods(
340        self,
341        r#type: impl ::core::convert::Into<::unity::SystemType>,
342    ) -> ::unity::Array<crate::system::reflection::methodinfo::MethodInfo> {
343        unsafe {
344            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
345            {
346                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
347                let __vi = *__vt.get(29usize).unwrap_or_else(|| {
348                    panic!(
349                        "unity: virtual slot {}
350 out of range (vtable len {}
351) on the runtime class behind {}
352 (method `{}
353`)",
354                        29usize,
355                        __vt.len(),
356                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
357                        "GetMethods",
358                    )
359                });
360                let __inner: extern "C" fn(
361                    FrameworkClrBase,
362                    ::unity::SystemType,
363                    ::unity::OptionalMethod,
364                ) -> ::unity::Array<crate::system::reflection::methodinfo::MethodInfo> = ::core::mem::transmute(__vi.method_ptr);
365                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
366                __inner(__receiver, ::core::convert::Into::into(r#type), __mi)
367            }
368        }
369    }
370    #[doc = "`GetNestedTypes(::unity::SystemType)` overload"]
371    fn get_nested_types(self, r#type: impl ::core::convert::Into<::unity::SystemType>) -> ::unity::Array<::unity::SystemType> {
372        unsafe {
373            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
374            {
375                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
376                let __vi = *__vt.get(25usize).unwrap_or_else(|| {
377                    panic!(
378                        "unity: virtual slot {}
379 out of range (vtable len {}
380) on the runtime class behind {}
381 (method `{}
382`)",
383                        25usize,
384                        __vt.len(),
385                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
386                        "GetNestedTypes",
387                    )
388                });
389                let __inner: extern "C" fn(FrameworkClrBase, ::unity::SystemType, ::unity::OptionalMethod) -> ::unity::Array<::unity::SystemType> =
390                    ::core::mem::transmute(__vi.method_ptr);
391                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
392                __inner(__receiver, ::core::convert::Into::into(r#type), __mi)
393            }
394        }
395    }
396    #[doc = "`GetProperties(::unity::SystemType)` overload"]
397    fn get_properties(
398        self,
399        r#type: impl ::core::convert::Into<::unity::SystemType>,
400    ) -> ::unity::Array<crate::system::reflection::propertyinfo::PropertyInfo> {
401        unsafe {
402            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
403            {
404                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
405                let __vi = *__vt.get(23usize).unwrap_or_else(|| {
406                    panic!(
407                        "unity: virtual slot {}
408 out of range (vtable len {}
409) on the runtime class behind {}
410 (method `{}
411`)",
412                        23usize,
413                        __vt.len(),
414                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
415                        "GetProperties",
416                    )
417                });
418                let __inner: extern "C" fn(
419                    FrameworkClrBase,
420                    ::unity::SystemType,
421                    ::unity::OptionalMethod,
422                ) -> ::unity::Array<crate::system::reflection::propertyinfo::PropertyInfo> = ::core::mem::transmute(__vi.method_ptr);
423                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
424                __inner(__receiver, ::core::convert::Into::into(r#type), __mi)
425            }
426        }
427    }
428    #[doc = "`GetProperty(::unity::SystemType, ::unity::Il2CppString)` overload"]
429    fn get_property(
430        self,
431        r#type: impl ::core::convert::Into<::unity::SystemType>,
432        name: impl ::core::convert::Into<::unity::Il2CppString>,
433    ) -> crate::system::reflection::propertyinfo::PropertyInfo {
434        unsafe {
435            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
436            {
437                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
438                let __vi = *__vt.get(24usize).unwrap_or_else(|| {
439                    panic!(
440                        "unity: virtual slot {}
441 out of range (vtable len {}
442) on the runtime class behind {}
443 (method `{}
444`)",
445                        24usize,
446                        __vt.len(),
447                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
448                        "GetProperty",
449                    )
450                });
451                let __inner: extern "C" fn(
452                    FrameworkClrBase,
453                    ::unity::SystemType,
454                    ::unity::Il2CppString,
455                    ::unity::OptionalMethod,
456                ) -> crate::system::reflection::propertyinfo::PropertyInfo = ::core::mem::transmute(__vi.method_ptr);
457                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
458                __inner(__receiver, ::core::convert::Into::into(r#type), ::core::convert::Into::into(name), __mi)
459            }
460        }
461    }
462    #[doc = "`GetRemoveMethod(crate::system::reflection::eventinfo::EventInfo)` overload"]
463    fn get_remove_method(
464        self,
465        ei: impl ::core::convert::Into<crate::system::reflection::eventinfo::EventInfo>,
466    ) -> crate::system::reflection::methodinfo::MethodInfo {
467        unsafe {
468            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
469            {
470                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
471                let __vi = *__vt.get(19usize).unwrap_or_else(|| {
472                    panic!(
473                        "unity: virtual slot {}
474 out of range (vtable len {}
475) on the runtime class behind {}
476 (method `{}
477`)",
478                        19usize,
479                        __vt.len(),
480                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
481                        "GetRemoveMethod",
482                    )
483                });
484                let __inner: extern "C" fn(
485                    FrameworkClrBase,
486                    crate::system::reflection::eventinfo::EventInfo,
487                    ::unity::OptionalMethod,
488                ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__vi.method_ptr);
489                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
490                __inner(__receiver, ::core::convert::Into::into(ei), __mi)
491            }
492        }
493    }
494    #[doc = "`GetSetMethod(crate::system::reflection::propertyinfo::PropertyInfo)` overload"]
495    fn get_set_method(
496        self,
497        pi: impl ::core::convert::Into<crate::system::reflection::propertyinfo::PropertyInfo>,
498    ) -> crate::system::reflection::methodinfo::MethodInfo {
499        unsafe {
500            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
501            {
502                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
503                let __vi = *__vt.get(21usize).unwrap_or_else(|| {
504                    panic!(
505                        "unity: virtual slot {}
506 out of range (vtable len {}
507) on the runtime class behind {}
508 (method `{}
509`)",
510                        21usize,
511                        __vt.len(),
512                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
513                        "GetSetMethod",
514                    )
515                });
516                let __inner: extern "C" fn(
517                    FrameworkClrBase,
518                    crate::system::reflection::propertyinfo::PropertyInfo,
519                    ::unity::OptionalMethod,
520                ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__vi.method_ptr);
521                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
522                __inner(__receiver, ::core::convert::Into::into(pi), __mi)
523            }
524        }
525    }
526    #[doc = "`IsAssignableFrom(::unity::SystemType, ::unity::SystemType)` overload"]
527    fn is_assignable_from(
528        self,
529        current: impl ::core::convert::Into<::unity::SystemType>,
530        to_compare: impl ::core::convert::Into<::unity::SystemType>,
531    ) -> bool {
532        unsafe {
533            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
534            {
535                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
536                let __vi = *__vt.get(33usize).unwrap_or_else(|| {
537                    panic!(
538                        "unity: virtual slot {}
539 out of range (vtable len {}
540) on the runtime class behind {}
541 (method `{}
542`)",
543                        33usize,
544                        __vt.len(),
545                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
546                        "IsAssignableFrom",
547                    )
548                });
549                let __inner: extern "C" fn(FrameworkClrBase, ::unity::SystemType, ::unity::SystemType, ::unity::OptionalMethod) -> bool =
550                    ::core::mem::transmute(__vi.method_ptr);
551                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
552                __inner(
553                    __receiver,
554                    ::core::convert::Into::into(current),
555                    ::core::convert::Into::into(to_compare),
556                    __mi,
557                )
558            }
559        }
560    }
561    #[doc = "`IsInstanceOfType(::unity::SystemType, crate::system::object::Object)` overload"]
562    fn is_instance_of_type(
563        self,
564        t: impl ::core::convert::Into<::unity::SystemType>,
565        o: impl ::core::convert::Into<crate::system::object::Object>,
566    ) -> bool {
567        unsafe {
568            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
569            {
570                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
571                let __vi = *__vt.get(17usize).unwrap_or_else(|| {
572                    panic!(
573                        "unity: virtual slot {}
574 out of range (vtable len {}
575) on the runtime class behind {}
576 (method `{}
577`)",
578                        17usize,
579                        __vt.len(),
580                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
581                        "IsInstanceOfType",
582                    )
583                });
584                let __inner: extern "C" fn(FrameworkClrBase, ::unity::SystemType, crate::system::object::Object, ::unity::OptionalMethod) -> bool =
585                    ::core::mem::transmute(__vi.method_ptr);
586                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
587                __inner(__receiver, ::core::convert::Into::into(t), ::core::convert::Into::into(o), __mi)
588            }
589        }
590    }
591    #[doc = "`GetMethod(::unity::SystemType, ::unity::Il2CppString, ::unity::Array<::unity::SystemType>)` overload"]
592    fn get_method_2(
593        self,
594        resources_type: impl ::core::convert::Into<::unity::SystemType>,
595        name: impl ::core::convert::Into<::unity::Il2CppString>,
596        types: impl ::core::convert::Into<::unity::Array<::unity::SystemType>>,
597    ) -> crate::system::reflection::methodinfo::MethodInfo {
598        unsafe {
599            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
600            {
601                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
602                let __vi = *__vt.get(35usize).unwrap_or_else(|| {
603                    panic!(
604                        "unity: virtual slot {}
605 out of range (vtable len {}
606) on the runtime class behind {}
607 (method `{}
608`)",
609                        35usize,
610                        __vt.len(),
611                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
612                        "GetMethod",
613                    )
614                });
615                let __inner: extern "C" fn(
616                    FrameworkClrBase,
617                    ::unity::SystemType,
618                    ::unity::Il2CppString,
619                    ::unity::Array<::unity::SystemType>,
620                    ::unity::OptionalMethod,
621                ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__vi.method_ptr);
622                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
623                __inner(
624                    __receiver,
625                    ::core::convert::Into::into(resources_type),
626                    ::core::convert::Into::into(name),
627                    ::core::convert::Into::into(types),
628                    __mi,
629                )
630            }
631        }
632    }
633    #[doc = "`GetAssemblyTypes(crate::system::reflection::assembly::Assembly)` overload"]
634    fn get_assembly_types(
635        self,
636        asm: impl ::core::convert::Into<crate::system::reflection::assembly::Assembly>,
637    ) -> ::unity::Array<::unity::SystemType> {
638        unsafe {
639            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
640            {
641                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
642                let __vi = *__vt.get(28usize).unwrap_or_else(|| {
643                    panic!(
644                        "unity: virtual slot {}
645 out of range (vtable len {}
646) on the runtime class behind {}
647 (method `{}
648`)",
649                        28usize,
650                        __vt.len(),
651                        <FrameworkClrBase as ::unity::ClassIdentity>::NAME,
652                        "GetAssemblyTypes",
653                    )
654                });
655                let __inner: extern "C" fn(
656                    FrameworkClrBase,
657                    crate::system::reflection::assembly::Assembly,
658                    ::unity::OptionalMethod,
659                ) -> ::unity::Array<::unity::SystemType> = ::core::mem::transmute(__vi.method_ptr);
660                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
661                __inner(__receiver, ::core::convert::Into::into(asm), __mi)
662            }
663        }
664    }
665    #[doc = "`.ctor()` overload"]
666    fn ctor(self) -> () {
667        unsafe {
668            let __receiver = <FrameworkClrBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
669            ::unity::il2cpp_call!(__FrameworkClrBase_unity_raw::__lookup_ctor::get_method_info().method_ptr,();
670(FrameworkClrBase)__receiver)
671        }
672    }
673}
674
675#[cfg(feature = "moon_sharp-interpreter-compatibility-frameworks-frameworkclrbase")]
676impl<__T: IFrameworkClrBase> IFrameworkClrBaseMethods for __T {}
677
678#[cfg(feature = "moon_sharp-interpreter-compatibility-frameworks-frameworkclrbase")]
679impl FrameworkClrBase {
680    pub fn get_type_info_from_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
681        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
682    }
683
684    pub fn get_add_method_method_info() -> &'static ::unity::il2cpp::MethodInfo {
685        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
686    }
687
688    pub fn get_constructors_method_info() -> &'static ::unity::il2cpp::MethodInfo {
689        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
690    }
691
692    pub fn get_events_method_info() -> &'static ::unity::il2cpp::MethodInfo {
693        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
694    }
695
696    pub fn get_fields_method_info() -> &'static ::unity::il2cpp::MethodInfo {
697        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
698    }
699
700    pub fn get_generic_arguments_method_info() -> &'static ::unity::il2cpp::MethodInfo {
701        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
702    }
703
704    pub fn get_get_method_method_info() -> &'static ::unity::il2cpp::MethodInfo {
705        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
706    }
707
708    pub fn get_interfaces_method_info() -> &'static ::unity::il2cpp::MethodInfo {
709        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
710    }
711
712    pub fn get_method_method_info() -> &'static ::unity::il2cpp::MethodInfo {
713        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
714    }
715
716    pub fn get_methods_method_info() -> &'static ::unity::il2cpp::MethodInfo {
717        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
718    }
719
720    pub fn get_nested_types_method_info() -> &'static ::unity::il2cpp::MethodInfo {
721        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
722    }
723
724    pub fn get_properties_method_info() -> &'static ::unity::il2cpp::MethodInfo {
725        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
726    }
727
728    pub fn get_property_method_info() -> &'static ::unity::il2cpp::MethodInfo {
729        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
730    }
731
732    pub fn get_remove_method_method_info() -> &'static ::unity::il2cpp::MethodInfo {
733        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
734    }
735
736    pub fn get_set_method_method_info() -> &'static ::unity::il2cpp::MethodInfo {
737        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
738    }
739
740    pub fn is_assignable_from_method_info() -> &'static ::unity::il2cpp::MethodInfo {
741        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
742    }
743
744    pub fn is_instance_of_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
745        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
746    }
747
748    pub fn get_method_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
749        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
750    }
751
752    pub fn get_assembly_types_method_info() -> &'static ::unity::il2cpp::MethodInfo {
753        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
754    }
755
756    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
757        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
758    }
759}
760
761#[cfg(feature = "moon_sharp-interpreter-compatibility-frameworks-frameworkclrbase")]
762impl FrameworkClrBase {
763    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetTypeInfoFromType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
764    pub unsafe fn get_type_info_from_type(this: impl ::core::convert::Into<::unity::IlInstance>, t: ::unity::SystemType) -> ::unity::SystemType {
765        let __mi = Self::get_type_info_from_type_method_info();
766        let __inner: extern "C" fn(::unity::IlInstance, ::unity::SystemType, ::unity::OptionalMethod) -> ::unity::SystemType =
767            ::core::mem::transmute(__mi.method_ptr);
768        __inner(this.into(), t, ::core::option::Option::None)
769    }
770
771    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetAddMethod`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
772    pub unsafe fn get_add_method(
773        this: impl ::core::convert::Into<::unity::IlInstance>,
774        ei: crate::system::reflection::eventinfo::EventInfo,
775    ) -> crate::system::reflection::methodinfo::MethodInfo {
776        let __mi = Self::get_add_method_method_info();
777        let __inner: extern "C" fn(
778            ::unity::IlInstance,
779            crate::system::reflection::eventinfo::EventInfo,
780            ::unity::OptionalMethod,
781        ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__mi.method_ptr);
782        __inner(this.into(), ei, ::core::option::Option::None)
783    }
784
785    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetConstructors`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
786    pub unsafe fn get_constructors(
787        this: impl ::core::convert::Into<::unity::IlInstance>,
788        r#type: ::unity::SystemType,
789    ) -> ::unity::Array<crate::system::reflection::constructorinfo::ConstructorInfo> {
790        let __mi = Self::get_constructors_method_info();
791        let __inner: extern "C" fn(
792            ::unity::IlInstance,
793            ::unity::SystemType,
794            ::unity::OptionalMethod,
795        ) -> ::unity::Array<crate::system::reflection::constructorinfo::ConstructorInfo> = ::core::mem::transmute(__mi.method_ptr);
796        __inner(this.into(), r#type, ::core::option::Option::None)
797    }
798
799    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetEvents`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
800    pub unsafe fn get_events(
801        this: impl ::core::convert::Into<::unity::IlInstance>,
802        r#type: ::unity::SystemType,
803    ) -> ::unity::Array<crate::system::reflection::eventinfo::EventInfo> {
804        let __mi = Self::get_events_method_info();
805        let __inner: extern "C" fn(
806            ::unity::IlInstance,
807            ::unity::SystemType,
808            ::unity::OptionalMethod,
809        ) -> ::unity::Array<crate::system::reflection::eventinfo::EventInfo> = ::core::mem::transmute(__mi.method_ptr);
810        __inner(this.into(), r#type, ::core::option::Option::None)
811    }
812
813    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetFields`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
814    pub unsafe fn get_fields(
815        this: impl ::core::convert::Into<::unity::IlInstance>,
816        r#type: ::unity::SystemType,
817    ) -> ::unity::Array<crate::system::reflection::fieldinfo::FieldInfo> {
818        let __mi = Self::get_fields_method_info();
819        let __inner: extern "C" fn(
820            ::unity::IlInstance,
821            ::unity::SystemType,
822            ::unity::OptionalMethod,
823        ) -> ::unity::Array<crate::system::reflection::fieldinfo::FieldInfo> = ::core::mem::transmute(__mi.method_ptr);
824        __inner(this.into(), r#type, ::core::option::Option::None)
825    }
826
827    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetGenericArguments`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
828    pub unsafe fn get_generic_arguments(
829        this: impl ::core::convert::Into<::unity::IlInstance>,
830        r#type: ::unity::SystemType,
831    ) -> ::unity::Array<::unity::SystemType> {
832        let __mi = Self::get_generic_arguments_method_info();
833        let __inner: extern "C" fn(::unity::IlInstance, ::unity::SystemType, ::unity::OptionalMethod) -> ::unity::Array<::unity::SystemType> =
834            ::core::mem::transmute(__mi.method_ptr);
835        __inner(this.into(), r#type, ::core::option::Option::None)
836    }
837
838    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetGetMethod`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
839    pub unsafe fn get_get_method(
840        this: impl ::core::convert::Into<::unity::IlInstance>,
841        pi: crate::system::reflection::propertyinfo::PropertyInfo,
842    ) -> crate::system::reflection::methodinfo::MethodInfo {
843        let __mi = Self::get_get_method_method_info();
844        let __inner: extern "C" fn(
845            ::unity::IlInstance,
846            crate::system::reflection::propertyinfo::PropertyInfo,
847            ::unity::OptionalMethod,
848        ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__mi.method_ptr);
849        __inner(this.into(), pi, ::core::option::Option::None)
850    }
851
852    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetInterfaces`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
853    pub unsafe fn get_interfaces(
854        this: impl ::core::convert::Into<::unity::IlInstance>,
855        t: ::unity::SystemType,
856    ) -> ::unity::Array<::unity::SystemType> {
857        let __mi = Self::get_interfaces_method_info();
858        let __inner: extern "C" fn(::unity::IlInstance, ::unity::SystemType, ::unity::OptionalMethod) -> ::unity::Array<::unity::SystemType> =
859            ::core::mem::transmute(__mi.method_ptr);
860        __inner(this.into(), t, ::core::option::Option::None)
861    }
862
863    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetMethod`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
864    pub unsafe fn get_method(
865        this: impl ::core::convert::Into<::unity::IlInstance>,
866        r#type: ::unity::SystemType,
867        name: ::unity::Il2CppString,
868    ) -> crate::system::reflection::methodinfo::MethodInfo {
869        let __mi = Self::get_method_method_info();
870        let __inner: extern "C" fn(
871            ::unity::IlInstance,
872            ::unity::SystemType,
873            ::unity::Il2CppString,
874            ::unity::OptionalMethod,
875        ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__mi.method_ptr);
876        __inner(this.into(), r#type, name, ::core::option::Option::None)
877    }
878
879    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetMethods`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
880    pub unsafe fn get_methods(
881        this: impl ::core::convert::Into<::unity::IlInstance>,
882        r#type: ::unity::SystemType,
883    ) -> ::unity::Array<crate::system::reflection::methodinfo::MethodInfo> {
884        let __mi = Self::get_methods_method_info();
885        let __inner: extern "C" fn(
886            ::unity::IlInstance,
887            ::unity::SystemType,
888            ::unity::OptionalMethod,
889        ) -> ::unity::Array<crate::system::reflection::methodinfo::MethodInfo> = ::core::mem::transmute(__mi.method_ptr);
890        __inner(this.into(), r#type, ::core::option::Option::None)
891    }
892
893    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetNestedTypes`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
894    pub unsafe fn get_nested_types(
895        this: impl ::core::convert::Into<::unity::IlInstance>,
896        r#type: ::unity::SystemType,
897    ) -> ::unity::Array<::unity::SystemType> {
898        let __mi = Self::get_nested_types_method_info();
899        let __inner: extern "C" fn(::unity::IlInstance, ::unity::SystemType, ::unity::OptionalMethod) -> ::unity::Array<::unity::SystemType> =
900            ::core::mem::transmute(__mi.method_ptr);
901        __inner(this.into(), r#type, ::core::option::Option::None)
902    }
903
904    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetProperties`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
905    pub unsafe fn get_properties(
906        this: impl ::core::convert::Into<::unity::IlInstance>,
907        r#type: ::unity::SystemType,
908    ) -> ::unity::Array<crate::system::reflection::propertyinfo::PropertyInfo> {
909        let __mi = Self::get_properties_method_info();
910        let __inner: extern "C" fn(
911            ::unity::IlInstance,
912            ::unity::SystemType,
913            ::unity::OptionalMethod,
914        ) -> ::unity::Array<crate::system::reflection::propertyinfo::PropertyInfo> = ::core::mem::transmute(__mi.method_ptr);
915        __inner(this.into(), r#type, ::core::option::Option::None)
916    }
917
918    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetProperty`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
919    pub unsafe fn get_property(
920        this: impl ::core::convert::Into<::unity::IlInstance>,
921        r#type: ::unity::SystemType,
922        name: ::unity::Il2CppString,
923    ) -> crate::system::reflection::propertyinfo::PropertyInfo {
924        let __mi = Self::get_property_method_info();
925        let __inner: extern "C" fn(
926            ::unity::IlInstance,
927            ::unity::SystemType,
928            ::unity::Il2CppString,
929            ::unity::OptionalMethod,
930        ) -> crate::system::reflection::propertyinfo::PropertyInfo = ::core::mem::transmute(__mi.method_ptr);
931        __inner(this.into(), r#type, name, ::core::option::Option::None)
932    }
933
934    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetRemoveMethod`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
935    pub unsafe fn get_remove_method(
936        this: impl ::core::convert::Into<::unity::IlInstance>,
937        ei: crate::system::reflection::eventinfo::EventInfo,
938    ) -> crate::system::reflection::methodinfo::MethodInfo {
939        let __mi = Self::get_remove_method_method_info();
940        let __inner: extern "C" fn(
941            ::unity::IlInstance,
942            crate::system::reflection::eventinfo::EventInfo,
943            ::unity::OptionalMethod,
944        ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__mi.method_ptr);
945        __inner(this.into(), ei, ::core::option::Option::None)
946    }
947
948    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetSetMethod`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
949    pub unsafe fn get_set_method(
950        this: impl ::core::convert::Into<::unity::IlInstance>,
951        pi: crate::system::reflection::propertyinfo::PropertyInfo,
952    ) -> crate::system::reflection::methodinfo::MethodInfo {
953        let __mi = Self::get_set_method_method_info();
954        let __inner: extern "C" fn(
955            ::unity::IlInstance,
956            crate::system::reflection::propertyinfo::PropertyInfo,
957            ::unity::OptionalMethod,
958        ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__mi.method_ptr);
959        __inner(this.into(), pi, ::core::option::Option::None)
960    }
961
962    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `IsAssignableFrom`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
963    pub unsafe fn is_assignable_from(
964        this: impl ::core::convert::Into<::unity::IlInstance>,
965        current: ::unity::SystemType,
966        to_compare: ::unity::SystemType,
967    ) -> bool {
968        let __mi = Self::is_assignable_from_method_info();
969        let __inner: extern "C" fn(::unity::IlInstance, ::unity::SystemType, ::unity::SystemType, ::unity::OptionalMethod) -> bool =
970            ::core::mem::transmute(__mi.method_ptr);
971        __inner(this.into(), current, to_compare, ::core::option::Option::None)
972    }
973
974    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `IsInstanceOfType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
975    pub unsafe fn is_instance_of_type(
976        this: impl ::core::convert::Into<::unity::IlInstance>,
977        t: ::unity::SystemType,
978        o: crate::system::object::Object,
979    ) -> bool {
980        let __mi = Self::is_instance_of_type_method_info();
981        let __inner: extern "C" fn(::unity::IlInstance, ::unity::SystemType, crate::system::object::Object, ::unity::OptionalMethod) -> bool =
982            ::core::mem::transmute(__mi.method_ptr);
983        __inner(this.into(), t, o, ::core::option::Option::None)
984    }
985
986    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetMethod`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
987    pub unsafe fn get_method_2(
988        this: impl ::core::convert::Into<::unity::IlInstance>,
989        resources_type: ::unity::SystemType,
990        name: ::unity::Il2CppString,
991        types: ::unity::Array<::unity::SystemType>,
992    ) -> crate::system::reflection::methodinfo::MethodInfo {
993        let __mi = Self::get_method_2_method_info();
994        let __inner: extern "C" fn(
995            ::unity::IlInstance,
996            ::unity::SystemType,
997            ::unity::Il2CppString,
998            ::unity::Array<::unity::SystemType>,
999            ::unity::OptionalMethod,
1000        ) -> crate::system::reflection::methodinfo::MethodInfo = ::core::mem::transmute(__mi.method_ptr);
1001        __inner(this.into(), resources_type, name, types, ::core::option::Option::None)
1002    }
1003
1004    #[doc = "Direct (non-virtual) call to `FrameworkClrBase`'s own `GetAssemblyTypes`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1005    pub unsafe fn get_assembly_types(
1006        this: impl ::core::convert::Into<::unity::IlInstance>,
1007        asm: crate::system::reflection::assembly::Assembly,
1008    ) -> ::unity::Array<::unity::SystemType> {
1009        let __mi = Self::get_assembly_types_method_info();
1010        let __inner: extern "C" fn(
1011            ::unity::IlInstance,
1012            crate::system::reflection::assembly::Assembly,
1013            ::unity::OptionalMethod,
1014        ) -> ::unity::Array<::unity::SystemType> = ::core::mem::transmute(__mi.method_ptr);
1015        __inner(this.into(), asm, ::core::option::Option::None)
1016    }
1017}
1018
1019#[cfg(feature = "moon_sharp-interpreter-compatibility-frameworks-frameworkclrbase")]
1020impl FrameworkClrBase {
1021    #[doc = "`.ctor()` — no args"]
1022    pub fn new() -> Self {
1023        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1024            panic!(
1025                "{}
1026::{}
1027 failed to instantiate",
1028                ::core::stringify!(FrameworkClrBase),
1029                ::core::stringify!(new),
1030            )
1031        });
1032        <Self as IFrameworkClrBaseMethods>::ctor(this);
1033        this
1034    }
1035}
1036
1037#[cfg(feature = "moon_sharp-interpreter-compatibility-frameworks-frameworkclrbase")]
1038#[doc(hidden)]
1039pub mod prelude {
1040    pub use super::{FrameworkClrBase, IFrameworkClrBase, IFrameworkClrBaseMethods};
1041    #[cfg(feature = "moon_sharp-interpreter-compatibility-frameworks-frameworkbase")]
1042    pub use crate::moon_sharp::interpreter::compatibility::frameworks::frameworkbase::IFrameworkBaseMethods;
1043    #[cfg(feature = "moon_sharp-interpreter-compatibility-frameworks-frameworkreflectionbase")]
1044    pub use crate::moon_sharp::interpreter::compatibility::frameworks::frameworkreflectionbase::IFrameworkReflectionBaseMethods;
1045    #[cfg(feature = "system-object")]
1046    pub use crate::system::object::IObjectMethods;
1047    pub use crate::{
1048        moon_sharp::interpreter::compatibility::frameworks::{frameworkbase::IFrameworkBase, frameworkreflectionbase::IFrameworkReflectionBase},
1049        system::object::IObject,
1050    };
1051}