Skip to main content

engage/generated/moon_sharp/interpreter/interop/
descriptorhelpers.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "moon_sharp-interpreter-interop-descriptorhelpers-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/moon_sharp/interpreter/interop/descriptorhelpers/DescriptorHelpers.md"))]
11    #[::unity::class(namespace = "MoonSharp.Interpreter.Interop", name = "DescriptorHelpers")]
12    #[parent(crate::system::object::Object)]
13    pub struct DescriptorHelpers {}
14}
15
16#[cfg(feature = "moon_sharp-interpreter-interop-descriptorhelpers-types")]
17pub use __types::*;
18
19#[cfg(feature = "moon_sharp-interpreter-interop-descriptorhelpers")]
20#[doc(hidden)]
21#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
22mod __DescriptorHelpers_unity_raw {
23    use super::*;
24    #[doc(hidden)]
25    #[allow(non_snake_case)]
26    pub mod __lookup_is_delegate_type {
27        use super::*;
28        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
29            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::SystemType as ::unity::IlType>::il_type()];
30            ::unity::lookup::method_info_on_class_with_signature(
31                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
32                "IsDelegateType",
33                1,
34                param_types,
35                true,
36            )
37        });
38        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
39            match &*METHOD {
40                ::core::result::Result::Ok(mi) => *mi,
41                ::core::result::Result::Err(e) => {
42                    panic!(
43                        "method lookup failed: {}
44::{}
45: {}
46",
47                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
48                        "IsDelegateType",
49                        e
50                    )
51                },
52            }
53        }
54    }
55    #[doc(hidden)]
56    #[allow(non_snake_case)]
57    pub mod __lookup_get_clr_visibility {
58        use super::*;
59        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
60            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::SystemType as ::unity::IlType>::il_type()];
61            ::unity::lookup::method_info_on_class_with_signature(
62                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
63                "GetClrVisibility",
64                1,
65                param_types,
66                true,
67            )
68        });
69        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
70            match &*METHOD {
71                ::core::result::Result::Ok(mi) => *mi,
72                ::core::result::Result::Err(e) => {
73                    panic!(
74                        "method lookup failed: {}
75::{}
76: {}
77",
78                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
79                        "GetClrVisibility",
80                        e
81                    )
82                },
83            }
84        }
85    }
86    #[doc(hidden)]
87    #[allow(non_snake_case)]
88    pub mod __lookup_get_clr_visibility_2 {
89        use super::*;
90        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
91            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
92                &[<crate::system::reflection::fieldinfo::FieldInfo as ::unity::IlType>::il_type()];
93            ::unity::lookup::method_info_on_class_with_signature(
94                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
95                "GetClrVisibility",
96                1,
97                param_types,
98                true,
99            )
100        });
101        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
102            match &*METHOD {
103                ::core::result::Result::Ok(mi) => *mi,
104                ::core::result::Result::Err(e) => {
105                    panic!(
106                        "method lookup failed: {}
107::{}
108: {}
109",
110                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
111                        "GetClrVisibility",
112                        e
113                    )
114                },
115            }
116        }
117    }
118    #[doc(hidden)]
119    #[allow(non_snake_case)]
120    pub mod __lookup_get_clr_visibility_3 {
121        use super::*;
122        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
123            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
124                &[<crate::system::reflection::propertyinfo::PropertyInfo as ::unity::IlType>::il_type()];
125            ::unity::lookup::method_info_on_class_with_signature(
126                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
127                "GetClrVisibility",
128                1,
129                param_types,
130                true,
131            )
132        });
133        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
134            match &*METHOD {
135                ::core::result::Result::Ok(mi) => *mi,
136                ::core::result::Result::Err(e) => {
137                    panic!(
138                        "method lookup failed: {}
139::{}
140: {}
141",
142                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
143                        "GetClrVisibility",
144                        e
145                    )
146                },
147            }
148        }
149    }
150    #[doc(hidden)]
151    #[allow(non_snake_case)]
152    pub mod __lookup_get_clr_visibility_4 {
153        use super::*;
154        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
155            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
156                &[<crate::system::reflection::methodbase::MethodBase as ::unity::IlType>::il_type()];
157            ::unity::lookup::method_info_on_class_with_signature(
158                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
159                "GetClrVisibility",
160                1,
161                param_types,
162                true,
163            )
164        });
165        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
166            match &*METHOD {
167                ::core::result::Result::Ok(mi) => *mi,
168                ::core::result::Result::Err(e) => {
169                    panic!(
170                        "method lookup failed: {}
171::{}
172: {}
173",
174                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
175                        "GetClrVisibility",
176                        e
177                    )
178                },
179            }
180        }
181    }
182    #[doc(hidden)]
183    #[allow(non_snake_case)]
184    pub mod __lookup_is_property_info_public {
185        use super::*;
186        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
187            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
188                &[<crate::system::reflection::propertyinfo::PropertyInfo as ::unity::IlType>::il_type()];
189            ::unity::lookup::method_info_on_class_with_signature(
190                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
191                "IsPropertyInfoPublic",
192                1,
193                param_types,
194                true,
195            )
196        });
197        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
198            match &*METHOD {
199                ::core::result::Result::Ok(mi) => *mi,
200                ::core::result::Result::Err(e) => {
201                    panic!(
202                        "method lookup failed: {}
203::{}
204: {}
205",
206                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
207                        "IsPropertyInfoPublic",
208                        e
209                    )
210                },
211            }
212        }
213    }
214    #[doc(hidden)]
215    #[allow(non_snake_case)]
216    pub mod __lookup_get_meta_names_from_attributes {
217        use super::*;
218        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
219            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
220                &[<crate::system::reflection::methodinfo::MethodInfo as ::unity::IlType>::il_type()];
221            ::unity::lookup::method_info_on_class_with_signature(
222                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
223                "GetMetaNamesFromAttributes",
224                1,
225                param_types,
226                true,
227            )
228        });
229        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230            match &*METHOD {
231                ::core::result::Result::Ok(mi) => *mi,
232                ::core::result::Result::Err(e) => {
233                    panic!(
234                        "method lookup failed: {}
235::{}
236: {}
237",
238                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
239                        "GetMetaNamesFromAttributes",
240                        e
241                    )
242                },
243            }
244        }
245    }
246    #[doc(hidden)]
247    #[allow(non_snake_case)]
248    pub mod __lookup_safe_get_types {
249        use super::*;
250        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
251            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
252                &[<crate::system::reflection::assembly::Assembly as ::unity::IlType>::il_type()];
253            ::unity::lookup::method_info_on_class_with_signature(
254                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
255                "SafeGetTypes",
256                1,
257                param_types,
258                true,
259            )
260        });
261        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
262            match &*METHOD {
263                ::core::result::Result::Ok(mi) => *mi,
264                ::core::result::Result::Err(e) => {
265                    panic!(
266                        "method lookup failed: {}
267::{}
268: {}
269",
270                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
271                        "SafeGetTypes",
272                        e
273                    )
274                },
275            }
276        }
277    }
278    #[doc(hidden)]
279    #[allow(non_snake_case)]
280    pub mod __lookup_get_conversion_method_name {
281        use super::*;
282        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
283            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::SystemType as ::unity::IlType>::il_type()];
284            ::unity::lookup::method_info_on_class_with_signature(
285                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
286                "GetConversionMethodName",
287                1,
288                param_types,
289                true,
290            )
291        });
292        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
293            match &*METHOD {
294                ::core::result::Result::Ok(mi) => *mi,
295                ::core::result::Result::Err(e) => {
296                    panic!(
297                        "method lookup failed: {}
298::{}
299: {}
300",
301                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
302                        "GetConversionMethodName",
303                        e
304                    )
305                },
306            }
307        }
308    }
309    #[doc(hidden)]
310    #[allow(non_snake_case)]
311    pub mod __lookup_get_all_implemented_types {
312        use super::*;
313        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
314            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::SystemType as ::unity::IlType>::il_type()];
315            ::unity::lookup::method_info_on_class_with_signature(
316                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
317                "GetAllImplementedTypes",
318                1,
319                param_types,
320                true,
321            )
322        });
323        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
324            match &*METHOD {
325                ::core::result::Result::Ok(mi) => *mi,
326                ::core::result::Result::Err(e) => {
327                    panic!(
328                        "method lookup failed: {}
329::{}
330: {}
331",
332                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
333                        "GetAllImplementedTypes",
334                        e
335                    )
336                },
337            }
338        }
339    }
340    #[doc(hidden)]
341    #[allow(non_snake_case)]
342    pub mod __lookup_is_valid_simple_identifier {
343        use super::*;
344        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
345            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
346            ::unity::lookup::method_info_on_class_with_signature(
347                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
348                "IsValidSimpleIdentifier",
349                1,
350                param_types,
351                true,
352            )
353        });
354        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
355            match &*METHOD {
356                ::core::result::Result::Ok(mi) => *mi,
357                ::core::result::Result::Err(e) => {
358                    panic!(
359                        "method lookup failed: {}
360::{}
361: {}
362",
363                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
364                        "IsValidSimpleIdentifier",
365                        e
366                    )
367                },
368            }
369        }
370    }
371    #[doc(hidden)]
372    #[allow(non_snake_case)]
373    pub mod __lookup_to_valid_simple_identifier {
374        use super::*;
375        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
376            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
377            ::unity::lookup::method_info_on_class_with_signature(
378                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
379                "ToValidSimpleIdentifier",
380                1,
381                param_types,
382                true,
383            )
384        });
385        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
386            match &*METHOD {
387                ::core::result::Result::Ok(mi) => *mi,
388                ::core::result::Result::Err(e) => {
389                    panic!(
390                        "method lookup failed: {}
391::{}
392: {}
393",
394                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
395                        "ToValidSimpleIdentifier",
396                        e
397                    )
398                },
399            }
400        }
401    }
402    #[doc(hidden)]
403    #[allow(non_snake_case)]
404    pub mod __lookup_camelify {
405        use super::*;
406        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
407            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
408            ::unity::lookup::method_info_on_class_with_signature(
409                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
410                "Camelify",
411                1,
412                param_types,
413                true,
414            )
415        });
416        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
417            match &*METHOD {
418                ::core::result::Result::Ok(mi) => *mi,
419                ::core::result::Result::Err(e) => {
420                    panic!(
421                        "method lookup failed: {}
422::{}
423: {}
424",
425                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
426                        "Camelify",
427                        e
428                    )
429                },
430            }
431        }
432    }
433    #[doc(hidden)]
434    #[allow(non_snake_case)]
435    pub mod __lookup_upper_first_letter {
436        use super::*;
437        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
438            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
439            ::unity::lookup::method_info_on_class_with_signature(
440                <DescriptorHelpers as ::unity::ClassIdentity>::class(),
441                "UpperFirstLetter",
442                1,
443                param_types,
444                true,
445            )
446        });
447        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
448            match &*METHOD {
449                ::core::result::Result::Ok(mi) => *mi,
450                ::core::result::Result::Err(e) => {
451                    panic!(
452                        "method lookup failed: {}
453::{}
454: {}
455",
456                        <DescriptorHelpers as ::unity::ClassIdentity>::NAME,
457                        "UpperFirstLetter",
458                        e
459                    )
460                },
461            }
462        }
463    }
464}
465
466#[cfg(feature = "moon_sharp-interpreter-interop-descriptorhelpers")]
467impl DescriptorHelpers {
468    #[doc = "`IsDelegateType(::unity::SystemType)` overload"]
469    pub fn is_delegate_type(t: impl ::core::convert::Into<::unity::SystemType>) -> bool {
470        unsafe {
471            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_is_delegate_type::get_method_info().method_ptr,bool;
472(::unity::SystemType)::core::convert::Into::into(t))
473        }
474    }
475
476    #[doc = "`GetClrVisibility(::unity::SystemType)` overload"]
477    pub fn get_clr_visibility(r#type: impl ::core::convert::Into<::unity::SystemType>) -> ::unity::Il2CppString {
478        unsafe {
479            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_get_clr_visibility::get_method_info().method_ptr, ::unity::Il2CppString;
480(::unity::SystemType)::core::convert::Into::into(r#type))
481        }
482    }
483
484    #[doc = "`GetClrVisibility(crate::system::reflection::fieldinfo::FieldInfo)` overload"]
485    pub fn get_clr_visibility_2(info: impl ::core::convert::Into<crate::system::reflection::fieldinfo::FieldInfo>) -> ::unity::Il2CppString {
486        unsafe {
487            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_get_clr_visibility_2::get_method_info().method_ptr, ::unity::Il2CppString;
488(crate::system::reflection::fieldinfo::FieldInfo)::core::convert::Into::into(info))
489        }
490    }
491
492    #[doc = "`GetClrVisibility(crate::system::reflection::propertyinfo::PropertyInfo)` overload"]
493    pub fn get_clr_visibility_3(info: impl ::core::convert::Into<crate::system::reflection::propertyinfo::PropertyInfo>) -> ::unity::Il2CppString {
494        unsafe {
495            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_get_clr_visibility_3::get_method_info().method_ptr, ::unity::Il2CppString;
496(crate::system::reflection::propertyinfo::PropertyInfo)::core::convert::Into::into(info))
497        }
498    }
499
500    #[doc = "`GetClrVisibility(crate::system::reflection::methodbase::MethodBase)` overload"]
501    pub fn get_clr_visibility_4(info: impl ::core::convert::Into<crate::system::reflection::methodbase::MethodBase>) -> ::unity::Il2CppString {
502        unsafe {
503            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_get_clr_visibility_4::get_method_info().method_ptr, ::unity::Il2CppString;
504(crate::system::reflection::methodbase::MethodBase)::core::convert::Into::into(info))
505        }
506    }
507
508    #[doc = "`IsPropertyInfoPublic(crate::system::reflection::propertyinfo::PropertyInfo)` overload"]
509    pub fn is_property_info_public(pi: impl ::core::convert::Into<crate::system::reflection::propertyinfo::PropertyInfo>) -> bool {
510        unsafe {
511            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_is_property_info_public::get_method_info().method_ptr,bool;
512(crate::system::reflection::propertyinfo::PropertyInfo)::core::convert::Into::into(pi))
513        }
514    }
515
516    #[doc = "`GetMetaNamesFromAttributes(crate::system::reflection::methodinfo::MethodInfo)` overload"]
517    pub fn get_meta_names_from_attributes(
518        mi: impl ::core::convert::Into<crate::system::reflection::methodinfo::MethodInfo>,
519    ) -> crate::system::collections::generic::list_1::List_1<::unity::Il2CppString> {
520        unsafe {
521            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_get_meta_names_from_attributes::get_method_info().method_ptr,crate::system::collections::generic::list_1::List_1< ::unity::Il2CppString> ;
522(crate::system::reflection::methodinfo::MethodInfo)::core::convert::Into::into(mi))
523        }
524    }
525
526    #[doc = "`SafeGetTypes(crate::system::reflection::assembly::Assembly)` overload"]
527    pub fn safe_get_types(asm: impl ::core::convert::Into<crate::system::reflection::assembly::Assembly>) -> ::unity::Array<::unity::SystemType> {
528        unsafe {
529            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_safe_get_types::get_method_info().method_ptr, ::unity::Array< ::unity::SystemType> ;
530(crate::system::reflection::assembly::Assembly)::core::convert::Into::into(asm))
531        }
532    }
533
534    #[doc = "`GetConversionMethodName(::unity::SystemType)` overload"]
535    pub fn get_conversion_method_name(r#type: impl ::core::convert::Into<::unity::SystemType>) -> ::unity::Il2CppString {
536        unsafe {
537            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_get_conversion_method_name::get_method_info().method_ptr, ::unity::Il2CppString;
538(::unity::SystemType)::core::convert::Into::into(r#type))
539        }
540    }
541
542    #[doc = "`GetAllImplementedTypes(::unity::SystemType)` overload"]
543    pub fn get_all_implemented_types(
544        t: impl ::core::convert::Into<::unity::SystemType>,
545    ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::SystemType> {
546        unsafe {
547            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_get_all_implemented_types::get_method_info().method_ptr,crate::system::collections::generic::ienumerable_1::IEnumerable_1< ::unity::SystemType> ;
548(::unity::SystemType)::core::convert::Into::into(t))
549        }
550    }
551
552    #[doc = "`IsValidSimpleIdentifier(::unity::Il2CppString)` overload"]
553    pub fn is_valid_simple_identifier(str: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
554        unsafe {
555            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_is_valid_simple_identifier::get_method_info().method_ptr,bool;
556(::unity::Il2CppString)::core::convert::Into::into(str))
557        }
558    }
559
560    #[doc = "`ToValidSimpleIdentifier(::unity::Il2CppString)` overload"]
561    pub fn to_valid_simple_identifier(str: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
562        unsafe {
563            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_to_valid_simple_identifier::get_method_info().method_ptr, ::unity::Il2CppString;
564(::unity::Il2CppString)::core::convert::Into::into(str))
565        }
566    }
567
568    #[doc = "`Camelify(::unity::Il2CppString)` overload"]
569    pub fn camelify(name: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
570        unsafe {
571            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_camelify::get_method_info().method_ptr, ::unity::Il2CppString;
572(::unity::Il2CppString)::core::convert::Into::into(name))
573        }
574    }
575
576    #[doc = "`UpperFirstLetter(::unity::Il2CppString)` overload"]
577    pub fn upper_first_letter(name: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
578        unsafe {
579            ::unity::il2cpp_call!(__DescriptorHelpers_unity_raw::__lookup_upper_first_letter::get_method_info().method_ptr, ::unity::Il2CppString;
580(::unity::Il2CppString)::core::convert::Into::into(name))
581        }
582    }
583}
584
585#[cfg(feature = "moon_sharp-interpreter-interop-descriptorhelpers")]
586impl DescriptorHelpers {
587    pub fn is_delegate_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
588        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
589    }
590
591    pub fn get_clr_visibility_method_info() -> &'static ::unity::il2cpp::MethodInfo {
592        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
593    }
594
595    pub fn get_clr_visibility_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
596        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
597    }
598
599    pub fn get_clr_visibility_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
600        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
601    }
602
603    pub fn get_clr_visibility_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
604        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
605    }
606
607    pub fn is_property_info_public_method_info() -> &'static ::unity::il2cpp::MethodInfo {
608        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
609    }
610
611    pub fn get_meta_names_from_attributes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
612        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
613    }
614
615    pub fn safe_get_types_method_info() -> &'static ::unity::il2cpp::MethodInfo {
616        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
617    }
618
619    pub fn get_conversion_method_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
620        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
621    }
622
623    pub fn get_all_implemented_types_method_info() -> &'static ::unity::il2cpp::MethodInfo {
624        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
625    }
626
627    pub fn is_valid_simple_identifier_method_info() -> &'static ::unity::il2cpp::MethodInfo {
628        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
629    }
630
631    pub fn to_valid_simple_identifier_method_info() -> &'static ::unity::il2cpp::MethodInfo {
632        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
633    }
634
635    pub fn camelify_method_info() -> &'static ::unity::il2cpp::MethodInfo {
636        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
637    }
638
639    pub fn upper_first_letter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
640        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
641    }
642}
643
644#[cfg(feature = "moon_sharp-interpreter-interop-descriptorhelpers")]
645#[doc(hidden)]
646pub mod prelude {
647    pub use super::{DescriptorHelpers, IDescriptorHelpers};
648    pub use crate::system::object::IObject;
649    #[cfg(feature = "system-object")]
650    pub use crate::system::object::IObjectMethods;
651}