1#[cfg(feature = "system-collections-emptyreadonlydictionaryinternal-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/system/collections/emptyreadonlydictionaryinternal/EmptyReadOnlyDictionaryInternal.md"))]
11 #[::unity::class(namespace = "System.Collections", name = "EmptyReadOnlyDictionaryInternal")]
12 #[parent(crate::system::object::Object)]
13 pub struct EmptyReadOnlyDictionaryInternal {}
14
15 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/system/collections/emptyreadonlydictionaryinternal/EmptyReadOnlyDictionaryInternal_NodeEnumerator.md"))]
16 #[::unity::class(namespace = "System.Collections", name = "EmptyReadOnlyDictionaryInternal.NodeEnumerator")]
17 #[parent(crate::system::object::Object)]
18 pub struct EmptyReadOnlyDictionaryInternal_NodeEnumerator {}
19}
20
21#[cfg(feature = "system-collections-emptyreadonlydictionaryinternal-types")]
22pub use __types::*;
23
24#[cfg(feature = "system-collections-emptyreadonlydictionaryinternal")]
25pub trait IEmptyReadOnlyDictionaryInternalMethods: IEmptyReadOnlyDictionaryInternal {
26 #[doc = "`.ctor()` overload"]
27 fn ctor(self) -> () {
28 unsafe {
29 let __receiver =
30 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
31 ::unity::il2cpp_call!((::unity::module_base()+0x3641090usize)as*mut u8,();
32(EmptyReadOnlyDictionaryInternal)__receiver)
33 }
34 }
35 #[doc = "`System.Collections.IEnumerable.GetEnumerator()` overload"]
36 fn system_collections_i_enumerable_get_enumerator(self) -> crate::system::collections::ienumerator::IEnumerator {
37 unsafe {
38 let __receiver =
39 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
40 {
41 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
42 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
43 panic!(
44 "unity: virtual slot {}
45 out of range (vtable len {}
46) on the runtime class behind {}
47 (method `{}
48`)",
49 18usize,
50 __vt.len(),
51 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
52 "System.Collections.IEnumerable.GetEnumerator",
53 )
54 });
55 let __inner: extern "C" fn(
56 EmptyReadOnlyDictionaryInternal,
57 ::unity::OptionalMethod,
58 ) -> crate::system::collections::ienumerator::IEnumerator = ::core::mem::transmute(__vi.method_ptr);
59 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
60 __inner(__receiver, __mi)
61 }
62 }
63 }
64 #[doc = "`CopyTo(::unity::IlInstance, i32)` overload"]
65 fn copy_to(self, array: impl ::core::convert::Into<::unity::IlInstance>, index: impl ::core::convert::Into<i32>) -> () {
66 unsafe {
67 let __receiver =
68 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
69 {
70 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
71 let __vi = *__vt.get(14usize).unwrap_or_else(|| {
72 panic!(
73 "unity: virtual slot {}
74 out of range (vtable len {}
75) on the runtime class behind {}
76 (method `{}
77`)",
78 14usize,
79 __vt.len(),
80 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
81 "CopyTo",
82 )
83 });
84 let __inner: extern "C" fn(EmptyReadOnlyDictionaryInternal, ::unity::IlInstance, i32, ::unity::OptionalMethod) -> () =
85 ::core::mem::transmute(__vi.method_ptr);
86 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
87 __inner(__receiver, ::core::convert::Into::into(array), ::core::convert::Into::into(index), __mi)
88 }
89 }
90 }
91 #[doc = "`get_Count()` overload"]
92 fn get_count(self) -> i32 {
93 unsafe {
94 let __receiver =
95 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
96 {
97 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
98 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
99 panic!(
100 "unity: virtual slot {}
101 out of range (vtable len {}
102) on the runtime class behind {}
103 (method `{}
104`)",
105 15usize,
106 __vt.len(),
107 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
108 "get_Count",
109 )
110 });
111 let __inner: extern "C" fn(EmptyReadOnlyDictionaryInternal, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
112 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
113 __inner(__receiver, __mi)
114 }
115 }
116 }
117 #[doc = "`get_SyncRoot()` overload"]
118 fn get_sync_root(self) -> crate::system::object::Object {
119 unsafe {
120 let __receiver =
121 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
122 {
123 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
124 let __vi = *__vt.get(16usize).unwrap_or_else(|| {
125 panic!(
126 "unity: virtual slot {}
127 out of range (vtable len {}
128) on the runtime class behind {}
129 (method `{}
130`)",
131 16usize,
132 __vt.len(),
133 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
134 "get_SyncRoot",
135 )
136 });
137 let __inner: extern "C" fn(EmptyReadOnlyDictionaryInternal, ::unity::OptionalMethod) -> crate::system::object::Object =
138 ::core::mem::transmute(__vi.method_ptr);
139 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
140 __inner(__receiver, __mi)
141 }
142 }
143 }
144 #[doc = "`get_IsSynchronized()` overload"]
145 fn get_is_synchronized(self) -> bool {
146 unsafe {
147 let __receiver =
148 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
149 {
150 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
151 let __vi = *__vt.get(17usize).unwrap_or_else(|| {
152 panic!(
153 "unity: virtual slot {}
154 out of range (vtable len {}
155) on the runtime class behind {}
156 (method `{}
157`)",
158 17usize,
159 __vt.len(),
160 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
161 "get_IsSynchronized",
162 )
163 });
164 let __inner: extern "C" fn(EmptyReadOnlyDictionaryInternal, ::unity::OptionalMethod) -> bool =
165 ::core::mem::transmute(__vi.method_ptr);
166 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
167 __inner(__receiver, __mi)
168 }
169 }
170 }
171 #[doc = "`get_Item(crate::system::object::Object)` overload"]
172 fn get_item(self, key: impl ::core::convert::Into<crate::system::object::Object>) -> crate::system::object::Object {
173 unsafe {
174 let __receiver =
175 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
176 {
177 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
178 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
179 panic!(
180 "unity: virtual slot {}
181 out of range (vtable len {}
182) on the runtime class behind {}
183 (method `{}
184`)",
185 4usize,
186 __vt.len(),
187 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
188 "get_Item",
189 )
190 });
191 let __inner: extern "C" fn(
192 EmptyReadOnlyDictionaryInternal,
193 crate::system::object::Object,
194 ::unity::OptionalMethod,
195 ) -> crate::system::object::Object = ::core::mem::transmute(__vi.method_ptr);
196 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
197 __inner(__receiver, ::core::convert::Into::into(key), __mi)
198 }
199 }
200 }
201 #[doc = "`set_Item(crate::system::object::Object, crate::system::object::Object)` overload"]
202 fn set_item(
203 self,
204 key: impl ::core::convert::Into<crate::system::object::Object>,
205 value: impl ::core::convert::Into<crate::system::object::Object>,
206 ) -> () {
207 unsafe {
208 let __receiver =
209 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
210 {
211 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
212 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
213 panic!(
214 "unity: virtual slot {}
215 out of range (vtable len {}
216) on the runtime class behind {}
217 (method `{}
218`)",
219 5usize,
220 __vt.len(),
221 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
222 "set_Item",
223 )
224 });
225 let __inner: extern "C" fn(
226 EmptyReadOnlyDictionaryInternal,
227 crate::system::object::Object,
228 crate::system::object::Object,
229 ::unity::OptionalMethod,
230 ) -> () = ::core::mem::transmute(__vi.method_ptr);
231 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
232 __inner(__receiver, ::core::convert::Into::into(key), ::core::convert::Into::into(value), __mi)
233 }
234 }
235 }
236 #[doc = "`get_Keys()` overload"]
237 fn get_keys(self) -> crate::system::collections::icollection::ICollection {
238 unsafe {
239 let __receiver =
240 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
241 {
242 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
243 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
244 panic!(
245 "unity: virtual slot {}
246 out of range (vtable len {}
247) on the runtime class behind {}
248 (method `{}
249`)",
250 6usize,
251 __vt.len(),
252 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
253 "get_Keys",
254 )
255 });
256 let __inner: extern "C" fn(
257 EmptyReadOnlyDictionaryInternal,
258 ::unity::OptionalMethod,
259 ) -> crate::system::collections::icollection::ICollection = ::core::mem::transmute(__vi.method_ptr);
260 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
261 __inner(__receiver, __mi)
262 }
263 }
264 }
265 #[doc = "`get_Values()` overload"]
266 fn get_values(self) -> crate::system::collections::icollection::ICollection {
267 unsafe {
268 let __receiver =
269 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
270 {
271 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
272 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
273 panic!(
274 "unity: virtual slot {}
275 out of range (vtable len {}
276) on the runtime class behind {}
277 (method `{}
278`)",
279 7usize,
280 __vt.len(),
281 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
282 "get_Values",
283 )
284 });
285 let __inner: extern "C" fn(
286 EmptyReadOnlyDictionaryInternal,
287 ::unity::OptionalMethod,
288 ) -> crate::system::collections::icollection::ICollection = ::core::mem::transmute(__vi.method_ptr);
289 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
290 __inner(__receiver, __mi)
291 }
292 }
293 }
294 #[doc = "`Contains(crate::system::object::Object)` overload"]
295 fn contains(self, key: impl ::core::convert::Into<crate::system::object::Object>) -> bool {
296 unsafe {
297 let __receiver =
298 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
299 {
300 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
301 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
302 panic!(
303 "unity: virtual slot {}
304 out of range (vtable len {}
305) on the runtime class behind {}
306 (method `{}
307`)",
308 8usize,
309 __vt.len(),
310 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
311 "Contains",
312 )
313 });
314 let __inner: extern "C" fn(EmptyReadOnlyDictionaryInternal, crate::system::object::Object, ::unity::OptionalMethod) -> bool =
315 ::core::mem::transmute(__vi.method_ptr);
316 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
317 __inner(__receiver, ::core::convert::Into::into(key), __mi)
318 }
319 }
320 }
321 #[doc = "`Add(crate::system::object::Object, crate::system::object::Object)` overload"]
322 fn add(
323 self,
324 key: impl ::core::convert::Into<crate::system::object::Object>,
325 value: impl ::core::convert::Into<crate::system::object::Object>,
326 ) -> () {
327 unsafe {
328 let __receiver =
329 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
330 {
331 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
332 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
333 panic!(
334 "unity: virtual slot {}
335 out of range (vtable len {}
336) on the runtime class behind {}
337 (method `{}
338`)",
339 9usize,
340 __vt.len(),
341 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
342 "Add",
343 )
344 });
345 let __inner: extern "C" fn(
346 EmptyReadOnlyDictionaryInternal,
347 crate::system::object::Object,
348 crate::system::object::Object,
349 ::unity::OptionalMethod,
350 ) -> () = ::core::mem::transmute(__vi.method_ptr);
351 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
352 __inner(__receiver, ::core::convert::Into::into(key), ::core::convert::Into::into(value), __mi)
353 }
354 }
355 }
356 #[doc = "`get_IsReadOnly()` overload"]
357 fn get_is_read_only(self) -> bool {
358 unsafe {
359 let __receiver =
360 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
361 {
362 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
363 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
364 panic!(
365 "unity: virtual slot {}
366 out of range (vtable len {}
367) on the runtime class behind {}
368 (method `{}
369`)",
370 10usize,
371 __vt.len(),
372 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
373 "get_IsReadOnly",
374 )
375 });
376 let __inner: extern "C" fn(EmptyReadOnlyDictionaryInternal, ::unity::OptionalMethod) -> bool =
377 ::core::mem::transmute(__vi.method_ptr);
378 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
379 __inner(__receiver, __mi)
380 }
381 }
382 }
383 #[doc = "`get_IsFixedSize()` overload"]
384 fn get_is_fixed_size(self) -> bool {
385 unsafe {
386 let __receiver =
387 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
388 {
389 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
390 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
391 panic!(
392 "unity: virtual slot {}
393 out of range (vtable len {}
394) on the runtime class behind {}
395 (method `{}
396`)",
397 11usize,
398 __vt.len(),
399 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
400 "get_IsFixedSize",
401 )
402 });
403 let __inner: extern "C" fn(EmptyReadOnlyDictionaryInternal, ::unity::OptionalMethod) -> bool =
404 ::core::mem::transmute(__vi.method_ptr);
405 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
406 __inner(__receiver, __mi)
407 }
408 }
409 }
410 #[doc = "`GetEnumerator()` overload"]
411 fn get_enumerator(self) -> crate::system::collections::idictionaryenumerator::IDictionaryEnumerator {
412 unsafe {
413 let __receiver =
414 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
415 {
416 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
417 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
418 panic!(
419 "unity: virtual slot {}
420 out of range (vtable len {}
421) on the runtime class behind {}
422 (method `{}
423`)",
424 12usize,
425 __vt.len(),
426 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
427 "GetEnumerator",
428 )
429 });
430 let __inner: extern "C" fn(
431 EmptyReadOnlyDictionaryInternal,
432 ::unity::OptionalMethod,
433 ) -> crate::system::collections::idictionaryenumerator::IDictionaryEnumerator = ::core::mem::transmute(__vi.method_ptr);
434 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
435 __inner(__receiver, __mi)
436 }
437 }
438 }
439 #[doc = "`Remove(crate::system::object::Object)` overload"]
440 fn remove(self, key: impl ::core::convert::Into<crate::system::object::Object>) -> () {
441 unsafe {
442 let __receiver =
443 <EmptyReadOnlyDictionaryInternal as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
444 {
445 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
446 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
447 panic!(
448 "unity: virtual slot {}
449 out of range (vtable len {}
450) on the runtime class behind {}
451 (method `{}
452`)",
453 13usize,
454 __vt.len(),
455 <EmptyReadOnlyDictionaryInternal as ::unity::ClassIdentity>::NAME,
456 "Remove",
457 )
458 });
459 let __inner: extern "C" fn(EmptyReadOnlyDictionaryInternal, crate::system::object::Object, ::unity::OptionalMethod) -> () =
460 ::core::mem::transmute(__vi.method_ptr);
461 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
462 __inner(__receiver, ::core::convert::Into::into(key), __mi)
463 }
464 }
465 }
466}
467
468#[cfg(feature = "system-collections-emptyreadonlydictionaryinternal")]
469impl<__T: IEmptyReadOnlyDictionaryInternal> IEmptyReadOnlyDictionaryInternalMethods for __T {}
470
471#[cfg(feature = "system-collections-emptyreadonlydictionaryinternal")]
472impl EmptyReadOnlyDictionaryInternal {
473 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
474 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
475 }
476
477 pub fn system_collections_i_enumerable_get_enumerator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
478 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
479 }
480
481 pub fn copy_to_method_info() -> &'static ::unity::il2cpp::MethodInfo {
482 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
483 }
484
485 pub fn get_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
486 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
487 }
488
489 pub fn get_sync_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
490 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
491 }
492
493 pub fn get_is_synchronized_method_info() -> &'static ::unity::il2cpp::MethodInfo {
494 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
495 }
496
497 pub fn get_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
498 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
499 }
500
501 pub fn set_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
502 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
503 }
504
505 pub fn get_keys_method_info() -> &'static ::unity::il2cpp::MethodInfo {
506 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
507 }
508
509 pub fn get_values_method_info() -> &'static ::unity::il2cpp::MethodInfo {
510 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
511 }
512
513 pub fn contains_method_info() -> &'static ::unity::il2cpp::MethodInfo {
514 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
515 }
516
517 pub fn add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
518 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
519 }
520
521 pub fn get_is_read_only_method_info() -> &'static ::unity::il2cpp::MethodInfo {
522 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
523 }
524
525 pub fn get_is_fixed_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
526 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
527 }
528
529 pub fn get_enumerator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
530 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
531 }
532
533 pub fn remove_method_info() -> &'static ::unity::il2cpp::MethodInfo {
534 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
535 }
536}
537
538#[cfg(feature = "system-collections-emptyreadonlydictionaryinternal")]
539impl EmptyReadOnlyDictionaryInternal {
540 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `System.Collections.IEnumerable.GetEnumerator`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
541 pub unsafe fn system_collections_i_enumerable_get_enumerator(
542 this: impl ::core::convert::Into<::unity::IlInstance>,
543 ) -> crate::system::collections::ienumerator::IEnumerator {
544 let __mi = Self::system_collections_i_enumerable_get_enumerator_method_info();
545 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::collections::ienumerator::IEnumerator =
546 ::core::mem::transmute(__mi.method_ptr);
547 __inner(this.into(), ::core::option::Option::None)
548 }
549
550 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `CopyTo`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
551 pub unsafe fn copy_to(this: impl ::core::convert::Into<::unity::IlInstance>, array: ::unity::IlInstance, index: i32) -> () {
552 let __mi = Self::copy_to_method_info();
553 let __inner: extern "C" fn(::unity::IlInstance, ::unity::IlInstance, i32, ::unity::OptionalMethod) -> () =
554 ::core::mem::transmute(__mi.method_ptr);
555 __inner(this.into(), array, index, ::core::option::Option::None)
556 }
557
558 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `get_Count`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
559 pub unsafe fn get_count(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
560 let __mi = Self::get_count_method_info();
561 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
562 __inner(this.into(), ::core::option::Option::None)
563 }
564
565 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `get_SyncRoot`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
566 pub unsafe fn get_sync_root(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::system::object::Object {
567 let __mi = Self::get_sync_root_method_info();
568 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::object::Object =
569 ::core::mem::transmute(__mi.method_ptr);
570 __inner(this.into(), ::core::option::Option::None)
571 }
572
573 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `get_IsSynchronized`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
574 pub unsafe fn get_is_synchronized(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
575 let __mi = Self::get_is_synchronized_method_info();
576 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
577 __inner(this.into(), ::core::option::Option::None)
578 }
579
580 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `get_Item`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
581 pub unsafe fn get_item(
582 this: impl ::core::convert::Into<::unity::IlInstance>,
583 key: crate::system::object::Object,
584 ) -> crate::system::object::Object {
585 let __mi = Self::get_item_method_info();
586 let __inner: extern "C" fn(::unity::IlInstance, crate::system::object::Object, ::unity::OptionalMethod) -> crate::system::object::Object =
587 ::core::mem::transmute(__mi.method_ptr);
588 __inner(this.into(), key, ::core::option::Option::None)
589 }
590
591 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `set_Item`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
592 pub unsafe fn set_item(
593 this: impl ::core::convert::Into<::unity::IlInstance>,
594 key: crate::system::object::Object,
595 value: crate::system::object::Object,
596 ) -> () {
597 let __mi = Self::set_item_method_info();
598 let __inner: extern "C" fn(::unity::IlInstance, crate::system::object::Object, crate::system::object::Object, ::unity::OptionalMethod) -> () =
599 ::core::mem::transmute(__mi.method_ptr);
600 __inner(this.into(), key, value, ::core::option::Option::None)
601 }
602
603 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `get_Keys`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
604 pub unsafe fn get_keys(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::system::collections::icollection::ICollection {
605 let __mi = Self::get_keys_method_info();
606 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::collections::icollection::ICollection =
607 ::core::mem::transmute(__mi.method_ptr);
608 __inner(this.into(), ::core::option::Option::None)
609 }
610
611 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `get_Values`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
612 pub unsafe fn get_values(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::system::collections::icollection::ICollection {
613 let __mi = Self::get_values_method_info();
614 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::collections::icollection::ICollection =
615 ::core::mem::transmute(__mi.method_ptr);
616 __inner(this.into(), ::core::option::Option::None)
617 }
618
619 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `Contains`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
620 pub unsafe fn contains(this: impl ::core::convert::Into<::unity::IlInstance>, key: crate::system::object::Object) -> bool {
621 let __mi = Self::contains_method_info();
622 let __inner: extern "C" fn(::unity::IlInstance, crate::system::object::Object, ::unity::OptionalMethod) -> bool =
623 ::core::mem::transmute(__mi.method_ptr);
624 __inner(this.into(), key, ::core::option::Option::None)
625 }
626
627 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `Add`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
628 pub unsafe fn add(
629 this: impl ::core::convert::Into<::unity::IlInstance>,
630 key: crate::system::object::Object,
631 value: crate::system::object::Object,
632 ) -> () {
633 let __mi = Self::add_method_info();
634 let __inner: extern "C" fn(::unity::IlInstance, crate::system::object::Object, crate::system::object::Object, ::unity::OptionalMethod) -> () =
635 ::core::mem::transmute(__mi.method_ptr);
636 __inner(this.into(), key, value, ::core::option::Option::None)
637 }
638
639 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `get_IsReadOnly`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
640 pub unsafe fn get_is_read_only(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
641 let __mi = Self::get_is_read_only_method_info();
642 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
643 __inner(this.into(), ::core::option::Option::None)
644 }
645
646 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `get_IsFixedSize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
647 pub unsafe fn get_is_fixed_size(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
648 let __mi = Self::get_is_fixed_size_method_info();
649 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
650 __inner(this.into(), ::core::option::Option::None)
651 }
652
653 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `GetEnumerator`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
654 pub unsafe fn get_enumerator(
655 this: impl ::core::convert::Into<::unity::IlInstance>,
656 ) -> crate::system::collections::idictionaryenumerator::IDictionaryEnumerator {
657 let __mi = Self::get_enumerator_method_info();
658 let __inner: extern "C" fn(
659 ::unity::IlInstance,
660 ::unity::OptionalMethod,
661 ) -> crate::system::collections::idictionaryenumerator::IDictionaryEnumerator = ::core::mem::transmute(__mi.method_ptr);
662 __inner(this.into(), ::core::option::Option::None)
663 }
664
665 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal`'s own `Remove`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
666 pub unsafe fn remove(this: impl ::core::convert::Into<::unity::IlInstance>, key: crate::system::object::Object) -> () {
667 let __mi = Self::remove_method_info();
668 let __inner: extern "C" fn(::unity::IlInstance, crate::system::object::Object, ::unity::OptionalMethod) -> () =
669 ::core::mem::transmute(__mi.method_ptr);
670 __inner(this.into(), key, ::core::option::Option::None)
671 }
672}
673
674#[cfg(feature = "system-collections-emptyreadonlydictionaryinternal")]
675impl EmptyReadOnlyDictionaryInternal {
676 #[doc = "`.ctor()` — no args"]
677 pub fn new() -> Self {
678 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
679 panic!(
680 "{}
681::{}
682 failed to instantiate",
683 ::core::stringify!(EmptyReadOnlyDictionaryInternal),
684 ::core::stringify!(new),
685 )
686 });
687 <Self as IEmptyReadOnlyDictionaryInternalMethods>::ctor(this);
688 this
689 }
690}
691
692#[cfg(feature = "system-collections-emptyreadonlydictionaryinternal")]
693pub trait IEmptyReadOnlyDictionaryInternal_NodeEnumeratorMethods: IEmptyReadOnlyDictionaryInternal_NodeEnumerator {
694 #[doc = "`.ctor()` overload"]
695 fn ctor(self) -> () {
696 unsafe {
697 let __receiver = <EmptyReadOnlyDictionaryInternal_NodeEnumerator as ::unity::FromIlInstance>::from_il_instance(
698 <Self as ::unity::SystemObject>::as_instance(self),
699 );
700 ::unity::il2cpp_call!((::unity::module_base()+0x34d4290usize)as*mut u8,();
701(EmptyReadOnlyDictionaryInternal_NodeEnumerator)__receiver)
702 }
703 }
704 #[doc = "`MoveNext()` overload"]
705 fn move_next(self) -> bool {
706 unsafe {
707 let __receiver = <EmptyReadOnlyDictionaryInternal_NodeEnumerator as ::unity::FromIlInstance>::from_il_instance(
708 <Self as ::unity::SystemObject>::as_instance(self),
709 );
710 {
711 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
712 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
713 panic!(
714 "unity: virtual slot {}
715 out of range (vtable len {}
716) on the runtime class behind {}
717 (method `{}
718`)",
719 7usize,
720 __vt.len(),
721 <EmptyReadOnlyDictionaryInternal_NodeEnumerator as ::unity::ClassIdentity>::NAME,
722 "MoveNext",
723 )
724 });
725 let __inner: extern "C" fn(EmptyReadOnlyDictionaryInternal_NodeEnumerator, ::unity::OptionalMethod) -> bool =
726 ::core::mem::transmute(__vi.method_ptr);
727 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
728 __inner(__receiver, __mi)
729 }
730 }
731 }
732 #[doc = "`get_Current()` overload"]
733 fn get_current(self) -> crate::system::object::Object {
734 unsafe {
735 let __receiver = <EmptyReadOnlyDictionaryInternal_NodeEnumerator as ::unity::FromIlInstance>::from_il_instance(
736 <Self as ::unity::SystemObject>::as_instance(self),
737 );
738 {
739 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
740 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
741 panic!(
742 "unity: virtual slot {}
743 out of range (vtable len {}
744) on the runtime class behind {}
745 (method `{}
746`)",
747 8usize,
748 __vt.len(),
749 <EmptyReadOnlyDictionaryInternal_NodeEnumerator as ::unity::ClassIdentity>::NAME,
750 "get_Current",
751 )
752 });
753 let __inner: extern "C" fn(EmptyReadOnlyDictionaryInternal_NodeEnumerator, ::unity::OptionalMethod) -> crate::system::object::Object =
754 ::core::mem::transmute(__vi.method_ptr);
755 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
756 __inner(__receiver, __mi)
757 }
758 }
759 }
760 #[doc = "`Reset()` overload"]
761 fn reset(self) -> () {
762 unsafe {
763 let __receiver = <EmptyReadOnlyDictionaryInternal_NodeEnumerator as ::unity::FromIlInstance>::from_il_instance(
764 <Self as ::unity::SystemObject>::as_instance(self),
765 );
766 {
767 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
768 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
769 panic!(
770 "unity: virtual slot {}
771 out of range (vtable len {}
772) on the runtime class behind {}
773 (method `{}
774`)",
775 9usize,
776 __vt.len(),
777 <EmptyReadOnlyDictionaryInternal_NodeEnumerator as ::unity::ClassIdentity>::NAME,
778 "Reset",
779 )
780 });
781 let __inner: extern "C" fn(EmptyReadOnlyDictionaryInternal_NodeEnumerator, ::unity::OptionalMethod) -> () =
782 ::core::mem::transmute(__vi.method_ptr);
783 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
784 __inner(__receiver, __mi)
785 }
786 }
787 }
788 #[doc = "`get_Key()` overload"]
789 fn get_key(self) -> crate::system::object::Object {
790 unsafe {
791 let __receiver = <EmptyReadOnlyDictionaryInternal_NodeEnumerator as ::unity::FromIlInstance>::from_il_instance(
792 <Self as ::unity::SystemObject>::as_instance(self),
793 );
794 {
795 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
796 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
797 panic!(
798 "unity: virtual slot {}
799 out of range (vtable len {}
800) on the runtime class behind {}
801 (method `{}
802`)",
803 4usize,
804 __vt.len(),
805 <EmptyReadOnlyDictionaryInternal_NodeEnumerator as ::unity::ClassIdentity>::NAME,
806 "get_Key",
807 )
808 });
809 let __inner: extern "C" fn(EmptyReadOnlyDictionaryInternal_NodeEnumerator, ::unity::OptionalMethod) -> crate::system::object::Object =
810 ::core::mem::transmute(__vi.method_ptr);
811 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
812 __inner(__receiver, __mi)
813 }
814 }
815 }
816 #[doc = "`get_Value()` overload"]
817 fn get_value(self) -> crate::system::object::Object {
818 unsafe {
819 let __receiver = <EmptyReadOnlyDictionaryInternal_NodeEnumerator as ::unity::FromIlInstance>::from_il_instance(
820 <Self as ::unity::SystemObject>::as_instance(self),
821 );
822 {
823 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
824 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
825 panic!(
826 "unity: virtual slot {}
827 out of range (vtable len {}
828) on the runtime class behind {}
829 (method `{}
830`)",
831 5usize,
832 __vt.len(),
833 <EmptyReadOnlyDictionaryInternal_NodeEnumerator as ::unity::ClassIdentity>::NAME,
834 "get_Value",
835 )
836 });
837 let __inner: extern "C" fn(EmptyReadOnlyDictionaryInternal_NodeEnumerator, ::unity::OptionalMethod) -> crate::system::object::Object =
838 ::core::mem::transmute(__vi.method_ptr);
839 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
840 __inner(__receiver, __mi)
841 }
842 }
843 }
844 #[doc = "`get_Entry()` overload"]
845 fn get_entry(self) -> crate::system::collections::dictionaryentry::DictionaryEntry {
846 unsafe {
847 let __receiver = <EmptyReadOnlyDictionaryInternal_NodeEnumerator as ::unity::FromIlInstance>::from_il_instance(
848 <Self as ::unity::SystemObject>::as_instance(self),
849 );
850 {
851 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
852 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
853 panic!(
854 "unity: virtual slot {}
855 out of range (vtable len {}
856) on the runtime class behind {}
857 (method `{}
858`)",
859 6usize,
860 __vt.len(),
861 <EmptyReadOnlyDictionaryInternal_NodeEnumerator as ::unity::ClassIdentity>::NAME,
862 "get_Entry",
863 )
864 });
865 let __inner: extern "C" fn(
866 EmptyReadOnlyDictionaryInternal_NodeEnumerator,
867 ::unity::OptionalMethod,
868 ) -> crate::system::collections::dictionaryentry::DictionaryEntry = ::core::mem::transmute(__vi.method_ptr);
869 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
870 __inner(__receiver, __mi)
871 }
872 }
873 }
874}
875
876#[cfg(feature = "system-collections-emptyreadonlydictionaryinternal")]
877impl<__T: IEmptyReadOnlyDictionaryInternal_NodeEnumerator> IEmptyReadOnlyDictionaryInternal_NodeEnumeratorMethods for __T {}
878
879#[cfg(feature = "system-collections-emptyreadonlydictionaryinternal")]
880impl EmptyReadOnlyDictionaryInternal_NodeEnumerator {
881 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
882 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
883 }
884
885 pub fn move_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
886 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
887 }
888
889 pub fn get_current_method_info() -> &'static ::unity::il2cpp::MethodInfo {
890 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
891 }
892
893 pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
894 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
895 }
896
897 pub fn get_key_method_info() -> &'static ::unity::il2cpp::MethodInfo {
898 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
899 }
900
901 pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
902 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
903 }
904
905 pub fn get_entry_method_info() -> &'static ::unity::il2cpp::MethodInfo {
906 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
907 }
908}
909
910#[cfg(feature = "system-collections-emptyreadonlydictionaryinternal")]
911impl EmptyReadOnlyDictionaryInternal_NodeEnumerator {
912 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal_NodeEnumerator`'s own `MoveNext`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
913 pub unsafe fn move_next(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
914 let __mi = Self::move_next_method_info();
915 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
916 __inner(this.into(), ::core::option::Option::None)
917 }
918
919 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal_NodeEnumerator`'s own `get_Current`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
920 pub unsafe fn get_current(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::system::object::Object {
921 let __mi = Self::get_current_method_info();
922 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::object::Object =
923 ::core::mem::transmute(__mi.method_ptr);
924 __inner(this.into(), ::core::option::Option::None)
925 }
926
927 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal_NodeEnumerator`'s own `Reset`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
928 pub unsafe fn reset(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
929 let __mi = Self::reset_method_info();
930 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
931 __inner(this.into(), ::core::option::Option::None)
932 }
933
934 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal_NodeEnumerator`'s own `get_Key`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
935 pub unsafe fn get_key(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::system::object::Object {
936 let __mi = Self::get_key_method_info();
937 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::object::Object =
938 ::core::mem::transmute(__mi.method_ptr);
939 __inner(this.into(), ::core::option::Option::None)
940 }
941
942 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal_NodeEnumerator`'s own `get_Value`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
943 pub unsafe fn get_value(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::system::object::Object {
944 let __mi = Self::get_value_method_info();
945 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::object::Object =
946 ::core::mem::transmute(__mi.method_ptr);
947 __inner(this.into(), ::core::option::Option::None)
948 }
949
950 #[doc = "Direct (non-virtual) call to `EmptyReadOnlyDictionaryInternal_NodeEnumerator`'s own `get_Entry`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
951 pub unsafe fn get_entry(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::system::collections::dictionaryentry::DictionaryEntry {
952 let __mi = Self::get_entry_method_info();
953 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::collections::dictionaryentry::DictionaryEntry =
954 ::core::mem::transmute(__mi.method_ptr);
955 __inner(this.into(), ::core::option::Option::None)
956 }
957}
958
959#[cfg(feature = "system-collections-emptyreadonlydictionaryinternal")]
960impl EmptyReadOnlyDictionaryInternal_NodeEnumerator {
961 #[doc = "`.ctor()` — no args"]
962 pub fn new() -> Self {
963 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
964 panic!(
965 "{}
966::{}
967 failed to instantiate",
968 ::core::stringify!(EmptyReadOnlyDictionaryInternal_NodeEnumerator),
969 ::core::stringify!(new),
970 )
971 });
972 <Self as IEmptyReadOnlyDictionaryInternal_NodeEnumeratorMethods>::ctor(this);
973 this
974 }
975}
976
977#[cfg(feature = "system-collections-emptyreadonlydictionaryinternal")]
978#[doc(hidden)]
979pub mod prelude {
980 pub use super::{
981 EmptyReadOnlyDictionaryInternal, EmptyReadOnlyDictionaryInternal_NodeEnumerator, IEmptyReadOnlyDictionaryInternal,
982 IEmptyReadOnlyDictionaryInternalMethods, IEmptyReadOnlyDictionaryInternal_NodeEnumerator,
983 IEmptyReadOnlyDictionaryInternal_NodeEnumeratorMethods,
984 };
985 pub use crate::system::object::IObject;
986 #[cfg(feature = "system-object")]
987 pub use crate::system::object::IObjectMethods;
988}