Skip to main content

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

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "system-reflection-emit-propertybuilder-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            propertyinfo::{IPropertyInfo, PropertyInfo},
13        },
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/system/reflection/emit/propertybuilder/PropertyBuilder.md"))]
17    #[::unity::class(namespace = "System.Reflection.Emit", name = "PropertyBuilder")]
18    #[parent(crate::system::reflection::propertyinfo::PropertyInfo)]
19    pub struct PropertyBuilder {}
20}
21
22#[cfg(feature = "system-reflection-emit-propertybuilder-types")]
23pub use __types::*;
24
25#[cfg(feature = "system-reflection-emit-propertybuilder")]
26pub trait IPropertyBuilderMethods: IPropertyBuilder {
27    #[doc = "`get_Attributes()` overload"]
28    fn get_attributes(self) -> crate::system::reflection::propertyattributes::PropertyAttributes {
29        unsafe {
30            let __receiver = <PropertyBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
31            {
32                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
33                let __vi = *__vt.get(16usize).unwrap_or_else(|| {
34                    panic!(
35                        "unity: virtual slot {}
36 out of range (vtable len {}
37) on the runtime class behind {}
38 (method `{}
39`)",
40                        16usize,
41                        __vt.len(),
42                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
43                        "get_Attributes",
44                    )
45                });
46                let __inner: extern "C" fn(
47                    PropertyBuilder,
48                    ::unity::OptionalMethod,
49                ) -> crate::system::reflection::propertyattributes::PropertyAttributes = ::core::mem::transmute(__vi.method_ptr);
50                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
51                __inner(__receiver, __mi)
52            }
53        }
54    }
55    #[doc = "`get_CanRead()` overload"]
56    fn get_can_read(self) -> bool {
57        unsafe {
58            let __receiver = <PropertyBuilder 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(17usize).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                        17usize,
69                        __vt.len(),
70                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
71                        "get_CanRead",
72                    )
73                });
74                let __inner: extern "C" fn(PropertyBuilder, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
75                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
76                __inner(__receiver, __mi)
77            }
78        }
79    }
80    #[doc = "`get_CanWrite()` overload"]
81    fn get_can_write(self) -> bool {
82        unsafe {
83            let __receiver = <PropertyBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
84            {
85                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
86                let __vi = *__vt.get(18usize).unwrap_or_else(|| {
87                    panic!(
88                        "unity: virtual slot {}
89 out of range (vtable len {}
90) on the runtime class behind {}
91 (method `{}
92`)",
93                        18usize,
94                        __vt.len(),
95                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
96                        "get_CanWrite",
97                    )
98                });
99                let __inner: extern "C" fn(PropertyBuilder, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
100                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
101                __inner(__receiver, __mi)
102            }
103        }
104    }
105    #[doc = "`get_DeclaringType()` overload"]
106    fn get_declaring_type(self) -> ::unity::SystemType {
107        unsafe {
108            let __receiver = <PropertyBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
109            {
110                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
111                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
112                    panic!(
113                        "unity: virtual slot {}
114 out of range (vtable len {}
115) on the runtime class behind {}
116 (method `{}
117`)",
118                        8usize,
119                        __vt.len(),
120                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
121                        "get_DeclaringType",
122                    )
123                });
124                let __inner: extern "C" fn(PropertyBuilder, ::unity::OptionalMethod) -> ::unity::SystemType = ::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, __mi)
127            }
128        }
129    }
130    #[doc = "`get_Name()` overload"]
131    fn get_name(self) -> ::unity::Il2CppString {
132        unsafe {
133            let __receiver = <PropertyBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
134            {
135                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
136                let __vi = *__vt.get(7usize).unwrap_or_else(|| {
137                    panic!(
138                        "unity: virtual slot {}
139 out of range (vtable len {}
140) on the runtime class behind {}
141 (method `{}
142`)",
143                        7usize,
144                        __vt.len(),
145                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
146                        "get_Name",
147                    )
148                });
149                let __inner: extern "C" fn(PropertyBuilder, ::unity::OptionalMethod) -> ::unity::Il2CppString =
150                    ::core::mem::transmute(__vi.method_ptr);
151                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
152                __inner(__receiver, __mi)
153            }
154        }
155    }
156    #[doc = "`get_PropertyType()` overload"]
157    fn get_property_type(self) -> ::unity::SystemType {
158        unsafe {
159            let __receiver = <PropertyBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
160            {
161                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
162                let __vi = *__vt.get(20usize).unwrap_or_else(|| {
163                    panic!(
164                        "unity: virtual slot {}
165 out of range (vtable len {}
166) on the runtime class behind {}
167 (method `{}
168`)",
169                        20usize,
170                        __vt.len(),
171                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
172                        "get_PropertyType",
173                    )
174                });
175                let __inner: extern "C" fn(PropertyBuilder, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__vi.method_ptr);
176                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
177                __inner(__receiver, __mi)
178            }
179        }
180    }
181    #[doc = "`GetIndexParameters()` overload"]
182    fn get_index_parameters(self) -> ::unity::Array<crate::system::reflection::parameterinfo::ParameterInfo> {
183        unsafe {
184            let __receiver = <PropertyBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
185            {
186                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
187                let __vi = *__vt.get(23usize).unwrap_or_else(|| {
188                    panic!(
189                        "unity: virtual slot {}
190 out of range (vtable len {}
191) on the runtime class behind {}
192 (method `{}
193`)",
194                        23usize,
195                        __vt.len(),
196                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
197                        "GetIndexParameters",
198                    )
199                });
200                let __inner: extern "C" fn(
201                    PropertyBuilder,
202                    ::unity::OptionalMethod,
203                ) -> ::unity::Array<crate::system::reflection::parameterinfo::ParameterInfo> = ::core::mem::transmute(__vi.method_ptr);
204                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
205                __inner(__receiver, __mi)
206            }
207        }
208    }
209    #[doc = "`get_ReflectedType()` overload"]
210    fn get_reflected_type(self) -> ::unity::SystemType {
211        unsafe {
212            let __receiver = <PropertyBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
213            {
214                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
215                let __vi = *__vt.get(9usize).unwrap_or_else(|| {
216                    panic!(
217                        "unity: virtual slot {}
218 out of range (vtable len {}
219) on the runtime class behind {}
220 (method `{}
221`)",
222                        9usize,
223                        __vt.len(),
224                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
225                        "get_ReflectedType",
226                    )
227                });
228                let __inner: extern "C" fn(PropertyBuilder, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__vi.method_ptr);
229                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
230                __inner(__receiver, __mi)
231            }
232        }
233    }
234    #[doc = "`GetAccessors(bool)` overload"]
235    fn get_accessors(self, non_public: impl ::core::convert::Into<bool>) -> ::unity::Array<crate::system::reflection::methodinfo::MethodInfo> {
236        unsafe {
237            let __receiver = <PropertyBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
238            {
239                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
240                let __vi = *__vt.get(21usize).unwrap_or_else(|| {
241                    panic!(
242                        "unity: virtual slot {}
243 out of range (vtable len {}
244) on the runtime class behind {}
245 (method `{}
246`)",
247                        21usize,
248                        __vt.len(),
249                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
250                        "GetAccessors",
251                    )
252                });
253                let __inner: extern "C" fn(
254                    PropertyBuilder,
255                    bool,
256                    ::unity::OptionalMethod,
257                ) -> ::unity::Array<crate::system::reflection::methodinfo::MethodInfo> = ::core::mem::transmute(__vi.method_ptr);
258                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
259                __inner(__receiver, ::core::convert::Into::into(non_public), __mi)
260            }
261        }
262    }
263    #[doc = "`GetCustomAttributes(bool)` overload"]
264    fn get_custom_attributes(self, inherit: impl ::core::convert::Into<bool>) -> ::unity::Array<crate::system::object::Object> {
265        unsafe {
266            let __receiver = <PropertyBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
267            {
268                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
269                let __vi = *__vt.get(10usize).unwrap_or_else(|| {
270                    panic!(
271                        "unity: virtual slot {}
272 out of range (vtable len {}
273) on the runtime class behind {}
274 (method `{}
275`)",
276                        10usize,
277                        __vt.len(),
278                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
279                        "GetCustomAttributes",
280                    )
281                });
282                let __inner: extern "C" fn(PropertyBuilder, bool, ::unity::OptionalMethod) -> ::unity::Array<crate::system::object::Object> =
283                    ::core::mem::transmute(__vi.method_ptr);
284                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
285                __inner(__receiver, ::core::convert::Into::into(inherit), __mi)
286            }
287        }
288    }
289    #[doc = "`GetCustomAttributes(::unity::SystemType, bool)` overload"]
290    fn get_custom_attributes_2(
291        self,
292        attribute_type: impl ::core::convert::Into<::unity::SystemType>,
293        inherit: impl ::core::convert::Into<bool>,
294    ) -> ::unity::Array<crate::system::object::Object> {
295        unsafe {
296            let __receiver = <PropertyBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
297            {
298                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
299                let __vi = *__vt.get(11usize).unwrap_or_else(|| {
300                    panic!(
301                        "unity: virtual slot {}
302 out of range (vtable len {}
303) on the runtime class behind {}
304 (method `{}
305`)",
306                        11usize,
307                        __vt.len(),
308                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
309                        "GetCustomAttributes",
310                    )
311                });
312                let __inner: extern "C" fn(
313                    PropertyBuilder,
314                    ::unity::SystemType,
315                    bool,
316                    ::unity::OptionalMethod,
317                ) -> ::unity::Array<crate::system::object::Object> = ::core::mem::transmute(__vi.method_ptr);
318                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
319                __inner(
320                    __receiver,
321                    ::core::convert::Into::into(attribute_type),
322                    ::core::convert::Into::into(inherit),
323                    __mi,
324                )
325            }
326        }
327    }
328    #[doc = "`GetGetMethod(bool)` overload"]
329    fn get_get_method(self, non_public: impl ::core::convert::Into<bool>) -> crate::system::reflection::methodinfo::MethodInfo {
330        unsafe {
331            let __receiver = <PropertyBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
332            {
333                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
334                let __vi = *__vt.get(22usize).unwrap_or_else(|| {
335                    panic!(
336                        "unity: virtual slot {}
337 out of range (vtable len {}
338) on the runtime class behind {}
339 (method `{}
340`)",
341                        22usize,
342                        __vt.len(),
343                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
344                        "GetGetMethod",
345                    )
346                });
347                let __inner: extern "C" fn(PropertyBuilder, bool, ::unity::OptionalMethod) -> crate::system::reflection::methodinfo::MethodInfo =
348                    ::core::mem::transmute(__vi.method_ptr);
349                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
350                __inner(__receiver, ::core::convert::Into::into(non_public), __mi)
351            }
352        }
353    }
354    #[doc = "`GetSetMethod(bool)` overload"]
355    fn get_set_method(self, non_public: impl ::core::convert::Into<bool>) -> crate::system::reflection::methodinfo::MethodInfo {
356        unsafe {
357            let __receiver = <PropertyBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
358            {
359                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
360                let __vi = *__vt.get(25usize).unwrap_or_else(|| {
361                    panic!(
362                        "unity: virtual slot {}
363 out of range (vtable len {}
364) on the runtime class behind {}
365 (method `{}
366`)",
367                        25usize,
368                        __vt.len(),
369                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
370                        "GetSetMethod",
371                    )
372                });
373                let __inner: extern "C" fn(PropertyBuilder, bool, ::unity::OptionalMethod) -> crate::system::reflection::methodinfo::MethodInfo =
374                    ::core::mem::transmute(__vi.method_ptr);
375                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
376                __inner(__receiver, ::core::convert::Into::into(non_public), __mi)
377            }
378        }
379    }
380    #[doc = "`IsDefined(::unity::SystemType, bool)` overload"]
381    fn is_defined(self, attribute_type: impl ::core::convert::Into<::unity::SystemType>, inherit: impl ::core::convert::Into<bool>) -> bool {
382        unsafe {
383            let __receiver = <PropertyBuilder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
384            {
385                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
386                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
387                    panic!(
388                        "unity: virtual slot {}
389 out of range (vtable len {}
390) on the runtime class behind {}
391 (method `{}
392`)",
393                        12usize,
394                        __vt.len(),
395                        <PropertyBuilder as ::unity::ClassIdentity>::NAME,
396                        "IsDefined",
397                    )
398                });
399                let __inner: extern "C" fn(PropertyBuilder, ::unity::SystemType, bool, ::unity::OptionalMethod) -> bool =
400                    ::core::mem::transmute(__vi.method_ptr);
401                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
402                __inner(
403                    __receiver,
404                    ::core::convert::Into::into(attribute_type),
405                    ::core::convert::Into::into(inherit),
406                    __mi,
407                )
408            }
409        }
410    }
411}
412
413#[cfg(feature = "system-reflection-emit-propertybuilder")]
414impl<__T: IPropertyBuilder> IPropertyBuilderMethods for __T {}
415
416#[cfg(feature = "system-reflection-emit-propertybuilder")]
417impl PropertyBuilder {
418    pub fn get_attributes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
419        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
420    }
421
422    pub fn get_can_read_method_info() -> &'static ::unity::il2cpp::MethodInfo {
423        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
424    }
425
426    pub fn get_can_write_method_info() -> &'static ::unity::il2cpp::MethodInfo {
427        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
428    }
429
430    pub fn get_declaring_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
431        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
432    }
433
434    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
435        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
436    }
437
438    pub fn get_property_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
439        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
440    }
441
442    pub fn get_index_parameters_method_info() -> &'static ::unity::il2cpp::MethodInfo {
443        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
444    }
445
446    pub fn get_reflected_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
447        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
448    }
449
450    pub fn get_accessors_method_info() -> &'static ::unity::il2cpp::MethodInfo {
451        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
452    }
453
454    pub fn get_custom_attributes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
455        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
456    }
457
458    pub fn get_custom_attributes_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
459        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
460    }
461
462    pub fn get_get_method_method_info() -> &'static ::unity::il2cpp::MethodInfo {
463        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
464    }
465
466    pub fn get_set_method_method_info() -> &'static ::unity::il2cpp::MethodInfo {
467        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
468    }
469
470    pub fn is_defined_method_info() -> &'static ::unity::il2cpp::MethodInfo {
471        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
472    }
473}
474
475#[cfg(feature = "system-reflection-emit-propertybuilder")]
476impl PropertyBuilder {
477    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `get_Attributes`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
478    pub unsafe fn get_attributes(
479        this: impl ::core::convert::Into<::unity::IlInstance>,
480    ) -> crate::system::reflection::propertyattributes::PropertyAttributes {
481        let __mi = Self::get_attributes_method_info();
482        let __inner: extern "C" fn(
483            ::unity::IlInstance,
484            ::unity::OptionalMethod,
485        ) -> crate::system::reflection::propertyattributes::PropertyAttributes = ::core::mem::transmute(__mi.method_ptr);
486        __inner(this.into(), ::core::option::Option::None)
487    }
488
489    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `get_CanRead`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
490    pub unsafe fn get_can_read(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
491        let __mi = Self::get_can_read_method_info();
492        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
493        __inner(this.into(), ::core::option::Option::None)
494    }
495
496    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `get_CanWrite`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
497    pub unsafe fn get_can_write(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
498        let __mi = Self::get_can_write_method_info();
499        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
500        __inner(this.into(), ::core::option::Option::None)
501    }
502
503    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `get_DeclaringType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
504    pub unsafe fn get_declaring_type(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::SystemType {
505        let __mi = Self::get_declaring_type_method_info();
506        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__mi.method_ptr);
507        __inner(this.into(), ::core::option::Option::None)
508    }
509
510    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `get_Name`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
511    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
512        let __mi = Self::get_name_method_info();
513        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
514        __inner(this.into(), ::core::option::Option::None)
515    }
516
517    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `get_PropertyType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
518    pub unsafe fn get_property_type(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::SystemType {
519        let __mi = Self::get_property_type_method_info();
520        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__mi.method_ptr);
521        __inner(this.into(), ::core::option::Option::None)
522    }
523
524    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `GetIndexParameters`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
525    pub unsafe fn get_index_parameters(
526        this: impl ::core::convert::Into<::unity::IlInstance>,
527    ) -> ::unity::Array<crate::system::reflection::parameterinfo::ParameterInfo> {
528        let __mi = Self::get_index_parameters_method_info();
529        let __inner: extern "C" fn(
530            ::unity::IlInstance,
531            ::unity::OptionalMethod,
532        ) -> ::unity::Array<crate::system::reflection::parameterinfo::ParameterInfo> = ::core::mem::transmute(__mi.method_ptr);
533        __inner(this.into(), ::core::option::Option::None)
534    }
535
536    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `get_ReflectedType`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
537    pub unsafe fn get_reflected_type(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::SystemType {
538        let __mi = Self::get_reflected_type_method_info();
539        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::SystemType = ::core::mem::transmute(__mi.method_ptr);
540        __inner(this.into(), ::core::option::Option::None)
541    }
542
543    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `GetAccessors`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
544    pub unsafe fn get_accessors(
545        this: impl ::core::convert::Into<::unity::IlInstance>,
546        non_public: bool,
547    ) -> ::unity::Array<crate::system::reflection::methodinfo::MethodInfo> {
548        let __mi = Self::get_accessors_method_info();
549        let __inner: extern "C" fn(
550            ::unity::IlInstance,
551            bool,
552            ::unity::OptionalMethod,
553        ) -> ::unity::Array<crate::system::reflection::methodinfo::MethodInfo> = ::core::mem::transmute(__mi.method_ptr);
554        __inner(this.into(), non_public, ::core::option::Option::None)
555    }
556
557    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `GetCustomAttributes`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
558    pub unsafe fn get_custom_attributes(
559        this: impl ::core::convert::Into<::unity::IlInstance>,
560        inherit: bool,
561    ) -> ::unity::Array<crate::system::object::Object> {
562        let __mi = Self::get_custom_attributes_method_info();
563        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> ::unity::Array<crate::system::object::Object> =
564            ::core::mem::transmute(__mi.method_ptr);
565        __inner(this.into(), inherit, ::core::option::Option::None)
566    }
567
568    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `GetCustomAttributes`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
569    pub unsafe fn get_custom_attributes_2(
570        this: impl ::core::convert::Into<::unity::IlInstance>,
571        attribute_type: ::unity::SystemType,
572        inherit: bool,
573    ) -> ::unity::Array<crate::system::object::Object> {
574        let __mi = Self::get_custom_attributes_2_method_info();
575        let __inner: extern "C" fn(
576            ::unity::IlInstance,
577            ::unity::SystemType,
578            bool,
579            ::unity::OptionalMethod,
580        ) -> ::unity::Array<crate::system::object::Object> = ::core::mem::transmute(__mi.method_ptr);
581        __inner(this.into(), attribute_type, inherit, ::core::option::Option::None)
582    }
583
584    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `GetGetMethod`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
585    pub unsafe fn get_get_method(
586        this: impl ::core::convert::Into<::unity::IlInstance>,
587        non_public: bool,
588    ) -> crate::system::reflection::methodinfo::MethodInfo {
589        let __mi = Self::get_get_method_method_info();
590        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> crate::system::reflection::methodinfo::MethodInfo =
591            ::core::mem::transmute(__mi.method_ptr);
592        __inner(this.into(), non_public, ::core::option::Option::None)
593    }
594
595    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `GetSetMethod`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
596    pub unsafe fn get_set_method(
597        this: impl ::core::convert::Into<::unity::IlInstance>,
598        non_public: bool,
599    ) -> crate::system::reflection::methodinfo::MethodInfo {
600        let __mi = Self::get_set_method_method_info();
601        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> crate::system::reflection::methodinfo::MethodInfo =
602            ::core::mem::transmute(__mi.method_ptr);
603        __inner(this.into(), non_public, ::core::option::Option::None)
604    }
605
606    #[doc = "Direct (non-virtual) call to `PropertyBuilder`'s own `IsDefined`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
607    pub unsafe fn is_defined(this: impl ::core::convert::Into<::unity::IlInstance>, attribute_type: ::unity::SystemType, inherit: bool) -> bool {
608        let __mi = Self::is_defined_method_info();
609        let __inner: extern "C" fn(::unity::IlInstance, ::unity::SystemType, bool, ::unity::OptionalMethod) -> bool =
610            ::core::mem::transmute(__mi.method_ptr);
611        __inner(this.into(), attribute_type, inherit, ::core::option::Option::None)
612    }
613}
614
615#[cfg(feature = "system-reflection-emit-propertybuilder")]
616#[doc(hidden)]
617pub mod prelude {
618    pub use super::{IPropertyBuilder, IPropertyBuilderMethods, PropertyBuilder};
619    #[cfg(feature = "system-object")]
620    pub use crate::system::object::IObjectMethods;
621    #[cfg(feature = "system-reflection-memberinfo")]
622    pub use crate::system::reflection::memberinfo::IMemberInfoMethods;
623    #[cfg(feature = "system-reflection-propertyinfo")]
624    pub use crate::system::reflection::propertyinfo::IPropertyInfoMethods;
625    pub use crate::system::{
626        object::IObject,
627        reflection::{memberinfo::IMemberInfo, propertyinfo::IPropertyInfo},
628    };
629}