diff --git a/flutter_example/.gitignore b/flutter_example/.gitignore index 4303870..514217d 100644 --- a/flutter_example/.gitignore +++ b/flutter_example/.gitignore @@ -45,3 +45,4 @@ app.*.map.json Hello.h /android/app/src/main/jniLibs/* +/lib/generated_bindings.dart diff --git a/flutter_example/lib/generated_bindings.dart b/flutter_example/lib/generated_bindings.dart deleted file mode 100644 index 864ae8a..0000000 --- a/flutter_example/lib/generated_bindings.dart +++ /dev/null @@ -1,69111 +0,0 @@ -// AUTO GENERATED FILE, DO NOT EDIT. -// -// Generated by `package:ffigen`. -// ignore_for_file: type=lint -import 'dart:ffi' as ffi; - -class NativeLibrary { - /// Holds the symbol lookup function. - final ffi.Pointer Function(String symbolName) - _lookup; - - /// The symbols are looked up in [dynamicLibrary]. - NativeLibrary(ffi.DynamicLibrary dynamicLibrary) - : _lookup = dynamicLibrary.lookup; - - /// The symbols are looked up with [lookup]. - NativeLibrary.fromLookup( - ffi.Pointer Function(String symbolName) - lookup) - : _lookup = lookup; - - ffi.Pointer> signal( - int arg0, - ffi.Pointer> arg1, - ) { - return _signal( - arg0, - arg1, - ); - } - - late final _signalPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer> Function( - ffi.Int, - ffi.Pointer< - ffi.NativeFunction>)>>('signal'); - late final _signal = _signalPtr.asFunction< - ffi.Pointer> Function( - int, ffi.Pointer>)>(); - - int getpriority( - int arg0, - int arg1, - ) { - return _getpriority( - arg0, - arg1, - ); - } - - late final _getpriorityPtr = - _lookup>( - 'getpriority'); - late final _getpriority = - _getpriorityPtr.asFunction(); - - int getiopolicy_np( - int arg0, - int arg1, - ) { - return _getiopolicy_np( - arg0, - arg1, - ); - } - - late final _getiopolicy_npPtr = - _lookup>( - 'getiopolicy_np'); - late final _getiopolicy_np = - _getiopolicy_npPtr.asFunction(); - - int getrlimit( - int arg0, - ffi.Pointer arg1, - ) { - return _getrlimit( - arg0, - arg1, - ); - } - - late final _getrlimitPtr = _lookup< - ffi.NativeFunction)>>( - 'getrlimit'); - late final _getrlimit = - _getrlimitPtr.asFunction)>(); - - int getrusage( - int arg0, - ffi.Pointer arg1, - ) { - return _getrusage( - arg0, - arg1, - ); - } - - late final _getrusagePtr = _lookup< - ffi.NativeFunction)>>( - 'getrusage'); - late final _getrusage = - _getrusagePtr.asFunction)>(); - - int setpriority( - int arg0, - int arg1, - int arg2, - ) { - return _setpriority( - arg0, - arg1, - arg2, - ); - } - - late final _setpriorityPtr = - _lookup>( - 'setpriority'); - late final _setpriority = - _setpriorityPtr.asFunction(); - - int setiopolicy_np( - int arg0, - int arg1, - int arg2, - ) { - return _setiopolicy_np( - arg0, - arg1, - arg2, - ); - } - - late final _setiopolicy_npPtr = - _lookup>( - 'setiopolicy_np'); - late final _setiopolicy_np = - _setiopolicy_npPtr.asFunction(); - - int setrlimit( - int arg0, - ffi.Pointer arg1, - ) { - return _setrlimit( - arg0, - arg1, - ); - } - - late final _setrlimitPtr = _lookup< - ffi.NativeFunction)>>( - 'setrlimit'); - late final _setrlimit = - _setrlimitPtr.asFunction)>(); - - int wait1( - ffi.Pointer arg0, - ) { - return _wait1( - arg0, - ); - } - - late final _wait1Ptr = - _lookup)>>('wait'); - late final _wait1 = - _wait1Ptr.asFunction)>(); - - int waitpid( - int arg0, - ffi.Pointer arg1, - int arg2, - ) { - return _waitpid( - arg0, - arg1, - arg2, - ); - } - - late final _waitpidPtr = _lookup< - ffi.NativeFunction< - pid_t Function(pid_t, ffi.Pointer, ffi.Int)>>('waitpid'); - late final _waitpid = - _waitpidPtr.asFunction, int)>(); - - int waitid( - int arg0, - int arg1, - ffi.Pointer arg2, - int arg3, - ) { - return _waitid( - arg0, - arg1, - arg2, - arg3, - ); - } - - late final _waitidPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Int32, id_t, ffi.Pointer, ffi.Int)>>('waitid'); - late final _waitid = _waitidPtr - .asFunction, int)>(); - - int wait3( - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2, - ) { - return _wait3( - arg0, - arg1, - arg2, - ); - } - - late final _wait3Ptr = _lookup< - ffi.NativeFunction< - pid_t Function( - ffi.Pointer, ffi.Int, ffi.Pointer)>>('wait3'); - late final _wait3 = _wait3Ptr.asFunction< - int Function(ffi.Pointer, int, ffi.Pointer)>(); - - int wait4( - int arg0, - ffi.Pointer arg1, - int arg2, - ffi.Pointer arg3, - ) { - return _wait4( - arg0, - arg1, - arg2, - arg3, - ); - } - - late final _wait4Ptr = _lookup< - ffi.NativeFunction< - pid_t Function(pid_t, ffi.Pointer, ffi.Int, - ffi.Pointer)>>('wait4'); - late final _wait4 = _wait4Ptr.asFunction< - int Function(int, ffi.Pointer, int, ffi.Pointer)>(); - - ffi.Pointer alloca( - int arg0, - ) { - return _alloca( - arg0, - ); - } - - late final _allocaPtr = - _lookup Function(ffi.Size)>>( - 'alloca'); - late final _alloca = - _allocaPtr.asFunction Function(int)>(); - - late final ffi.Pointer ___mb_cur_max = - _lookup('__mb_cur_max'); - - int get __mb_cur_max => ___mb_cur_max.value; - - set __mb_cur_max(int value) => ___mb_cur_max.value = value; - - ffi.Pointer malloc_type_malloc( - int size, - int type_id, - ) { - return _malloc_type_malloc( - size, - type_id, - ); - } - - late final _malloc_type_mallocPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Size, malloc_type_id_t)>>('malloc_type_malloc'); - late final _malloc_type_malloc = _malloc_type_mallocPtr - .asFunction Function(int, int)>(); - - ffi.Pointer malloc_type_calloc( - int count, - int size, - int type_id, - ) { - return _malloc_type_calloc( - count, - size, - type_id, - ); - } - - late final _malloc_type_callocPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Size, ffi.Size, malloc_type_id_t)>>('malloc_type_calloc'); - late final _malloc_type_calloc = _malloc_type_callocPtr - .asFunction Function(int, int, int)>(); - - void malloc_type_free( - ffi.Pointer ptr, - int type_id, - ) { - return _malloc_type_free( - ptr, - type_id, - ); - } - - late final _malloc_type_freePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, malloc_type_id_t)>>('malloc_type_free'); - late final _malloc_type_free = _malloc_type_freePtr - .asFunction, int)>(); - - ffi.Pointer malloc_type_realloc( - ffi.Pointer ptr, - int size, - int type_id, - ) { - return _malloc_type_realloc( - ptr, - size, - type_id, - ); - } - - late final _malloc_type_reallocPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, ffi.Size, - malloc_type_id_t)>>('malloc_type_realloc'); - late final _malloc_type_realloc = _malloc_type_reallocPtr.asFunction< - ffi.Pointer Function(ffi.Pointer, int, int)>(); - - ffi.Pointer malloc_type_valloc( - int size, - int type_id, - ) { - return _malloc_type_valloc( - size, - type_id, - ); - } - - late final _malloc_type_vallocPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Size, malloc_type_id_t)>>('malloc_type_valloc'); - late final _malloc_type_valloc = _malloc_type_vallocPtr - .asFunction Function(int, int)>(); - - ffi.Pointer malloc_type_aligned_alloc( - int alignment, - int size, - int type_id, - ) { - return _malloc_type_aligned_alloc( - alignment, - size, - type_id, - ); - } - - late final _malloc_type_aligned_allocPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Size, ffi.Size, - malloc_type_id_t)>>('malloc_type_aligned_alloc'); - late final _malloc_type_aligned_alloc = _malloc_type_aligned_allocPtr - .asFunction Function(int, int, int)>(); - - int malloc_type_posix_memalign( - ffi.Pointer> memptr, - int alignment, - int size, - int type_id, - ) { - return _malloc_type_posix_memalign( - memptr, - alignment, - size, - type_id, - ); - } - - late final _malloc_type_posix_memalignPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer>, ffi.Size, - ffi.Size, malloc_type_id_t)>>('malloc_type_posix_memalign'); - late final _malloc_type_posix_memalign = - _malloc_type_posix_memalignPtr.asFunction< - int Function(ffi.Pointer>, int, int, int)>(); - - ffi.Pointer malloc_type_zone_malloc( - ffi.Pointer zone, - int size, - int type_id, - ) { - return _malloc_type_zone_malloc( - zone, - size, - type_id, - ); - } - - late final _malloc_type_zone_mallocPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, ffi.Size, - malloc_type_id_t)>>('malloc_type_zone_malloc'); - late final _malloc_type_zone_malloc = _malloc_type_zone_mallocPtr.asFunction< - ffi.Pointer Function(ffi.Pointer, int, int)>(); - - ffi.Pointer malloc_type_zone_calloc( - ffi.Pointer zone, - int count, - int size, - int type_id, - ) { - return _malloc_type_zone_calloc( - zone, - count, - size, - type_id, - ); - } - - late final _malloc_type_zone_callocPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, ffi.Size, - ffi.Size, malloc_type_id_t)>>('malloc_type_zone_calloc'); - late final _malloc_type_zone_calloc = _malloc_type_zone_callocPtr.asFunction< - ffi.Pointer Function( - ffi.Pointer, int, int, int)>(); - - void malloc_type_zone_free( - ffi.Pointer zone, - ffi.Pointer ptr, - int type_id, - ) { - return _malloc_type_zone_free( - zone, - ptr, - type_id, - ); - } - - late final _malloc_type_zone_freePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - malloc_type_id_t)>>('malloc_type_zone_free'); - late final _malloc_type_zone_free = _malloc_type_zone_freePtr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - ffi.Pointer malloc_type_zone_realloc( - ffi.Pointer zone, - ffi.Pointer ptr, - int size, - int type_id, - ) { - return _malloc_type_zone_realloc( - zone, - ptr, - size, - type_id, - ); - } - - late final _malloc_type_zone_reallocPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Size, - malloc_type_id_t)>>('malloc_type_zone_realloc'); - late final _malloc_type_zone_realloc = - _malloc_type_zone_reallocPtr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int, int)>(); - - ffi.Pointer malloc_type_zone_valloc( - ffi.Pointer zone, - int size, - int type_id, - ) { - return _malloc_type_zone_valloc( - zone, - size, - type_id, - ); - } - - late final _malloc_type_zone_vallocPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, ffi.Size, - malloc_type_id_t)>>('malloc_type_zone_valloc'); - late final _malloc_type_zone_valloc = _malloc_type_zone_vallocPtr.asFunction< - ffi.Pointer Function(ffi.Pointer, int, int)>(); - - ffi.Pointer malloc_type_zone_memalign( - ffi.Pointer zone, - int alignment, - int size, - int type_id, - ) { - return _malloc_type_zone_memalign( - zone, - alignment, - size, - type_id, - ); - } - - late final _malloc_type_zone_memalignPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, ffi.Size, - ffi.Size, malloc_type_id_t)>>('malloc_type_zone_memalign'); - late final _malloc_type_zone_memalign = - _malloc_type_zone_memalignPtr.asFunction< - ffi.Pointer Function( - ffi.Pointer, int, int, int)>(); - - ffi.Pointer malloc( - int __size, - ) { - return _malloc( - __size, - ); - } - - late final _mallocPtr = - _lookup Function(ffi.Size)>>( - 'malloc'); - late final _malloc = - _mallocPtr.asFunction Function(int)>(); - - ffi.Pointer calloc( - int __count, - int __size, - ) { - return _calloc( - __count, - __size, - ); - } - - late final _callocPtr = _lookup< - ffi - .NativeFunction Function(ffi.Size, ffi.Size)>>( - 'calloc'); - late final _calloc = - _callocPtr.asFunction Function(int, int)>(); - - void free( - ffi.Pointer arg0, - ) { - return _free( - arg0, - ); - } - - late final _freePtr = - _lookup)>>( - 'free'); - late final _free = - _freePtr.asFunction)>(); - - ffi.Pointer realloc( - ffi.Pointer __ptr, - int __size, - ) { - return _realloc( - __ptr, - __size, - ); - } - - late final _reallocPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Size)>>('realloc'); - late final _realloc = _reallocPtr - .asFunction Function(ffi.Pointer, int)>(); - - ffi.Pointer valloc( - int arg0, - ) { - return _valloc( - arg0, - ); - } - - late final _vallocPtr = - _lookup Function(ffi.Size)>>( - 'valloc'); - late final _valloc = - _vallocPtr.asFunction Function(int)>(); - - ffi.Pointer aligned_alloc( - int __alignment, - int __size, - ) { - return _aligned_alloc( - __alignment, - __size, - ); - } - - late final _aligned_allocPtr = _lookup< - ffi - .NativeFunction Function(ffi.Size, ffi.Size)>>( - 'aligned_alloc'); - late final _aligned_alloc = - _aligned_allocPtr.asFunction Function(int, int)>(); - - int posix_memalign( - ffi.Pointer> __memptr, - int __alignment, - int __size, - ) { - return _posix_memalign( - __memptr, - __alignment, - __size, - ); - } - - late final _posix_memalignPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer>, ffi.Size, - ffi.Size)>>('posix_memalign'); - late final _posix_memalign = _posix_memalignPtr - .asFunction>, int, int)>(); - - void abort() { - return _abort(); - } - - late final _abortPtr = - _lookup>('abort'); - late final _abort = _abortPtr.asFunction(); - - int abs( - int arg0, - ) { - return _abs( - arg0, - ); - } - - late final _absPtr = - _lookup>('abs'); - late final _abs = _absPtr.asFunction(); - - int atexit( - ffi.Pointer> arg0, - ) { - return _atexit( - arg0, - ); - } - - late final _atexitPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer>)>>('atexit'); - late final _atexit = _atexitPtr.asFunction< - int Function(ffi.Pointer>)>(); - - double atof( - ffi.Pointer arg0, - ) { - return _atof( - arg0, - ); - } - - late final _atofPtr = - _lookup)>>( - 'atof'); - late final _atof = - _atofPtr.asFunction)>(); - - int atoi( - ffi.Pointer arg0, - ) { - return _atoi( - arg0, - ); - } - - late final _atoiPtr = - _lookup)>>( - 'atoi'); - late final _atoi = _atoiPtr.asFunction)>(); - - int atol( - ffi.Pointer arg0, - ) { - return _atol( - arg0, - ); - } - - late final _atolPtr = - _lookup)>>( - 'atol'); - late final _atol = _atolPtr.asFunction)>(); - - int atoll( - ffi.Pointer arg0, - ) { - return _atoll( - arg0, - ); - } - - late final _atollPtr = - _lookup)>>( - 'atoll'); - late final _atoll = - _atollPtr.asFunction)>(); - - ffi.Pointer bsearch( - ffi.Pointer __key, - ffi.Pointer __base, - int __nel, - int __width, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer)>> - __compar, - ) { - return _bsearch( - __key, - __base, - __nel, - __width, - __compar, - ); - } - - late final _bsearchPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Size, - ffi.Size, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, - ffi.Pointer)>>)>>('bsearch'); - late final _bsearch = _bsearchPtr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, ffi.Pointer)>>)>(); - - div_t div( - int arg0, - int arg1, - ) { - return _div( - arg0, - arg1, - ); - } - - late final _divPtr = - _lookup>('div'); - late final _div = _divPtr.asFunction(); - - void exit( - int arg0, - ) { - return _exit( - arg0, - ); - } - - late final _exitPtr = - _lookup>('exit'); - late final _exit = _exitPtr.asFunction(); - - ffi.Pointer getenv( - ffi.Pointer arg0, - ) { - return _getenv( - arg0, - ); - } - - late final _getenvPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>>('getenv'); - late final _getenv = _getenvPtr - .asFunction Function(ffi.Pointer)>(); - - int labs( - int arg0, - ) { - return _labs( - arg0, - ); - } - - late final _labsPtr = - _lookup>('labs'); - late final _labs = _labsPtr.asFunction(); - - ldiv_t ldiv( - int arg0, - int arg1, - ) { - return _ldiv( - arg0, - arg1, - ); - } - - late final _ldivPtr = - _lookup>('ldiv'); - late final _ldiv = _ldivPtr.asFunction(); - - int llabs( - int arg0, - ) { - return _llabs( - arg0, - ); - } - - late final _llabsPtr = - _lookup>('llabs'); - late final _llabs = _llabsPtr.asFunction(); - - lldiv_t lldiv( - int arg0, - int arg1, - ) { - return _lldiv( - arg0, - arg1, - ); - } - - late final _lldivPtr = - _lookup>( - 'lldiv'); - late final _lldiv = _lldivPtr.asFunction(); - - int mblen( - ffi.Pointer __s, - int __n, - ) { - return _mblen( - __s, - __n, - ); - } - - late final _mblenPtr = _lookup< - ffi - .NativeFunction, ffi.Size)>>( - 'mblen'); - late final _mblen = - _mblenPtr.asFunction, int)>(); - - int mbstowcs( - ffi.Pointer arg0, - ffi.Pointer arg1, - int arg2, - ) { - return _mbstowcs( - arg0, - arg1, - arg2, - ); - } - - late final _mbstowcsPtr = _lookup< - ffi.NativeFunction< - ffi.Size Function(ffi.Pointer, ffi.Pointer, - ffi.Size)>>('mbstowcs'); - late final _mbstowcs = _mbstowcsPtr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); - - int mbtowc( - ffi.Pointer arg0, - ffi.Pointer arg1, - int arg2, - ) { - return _mbtowc( - arg0, - arg1, - arg2, - ); - } - - late final _mbtowcPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer, - ffi.Size)>>('mbtowc'); - late final _mbtowc = _mbtowcPtr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); - - void qsort( - ffi.Pointer __base, - int __nel, - int __width, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer)>> - __compar, - ) { - return _qsort( - __base, - __nel, - __width, - __compar, - ); - } - - late final _qsortPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Size, - ffi.Size, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, - ffi.Pointer)>>)>>('qsort'); - late final _qsort = _qsortPtr.asFunction< - void Function( - ffi.Pointer, - int, - int, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, ffi.Pointer)>>)>(); - - int rand() { - return _rand(); - } - - late final _randPtr = _lookup>('rand'); - late final _rand = _randPtr.asFunction(); - - void srand( - int arg0, - ) { - return _srand( - arg0, - ); - } - - late final _srandPtr = - _lookup>('srand'); - late final _srand = _srandPtr.asFunction(); - - double strtod( - ffi.Pointer arg0, - ffi.Pointer> arg1, - ) { - return _strtod( - arg0, - arg1, - ); - } - - late final _strtodPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, - ffi.Pointer>)>>('strtod'); - late final _strtod = _strtodPtr.asFunction< - double Function( - ffi.Pointer, ffi.Pointer>)>(); - - double strtof( - ffi.Pointer arg0, - ffi.Pointer> arg1, - ) { - return _strtof( - arg0, - arg1, - ); - } - - late final _strtofPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, - ffi.Pointer>)>>('strtof'); - late final _strtof = _strtofPtr.asFunction< - double Function( - ffi.Pointer, ffi.Pointer>)>(); - - int strtol( - ffi.Pointer __str, - ffi.Pointer> __endptr, - int __base, - ) { - return _strtol( - __str, - __endptr, - __base, - ); - } - - late final _strtolPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer>, ffi.Int)>>('strtol'); - late final _strtol = _strtolPtr.asFunction< - int Function( - ffi.Pointer, ffi.Pointer>, int)>(); - - int strtoll( - ffi.Pointer __str, - ffi.Pointer> __endptr, - int __base, - ) { - return _strtoll( - __str, - __endptr, - __base, - ); - } - - late final _strtollPtr = _lookup< - ffi.NativeFunction< - ffi.LongLong Function(ffi.Pointer, - ffi.Pointer>, ffi.Int)>>('strtoll'); - late final _strtoll = _strtollPtr.asFunction< - int Function( - ffi.Pointer, ffi.Pointer>, int)>(); - - int strtoul( - ffi.Pointer __str, - ffi.Pointer> __endptr, - int __base, - ) { - return _strtoul( - __str, - __endptr, - __base, - ); - } - - late final _strtoulPtr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer>, ffi.Int)>>('strtoul'); - late final _strtoul = _strtoulPtr.asFunction< - int Function( - ffi.Pointer, ffi.Pointer>, int)>(); - - int strtoull( - ffi.Pointer __str, - ffi.Pointer> __endptr, - int __base, - ) { - return _strtoull( - __str, - __endptr, - __base, - ); - } - - late final _strtoullPtr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLongLong Function(ffi.Pointer, - ffi.Pointer>, ffi.Int)>>('strtoull'); - late final _strtoull = _strtoullPtr.asFunction< - int Function( - ffi.Pointer, ffi.Pointer>, int)>(); - - int system( - ffi.Pointer arg0, - ) { - return _system( - arg0, - ); - } - - late final _systemPtr = - _lookup)>>( - 'system'); - late final _system = - _systemPtr.asFunction)>(); - - int wcstombs( - ffi.Pointer arg0, - ffi.Pointer arg1, - int arg2, - ) { - return _wcstombs( - arg0, - arg1, - arg2, - ); - } - - late final _wcstombsPtr = _lookup< - ffi.NativeFunction< - ffi.Size Function(ffi.Pointer, ffi.Pointer, - ffi.Size)>>('wcstombs'); - late final _wcstombs = _wcstombsPtr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); - - int wctomb( - ffi.Pointer arg0, - int arg1, - ) { - return _wctomb( - arg0, - arg1, - ); - } - - late final _wctombPtr = _lookup< - ffi - .NativeFunction, ffi.WChar)>>( - 'wctomb'); - late final _wctomb = - _wctombPtr.asFunction, int)>(); - - void _Exit( - int arg0, - ) { - return __Exit( - arg0, - ); - } - - late final __ExitPtr = - _lookup>('_Exit'); - late final __Exit = __ExitPtr.asFunction(); - - int a64l( - ffi.Pointer arg0, - ) { - return _a64l( - arg0, - ); - } - - late final _a64lPtr = - _lookup)>>( - 'a64l'); - late final _a64l = _a64lPtr.asFunction)>(); - - double drand48() { - return _drand48(); - } - - late final _drand48Ptr = - _lookup>('drand48'); - late final _drand48 = _drand48Ptr.asFunction(); - - ffi.Pointer ecvt( - double arg0, - int arg1, - ffi.Pointer arg2, - ffi.Pointer arg3, - ) { - return _ecvt( - arg0, - arg1, - arg2, - arg3, - ); - } - - late final _ecvtPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Double, ffi.Int, - ffi.Pointer, ffi.Pointer)>>('ecvt'); - late final _ecvt = _ecvtPtr.asFunction< - ffi.Pointer Function( - double, int, ffi.Pointer, ffi.Pointer)>(); - - double erand48( - ffi.Pointer arg0, - ) { - return _erand48( - arg0, - ); - } - - late final _erand48Ptr = _lookup< - ffi - .NativeFunction)>>( - 'erand48'); - late final _erand48 = - _erand48Ptr.asFunction)>(); - - ffi.Pointer fcvt( - double arg0, - int arg1, - ffi.Pointer arg2, - ffi.Pointer arg3, - ) { - return _fcvt( - arg0, - arg1, - arg2, - arg3, - ); - } - - late final _fcvtPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Double, ffi.Int, - ffi.Pointer, ffi.Pointer)>>('fcvt'); - late final _fcvt = _fcvtPtr.asFunction< - ffi.Pointer Function( - double, int, ffi.Pointer, ffi.Pointer)>(); - - ffi.Pointer gcvt( - double arg0, - int arg1, - ffi.Pointer arg2, - ) { - return _gcvt( - arg0, - arg1, - arg2, - ); - } - - late final _gcvtPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Double, ffi.Int, ffi.Pointer)>>('gcvt'); - late final _gcvt = _gcvtPtr.asFunction< - ffi.Pointer Function(double, int, ffi.Pointer)>(); - - int getsubopt( - ffi.Pointer> arg0, - ffi.Pointer> arg1, - ffi.Pointer> arg2, - ) { - return _getsubopt( - arg0, - arg1, - arg2, - ); - } - - late final _getsuboptPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer>, - ffi.Pointer>, - ffi.Pointer>)>>('getsubopt'); - late final _getsubopt = _getsuboptPtr.asFunction< - int Function( - ffi.Pointer>, - ffi.Pointer>, - ffi.Pointer>)>(); - - int grantpt( - int arg0, - ) { - return _grantpt( - arg0, - ); - } - - late final _grantptPtr = - _lookup>('grantpt'); - late final _grantpt = _grantptPtr.asFunction(); - - ffi.Pointer initstate( - int arg0, - ffi.Pointer arg1, - int arg2, - ) { - return _initstate( - arg0, - arg1, - arg2, - ); - } - - late final _initstatePtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.UnsignedInt, ffi.Pointer, ffi.Size)>>('initstate'); - late final _initstate = _initstatePtr.asFunction< - ffi.Pointer Function(int, ffi.Pointer, int)>(); - - int jrand48( - ffi.Pointer arg0, - ) { - return _jrand48( - arg0, - ); - } - - late final _jrand48Ptr = _lookup< - ffi - .NativeFunction)>>( - 'jrand48'); - late final _jrand48 = - _jrand48Ptr.asFunction)>(); - - ffi.Pointer l64a( - int arg0, - ) { - return _l64a( - arg0, - ); - } - - late final _l64aPtr = - _lookup Function(ffi.Long)>>( - 'l64a'); - late final _l64a = _l64aPtr.asFunction Function(int)>(); - - void lcong48( - ffi.Pointer arg0, - ) { - return _lcong48( - arg0, - ); - } - - late final _lcong48Ptr = _lookup< - ffi - .NativeFunction)>>( - 'lcong48'); - late final _lcong48 = - _lcong48Ptr.asFunction)>(); - - int lrand48() { - return _lrand48(); - } - - late final _lrand48Ptr = - _lookup>('lrand48'); - late final _lrand48 = _lrand48Ptr.asFunction(); - - ffi.Pointer mktemp( - ffi.Pointer arg0, - ) { - return _mktemp( - arg0, - ); - } - - late final _mktempPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>>('mktemp'); - late final _mktemp = _mktempPtr - .asFunction Function(ffi.Pointer)>(); - - int mkstemp( - ffi.Pointer arg0, - ) { - return _mkstemp( - arg0, - ); - } - - late final _mkstempPtr = - _lookup)>>( - 'mkstemp'); - late final _mkstemp = - _mkstempPtr.asFunction)>(); - - int mrand48() { - return _mrand48(); - } - - late final _mrand48Ptr = - _lookup>('mrand48'); - late final _mrand48 = _mrand48Ptr.asFunction(); - - int nrand48( - ffi.Pointer arg0, - ) { - return _nrand48( - arg0, - ); - } - - late final _nrand48Ptr = _lookup< - ffi - .NativeFunction)>>( - 'nrand48'); - late final _nrand48 = - _nrand48Ptr.asFunction)>(); - - int posix_openpt( - int arg0, - ) { - return _posix_openpt( - arg0, - ); - } - - late final _posix_openptPtr = - _lookup>('posix_openpt'); - late final _posix_openpt = _posix_openptPtr.asFunction(); - - ffi.Pointer ptsname( - int arg0, - ) { - return _ptsname( - arg0, - ); - } - - late final _ptsnamePtr = - _lookup Function(ffi.Int)>>( - 'ptsname'); - late final _ptsname = - _ptsnamePtr.asFunction Function(int)>(); - - int ptsname_r( - int fildes, - ffi.Pointer buffer, - int buflen, - ) { - return _ptsname_r( - fildes, - buffer, - buflen, - ); - } - - late final _ptsname_rPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Int, ffi.Pointer, ffi.Size)>>('ptsname_r'); - late final _ptsname_r = - _ptsname_rPtr.asFunction, int)>(); - - int putenv( - ffi.Pointer arg0, - ) { - return _putenv( - arg0, - ); - } - - late final _putenvPtr = - _lookup)>>( - 'putenv'); - late final _putenv = - _putenvPtr.asFunction)>(); - - int random() { - return _random(); - } - - late final _randomPtr = - _lookup>('random'); - late final _random = _randomPtr.asFunction(); - - int rand_r( - ffi.Pointer arg0, - ) { - return _rand_r( - arg0, - ); - } - - late final _rand_rPtr = _lookup< - ffi.NativeFunction)>>( - 'rand_r'); - late final _rand_r = - _rand_rPtr.asFunction)>(); - - ffi.Pointer realpath( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) { - return _realpath( - arg0, - arg1, - ); - } - - late final _realpathPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('realpath'); - late final _realpath = _realpathPtr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - ffi.Pointer seed48( - ffi.Pointer arg0, - ) { - return _seed48( - arg0, - ); - } - - late final _seed48Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>('seed48'); - late final _seed48 = _seed48Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer)>(); - - int setenv( - ffi.Pointer __name, - ffi.Pointer __value, - int __overwrite, - ) { - return _setenv( - __name, - __value, - __overwrite, - ); - } - - late final _setenvPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer, - ffi.Int)>>('setenv'); - late final _setenv = _setenvPtr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); - - void setkey( - ffi.Pointer arg0, - ) { - return _setkey( - arg0, - ); - } - - late final _setkeyPtr = - _lookup)>>( - 'setkey'); - late final _setkey = - _setkeyPtr.asFunction)>(); - - ffi.Pointer setstate( - ffi.Pointer arg0, - ) { - return _setstate( - arg0, - ); - } - - late final _setstatePtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>>('setstate'); - late final _setstate = _setstatePtr - .asFunction Function(ffi.Pointer)>(); - - void srand48( - int arg0, - ) { - return _srand48( - arg0, - ); - } - - late final _srand48Ptr = - _lookup>('srand48'); - late final _srand48 = _srand48Ptr.asFunction(); - - void srandom( - int arg0, - ) { - return _srandom( - arg0, - ); - } - - late final _srandomPtr = - _lookup>( - 'srandom'); - late final _srandom = _srandomPtr.asFunction(); - - int unlockpt( - int arg0, - ) { - return _unlockpt( - arg0, - ); - } - - late final _unlockptPtr = - _lookup>('unlockpt'); - late final _unlockpt = _unlockptPtr.asFunction(); - - int unsetenv( - ffi.Pointer arg0, - ) { - return _unsetenv( - arg0, - ); - } - - late final _unsetenvPtr = - _lookup)>>( - 'unsetenv'); - late final _unsetenv = - _unsetenvPtr.asFunction)>(); - - int arc4random() { - return _arc4random(); - } - - late final _arc4randomPtr = - _lookup>('arc4random'); - late final _arc4random = _arc4randomPtr.asFunction(); - - void arc4random_addrandom( - ffi.Pointer arg0, - int arg1, - ) { - return _arc4random_addrandom( - arg0, - arg1, - ); - } - - late final _arc4random_addrandomPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, ffi.Int)>>('arc4random_addrandom'); - late final _arc4random_addrandom = _arc4random_addrandomPtr - .asFunction, int)>(); - - void arc4random_buf( - ffi.Pointer __buf, - int __nbytes, - ) { - return _arc4random_buf( - __buf, - __nbytes, - ); - } - - late final _arc4random_bufPtr = _lookup< - ffi - .NativeFunction, ffi.Size)>>( - 'arc4random_buf'); - late final _arc4random_buf = _arc4random_bufPtr - .asFunction, int)>(); - - void arc4random_stir() { - return _arc4random_stir(); - } - - late final _arc4random_stirPtr = - _lookup>('arc4random_stir'); - late final _arc4random_stir = - _arc4random_stirPtr.asFunction(); - - int arc4random_uniform( - int __upper_bound, - ) { - return _arc4random_uniform( - __upper_bound, - ); - } - - late final _arc4random_uniformPtr = - _lookup>( - 'arc4random_uniform'); - late final _arc4random_uniform = - _arc4random_uniformPtr.asFunction(); - - ffi.Pointer cgetcap( - ffi.Pointer arg0, - ffi.Pointer arg1, - int arg2, - ) { - return _cgetcap( - arg0, - arg1, - arg2, - ); - } - - late final _cgetcapPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int)>>('cgetcap'); - late final _cgetcap = _cgetcapPtr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - int cgetclose() { - return _cgetclose(); - } - - late final _cgetclosePtr = - _lookup>('cgetclose'); - late final _cgetclose = _cgetclosePtr.asFunction(); - - int cgetent( - ffi.Pointer> arg0, - ffi.Pointer> arg1, - ffi.Pointer arg2, - ) { - return _cgetent( - arg0, - arg1, - arg2, - ); - } - - late final _cgetentPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer>, - ffi.Pointer>, - ffi.Pointer)>>('cgetent'); - late final _cgetent = _cgetentPtr.asFunction< - int Function(ffi.Pointer>, - ffi.Pointer>, ffi.Pointer)>(); - - int cgetfirst( - ffi.Pointer> arg0, - ffi.Pointer> arg1, - ) { - return _cgetfirst( - arg0, - arg1, - ); - } - - late final _cgetfirstPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer>, - ffi.Pointer>)>>('cgetfirst'); - late final _cgetfirst = _cgetfirstPtr.asFunction< - int Function(ffi.Pointer>, - ffi.Pointer>)>(); - - int cgetmatch( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) { - return _cgetmatch( - arg0, - arg1, - ); - } - - late final _cgetmatchPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, ffi.Pointer)>>('cgetmatch'); - late final _cgetmatch = _cgetmatchPtr - .asFunction, ffi.Pointer)>(); - - int cgetnext( - ffi.Pointer> arg0, - ffi.Pointer> arg1, - ) { - return _cgetnext( - arg0, - arg1, - ); - } - - late final _cgetnextPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer>, - ffi.Pointer>)>>('cgetnext'); - late final _cgetnext = _cgetnextPtr.asFunction< - int Function(ffi.Pointer>, - ffi.Pointer>)>(); - - int cgetnum( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ) { - return _cgetnum( - arg0, - arg1, - arg2, - ); - } - - late final _cgetnumPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('cgetnum'); - late final _cgetnum = _cgetnumPtr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - int cgetset( - ffi.Pointer arg0, - ) { - return _cgetset( - arg0, - ); - } - - late final _cgetsetPtr = - _lookup)>>( - 'cgetset'); - late final _cgetset = - _cgetsetPtr.asFunction)>(); - - int cgetstr( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer> arg2, - ) { - return _cgetstr( - arg0, - arg1, - arg2, - ); - } - - late final _cgetstrPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('cgetstr'); - late final _cgetstr = _cgetstrPtr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>(); - - int cgetustr( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer> arg2, - ) { - return _cgetustr( - arg0, - arg1, - arg2, - ); - } - - late final _cgetustrPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('cgetustr'); - late final _cgetustr = _cgetustrPtr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>(); - - int daemon( - int arg0, - int arg1, - ) { - return _daemon( - arg0, - arg1, - ); - } - - late final _daemonPtr = - _lookup>('daemon'); - late final _daemon = _daemonPtr.asFunction(); - - ffi.Pointer devname( - int arg0, - int arg1, - ) { - return _devname( - arg0, - arg1, - ); - } - - late final _devnamePtr = _lookup< - ffi.NativeFunction Function(dev_t, mode_t)>>( - 'devname'); - late final _devname = - _devnamePtr.asFunction Function(int, int)>(); - - ffi.Pointer devname_r( - int arg0, - int arg1, - ffi.Pointer buf, - int len, - ) { - return _devname_r( - arg0, - arg1, - buf, - len, - ); - } - - late final _devname_rPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - dev_t, mode_t, ffi.Pointer, ffi.Int)>>('devname_r'); - late final _devname_r = _devname_rPtr.asFunction< - ffi.Pointer Function(int, int, ffi.Pointer, int)>(); - - ffi.Pointer getbsize( - ffi.Pointer arg0, - ffi.Pointer arg1, - ) { - return _getbsize( - arg0, - arg1, - ); - } - - late final _getbsizePtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('getbsize'); - late final _getbsize = _getbsizePtr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - int getloadavg( - ffi.Pointer arg0, - int arg1, - ) { - return _getloadavg( - arg0, - arg1, - ); - } - - late final _getloadavgPtr = _lookup< - ffi - .NativeFunction, ffi.Int)>>( - 'getloadavg'); - late final _getloadavg = - _getloadavgPtr.asFunction, int)>(); - - ffi.Pointer getprogname() { - return _getprogname(); - } - - late final _getprognamePtr = - _lookup Function()>>( - 'getprogname'); - late final _getprogname = - _getprognamePtr.asFunction Function()>(); - - void setprogname( - ffi.Pointer arg0, - ) { - return _setprogname( - arg0, - ); - } - - late final _setprognamePtr = - _lookup)>>( - 'setprogname'); - late final _setprogname = - _setprognamePtr.asFunction)>(); - - int heapsort( - ffi.Pointer __base, - int __nel, - int __width, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer)>> - __compar, - ) { - return _heapsort( - __base, - __nel, - __width, - __compar, - ); - } - - late final _heapsortPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, - ffi.Size, - ffi.Size, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, - ffi.Pointer)>>)>>('heapsort'); - late final _heapsort = _heapsortPtr.asFunction< - int Function( - ffi.Pointer, - int, - int, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, ffi.Pointer)>>)>(); - - int mergesort( - ffi.Pointer __base, - int __nel, - int __width, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer)>> - __compar, - ) { - return _mergesort( - __base, - __nel, - __width, - __compar, - ); - } - - late final _mergesortPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, - ffi.Size, - ffi.Size, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, - ffi.Pointer)>>)>>('mergesort'); - late final _mergesort = _mergesortPtr.asFunction< - int Function( - ffi.Pointer, - int, - int, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, ffi.Pointer)>>)>(); - - void psort( - ffi.Pointer __base, - int __nel, - int __width, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer)>> - __compar, - ) { - return _psort( - __base, - __nel, - __width, - __compar, - ); - } - - late final _psortPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Size, - ffi.Size, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, - ffi.Pointer)>>)>>('psort'); - late final _psort = _psortPtr.asFunction< - void Function( - ffi.Pointer, - int, - int, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, ffi.Pointer)>>)>(); - - void psort_r( - ffi.Pointer __base, - int __nel, - int __width, - ffi.Pointer arg3, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>> - __compar, - ) { - return _psort_r( - __base, - __nel, - __width, - arg3, - __compar, - ); - } - - late final _psort_rPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Size, - ffi.Size, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>)>>('psort_r'); - late final _psort_r = _psort_rPtr.asFunction< - void Function( - ffi.Pointer, - int, - int, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>)>(); - - void qsort_r( - ffi.Pointer __base, - int __nel, - int __width, - ffi.Pointer arg3, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>> - __compar, - ) { - return _qsort_r( - __base, - __nel, - __width, - arg3, - __compar, - ); - } - - late final _qsort_rPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Size, - ffi.Size, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>)>>('qsort_r'); - late final _qsort_r = _qsort_rPtr.asFunction< - void Function( - ffi.Pointer, - int, - int, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>)>(); - - int radixsort( - ffi.Pointer> __base, - int __nel, - ffi.Pointer __table, - int __endbyte, - ) { - return _radixsort( - __base, - __nel, - __table, - __endbyte, - ); - } - - late final _radixsortPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer>, ffi.Int, - ffi.Pointer, ffi.UnsignedInt)>>('radixsort'); - late final _radixsort = _radixsortPtr.asFunction< - int Function(ffi.Pointer>, int, - ffi.Pointer, int)>(); - - int rpmatch( - ffi.Pointer arg0, - ) { - return _rpmatch( - arg0, - ); - } - - late final _rpmatchPtr = - _lookup)>>( - 'rpmatch'); - late final _rpmatch = - _rpmatchPtr.asFunction)>(); - - int sradixsort( - ffi.Pointer> __base, - int __nel, - ffi.Pointer __table, - int __endbyte, - ) { - return _sradixsort( - __base, - __nel, - __table, - __endbyte, - ); - } - - late final _sradixsortPtr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer>, ffi.Int, - ffi.Pointer, ffi.UnsignedInt)>>('sradixsort'); - late final _sradixsort = _sradixsortPtr.asFunction< - int Function(ffi.Pointer>, int, - ffi.Pointer, int)>(); - - void sranddev() { - return _sranddev(); - } - - late final _sranddevPtr = - _lookup>('sranddev'); - late final _sranddev = _sranddevPtr.asFunction(); - - void srandomdev() { - return _srandomdev(); - } - - late final _srandomdevPtr = - _lookup>('srandomdev'); - late final _srandomdev = _srandomdevPtr.asFunction(); - - ffi.Pointer reallocf( - ffi.Pointer __ptr, - int __size, - ) { - return _reallocf( - __ptr, - __size, - ); - } - - late final _reallocfPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Size)>>('reallocf'); - late final _reallocf = _reallocfPtr - .asFunction Function(ffi.Pointer, int)>(); - - int strtonum( - ffi.Pointer __numstr, - int __minval, - int __maxval, - ffi.Pointer> __errstrp, - ) { - return _strtonum( - __numstr, - __minval, - __maxval, - __errstrp, - ); - } - - late final _strtonumPtr = _lookup< - ffi.NativeFunction< - ffi.LongLong Function(ffi.Pointer, ffi.LongLong, - ffi.LongLong, ffi.Pointer>)>>('strtonum'); - late final _strtonum = _strtonumPtr.asFunction< - int Function(ffi.Pointer, int, int, - ffi.Pointer>)>(); - - int strtoq( - ffi.Pointer __str, - ffi.Pointer> __endptr, - int __base, - ) { - return _strtoq( - __str, - __endptr, - __base, - ); - } - - late final _strtoqPtr = _lookup< - ffi.NativeFunction< - ffi.LongLong Function(ffi.Pointer, - ffi.Pointer>, ffi.Int)>>('strtoq'); - late final _strtoq = _strtoqPtr.asFunction< - int Function( - ffi.Pointer, ffi.Pointer>, int)>(); - - int strtouq( - ffi.Pointer __str, - ffi.Pointer> __endptr, - int __base, - ) { - return _strtouq( - __str, - __endptr, - __base, - ); - } - - late final _strtouqPtr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLongLong Function(ffi.Pointer, - ffi.Pointer>, ffi.Int)>>('strtouq'); - late final _strtouq = _strtouqPtr.asFunction< - int Function( - ffi.Pointer, ffi.Pointer>, int)>(); - - late final ffi.Pointer> _suboptarg = - _lookup>('suboptarg'); - - ffi.Pointer get suboptarg => _suboptarg.value; - - set suboptarg(ffi.Pointer value) => _suboptarg.value = value; - - System_Type_t System_TypeCode_TypeOf() { - return _System_TypeCode_TypeOf(); - } - - late final _System_TypeCode_TypeOfPtr = - _lookup>( - 'System_TypeCode_TypeOf'); - late final _System_TypeCode_TypeOf = - _System_TypeCode_TypeOfPtr.asFunction(); - - System_Type_t System_StringComparison_TypeOf() { - return _System_StringComparison_TypeOf(); - } - - late final _System_StringComparison_TypeOfPtr = - _lookup>( - 'System_StringComparison_TypeOf'); - late final _System_StringComparison_TypeOf = - _System_StringComparison_TypeOfPtr.asFunction(); - - System_Type_t System_Globalization_CultureTypes_TypeOf() { - return _System_Globalization_CultureTypes_TypeOf(); - } - - late final _System_Globalization_CultureTypes_TypeOfPtr = - _lookup>( - 'System_Globalization_CultureTypes_TypeOf'); - late final _System_Globalization_CultureTypes_TypeOf = - _System_Globalization_CultureTypes_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Globalization_UnicodeCategory_TypeOf() { - return _System_Globalization_UnicodeCategory_TypeOf(); - } - - late final _System_Globalization_UnicodeCategory_TypeOfPtr = - _lookup>( - 'System_Globalization_UnicodeCategory_TypeOf'); - late final _System_Globalization_UnicodeCategory_TypeOf = - _System_Globalization_UnicodeCategory_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Globalization_NumberStyles_TypeOf() { - return _System_Globalization_NumberStyles_TypeOf(); - } - - late final _System_Globalization_NumberStyles_TypeOfPtr = - _lookup>( - 'System_Globalization_NumberStyles_TypeOf'); - late final _System_Globalization_NumberStyles_TypeOf = - _System_Globalization_NumberStyles_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_MidpointRounding_TypeOf() { - return _System_MidpointRounding_TypeOf(); - } - - late final _System_MidpointRounding_TypeOfPtr = - _lookup>( - 'System_MidpointRounding_TypeOf'); - late final _System_MidpointRounding_TypeOf = - _System_MidpointRounding_TypeOfPtr.asFunction(); - - System_Type_t System_Globalization_TimeSpanStyles_TypeOf() { - return _System_Globalization_TimeSpanStyles_TypeOf(); - } - - late final _System_Globalization_TimeSpanStyles_TypeOfPtr = - _lookup>( - 'System_Globalization_TimeSpanStyles_TypeOf'); - late final _System_Globalization_TimeSpanStyles_TypeOf = - _System_Globalization_TimeSpanStyles_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_DateTimeKind_TypeOf() { - return _System_DateTimeKind_TypeOf(); - } - - late final _System_DateTimeKind_TypeOfPtr = - _lookup>( - 'System_DateTimeKind_TypeOf'); - late final _System_DateTimeKind_TypeOf = - _System_DateTimeKind_TypeOfPtr.asFunction(); - - System_Type_t System_DayOfWeek_TypeOf() { - return _System_DayOfWeek_TypeOf(); - } - - late final _System_DayOfWeek_TypeOfPtr = - _lookup>( - 'System_DayOfWeek_TypeOf'); - late final _System_DayOfWeek_TypeOf = - _System_DayOfWeek_TypeOfPtr.asFunction(); - - System_Type_t System_Globalization_DateTimeStyles_TypeOf() { - return _System_Globalization_DateTimeStyles_TypeOf(); - } - - late final _System_Globalization_DateTimeStyles_TypeOfPtr = - _lookup>( - 'System_Globalization_DateTimeStyles_TypeOf'); - late final _System_Globalization_DateTimeStyles_TypeOf = - _System_Globalization_DateTimeStyles_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Globalization_CalendarAlgorithmType_TypeOf() { - return _System_Globalization_CalendarAlgorithmType_TypeOf(); - } - - late final _System_Globalization_CalendarAlgorithmType_TypeOfPtr = - _lookup>( - 'System_Globalization_CalendarAlgorithmType_TypeOf'); - late final _System_Globalization_CalendarAlgorithmType_TypeOf = - _System_Globalization_CalendarAlgorithmType_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Globalization_CalendarWeekRule_TypeOf() { - return _System_Globalization_CalendarWeekRule_TypeOf(); - } - - late final _System_Globalization_CalendarWeekRule_TypeOfPtr = - _lookup>( - 'System_Globalization_CalendarWeekRule_TypeOf'); - late final _System_Globalization_CalendarWeekRule_TypeOf = - _System_Globalization_CalendarWeekRule_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Runtime_Serialization_StreamingContextStates_TypeOf() { - return _System_Runtime_Serialization_StreamingContextStates_TypeOf(); - } - - late final _System_Runtime_Serialization_StreamingContextStates_TypeOfPtr = - _lookup>( - 'System_Runtime_Serialization_StreamingContextStates_TypeOf'); - late final _System_Runtime_Serialization_StreamingContextStates_TypeOf = - _System_Runtime_Serialization_StreamingContextStates_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_ProcessorArchitecture_TypeOf() { - return _System_Reflection_ProcessorArchitecture_TypeOf(); - } - - late final _System_Reflection_ProcessorArchitecture_TypeOfPtr = - _lookup>( - 'System_Reflection_ProcessorArchitecture_TypeOf'); - late final _System_Reflection_ProcessorArchitecture_TypeOf = - _System_Reflection_ProcessorArchitecture_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_AssemblyContentType_TypeOf() { - return _System_Reflection_AssemblyContentType_TypeOf(); - } - - late final _System_Reflection_AssemblyContentType_TypeOfPtr = - _lookup>( - 'System_Reflection_AssemblyContentType_TypeOf'); - late final _System_Reflection_AssemblyContentType_TypeOf = - _System_Reflection_AssemblyContentType_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_AssemblyNameFlags_TypeOf() { - return _System_Reflection_AssemblyNameFlags_TypeOf(); - } - - late final _System_Reflection_AssemblyNameFlags_TypeOfPtr = - _lookup>( - 'System_Reflection_AssemblyNameFlags_TypeOf'); - late final _System_Reflection_AssemblyNameFlags_TypeOf = - _System_Reflection_AssemblyNameFlags_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Configuration_Assemblies_AssemblyHashAlgorithm_TypeOf() { - return _System_Configuration_Assemblies_AssemblyHashAlgorithm_TypeOf(); - } - - late final _System_Configuration_Assemblies_AssemblyHashAlgorithm_TypeOfPtr = - _lookup>( - 'System_Configuration_Assemblies_AssemblyHashAlgorithm_TypeOf'); - late final _System_Configuration_Assemblies_AssemblyHashAlgorithm_TypeOf = - _System_Configuration_Assemblies_AssemblyHashAlgorithm_TypeOfPtr - .asFunction(); - - System_Type_t - System_Configuration_Assemblies_AssemblyVersionCompatibility_TypeOf() { - return _System_Configuration_Assemblies_AssemblyVersionCompatibility_TypeOf(); - } - - late final _System_Configuration_Assemblies_AssemblyVersionCompatibility_TypeOfPtr = - _lookup>( - 'System_Configuration_Assemblies_AssemblyVersionCompatibility_TypeOf'); - late final _System_Configuration_Assemblies_AssemblyVersionCompatibility_TypeOf = - _System_Configuration_Assemblies_AssemblyVersionCompatibility_TypeOfPtr - .asFunction(); - - System_Type_t System_Reflection_ParameterAttributes_TypeOf() { - return _System_Reflection_ParameterAttributes_TypeOf(); - } - - late final _System_Reflection_ParameterAttributes_TypeOfPtr = - _lookup>( - 'System_Reflection_ParameterAttributes_TypeOf'); - late final _System_Reflection_ParameterAttributes_TypeOf = - _System_Reflection_ParameterAttributes_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_MethodAttributes_TypeOf() { - return _System_Reflection_MethodAttributes_TypeOf(); - } - - late final _System_Reflection_MethodAttributes_TypeOfPtr = - _lookup>( - 'System_Reflection_MethodAttributes_TypeOf'); - late final _System_Reflection_MethodAttributes_TypeOf = - _System_Reflection_MethodAttributes_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_MethodImplAttributes_TypeOf() { - return _System_Reflection_MethodImplAttributes_TypeOf(); - } - - late final _System_Reflection_MethodImplAttributes_TypeOfPtr = - _lookup>( - 'System_Reflection_MethodImplAttributes_TypeOf'); - late final _System_Reflection_MethodImplAttributes_TypeOf = - _System_Reflection_MethodImplAttributes_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_CallingConventions_TypeOf() { - return _System_Reflection_CallingConventions_TypeOf(); - } - - late final _System_Reflection_CallingConventions_TypeOfPtr = - _lookup>( - 'System_Reflection_CallingConventions_TypeOf'); - late final _System_Reflection_CallingConventions_TypeOf = - _System_Reflection_CallingConventions_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_BindingFlags_TypeOf() { - return _System_Reflection_BindingFlags_TypeOf(); - } - - late final _System_Reflection_BindingFlags_TypeOfPtr = - _lookup>( - 'System_Reflection_BindingFlags_TypeOf'); - late final _System_Reflection_BindingFlags_TypeOf = - _System_Reflection_BindingFlags_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_MemberTypes_TypeOf() { - return _System_Reflection_MemberTypes_TypeOf(); - } - - late final _System_Reflection_MemberTypes_TypeOfPtr = - _lookup>( - 'System_Reflection_MemberTypes_TypeOf'); - late final _System_Reflection_MemberTypes_TypeOf = - _System_Reflection_MemberTypes_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_FieldAttributes_TypeOf() { - return _System_Reflection_FieldAttributes_TypeOf(); - } - - late final _System_Reflection_FieldAttributes_TypeOfPtr = - _lookup>( - 'System_Reflection_FieldAttributes_TypeOf'); - late final _System_Reflection_FieldAttributes_TypeOf = - _System_Reflection_FieldAttributes_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_PropertyAttributes_TypeOf() { - return _System_Reflection_PropertyAttributes_TypeOf(); - } - - late final _System_Reflection_PropertyAttributes_TypeOfPtr = - _lookup>( - 'System_Reflection_PropertyAttributes_TypeOf'); - late final _System_Reflection_PropertyAttributes_TypeOf = - _System_Reflection_PropertyAttributes_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Threading_Tasks_TaskStatus_TypeOf() { - return _System_Threading_Tasks_TaskStatus_TypeOf(); - } - - late final _System_Threading_Tasks_TaskStatus_TypeOfPtr = - _lookup>( - 'System_Threading_Tasks_TaskStatus_TypeOf'); - late final _System_Threading_Tasks_TaskStatus_TypeOf = - _System_Threading_Tasks_TaskStatus_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Threading_Tasks_TaskCreationOptions_TypeOf() { - return _System_Threading_Tasks_TaskCreationOptions_TypeOf(); - } - - late final _System_Threading_Tasks_TaskCreationOptions_TypeOfPtr = - _lookup>( - 'System_Threading_Tasks_TaskCreationOptions_TypeOf'); - late final _System_Threading_Tasks_TaskCreationOptions_TypeOf = - _System_Threading_Tasks_TaskCreationOptions_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Threading_Tasks_TaskContinuationOptions_TypeOf() { - return _System_Threading_Tasks_TaskContinuationOptions_TypeOf(); - } - - late final _System_Threading_Tasks_TaskContinuationOptions_TypeOfPtr = - _lookup>( - 'System_Threading_Tasks_TaskContinuationOptions_TypeOf'); - late final _System_Threading_Tasks_TaskContinuationOptions_TypeOf = - _System_Threading_Tasks_TaskContinuationOptions_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Threading_Tasks_ConfigureAwaitOptions_TypeOf() { - return _System_Threading_Tasks_ConfigureAwaitOptions_TypeOf(); - } - - late final _System_Threading_Tasks_ConfigureAwaitOptions_TypeOfPtr = - _lookup>( - 'System_Threading_Tasks_ConfigureAwaitOptions_TypeOf'); - late final _System_Threading_Tasks_ConfigureAwaitOptions_TypeOf = - _System_Threading_Tasks_ConfigureAwaitOptions_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Threading_Tasks_Sources_ValueTaskSourceStatus_TypeOf() { - return _System_Threading_Tasks_Sources_ValueTaskSourceStatus_TypeOf(); - } - - late final _System_Threading_Tasks_Sources_ValueTaskSourceStatus_TypeOfPtr = - _lookup>( - 'System_Threading_Tasks_Sources_ValueTaskSourceStatus_TypeOf'); - late final _System_Threading_Tasks_Sources_ValueTaskSourceStatus_TypeOf = - _System_Threading_Tasks_Sources_ValueTaskSourceStatus_TypeOfPtr - .asFunction(); - - System_Type_t - System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_TypeOf() { - return _System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_TypeOf(); - } - - late final _System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_TypeOfPtr = - _lookup>( - 'System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_TypeOf'); - late final _System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_TypeOf = - _System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_TypeOfPtr - .asFunction(); - - System_Type_t System_IO_SeekOrigin_TypeOf() { - return _System_IO_SeekOrigin_TypeOf(); - } - - late final _System_IO_SeekOrigin_TypeOfPtr = - _lookup>( - 'System_IO_SeekOrigin_TypeOf'); - late final _System_IO_SeekOrigin_TypeOf = - _System_IO_SeekOrigin_TypeOfPtr.asFunction(); - - System_Type_t System_IO_FileAccess_TypeOf() { - return _System_IO_FileAccess_TypeOf(); - } - - late final _System_IO_FileAccess_TypeOfPtr = - _lookup>( - 'System_IO_FileAccess_TypeOf'); - late final _System_IO_FileAccess_TypeOf = - _System_IO_FileAccess_TypeOfPtr.asFunction(); - - System_Type_t System_IO_FileMode_TypeOf() { - return _System_IO_FileMode_TypeOf(); - } - - late final _System_IO_FileMode_TypeOfPtr = - _lookup>( - 'System_IO_FileMode_TypeOf'); - late final _System_IO_FileMode_TypeOf = - _System_IO_FileMode_TypeOfPtr.asFunction(); - - System_Type_t System_IO_FileShare_TypeOf() { - return _System_IO_FileShare_TypeOf(); - } - - late final _System_IO_FileShare_TypeOfPtr = - _lookup>( - 'System_IO_FileShare_TypeOf'); - late final _System_IO_FileShare_TypeOf = - _System_IO_FileShare_TypeOfPtr.asFunction(); - - System_Type_t System_IO_FileOptions_TypeOf() { - return _System_IO_FileOptions_TypeOf(); - } - - late final _System_IO_FileOptions_TypeOfPtr = - _lookup>( - 'System_IO_FileOptions_TypeOf'); - late final _System_IO_FileOptions_TypeOf = - _System_IO_FileOptions_TypeOfPtr.asFunction(); - - System_Type_t System_Reflection_ResourceLocation_TypeOf() { - return _System_Reflection_ResourceLocation_TypeOf(); - } - - late final _System_Reflection_ResourceLocation_TypeOfPtr = - _lookup>( - 'System_Reflection_ResourceLocation_TypeOf'); - late final _System_Reflection_ResourceLocation_TypeOf = - _System_Reflection_ResourceLocation_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_PortableExecutableKinds_TypeOf() { - return _System_Reflection_PortableExecutableKinds_TypeOf(); - } - - late final _System_Reflection_PortableExecutableKinds_TypeOfPtr = - _lookup>( - 'System_Reflection_PortableExecutableKinds_TypeOf'); - late final _System_Reflection_PortableExecutableKinds_TypeOf = - _System_Reflection_PortableExecutableKinds_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_ImageFileMachine_TypeOf() { - return _System_Reflection_ImageFileMachine_TypeOf(); - } - - late final _System_Reflection_ImageFileMachine_TypeOfPtr = - _lookup>( - 'System_Reflection_ImageFileMachine_TypeOf'); - late final _System_Reflection_ImageFileMachine_TypeOf = - _System_Reflection_ImageFileMachine_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Security_SecurityRuleSet_TypeOf() { - return _System_Security_SecurityRuleSet_TypeOf(); - } - - late final _System_Security_SecurityRuleSet_TypeOfPtr = - _lookup>( - 'System_Security_SecurityRuleSet_TypeOf'); - late final _System_Security_SecurityRuleSet_TypeOf = - _System_Security_SecurityRuleSet_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Buffers_OperationStatus_TypeOf() { - return _System_Buffers_OperationStatus_TypeOf(); - } - - late final _System_Buffers_OperationStatus_TypeOfPtr = - _lookup>( - 'System_Buffers_OperationStatus_TypeOf'); - late final _System_Buffers_OperationStatus_TypeOf = - _System_Buffers_OperationStatus_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Globalization_CompareOptions_TypeOf() { - return _System_Globalization_CompareOptions_TypeOf(); - } - - late final _System_Globalization_CompareOptions_TypeOfPtr = - _lookup>( - 'System_Globalization_CompareOptions_TypeOf'); - late final _System_Globalization_CompareOptions_TypeOf = - _System_Globalization_CompareOptions_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Globalization_DigitShapes_TypeOf() { - return _System_Globalization_DigitShapes_TypeOf(); - } - - late final _System_Globalization_DigitShapes_TypeOfPtr = - _lookup>( - 'System_Globalization_DigitShapes_TypeOf'); - late final _System_Globalization_DigitShapes_TypeOf = - _System_Globalization_DigitShapes_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Text_NormalizationForm_TypeOf() { - return _System_Text_NormalizationForm_TypeOf(); - } - - late final _System_Text_NormalizationForm_TypeOfPtr = - _lookup>( - 'System_Text_NormalizationForm_TypeOf'); - late final _System_Text_NormalizationForm_TypeOf = - _System_Text_NormalizationForm_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_StringSplitOptions_TypeOf() { - return _System_StringSplitOptions_TypeOf(); - } - - late final _System_StringSplitOptions_TypeOfPtr = - _lookup>( - 'System_StringSplitOptions_TypeOf'); - late final _System_StringSplitOptions_TypeOf = - _System_StringSplitOptions_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_GenericParameterAttributes_TypeOf() { - return _System_Reflection_GenericParameterAttributes_TypeOf(); - } - - late final _System_Reflection_GenericParameterAttributes_TypeOfPtr = - _lookup>( - 'System_Reflection_GenericParameterAttributes_TypeOf'); - late final _System_Reflection_GenericParameterAttributes_TypeOf = - _System_Reflection_GenericParameterAttributes_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_TypeAttributes_TypeOf() { - return _System_Reflection_TypeAttributes_TypeOf(); - } - - late final _System_Reflection_TypeAttributes_TypeOfPtr = - _lookup>( - 'System_Reflection_TypeAttributes_TypeOf'); - late final _System_Reflection_TypeAttributes_TypeOf = - _System_Reflection_TypeAttributes_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Runtime_InteropServices_LayoutKind_TypeOf() { - return _System_Runtime_InteropServices_LayoutKind_TypeOf(); - } - - late final _System_Runtime_InteropServices_LayoutKind_TypeOfPtr = - _lookup>( - 'System_Runtime_InteropServices_LayoutKind_TypeOf'); - late final _System_Runtime_InteropServices_LayoutKind_TypeOf = - _System_Runtime_InteropServices_LayoutKind_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Runtime_InteropServices_CharSet_TypeOf() { - return _System_Runtime_InteropServices_CharSet_TypeOf(); - } - - late final _System_Runtime_InteropServices_CharSet_TypeOfPtr = - _lookup>( - 'System_Runtime_InteropServices_CharSet_TypeOf'); - late final _System_Runtime_InteropServices_CharSet_TypeOf = - _System_Runtime_InteropServices_CharSet_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t System_Reflection_EventAttributes_TypeOf() { - return _System_Reflection_EventAttributes_TypeOf(); - } - - late final _System_Reflection_EventAttributes_TypeOfPtr = - _lookup>( - 'System_Reflection_EventAttributes_TypeOf'); - late final _System_Reflection_EventAttributes_TypeOf = - _System_Reflection_EventAttributes_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - System_Type_t - System_Runtime_InteropServices_CustomQueryInterfaceMode_TypeOf() { - return _System_Runtime_InteropServices_CustomQueryInterfaceMode_TypeOf(); - } - - late final _System_Runtime_InteropServices_CustomQueryInterfaceMode_TypeOfPtr = - _lookup>( - 'System_Runtime_InteropServices_CustomQueryInterfaceMode_TypeOf'); - late final _System_Runtime_InteropServices_CustomQueryInterfaceMode_TypeOf = - _System_Runtime_InteropServices_CustomQueryInterfaceMode_TypeOfPtr - .asFunction(); - - System_Type_t System_Object_GetType( - System_Object_t self, - ffi.Pointer outException, - ) { - return _System_Object_GetType( - self, - outException, - ); - } - - late final _System_Object_GetTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Object_t, - ffi.Pointer)>>('System_Object_GetType'); - late final _System_Object_GetType = _System_Object_GetTypePtr.asFunction< - System_Type_t Function( - System_Object_t, ffi.Pointer)>(); - - System_String_t System_Object_ToString( - System_Object_t self, - ffi.Pointer outException, - ) { - return _System_Object_ToString( - self, - outException, - ); - } - - late final _System_Object_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Object_t, - ffi.Pointer)>>('System_Object_ToString'); - late final _System_Object_ToString = _System_Object_ToStringPtr.asFunction< - System_String_t Function( - System_Object_t, ffi.Pointer)>(); - - bool System_Object_Equals( - System_Object_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Object_Equals( - self, - obj, - outException, - ); - } - - late final _System_Object_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Object_t, System_Object_t, - ffi.Pointer)>>('System_Object_Equals'); - late final _System_Object_Equals = _System_Object_EqualsPtr.asFunction< - bool Function( - System_Object_t, System_Object_t, ffi.Pointer)>(); - - bool System_Object_Equals_1( - System_Object_t objA, - System_Object_t objB, - ffi.Pointer outException, - ) { - return _System_Object_Equals_1( - objA, - objB, - outException, - ); - } - - late final _System_Object_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Object_t, System_Object_t, - ffi.Pointer)>>('System_Object_Equals_1'); - late final _System_Object_Equals_1 = _System_Object_Equals_1Ptr.asFunction< - bool Function( - System_Object_t, System_Object_t, ffi.Pointer)>(); - - bool System_Object_ReferenceEquals( - System_Object_t objA, - System_Object_t objB, - ffi.Pointer outException, - ) { - return _System_Object_ReferenceEquals( - objA, - objB, - outException, - ); - } - - late final _System_Object_ReferenceEqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Object_t, System_Object_t, - ffi.Pointer)>>( - 'System_Object_ReferenceEquals'); - late final _System_Object_ReferenceEquals = - _System_Object_ReferenceEqualsPtr.asFunction< - bool Function(System_Object_t, System_Object_t, - ffi.Pointer)>(); - - int System_Object_GetHashCode( - System_Object_t self, - ffi.Pointer outException, - ) { - return _System_Object_GetHashCode( - self, - outException, - ); - } - - late final _System_Object_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Object_t, - ffi.Pointer)>>('System_Object_GetHashCode'); - late final _System_Object_GetHashCode = - _System_Object_GetHashCodePtr.asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - System_Object_t System_Object_Create( - ffi.Pointer outException, - ) { - return _System_Object_Create( - outException, - ); - } - - late final _System_Object_CreatePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - ffi.Pointer)>>('System_Object_Create'); - late final _System_Object_Create = _System_Object_CreatePtr.asFunction< - System_Object_t Function(ffi.Pointer)>(); - - System_Type_t System_Object_TypeOf() { - return _System_Object_TypeOf(); - } - - late final _System_Object_TypeOfPtr = - _lookup>( - 'System_Object_TypeOf'); - late final _System_Object_TypeOf = - _System_Object_TypeOfPtr.asFunction(); - - void System_Object_Destroy( - System_Object_t self, - ) { - return _System_Object_Destroy( - self, - ); - } - - late final _System_Object_DestroyPtr = - _lookup>( - 'System_Object_Destroy'); - late final _System_Object_Destroy = - _System_Object_DestroyPtr.asFunction(); - - System_Type_t System_Type_GetType( - System_String_t typeName, - bool throwOnError, - bool ignoreCase, - ffi.Pointer outException, - ) { - return _System_Type_GetType( - typeName, - throwOnError, - ignoreCase, - outException, - ); - } - - late final _System_Type_GetTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_String_t, ffi.Bool, ffi.Bool, - ffi.Pointer)>>('System_Type_GetType'); - late final _System_Type_GetType = _System_Type_GetTypePtr.asFunction< - System_Type_t Function( - System_String_t, bool, bool, ffi.Pointer)>(); - - System_Type_t System_Type_GetType_1( - System_String_t typeName, - bool throwOnError, - ffi.Pointer outException, - ) { - return _System_Type_GetType_1( - typeName, - throwOnError, - outException, - ); - } - - late final _System_Type_GetType_1Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_String_t, ffi.Bool, - ffi.Pointer)>>('System_Type_GetType_1'); - late final _System_Type_GetType_1 = _System_Type_GetType_1Ptr.asFunction< - System_Type_t Function( - System_String_t, bool, ffi.Pointer)>(); - - System_Type_t System_Type_GetType_2( - System_String_t typeName, - ffi.Pointer outException, - ) { - return _System_Type_GetType_2( - typeName, - outException, - ); - } - - late final _System_Type_GetType_2Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_String_t, - ffi.Pointer)>>('System_Type_GetType_2'); - late final _System_Type_GetType_2 = _System_Type_GetType_2Ptr.asFunction< - System_Type_t Function( - System_String_t, ffi.Pointer)>(); - - System_Type_t System_Type_GetTypeFromHandle( - System_RuntimeTypeHandle_t handle, - ffi.Pointer outException, - ) { - return _System_Type_GetTypeFromHandle( - handle, - outException, - ); - } - - late final _System_Type_GetTypeFromHandlePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_RuntimeTypeHandle_t, - ffi.Pointer)>>( - 'System_Type_GetTypeFromHandle'); - late final _System_Type_GetTypeFromHandle = - _System_Type_GetTypeFromHandlePtr.asFunction< - System_Type_t Function( - System_RuntimeTypeHandle_t, ffi.Pointer)>(); - - System_Type_t System_Type_GetType_3( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetType_3( - self, - outException, - ); - } - - late final _System_Type_GetType_3Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetType_3'); - late final _System_Type_GetType_3 = _System_Type_GetType_3Ptr.asFunction< - System_Type_t Function(System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_GetElementType( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetElementType( - self, - outException, - ); - } - - late final _System_Type_GetElementTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetElementType'); - late final _System_Type_GetElementType = - _System_Type_GetElementTypePtr.asFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>(); - - int System_Type_GetArrayRank( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetArrayRank( - self, - outException, - ); - } - - late final _System_Type_GetArrayRankPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetArrayRank'); - late final _System_Type_GetArrayRank = - _System_Type_GetArrayRankPtr.asFunction< - int Function(System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_GetGenericTypeDefinition( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetGenericTypeDefinition( - self, - outException, - ); - } - - late final _System_Type_GetGenericTypeDefinitionPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GetGenericTypeDefinition'); - late final _System_Type_GetGenericTypeDefinition = - _System_Type_GetGenericTypeDefinitionPtr.asFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_Array_t System_Type_GetGenericArguments( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetGenericArguments( - self, - outException, - ); - } - - late final _System_Type_GetGenericArgumentsPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GetGenericArguments'); - late final _System_Type_GetGenericArguments = - _System_Type_GetGenericArgumentsPtr.asFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_Array_t System_Type_GetOptionalCustomModifiers( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetOptionalCustomModifiers( - self, - outException, - ); - } - - late final _System_Type_GetOptionalCustomModifiersPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GetOptionalCustomModifiers'); - late final _System_Type_GetOptionalCustomModifiers = - _System_Type_GetOptionalCustomModifiersPtr.asFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_Array_t System_Type_GetRequiredCustomModifiers( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetRequiredCustomModifiers( - self, - outException, - ); - } - - late final _System_Type_GetRequiredCustomModifiersPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GetRequiredCustomModifiers'); - late final _System_Type_GetRequiredCustomModifiers = - _System_Type_GetRequiredCustomModifiersPtr.asFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_Array_t System_Type_GetGenericParameterConstraints( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetGenericParameterConstraints( - self, - outException, - ); - } - - late final _System_Type_GetGenericParameterConstraintsPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GetGenericParameterConstraints'); - late final _System_Type_GetGenericParameterConstraints = - _System_Type_GetGenericParameterConstraintsPtr.asFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsAssignableTo( - System_Type_t self, - System_Type_t targetType, - ffi.Pointer outException, - ) { - return _System_Type_IsAssignableTo( - self, - targetType, - outException, - ); - } - - late final _System_Type_IsAssignableToPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, System_Type_t, - ffi.Pointer)>>('System_Type_IsAssignableTo'); - late final _System_Type_IsAssignableTo = - _System_Type_IsAssignableToPtr.asFunction< - bool Function( - System_Type_t, System_Type_t, ffi.Pointer)>(); - - System_Reflection_ConstructorInfo_t System_Type_GetConstructor( - System_Type_t self, - System_Type_Array_t types, - ffi.Pointer outException, - ) { - return _System_Type_GetConstructor( - self, - types, - outException, - ); - } - - late final _System_Type_GetConstructorPtr = _lookup< - ffi.NativeFunction< - System_Reflection_ConstructorInfo_t Function( - System_Type_t, - System_Type_Array_t, - ffi.Pointer)>>('System_Type_GetConstructor'); - late final _System_Type_GetConstructor = - _System_Type_GetConstructorPtr.asFunction< - System_Reflection_ConstructorInfo_t Function(System_Type_t, - System_Type_Array_t, ffi.Pointer)>(); - - System_Reflection_ConstructorInfo_t System_Type_GetConstructor_1( - System_Type_t self, - int bindingAttr, - System_Type_Array_t types, - ffi.Pointer outException, - ) { - return _System_Type_GetConstructor_1( - self, - bindingAttr, - types, - outException, - ); - } - - late final _System_Type_GetConstructor_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_ConstructorInfo_t Function( - System_Type_t, - ffi.Int32, - System_Type_Array_t, - ffi.Pointer)>>( - 'System_Type_GetConstructor_1'); - late final _System_Type_GetConstructor_1 = - _System_Type_GetConstructor_1Ptr.asFunction< - System_Reflection_ConstructorInfo_t Function(System_Type_t, int, - System_Type_Array_t, ffi.Pointer)>(); - - System_Reflection_ConstructorInfo_t System_Type_GetConstructor_2( - System_Type_t self, - int bindingAttr, - System_Reflection_Binder_t binder, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Type_GetConstructor_2( - self, - bindingAttr, - binder, - types, - modifiers, - outException, - ); - } - - late final _System_Type_GetConstructor_2Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_ConstructorInfo_t Function( - System_Type_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>( - 'System_Type_GetConstructor_2'); - late final _System_Type_GetConstructor_2 = - _System_Type_GetConstructor_2Ptr.asFunction< - System_Reflection_ConstructorInfo_t Function( - System_Type_t, - int, - System_Reflection_Binder_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_ConstructorInfo_t System_Type_GetConstructor_3( - System_Type_t self, - int bindingAttr, - System_Reflection_Binder_t binder, - int callConvention, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Type_GetConstructor_3( - self, - bindingAttr, - binder, - callConvention, - types, - modifiers, - outException, - ); - } - - late final _System_Type_GetConstructor_3Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_ConstructorInfo_t Function( - System_Type_t, - ffi.Int32, - System_Reflection_Binder_t, - ffi.Int32, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>( - 'System_Type_GetConstructor_3'); - late final _System_Type_GetConstructor_3 = - _System_Type_GetConstructor_3Ptr.asFunction< - System_Reflection_ConstructorInfo_t Function( - System_Type_t, - int, - System_Reflection_Binder_t, - int, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_ConstructorInfo_Array_t System_Type_GetConstructors( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetConstructors( - self, - outException, - ); - } - - late final _System_Type_GetConstructorsPtr = _lookup< - ffi.NativeFunction< - System_Reflection_ConstructorInfo_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetConstructors'); - late final _System_Type_GetConstructors = - _System_Type_GetConstructorsPtr.asFunction< - System_Reflection_ConstructorInfo_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_ConstructorInfo_Array_t System_Type_GetConstructors_1( - System_Type_t self, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetConstructors_1( - self, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetConstructors_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_ConstructorInfo_Array_t Function( - System_Type_t, ffi.Int32, ffi.Pointer)>>( - 'System_Type_GetConstructors_1'); - late final _System_Type_GetConstructors_1 = - _System_Type_GetConstructors_1Ptr.asFunction< - System_Reflection_ConstructorInfo_Array_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Reflection_EventInfo_t System_Type_GetEvent( - System_Type_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Type_GetEvent( - self, - name, - outException, - ); - } - - late final _System_Type_GetEventPtr = _lookup< - ffi.NativeFunction< - System_Reflection_EventInfo_t Function(System_Type_t, System_String_t, - ffi.Pointer)>>('System_Type_GetEvent'); - late final _System_Type_GetEvent = _System_Type_GetEventPtr.asFunction< - System_Reflection_EventInfo_t Function( - System_Type_t, System_String_t, ffi.Pointer)>(); - - System_Reflection_EventInfo_t System_Type_GetEvent_1( - System_Type_t self, - System_String_t name, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetEvent_1( - self, - name, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetEvent_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_EventInfo_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>('System_Type_GetEvent_1'); - late final _System_Type_GetEvent_1 = _System_Type_GetEvent_1Ptr.asFunction< - System_Reflection_EventInfo_t Function(System_Type_t, System_String_t, - int, ffi.Pointer)>(); - - System_Reflection_EventInfo_Array_t System_Type_GetEvents( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetEvents( - self, - outException, - ); - } - - late final _System_Type_GetEventsPtr = _lookup< - ffi.NativeFunction< - System_Reflection_EventInfo_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetEvents'); - late final _System_Type_GetEvents = _System_Type_GetEventsPtr.asFunction< - System_Reflection_EventInfo_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_EventInfo_Array_t System_Type_GetEvents_1( - System_Type_t self, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetEvents_1( - self, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetEvents_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_EventInfo_Array_t Function(System_Type_t, ffi.Int32, - ffi.Pointer)>>('System_Type_GetEvents_1'); - late final _System_Type_GetEvents_1 = _System_Type_GetEvents_1Ptr.asFunction< - System_Reflection_EventInfo_Array_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Reflection_FieldInfo_t System_Type_GetField( - System_Type_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Type_GetField( - self, - name, - outException, - ); - } - - late final _System_Type_GetFieldPtr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_t Function(System_Type_t, System_String_t, - ffi.Pointer)>>('System_Type_GetField'); - late final _System_Type_GetField = _System_Type_GetFieldPtr.asFunction< - System_Reflection_FieldInfo_t Function( - System_Type_t, System_String_t, ffi.Pointer)>(); - - System_Reflection_FieldInfo_t System_Type_GetField_1( - System_Type_t self, - System_String_t name, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetField_1( - self, - name, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetField_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>('System_Type_GetField_1'); - late final _System_Type_GetField_1 = _System_Type_GetField_1Ptr.asFunction< - System_Reflection_FieldInfo_t Function(System_Type_t, System_String_t, - int, ffi.Pointer)>(); - - System_Reflection_FieldInfo_Array_t System_Type_GetFields( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetFields( - self, - outException, - ); - } - - late final _System_Type_GetFieldsPtr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetFields'); - late final _System_Type_GetFields = _System_Type_GetFieldsPtr.asFunction< - System_Reflection_FieldInfo_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_FieldInfo_Array_t System_Type_GetFields_1( - System_Type_t self, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetFields_1( - self, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetFields_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_Array_t Function(System_Type_t, ffi.Int32, - ffi.Pointer)>>('System_Type_GetFields_1'); - late final _System_Type_GetFields_1 = _System_Type_GetFields_1Ptr.asFunction< - System_Reflection_FieldInfo_Array_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Type_Array_t System_Type_GetFunctionPointerCallingConventions( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetFunctionPointerCallingConventions( - self, - outException, - ); - } - - late final _System_Type_GetFunctionPointerCallingConventionsPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GetFunctionPointerCallingConventions'); - late final _System_Type_GetFunctionPointerCallingConventions = - _System_Type_GetFunctionPointerCallingConventionsPtr.asFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_GetFunctionPointerReturnType( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetFunctionPointerReturnType( - self, - outException, - ); - } - - late final _System_Type_GetFunctionPointerReturnTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GetFunctionPointerReturnType'); - late final _System_Type_GetFunctionPointerReturnType = - _System_Type_GetFunctionPointerReturnTypePtr.asFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_Array_t System_Type_GetFunctionPointerParameterTypes( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetFunctionPointerParameterTypes( - self, - outException, - ); - } - - late final _System_Type_GetFunctionPointerParameterTypesPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GetFunctionPointerParameterTypes'); - late final _System_Type_GetFunctionPointerParameterTypes = - _System_Type_GetFunctionPointerParameterTypesPtr.asFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_MemberInfo_Array_t System_Type_GetMember( - System_Type_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Type_GetMember( - self, - name, - outException, - ); - } - - late final _System_Type_GetMemberPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Type_t, - System_String_t, - ffi.Pointer)>>('System_Type_GetMember'); - late final _System_Type_GetMember = _System_Type_GetMemberPtr.asFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Type_t, System_String_t, ffi.Pointer)>(); - - System_Reflection_MemberInfo_Array_t System_Type_GetMember_1( - System_Type_t self, - System_String_t name, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetMember_1( - self, - name, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetMember_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>('System_Type_GetMember_1'); - late final _System_Type_GetMember_1 = _System_Type_GetMember_1Ptr.asFunction< - System_Reflection_MemberInfo_Array_t Function(System_Type_t, - System_String_t, int, ffi.Pointer)>(); - - System_Reflection_MemberInfo_Array_t System_Type_GetMember_2( - System_Type_t self, - System_String_t name, - int type, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetMember_2( - self, - name, - type, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetMember_2Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_Type_GetMember_2'); - late final _System_Type_GetMember_2 = _System_Type_GetMember_2Ptr.asFunction< - System_Reflection_MemberInfo_Array_t Function(System_Type_t, - System_String_t, int, int, ffi.Pointer)>(); - - System_Reflection_MemberInfo_Array_t System_Type_GetMembers( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetMembers( - self, - outException, - ); - } - - late final _System_Type_GetMembersPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberInfo_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetMembers'); - late final _System_Type_GetMembers = _System_Type_GetMembersPtr.asFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_MemberInfo_t - System_Type_GetMemberWithSameMetadataDefinitionAs( - System_Type_t self, - System_Reflection_MemberInfo_t member, - ffi.Pointer outException, - ) { - return _System_Type_GetMemberWithSameMetadataDefinitionAs( - self, - member, - outException, - ); - } - - late final _System_Type_GetMemberWithSameMetadataDefinitionAsPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberInfo_t Function( - System_Type_t, - System_Reflection_MemberInfo_t, - ffi.Pointer)>>( - 'System_Type_GetMemberWithSameMetadataDefinitionAs'); - late final _System_Type_GetMemberWithSameMetadataDefinitionAs = - _System_Type_GetMemberWithSameMetadataDefinitionAsPtr.asFunction< - System_Reflection_MemberInfo_t Function( - System_Type_t, - System_Reflection_MemberInfo_t, - ffi.Pointer)>(); - - System_Reflection_MemberInfo_Array_t System_Type_GetMembers_1( - System_Type_t self, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetMembers_1( - self, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetMembers_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Type_t, - ffi.Int32, - ffi.Pointer)>>('System_Type_GetMembers_1'); - late final _System_Type_GetMembers_1 = - _System_Type_GetMembers_1Ptr.asFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Type_GetMethod( - System_Type_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Type_GetMethod( - self, - name, - outException, - ); - } - - late final _System_Type_GetMethodPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - ffi.Pointer)>>('System_Type_GetMethod'); - late final _System_Type_GetMethod = _System_Type_GetMethodPtr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, System_String_t, ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Type_GetMethod_1( - System_Type_t self, - System_String_t name, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetMethod_1( - self, - name, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetMethod_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>('System_Type_GetMethod_1'); - late final _System_Type_GetMethod_1 = _System_Type_GetMethod_1Ptr.asFunction< - System_Reflection_MethodInfo_t Function(System_Type_t, System_String_t, - int, ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Type_GetMethod_2( - System_Type_t self, - System_String_t name, - int bindingAttr, - System_Type_Array_t types, - ffi.Pointer outException, - ) { - return _System_Type_GetMethod_2( - self, - name, - bindingAttr, - types, - outException, - ); - } - - late final _System_Type_GetMethod_2Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - System_Type_Array_t, - ffi.Pointer)>>('System_Type_GetMethod_2'); - late final _System_Type_GetMethod_2 = _System_Type_GetMethod_2Ptr.asFunction< - System_Reflection_MethodInfo_t Function(System_Type_t, System_String_t, - int, System_Type_Array_t, ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Type_GetMethod_3( - System_Type_t self, - System_String_t name, - System_Type_Array_t types, - ffi.Pointer outException, - ) { - return _System_Type_GetMethod_3( - self, - name, - types, - outException, - ); - } - - late final _System_Type_GetMethod_3Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - System_Type_Array_t, - ffi.Pointer)>>('System_Type_GetMethod_3'); - late final _System_Type_GetMethod_3 = _System_Type_GetMethod_3Ptr.asFunction< - System_Reflection_MethodInfo_t Function(System_Type_t, System_String_t, - System_Type_Array_t, ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Type_GetMethod_4( - System_Type_t self, - System_String_t name, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Type_GetMethod_4( - self, - name, - types, - modifiers, - outException, - ); - } - - late final _System_Type_GetMethod_4Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>('System_Type_GetMethod_4'); - late final _System_Type_GetMethod_4 = _System_Type_GetMethod_4Ptr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Type_GetMethod_5( - System_Type_t self, - System_String_t name, - int bindingAttr, - System_Reflection_Binder_t binder, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Type_GetMethod_5( - self, - name, - bindingAttr, - binder, - types, - modifiers, - outException, - ); - } - - late final _System_Type_GetMethod_5Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>('System_Type_GetMethod_5'); - late final _System_Type_GetMethod_5 = _System_Type_GetMethod_5Ptr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - int, - System_Reflection_Binder_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Type_GetMethod_6( - System_Type_t self, - System_String_t name, - int bindingAttr, - System_Reflection_Binder_t binder, - int callConvention, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Type_GetMethod_6( - self, - name, - bindingAttr, - binder, - callConvention, - types, - modifiers, - outException, - ); - } - - late final _System_Type_GetMethod_6Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - System_Reflection_Binder_t, - ffi.Int32, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>('System_Type_GetMethod_6'); - late final _System_Type_GetMethod_6 = _System_Type_GetMethod_6Ptr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - int, - System_Reflection_Binder_t, - int, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Type_GetMethod_7( - System_Type_t self, - System_String_t name, - int genericParameterCount, - System_Type_Array_t types, - ffi.Pointer outException, - ) { - return _System_Type_GetMethod_7( - self, - name, - genericParameterCount, - types, - outException, - ); - } - - late final _System_Type_GetMethod_7Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - System_Type_Array_t, - ffi.Pointer)>>('System_Type_GetMethod_7'); - late final _System_Type_GetMethod_7 = _System_Type_GetMethod_7Ptr.asFunction< - System_Reflection_MethodInfo_t Function(System_Type_t, System_String_t, - int, System_Type_Array_t, ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Type_GetMethod_8( - System_Type_t self, - System_String_t name, - int genericParameterCount, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Type_GetMethod_8( - self, - name, - genericParameterCount, - types, - modifiers, - outException, - ); - } - - late final _System_Type_GetMethod_8Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>('System_Type_GetMethod_8'); - late final _System_Type_GetMethod_8 = _System_Type_GetMethod_8Ptr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - int, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Type_GetMethod_9( - System_Type_t self, - System_String_t name, - int genericParameterCount, - int bindingAttr, - System_Reflection_Binder_t binder, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Type_GetMethod_9( - self, - name, - genericParameterCount, - bindingAttr, - binder, - types, - modifiers, - outException, - ); - } - - late final _System_Type_GetMethod_9Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - ffi.Int32, - System_Reflection_Binder_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>('System_Type_GetMethod_9'); - late final _System_Type_GetMethod_9 = _System_Type_GetMethod_9Ptr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - int, - int, - System_Reflection_Binder_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Type_GetMethod_10( - System_Type_t self, - System_String_t name, - int genericParameterCount, - int bindingAttr, - System_Reflection_Binder_t binder, - int callConvention, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Type_GetMethod_10( - self, - name, - genericParameterCount, - bindingAttr, - binder, - callConvention, - types, - modifiers, - outException, - ); - } - - late final _System_Type_GetMethod_10Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - ffi.Int32, - System_Reflection_Binder_t, - ffi.Int32, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>('System_Type_GetMethod_10'); - late final _System_Type_GetMethod_10 = - _System_Type_GetMethod_10Ptr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Type_t, - System_String_t, - int, - int, - System_Reflection_Binder_t, - int, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_Array_t System_Type_GetMethods( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetMethods( - self, - outException, - ); - } - - late final _System_Type_GetMethodsPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetMethods'); - late final _System_Type_GetMethods = _System_Type_GetMethodsPtr.asFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_MethodInfo_Array_t System_Type_GetMethods_1( - System_Type_t self, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetMethods_1( - self, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetMethods_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Type_t, - ffi.Int32, - ffi.Pointer)>>('System_Type_GetMethods_1'); - late final _System_Type_GetMethods_1 = - _System_Type_GetMethods_1Ptr.asFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Type_t System_Type_GetNestedType( - System_Type_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Type_GetNestedType( - self, - name, - outException, - ); - } - - late final _System_Type_GetNestedTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Type_t, System_String_t, - ffi.Pointer)>>('System_Type_GetNestedType'); - late final _System_Type_GetNestedType = - _System_Type_GetNestedTypePtr.asFunction< - System_Type_t Function(System_Type_t, System_String_t, - ffi.Pointer)>(); - - System_Type_t System_Type_GetNestedType_1( - System_Type_t self, - System_String_t name, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetNestedType_1( - self, - name, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetNestedType_1Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Type_t, System_String_t, ffi.Int32, - ffi.Pointer)>>('System_Type_GetNestedType_1'); - late final _System_Type_GetNestedType_1 = - _System_Type_GetNestedType_1Ptr.asFunction< - System_Type_t Function(System_Type_t, System_String_t, int, - ffi.Pointer)>(); - - System_Type_Array_t System_Type_GetNestedTypes( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetNestedTypes( - self, - outException, - ); - } - - late final _System_Type_GetNestedTypesPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetNestedTypes'); - late final _System_Type_GetNestedTypes = - _System_Type_GetNestedTypesPtr.asFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_Array_t System_Type_GetNestedTypes_1( - System_Type_t self, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetNestedTypes_1( - self, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetNestedTypes_1Ptr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Int32, ffi.Pointer)>>( - 'System_Type_GetNestedTypes_1'); - late final _System_Type_GetNestedTypes_1 = - _System_Type_GetNestedTypes_1Ptr.asFunction< - System_Type_Array_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Reflection_PropertyInfo_t System_Type_GetProperty( - System_Type_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Type_GetProperty( - self, - name, - outException, - ); - } - - late final _System_Type_GetPropertyPtr = _lookup< - ffi.NativeFunction< - System_Reflection_PropertyInfo_t Function( - System_Type_t, - System_String_t, - ffi.Pointer)>>('System_Type_GetProperty'); - late final _System_Type_GetProperty = _System_Type_GetPropertyPtr.asFunction< - System_Reflection_PropertyInfo_t Function( - System_Type_t, System_String_t, ffi.Pointer)>(); - - System_Reflection_PropertyInfo_t System_Type_GetProperty_1( - System_Type_t self, - System_String_t name, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetProperty_1( - self, - name, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetProperty_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_PropertyInfo_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>('System_Type_GetProperty_1'); - late final _System_Type_GetProperty_1 = - _System_Type_GetProperty_1Ptr.asFunction< - System_Reflection_PropertyInfo_t Function(System_Type_t, - System_String_t, int, ffi.Pointer)>(); - - System_Reflection_PropertyInfo_t System_Type_GetProperty_2( - System_Type_t self, - System_String_t name, - System_Type_t returnType, - ffi.Pointer outException, - ) { - return _System_Type_GetProperty_2( - self, - name, - returnType, - outException, - ); - } - - late final _System_Type_GetProperty_2Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_PropertyInfo_t Function( - System_Type_t, - System_String_t, - System_Type_t, - ffi.Pointer)>>('System_Type_GetProperty_2'); - late final _System_Type_GetProperty_2 = - _System_Type_GetProperty_2Ptr.asFunction< - System_Reflection_PropertyInfo_t Function( - System_Type_t, - System_String_t, - System_Type_t, - ffi.Pointer)>(); - - System_Reflection_PropertyInfo_t System_Type_GetProperty_3( - System_Type_t self, - System_String_t name, - System_Type_Array_t types, - ffi.Pointer outException, - ) { - return _System_Type_GetProperty_3( - self, - name, - types, - outException, - ); - } - - late final _System_Type_GetProperty_3Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_PropertyInfo_t Function( - System_Type_t, - System_String_t, - System_Type_Array_t, - ffi.Pointer)>>('System_Type_GetProperty_3'); - late final _System_Type_GetProperty_3 = - _System_Type_GetProperty_3Ptr.asFunction< - System_Reflection_PropertyInfo_t Function( - System_Type_t, - System_String_t, - System_Type_Array_t, - ffi.Pointer)>(); - - System_Reflection_PropertyInfo_t System_Type_GetProperty_4( - System_Type_t self, - System_String_t name, - System_Type_t returnType, - System_Type_Array_t types, - ffi.Pointer outException, - ) { - return _System_Type_GetProperty_4( - self, - name, - returnType, - types, - outException, - ); - } - - late final _System_Type_GetProperty_4Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_PropertyInfo_t Function( - System_Type_t, - System_String_t, - System_Type_t, - System_Type_Array_t, - ffi.Pointer)>>('System_Type_GetProperty_4'); - late final _System_Type_GetProperty_4 = - _System_Type_GetProperty_4Ptr.asFunction< - System_Reflection_PropertyInfo_t Function( - System_Type_t, - System_String_t, - System_Type_t, - System_Type_Array_t, - ffi.Pointer)>(); - - System_Reflection_PropertyInfo_t System_Type_GetProperty_5( - System_Type_t self, - System_String_t name, - System_Type_t returnType, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Type_GetProperty_5( - self, - name, - returnType, - types, - modifiers, - outException, - ); - } - - late final _System_Type_GetProperty_5Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_PropertyInfo_t Function( - System_Type_t, - System_String_t, - System_Type_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>('System_Type_GetProperty_5'); - late final _System_Type_GetProperty_5 = - _System_Type_GetProperty_5Ptr.asFunction< - System_Reflection_PropertyInfo_t Function( - System_Type_t, - System_String_t, - System_Type_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_PropertyInfo_t System_Type_GetProperty_6( - System_Type_t self, - System_String_t name, - int bindingAttr, - System_Reflection_Binder_t binder, - System_Type_t returnType, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Type_GetProperty_6( - self, - name, - bindingAttr, - binder, - returnType, - types, - modifiers, - outException, - ); - } - - late final _System_Type_GetProperty_6Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_PropertyInfo_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Type_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>('System_Type_GetProperty_6'); - late final _System_Type_GetProperty_6 = - _System_Type_GetProperty_6Ptr.asFunction< - System_Reflection_PropertyInfo_t Function( - System_Type_t, - System_String_t, - int, - System_Reflection_Binder_t, - System_Type_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_PropertyInfo_Array_t System_Type_GetProperties( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetProperties( - self, - outException, - ); - } - - late final _System_Type_GetPropertiesPtr = _lookup< - ffi.NativeFunction< - System_Reflection_PropertyInfo_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetProperties'); - late final _System_Type_GetProperties = - _System_Type_GetPropertiesPtr.asFunction< - System_Reflection_PropertyInfo_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_PropertyInfo_Array_t System_Type_GetProperties_1( - System_Type_t self, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Type_GetProperties_1( - self, - bindingAttr, - outException, - ); - } - - late final _System_Type_GetProperties_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_PropertyInfo_Array_t Function( - System_Type_t, - ffi.Int32, - ffi.Pointer)>>('System_Type_GetProperties_1'); - late final _System_Type_GetProperties_1 = - _System_Type_GetProperties_1Ptr.asFunction< - System_Reflection_PropertyInfo_Array_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Reflection_MemberInfo_Array_t System_Type_GetDefaultMembers( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetDefaultMembers( - self, - outException, - ); - } - - late final _System_Type_GetDefaultMembersPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GetDefaultMembers'); - late final _System_Type_GetDefaultMembers = - _System_Type_GetDefaultMembersPtr.asFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_RuntimeTypeHandle_t System_Type_GetTypeHandle( - System_Object_t o, - ffi.Pointer outException, - ) { - return _System_Type_GetTypeHandle( - o, - outException, - ); - } - - late final _System_Type_GetTypeHandlePtr = _lookup< - ffi.NativeFunction< - System_RuntimeTypeHandle_t Function(System_Object_t, - ffi.Pointer)>>('System_Type_GetTypeHandle'); - late final _System_Type_GetTypeHandle = - _System_Type_GetTypeHandlePtr.asFunction< - System_RuntimeTypeHandle_t Function( - System_Object_t, ffi.Pointer)>(); - - System_Type_Array_t System_Type_GetTypeArray( - System_Object_Array_t args, - ffi.Pointer outException, - ) { - return _System_Type_GetTypeArray( - args, - outException, - ); - } - - late final _System_Type_GetTypeArrayPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function(System_Object_Array_t, - ffi.Pointer)>>('System_Type_GetTypeArray'); - late final _System_Type_GetTypeArray = - _System_Type_GetTypeArrayPtr.asFunction< - System_Type_Array_t Function( - System_Object_Array_t, ffi.Pointer)>(); - - int System_Type_GetTypeCode( - System_Type_t type, - ffi.Pointer outException, - ) { - return _System_Type_GetTypeCode( - type, - outException, - ); - } - - late final _System_Type_GetTypeCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetTypeCode'); - late final _System_Type_GetTypeCode = _System_Type_GetTypeCodePtr.asFunction< - int Function(System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_GetTypeFromCLSID( - System_Guid_t clsid, - ffi.Pointer outException, - ) { - return _System_Type_GetTypeFromCLSID( - clsid, - outException, - ); - } - - late final _System_Type_GetTypeFromCLSIDPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Guid_t, ffi.Pointer)>>( - 'System_Type_GetTypeFromCLSID'); - late final _System_Type_GetTypeFromCLSID = - _System_Type_GetTypeFromCLSIDPtr.asFunction< - System_Type_t Function( - System_Guid_t, ffi.Pointer)>(); - - System_Type_t System_Type_GetTypeFromCLSID_1( - System_Guid_t clsid, - bool throwOnError, - ffi.Pointer outException, - ) { - return _System_Type_GetTypeFromCLSID_1( - clsid, - throwOnError, - outException, - ); - } - - late final _System_Type_GetTypeFromCLSID_1Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Guid_t, ffi.Bool, ffi.Pointer)>>( - 'System_Type_GetTypeFromCLSID_1'); - late final _System_Type_GetTypeFromCLSID_1 = - _System_Type_GetTypeFromCLSID_1Ptr.asFunction< - System_Type_t Function( - System_Guid_t, bool, ffi.Pointer)>(); - - System_Type_t System_Type_GetTypeFromCLSID_2( - System_Guid_t clsid, - System_String_t server, - ffi.Pointer outException, - ) { - return _System_Type_GetTypeFromCLSID_2( - clsid, - server, - outException, - ); - } - - late final _System_Type_GetTypeFromCLSID_2Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Guid_t, System_String_t, - ffi.Pointer)>>( - 'System_Type_GetTypeFromCLSID_2'); - late final _System_Type_GetTypeFromCLSID_2 = - _System_Type_GetTypeFromCLSID_2Ptr.asFunction< - System_Type_t Function(System_Guid_t, System_String_t, - ffi.Pointer)>(); - - System_Type_t System_Type_GetTypeFromCLSID_3( - System_Guid_t clsid, - System_String_t server, - bool throwOnError, - ffi.Pointer outException, - ) { - return _System_Type_GetTypeFromCLSID_3( - clsid, - server, - throwOnError, - outException, - ); - } - - late final _System_Type_GetTypeFromCLSID_3Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Guid_t, System_String_t, ffi.Bool, - ffi.Pointer)>>( - 'System_Type_GetTypeFromCLSID_3'); - late final _System_Type_GetTypeFromCLSID_3 = - _System_Type_GetTypeFromCLSID_3Ptr.asFunction< - System_Type_t Function(System_Guid_t, System_String_t, bool, - ffi.Pointer)>(); - - System_Type_t System_Type_GetTypeFromProgID( - System_String_t progID, - ffi.Pointer outException, - ) { - return _System_Type_GetTypeFromProgID( - progID, - outException, - ); - } - - late final _System_Type_GetTypeFromProgIDPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Type_GetTypeFromProgID'); - late final _System_Type_GetTypeFromProgID = - _System_Type_GetTypeFromProgIDPtr.asFunction< - System_Type_t Function( - System_String_t, ffi.Pointer)>(); - - System_Type_t System_Type_GetTypeFromProgID_1( - System_String_t progID, - bool throwOnError, - ffi.Pointer outException, - ) { - return _System_Type_GetTypeFromProgID_1( - progID, - throwOnError, - outException, - ); - } - - late final _System_Type_GetTypeFromProgID_1Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_String_t, ffi.Bool, ffi.Pointer)>>( - 'System_Type_GetTypeFromProgID_1'); - late final _System_Type_GetTypeFromProgID_1 = - _System_Type_GetTypeFromProgID_1Ptr.asFunction< - System_Type_t Function( - System_String_t, bool, ffi.Pointer)>(); - - System_Type_t System_Type_GetTypeFromProgID_2( - System_String_t progID, - System_String_t server, - ffi.Pointer outException, - ) { - return _System_Type_GetTypeFromProgID_2( - progID, - server, - outException, - ); - } - - late final _System_Type_GetTypeFromProgID_2Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_String_t, System_String_t, - ffi.Pointer)>>( - 'System_Type_GetTypeFromProgID_2'); - late final _System_Type_GetTypeFromProgID_2 = - _System_Type_GetTypeFromProgID_2Ptr.asFunction< - System_Type_t Function(System_String_t, System_String_t, - ffi.Pointer)>(); - - System_Type_t System_Type_GetTypeFromProgID_3( - System_String_t progID, - System_String_t server, - bool throwOnError, - ffi.Pointer outException, - ) { - return _System_Type_GetTypeFromProgID_3( - progID, - server, - throwOnError, - outException, - ); - } - - late final _System_Type_GetTypeFromProgID_3Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_String_t, System_String_t, ffi.Bool, - ffi.Pointer)>>( - 'System_Type_GetTypeFromProgID_3'); - late final _System_Type_GetTypeFromProgID_3 = - _System_Type_GetTypeFromProgID_3Ptr.asFunction< - System_Type_t Function(System_String_t, System_String_t, bool, - ffi.Pointer)>(); - - System_Object_t System_Type_InvokeMember( - System_Type_t self, - System_String_t name, - int invokeAttr, - System_Reflection_Binder_t binder, - System_Object_t target, - System_Object_Array_t args, - ffi.Pointer outException, - ) { - return _System_Type_InvokeMember( - self, - name, - invokeAttr, - binder, - target, - args, - outException, - ); - } - - late final _System_Type_InvokeMemberPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Object_t, - System_Object_Array_t, - ffi.Pointer)>>('System_Type_InvokeMember'); - late final _System_Type_InvokeMember = - _System_Type_InvokeMemberPtr.asFunction< - System_Object_t Function( - System_Type_t, - System_String_t, - int, - System_Reflection_Binder_t, - System_Object_t, - System_Object_Array_t, - ffi.Pointer)>(); - - System_Object_t System_Type_InvokeMember_1( - System_Type_t self, - System_String_t name, - int invokeAttr, - System_Reflection_Binder_t binder, - System_Object_t target, - System_Object_Array_t args, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_Type_InvokeMember_1( - self, - name, - invokeAttr, - binder, - target, - args, - culture, - outException, - ); - } - - late final _System_Type_InvokeMember_1Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Object_t, - System_Object_Array_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>('System_Type_InvokeMember_1'); - late final _System_Type_InvokeMember_1 = - _System_Type_InvokeMember_1Ptr.asFunction< - System_Object_t Function( - System_Type_t, - System_String_t, - int, - System_Reflection_Binder_t, - System_Object_t, - System_Object_Array_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Object_t System_Type_InvokeMember_2( - System_Type_t self, - System_String_t name, - int invokeAttr, - System_Reflection_Binder_t binder, - System_Object_t target, - System_Object_Array_t args, - System_Reflection_ParameterModifier_Array_t modifiers, - System_Globalization_CultureInfo_t culture, - System_String_Array_t namedParameters, - ffi.Pointer outException, - ) { - return _System_Type_InvokeMember_2( - self, - name, - invokeAttr, - binder, - target, - args, - modifiers, - culture, - namedParameters, - outException, - ); - } - - late final _System_Type_InvokeMember_2Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Type_t, - System_String_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Object_t, - System_Object_Array_t, - System_Reflection_ParameterModifier_Array_t, - System_Globalization_CultureInfo_t, - System_String_Array_t, - ffi.Pointer)>>('System_Type_InvokeMember_2'); - late final _System_Type_InvokeMember_2 = - _System_Type_InvokeMember_2Ptr.asFunction< - System_Object_t Function( - System_Type_t, - System_String_t, - int, - System_Reflection_Binder_t, - System_Object_t, - System_Object_Array_t, - System_Reflection_ParameterModifier_Array_t, - System_Globalization_CultureInfo_t, - System_String_Array_t, - ffi.Pointer)>(); - - System_Type_t System_Type_GetInterface( - System_Type_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Type_GetInterface( - self, - name, - outException, - ); - } - - late final _System_Type_GetInterfacePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Type_t, System_String_t, - ffi.Pointer)>>('System_Type_GetInterface'); - late final _System_Type_GetInterface = - _System_Type_GetInterfacePtr.asFunction< - System_Type_t Function(System_Type_t, System_String_t, - ffi.Pointer)>(); - - System_Type_t System_Type_GetInterface_1( - System_Type_t self, - System_String_t name, - bool ignoreCase, - ffi.Pointer outException, - ) { - return _System_Type_GetInterface_1( - self, - name, - ignoreCase, - outException, - ); - } - - late final _System_Type_GetInterface_1Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Type_t, System_String_t, ffi.Bool, - ffi.Pointer)>>('System_Type_GetInterface_1'); - late final _System_Type_GetInterface_1 = - _System_Type_GetInterface_1Ptr.asFunction< - System_Type_t Function(System_Type_t, System_String_t, bool, - ffi.Pointer)>(); - - System_Type_Array_t System_Type_GetInterfaces( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetInterfaces( - self, - outException, - ); - } - - late final _System_Type_GetInterfacesPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetInterfaces'); - late final _System_Type_GetInterfaces = - _System_Type_GetInterfacesPtr.asFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_InterfaceMapping_t System_Type_GetInterfaceMap( - System_Type_t self, - System_Type_t interfaceType, - ffi.Pointer outException, - ) { - return _System_Type_GetInterfaceMap( - self, - interfaceType, - outException, - ); - } - - late final _System_Type_GetInterfaceMapPtr = _lookup< - ffi.NativeFunction< - System_Reflection_InterfaceMapping_t Function( - System_Type_t, - System_Type_t, - ffi.Pointer)>>('System_Type_GetInterfaceMap'); - late final _System_Type_GetInterfaceMap = - _System_Type_GetInterfaceMapPtr.asFunction< - System_Reflection_InterfaceMapping_t Function( - System_Type_t, System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsInstanceOfType( - System_Type_t self, - System_Object_t o, - ffi.Pointer outException, - ) { - return _System_Type_IsInstanceOfType( - self, - o, - outException, - ); - } - - late final _System_Type_IsInstanceOfTypePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, System_Object_t, - ffi.Pointer)>>( - 'System_Type_IsInstanceOfType'); - late final _System_Type_IsInstanceOfType = - _System_Type_IsInstanceOfTypePtr.asFunction< - bool Function(System_Type_t, System_Object_t, - ffi.Pointer)>(); - - bool System_Type_IsEquivalentTo( - System_Type_t self, - System_Type_t other, - ffi.Pointer outException, - ) { - return _System_Type_IsEquivalentTo( - self, - other, - outException, - ); - } - - late final _System_Type_IsEquivalentToPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, System_Type_t, - ffi.Pointer)>>('System_Type_IsEquivalentTo'); - late final _System_Type_IsEquivalentTo = - _System_Type_IsEquivalentToPtr.asFunction< - bool Function( - System_Type_t, System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_GetEnumUnderlyingType( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetEnumUnderlyingType( - self, - outException, - ); - } - - late final _System_Type_GetEnumUnderlyingTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GetEnumUnderlyingType'); - late final _System_Type_GetEnumUnderlyingType = - _System_Type_GetEnumUnderlyingTypePtr.asFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Array_t System_Type_GetEnumValues( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetEnumValues( - self, - outException, - ); - } - - late final _System_Type_GetEnumValuesPtr = _lookup< - ffi.NativeFunction< - System_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetEnumValues'); - late final _System_Type_GetEnumValues = - _System_Type_GetEnumValuesPtr.asFunction< - System_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Array_t System_Type_GetEnumValuesAsUnderlyingType( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetEnumValuesAsUnderlyingType( - self, - outException, - ); - } - - late final _System_Type_GetEnumValuesAsUnderlyingTypePtr = _lookup< - ffi.NativeFunction< - System_Array_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GetEnumValuesAsUnderlyingType'); - late final _System_Type_GetEnumValuesAsUnderlyingType = - _System_Type_GetEnumValuesAsUnderlyingTypePtr.asFunction< - System_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_MakeArrayType( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_MakeArrayType( - self, - outException, - ); - } - - late final _System_Type_MakeArrayTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_MakeArrayType'); - late final _System_Type_MakeArrayType = - _System_Type_MakeArrayTypePtr.asFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_MakeArrayType_1( - System_Type_t self, - int rank, - ffi.Pointer outException, - ) { - return _System_Type_MakeArrayType_1( - self, - rank, - outException, - ); - } - - late final _System_Type_MakeArrayType_1Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Type_t, ffi.Int32, - ffi.Pointer)>>('System_Type_MakeArrayType_1'); - late final _System_Type_MakeArrayType_1 = - _System_Type_MakeArrayType_1Ptr.asFunction< - System_Type_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Type_t System_Type_MakeByRefType( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_MakeByRefType( - self, - outException, - ); - } - - late final _System_Type_MakeByRefTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_MakeByRefType'); - late final _System_Type_MakeByRefType = - _System_Type_MakeByRefTypePtr.asFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_MakeGenericType( - System_Type_t self, - System_Type_Array_t typeArguments, - ffi.Pointer outException, - ) { - return _System_Type_MakeGenericType( - self, - typeArguments, - outException, - ); - } - - late final _System_Type_MakeGenericTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Type_t, System_Type_Array_t, - ffi.Pointer)>>('System_Type_MakeGenericType'); - late final _System_Type_MakeGenericType = - _System_Type_MakeGenericTypePtr.asFunction< - System_Type_t Function(System_Type_t, System_Type_Array_t, - ffi.Pointer)>(); - - System_Type_t System_Type_MakePointerType( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_MakePointerType( - self, - outException, - ); - } - - late final _System_Type_MakePointerTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_MakePointerType'); - late final _System_Type_MakePointerType = - _System_Type_MakePointerTypePtr.asFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_MakeGenericSignatureType( - System_Type_t genericTypeDefinition, - System_Type_Array_t typeArguments, - ffi.Pointer outException, - ) { - return _System_Type_MakeGenericSignatureType( - genericTypeDefinition, - typeArguments, - outException, - ); - } - - late final _System_Type_MakeGenericSignatureTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Type_t, System_Type_Array_t, - ffi.Pointer)>>( - 'System_Type_MakeGenericSignatureType'); - late final _System_Type_MakeGenericSignatureType = - _System_Type_MakeGenericSignatureTypePtr.asFunction< - System_Type_t Function(System_Type_t, System_Type_Array_t, - ffi.Pointer)>(); - - System_Type_t System_Type_MakeGenericMethodParameter( - int position, - ffi.Pointer outException, - ) { - return _System_Type_MakeGenericMethodParameter( - position, - outException, - ); - } - - late final _System_Type_MakeGenericMethodParameterPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Type_MakeGenericMethodParameter'); - late final _System_Type_MakeGenericMethodParameter = - _System_Type_MakeGenericMethodParameterPtr.asFunction< - System_Type_t Function(int, ffi.Pointer)>(); - - System_String_t System_Type_ToString( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_ToString( - self, - outException, - ); - } - - late final _System_Type_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_ToString'); - late final _System_Type_ToString = _System_Type_ToStringPtr.asFunction< - System_String_t Function( - System_Type_t, ffi.Pointer)>(); - - bool System_Type_Equals( - System_Type_t self, - System_Object_t o, - ffi.Pointer outException, - ) { - return _System_Type_Equals( - self, - o, - outException, - ); - } - - late final _System_Type_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, System_Object_t, - ffi.Pointer)>>('System_Type_Equals'); - late final _System_Type_Equals = _System_Type_EqualsPtr.asFunction< - bool Function( - System_Type_t, System_Object_t, ffi.Pointer)>(); - - int System_Type_GetHashCode( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetHashCode( - self, - outException, - ); - } - - late final _System_Type_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetHashCode'); - late final _System_Type_GetHashCode = _System_Type_GetHashCodePtr.asFunction< - int Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_Equals_1( - System_Type_t self, - System_Type_t o, - ffi.Pointer outException, - ) { - return _System_Type_Equals_1( - self, - o, - outException, - ); - } - - late final _System_Type_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, System_Type_t, - ffi.Pointer)>>('System_Type_Equals_1'); - late final _System_Type_Equals_1 = _System_Type_Equals_1Ptr.asFunction< - bool Function( - System_Type_t, System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_ReflectionOnlyGetType( - System_String_t typeName, - bool throwIfNotFound, - bool ignoreCase, - ffi.Pointer outException, - ) { - return _System_Type_ReflectionOnlyGetType( - typeName, - throwIfNotFound, - ignoreCase, - outException, - ); - } - - late final _System_Type_ReflectionOnlyGetTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_String_t, ffi.Bool, ffi.Bool, - ffi.Pointer)>>( - 'System_Type_ReflectionOnlyGetType'); - late final _System_Type_ReflectionOnlyGetType = - _System_Type_ReflectionOnlyGetTypePtr.asFunction< - System_Type_t Function( - System_String_t, bool, bool, ffi.Pointer)>(); - - bool System_Type_IsEnumDefined( - System_Type_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Type_IsEnumDefined( - self, - value, - outException, - ); - } - - late final _System_Type_IsEnumDefinedPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, System_Object_t, - ffi.Pointer)>>('System_Type_IsEnumDefined'); - late final _System_Type_IsEnumDefined = - _System_Type_IsEnumDefinedPtr.asFunction< - bool Function(System_Type_t, System_Object_t, - ffi.Pointer)>(); - - System_String_t System_Type_GetEnumName( - System_Type_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Type_GetEnumName( - self, - value, - outException, - ); - } - - late final _System_Type_GetEnumNamePtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Type_t, System_Object_t, - ffi.Pointer)>>('System_Type_GetEnumName'); - late final _System_Type_GetEnumName = _System_Type_GetEnumNamePtr.asFunction< - System_String_t Function( - System_Type_t, System_Object_t, ffi.Pointer)>(); - - System_String_Array_t System_Type_GetEnumNames( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GetEnumNames( - self, - outException, - ); - } - - late final _System_Type_GetEnumNamesPtr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_GetEnumNames'); - late final _System_Type_GetEnumNames = - _System_Type_GetEnumNamesPtr.asFunction< - System_String_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_Array_t System_Type_FindInterfaces( - System_Type_t self, - System_Reflection_TypeFilter_t filter, - System_Object_t filterCriteria, - ffi.Pointer outException, - ) { - return _System_Type_FindInterfaces( - self, - filter, - filterCriteria, - outException, - ); - } - - late final _System_Type_FindInterfacesPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function( - System_Type_t, - System_Reflection_TypeFilter_t, - System_Object_t, - ffi.Pointer)>>('System_Type_FindInterfaces'); - late final _System_Type_FindInterfaces = - _System_Type_FindInterfacesPtr.asFunction< - System_Type_Array_t Function( - System_Type_t, - System_Reflection_TypeFilter_t, - System_Object_t, - ffi.Pointer)>(); - - System_Reflection_MemberInfo_Array_t System_Type_FindMembers( - System_Type_t self, - int memberType, - int bindingAttr, - System_Reflection_MemberFilter_t filter, - System_Object_t filterCriteria, - ffi.Pointer outException, - ) { - return _System_Type_FindMembers( - self, - memberType, - bindingAttr, - filter, - filterCriteria, - outException, - ); - } - - late final _System_Type_FindMembersPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Type_t, - ffi.Int32, - ffi.Int32, - System_Reflection_MemberFilter_t, - System_Object_t, - ffi.Pointer)>>('System_Type_FindMembers'); - late final _System_Type_FindMembers = _System_Type_FindMembersPtr.asFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Type_t, - int, - int, - System_Reflection_MemberFilter_t, - System_Object_t, - ffi.Pointer)>(); - - bool System_Type_IsSubclassOf( - System_Type_t self, - System_Type_t c, - ffi.Pointer outException, - ) { - return _System_Type_IsSubclassOf( - self, - c, - outException, - ); - } - - late final _System_Type_IsSubclassOfPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, System_Type_t, - ffi.Pointer)>>('System_Type_IsSubclassOf'); - late final _System_Type_IsSubclassOf = - _System_Type_IsSubclassOfPtr.asFunction< - bool Function( - System_Type_t, System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsAssignableFrom( - System_Type_t self, - System_Type_t c, - ffi.Pointer outException, - ) { - return _System_Type_IsAssignableFrom( - self, - c, - outException, - ); - } - - late final _System_Type_IsAssignableFromPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, System_Type_t, - ffi.Pointer)>>( - 'System_Type_IsAssignableFrom'); - late final _System_Type_IsAssignableFrom = - _System_Type_IsAssignableFromPtr.asFunction< - bool Function( - System_Type_t, System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsInterface_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsInterface_Get( - self, - outException, - ); - } - - late final _System_Type_IsInterface_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsInterface_Get'); - late final _System_Type_IsInterface_Get = - _System_Type_IsInterface_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - int System_Type_MemberType_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_MemberType_Get( - self, - outException, - ); - } - - late final _System_Type_MemberType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Type_t, - ffi.Pointer)>>('System_Type_MemberType_Get'); - late final _System_Type_MemberType_Get = - _System_Type_MemberType_GetPtr.asFunction< - int Function(System_Type_t, ffi.Pointer)>(); - - System_String_t System_Type_Namespace_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_Namespace_Get( - self, - outException, - ); - } - - late final _System_Type_Namespace_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_Namespace_Get'); - late final _System_Type_Namespace_Get = - _System_Type_Namespace_GetPtr.asFunction< - System_String_t Function( - System_Type_t, ffi.Pointer)>(); - - System_String_t System_Type_AssemblyQualifiedName_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_AssemblyQualifiedName_Get( - self, - outException, - ); - } - - late final _System_Type_AssemblyQualifiedName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_AssemblyQualifiedName_Get'); - late final _System_Type_AssemblyQualifiedName_Get = - _System_Type_AssemblyQualifiedName_GetPtr.asFunction< - System_String_t Function( - System_Type_t, ffi.Pointer)>(); - - System_String_t System_Type_FullName_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_FullName_Get( - self, - outException, - ); - } - - late final _System_Type_FullName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_FullName_Get'); - late final _System_Type_FullName_Get = - _System_Type_FullName_GetPtr.asFunction< - System_String_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Type_Assembly_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_Assembly_Get( - self, - outException, - ); - } - - late final _System_Type_Assembly_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_Assembly_Get'); - late final _System_Type_Assembly_Get = - _System_Type_Assembly_GetPtr.asFunction< - System_Reflection_Assembly_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_Module_t System_Type_Module_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_Module_Get( - self, - outException, - ); - } - - late final _System_Type_Module_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Module_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_Module_Get'); - late final _System_Type_Module_Get = _System_Type_Module_GetPtr.asFunction< - System_Reflection_Module_t Function( - System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsNested_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsNested_Get( - self, - outException, - ); - } - - late final _System_Type_IsNested_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsNested_Get'); - late final _System_Type_IsNested_Get = - _System_Type_IsNested_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_DeclaringType_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_DeclaringType_Get( - self, - outException, - ); - } - - late final _System_Type_DeclaringType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_DeclaringType_Get'); - late final _System_Type_DeclaringType_Get = - _System_Type_DeclaringType_GetPtr.asFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_MethodBase_t System_Type_DeclaringMethod_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_DeclaringMethod_Get( - self, - outException, - ); - } - - late final _System_Type_DeclaringMethod_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodBase_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_DeclaringMethod_Get'); - late final _System_Type_DeclaringMethod_Get = - _System_Type_DeclaringMethod_GetPtr.asFunction< - System_Reflection_MethodBase_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_ReflectedType_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_ReflectedType_Get( - self, - outException, - ); - } - - late final _System_Type_ReflectedType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_ReflectedType_Get'); - late final _System_Type_ReflectedType_Get = - _System_Type_ReflectedType_GetPtr.asFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_UnderlyingSystemType_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_UnderlyingSystemType_Get( - self, - outException, - ); - } - - late final _System_Type_UnderlyingSystemType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_UnderlyingSystemType_Get'); - late final _System_Type_UnderlyingSystemType_Get = - _System_Type_UnderlyingSystemType_GetPtr.asFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsTypeDefinition_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsTypeDefinition_Get( - self, - outException, - ); - } - - late final _System_Type_IsTypeDefinition_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsTypeDefinition_Get'); - late final _System_Type_IsTypeDefinition_Get = - _System_Type_IsTypeDefinition_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsArray_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsArray_Get( - self, - outException, - ); - } - - late final _System_Type_IsArray_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsArray_Get'); - late final _System_Type_IsArray_Get = _System_Type_IsArray_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsByRef_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsByRef_Get( - self, - outException, - ); - } - - late final _System_Type_IsByRef_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsByRef_Get'); - late final _System_Type_IsByRef_Get = _System_Type_IsByRef_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsPointer_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsPointer_Get( - self, - outException, - ); - } - - late final _System_Type_IsPointer_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsPointer_Get'); - late final _System_Type_IsPointer_Get = - _System_Type_IsPointer_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsConstructedGenericType_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsConstructedGenericType_Get( - self, - outException, - ); - } - - late final _System_Type_IsConstructedGenericType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsConstructedGenericType_Get'); - late final _System_Type_IsConstructedGenericType_Get = - _System_Type_IsConstructedGenericType_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsGenericParameter_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsGenericParameter_Get( - self, - outException, - ); - } - - late final _System_Type_IsGenericParameter_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsGenericParameter_Get'); - late final _System_Type_IsGenericParameter_Get = - _System_Type_IsGenericParameter_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsGenericTypeParameter_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsGenericTypeParameter_Get( - self, - outException, - ); - } - - late final _System_Type_IsGenericTypeParameter_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsGenericTypeParameter_Get'); - late final _System_Type_IsGenericTypeParameter_Get = - _System_Type_IsGenericTypeParameter_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsGenericMethodParameter_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsGenericMethodParameter_Get( - self, - outException, - ); - } - - late final _System_Type_IsGenericMethodParameter_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsGenericMethodParameter_Get'); - late final _System_Type_IsGenericMethodParameter_Get = - _System_Type_IsGenericMethodParameter_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsGenericType_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsGenericType_Get( - self, - outException, - ); - } - - late final _System_Type_IsGenericType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsGenericType_Get'); - late final _System_Type_IsGenericType_Get = - _System_Type_IsGenericType_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsGenericTypeDefinition_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsGenericTypeDefinition_Get( - self, - outException, - ); - } - - late final _System_Type_IsGenericTypeDefinition_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsGenericTypeDefinition_Get'); - late final _System_Type_IsGenericTypeDefinition_Get = - _System_Type_IsGenericTypeDefinition_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsSZArray_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsSZArray_Get( - self, - outException, - ); - } - - late final _System_Type_IsSZArray_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsSZArray_Get'); - late final _System_Type_IsSZArray_Get = - _System_Type_IsSZArray_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsVariableBoundArray_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsVariableBoundArray_Get( - self, - outException, - ); - } - - late final _System_Type_IsVariableBoundArray_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsVariableBoundArray_Get'); - late final _System_Type_IsVariableBoundArray_Get = - _System_Type_IsVariableBoundArray_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsByRefLike_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsByRefLike_Get( - self, - outException, - ); - } - - late final _System_Type_IsByRefLike_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsByRefLike_Get'); - late final _System_Type_IsByRefLike_Get = - _System_Type_IsByRefLike_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsFunctionPointer_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsFunctionPointer_Get( - self, - outException, - ); - } - - late final _System_Type_IsFunctionPointer_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsFunctionPointer_Get'); - late final _System_Type_IsFunctionPointer_Get = - _System_Type_IsFunctionPointer_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsUnmanagedFunctionPointer_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsUnmanagedFunctionPointer_Get( - self, - outException, - ); - } - - late final _System_Type_IsUnmanagedFunctionPointer_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsUnmanagedFunctionPointer_Get'); - late final _System_Type_IsUnmanagedFunctionPointer_Get = - _System_Type_IsUnmanagedFunctionPointer_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_HasElementType_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_HasElementType_Get( - self, - outException, - ); - } - - late final _System_Type_HasElementType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_HasElementType_Get'); - late final _System_Type_HasElementType_Get = - _System_Type_HasElementType_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - System_Type_Array_t System_Type_GenericTypeArguments_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GenericTypeArguments_Get( - self, - outException, - ); - } - - late final _System_Type_GenericTypeArguments_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GenericTypeArguments_Get'); - late final _System_Type_GenericTypeArguments_Get = - _System_Type_GenericTypeArguments_GetPtr.asFunction< - System_Type_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - int System_Type_GenericParameterPosition_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GenericParameterPosition_Get( - self, - outException, - ); - } - - late final _System_Type_GenericParameterPosition_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GenericParameterPosition_Get'); - late final _System_Type_GenericParameterPosition_Get = - _System_Type_GenericParameterPosition_GetPtr.asFunction< - int Function(System_Type_t, ffi.Pointer)>(); - - int System_Type_GenericParameterAttributes_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GenericParameterAttributes_Get( - self, - outException, - ); - } - - late final _System_Type_GenericParameterAttributes_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_GenericParameterAttributes_Get'); - late final _System_Type_GenericParameterAttributes_Get = - _System_Type_GenericParameterAttributes_GetPtr.asFunction< - int Function(System_Type_t, ffi.Pointer)>(); - - int System_Type_Attributes_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_Attributes_Get( - self, - outException, - ); - } - - late final _System_Type_Attributes_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Type_t, - ffi.Pointer)>>('System_Type_Attributes_Get'); - late final _System_Type_Attributes_Get = - _System_Type_Attributes_GetPtr.asFunction< - int Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsAbstract_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsAbstract_Get( - self, - outException, - ); - } - - late final _System_Type_IsAbstract_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsAbstract_Get'); - late final _System_Type_IsAbstract_Get = - _System_Type_IsAbstract_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsImport_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsImport_Get( - self, - outException, - ); - } - - late final _System_Type_IsImport_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsImport_Get'); - late final _System_Type_IsImport_Get = - _System_Type_IsImport_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsSealed_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsSealed_Get( - self, - outException, - ); - } - - late final _System_Type_IsSealed_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsSealed_Get'); - late final _System_Type_IsSealed_Get = - _System_Type_IsSealed_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsSpecialName_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsSpecialName_Get( - self, - outException, - ); - } - - late final _System_Type_IsSpecialName_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsSpecialName_Get'); - late final _System_Type_IsSpecialName_Get = - _System_Type_IsSpecialName_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsClass_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsClass_Get( - self, - outException, - ); - } - - late final _System_Type_IsClass_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsClass_Get'); - late final _System_Type_IsClass_Get = _System_Type_IsClass_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsNestedAssembly_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsNestedAssembly_Get( - self, - outException, - ); - } - - late final _System_Type_IsNestedAssembly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsNestedAssembly_Get'); - late final _System_Type_IsNestedAssembly_Get = - _System_Type_IsNestedAssembly_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsNestedFamANDAssem_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsNestedFamANDAssem_Get( - self, - outException, - ); - } - - late final _System_Type_IsNestedFamANDAssem_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsNestedFamANDAssem_Get'); - late final _System_Type_IsNestedFamANDAssem_Get = - _System_Type_IsNestedFamANDAssem_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsNestedFamily_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsNestedFamily_Get( - self, - outException, - ); - } - - late final _System_Type_IsNestedFamily_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsNestedFamily_Get'); - late final _System_Type_IsNestedFamily_Get = - _System_Type_IsNestedFamily_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsNestedFamORAssem_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsNestedFamORAssem_Get( - self, - outException, - ); - } - - late final _System_Type_IsNestedFamORAssem_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsNestedFamORAssem_Get'); - late final _System_Type_IsNestedFamORAssem_Get = - _System_Type_IsNestedFamORAssem_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsNestedPrivate_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsNestedPrivate_Get( - self, - outException, - ); - } - - late final _System_Type_IsNestedPrivate_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsNestedPrivate_Get'); - late final _System_Type_IsNestedPrivate_Get = - _System_Type_IsNestedPrivate_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsNestedPublic_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsNestedPublic_Get( - self, - outException, - ); - } - - late final _System_Type_IsNestedPublic_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsNestedPublic_Get'); - late final _System_Type_IsNestedPublic_Get = - _System_Type_IsNestedPublic_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsNotPublic_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsNotPublic_Get( - self, - outException, - ); - } - - late final _System_Type_IsNotPublic_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsNotPublic_Get'); - late final _System_Type_IsNotPublic_Get = - _System_Type_IsNotPublic_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsPublic_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsPublic_Get( - self, - outException, - ); - } - - late final _System_Type_IsPublic_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsPublic_Get'); - late final _System_Type_IsPublic_Get = - _System_Type_IsPublic_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsAutoLayout_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsAutoLayout_Get( - self, - outException, - ); - } - - late final _System_Type_IsAutoLayout_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsAutoLayout_Get'); - late final _System_Type_IsAutoLayout_Get = - _System_Type_IsAutoLayout_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsExplicitLayout_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsExplicitLayout_Get( - self, - outException, - ); - } - - late final _System_Type_IsExplicitLayout_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsExplicitLayout_Get'); - late final _System_Type_IsExplicitLayout_Get = - _System_Type_IsExplicitLayout_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsLayoutSequential_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsLayoutSequential_Get( - self, - outException, - ); - } - - late final _System_Type_IsLayoutSequential_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsLayoutSequential_Get'); - late final _System_Type_IsLayoutSequential_Get = - _System_Type_IsLayoutSequential_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsAnsiClass_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsAnsiClass_Get( - self, - outException, - ); - } - - late final _System_Type_IsAnsiClass_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsAnsiClass_Get'); - late final _System_Type_IsAnsiClass_Get = - _System_Type_IsAnsiClass_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsAutoClass_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsAutoClass_Get( - self, - outException, - ); - } - - late final _System_Type_IsAutoClass_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsAutoClass_Get'); - late final _System_Type_IsAutoClass_Get = - _System_Type_IsAutoClass_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsUnicodeClass_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsUnicodeClass_Get( - self, - outException, - ); - } - - late final _System_Type_IsUnicodeClass_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsUnicodeClass_Get'); - late final _System_Type_IsUnicodeClass_Get = - _System_Type_IsUnicodeClass_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsCOMObject_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsCOMObject_Get( - self, - outException, - ); - } - - late final _System_Type_IsCOMObject_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsCOMObject_Get'); - late final _System_Type_IsCOMObject_Get = - _System_Type_IsCOMObject_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsContextful_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsContextful_Get( - self, - outException, - ); - } - - late final _System_Type_IsContextful_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsContextful_Get'); - late final _System_Type_IsContextful_Get = - _System_Type_IsContextful_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsEnum_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsEnum_Get( - self, - outException, - ); - } - - late final _System_Type_IsEnum_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsEnum_Get'); - late final _System_Type_IsEnum_Get = _System_Type_IsEnum_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsMarshalByRef_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsMarshalByRef_Get( - self, - outException, - ); - } - - late final _System_Type_IsMarshalByRef_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsMarshalByRef_Get'); - late final _System_Type_IsMarshalByRef_Get = - _System_Type_IsMarshalByRef_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsPrimitive_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsPrimitive_Get( - self, - outException, - ); - } - - late final _System_Type_IsPrimitive_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsPrimitive_Get'); - late final _System_Type_IsPrimitive_Get = - _System_Type_IsPrimitive_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsValueType_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsValueType_Get( - self, - outException, - ); - } - - late final _System_Type_IsValueType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsValueType_Get'); - late final _System_Type_IsValueType_Get = - _System_Type_IsValueType_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsSignatureType_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsSignatureType_Get( - self, - outException, - ); - } - - late final _System_Type_IsSignatureType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsSignatureType_Get'); - late final _System_Type_IsSignatureType_Get = - _System_Type_IsSignatureType_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsSecurityCritical_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsSecurityCritical_Get( - self, - outException, - ); - } - - late final _System_Type_IsSecurityCritical_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsSecurityCritical_Get'); - late final _System_Type_IsSecurityCritical_Get = - _System_Type_IsSecurityCritical_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsSecuritySafeCritical_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsSecuritySafeCritical_Get( - self, - outException, - ); - } - - late final _System_Type_IsSecuritySafeCritical_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsSecuritySafeCritical_Get'); - late final _System_Type_IsSecuritySafeCritical_Get = - _System_Type_IsSecuritySafeCritical_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsSecurityTransparent_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsSecurityTransparent_Get( - self, - outException, - ); - } - - late final _System_Type_IsSecurityTransparent_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsSecurityTransparent_Get'); - late final _System_Type_IsSecurityTransparent_Get = - _System_Type_IsSecurityTransparent_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - System_Runtime_InteropServices_StructLayoutAttribute_t - System_Type_StructLayoutAttribute_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_StructLayoutAttribute_Get( - self, - outException, - ); - } - - late final _System_Type_StructLayoutAttribute_GetPtr = _lookup< - ffi.NativeFunction< - System_Runtime_InteropServices_StructLayoutAttribute_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_StructLayoutAttribute_Get'); - late final _System_Type_StructLayoutAttribute_Get = - _System_Type_StructLayoutAttribute_GetPtr.asFunction< - System_Runtime_InteropServices_StructLayoutAttribute_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_ConstructorInfo_t System_Type_TypeInitializer_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_TypeInitializer_Get( - self, - outException, - ); - } - - late final _System_Type_TypeInitializer_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_ConstructorInfo_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_TypeInitializer_Get'); - late final _System_Type_TypeInitializer_Get = - _System_Type_TypeInitializer_GetPtr.asFunction< - System_Reflection_ConstructorInfo_t Function( - System_Type_t, ffi.Pointer)>(); - - System_RuntimeTypeHandle_t System_Type_TypeHandle_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_TypeHandle_Get( - self, - outException, - ); - } - - late final _System_Type_TypeHandle_GetPtr = _lookup< - ffi.NativeFunction< - System_RuntimeTypeHandle_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_TypeHandle_Get'); - late final _System_Type_TypeHandle_Get = - _System_Type_TypeHandle_GetPtr.asFunction< - System_RuntimeTypeHandle_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Guid_t System_Type_GUID_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_GUID_Get( - self, - outException, - ); - } - - late final _System_Type_GUID_GetPtr = _lookup< - ffi.NativeFunction< - System_Guid_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_GUID_Get'); - late final _System_Type_GUID_Get = _System_Type_GUID_GetPtr.asFunction< - System_Guid_t Function(System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Type_BaseType_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_BaseType_Get( - self, - outException, - ); - } - - late final _System_Type_BaseType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Type_t, - ffi.Pointer)>>('System_Type_BaseType_Get'); - late final _System_Type_BaseType_Get = - _System_Type_BaseType_GetPtr.asFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_Binder_t System_Type_DefaultBinder_Get( - ffi.Pointer outException, - ) { - return _System_Type_DefaultBinder_Get( - outException, - ); - } - - late final _System_Type_DefaultBinder_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Binder_t Function( - ffi.Pointer)>>( - 'System_Type_DefaultBinder_Get'); - late final _System_Type_DefaultBinder_Get = - _System_Type_DefaultBinder_GetPtr.asFunction< - System_Reflection_Binder_t Function( - ffi.Pointer)>(); - - bool System_Type_IsSerializable_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsSerializable_Get( - self, - outException, - ); - } - - late final _System_Type_IsSerializable_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_IsSerializable_Get'); - late final _System_Type_IsSerializable_Get = - _System_Type_IsSerializable_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_ContainsGenericParameters_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_ContainsGenericParameters_Get( - self, - outException, - ); - } - - late final _System_Type_ContainsGenericParameters_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Type_ContainsGenericParameters_Get'); - late final _System_Type_ContainsGenericParameters_Get = - _System_Type_ContainsGenericParameters_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - bool System_Type_IsVisible_Get( - System_Type_t self, - ffi.Pointer outException, - ) { - return _System_Type_IsVisible_Get( - self, - outException, - ); - } - - late final _System_Type_IsVisible_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, - ffi.Pointer)>>('System_Type_IsVisible_Get'); - late final _System_Type_IsVisible_Get = - _System_Type_IsVisible_GetPtr.asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - int System_Type_Delimiter_Get() { - return _System_Type_Delimiter_Get(); - } - - late final _System_Type_Delimiter_GetPtr = - _lookup>( - 'System_Type_Delimiter_Get'); - late final _System_Type_Delimiter_Get = - _System_Type_Delimiter_GetPtr.asFunction(); - - System_Type_Array_t System_Type_EmptyTypes_Get() { - return _System_Type_EmptyTypes_Get(); - } - - late final _System_Type_EmptyTypes_GetPtr = - _lookup>( - 'System_Type_EmptyTypes_Get'); - late final _System_Type_EmptyTypes_Get = _System_Type_EmptyTypes_GetPtr - .asFunction(); - - System_Object_t System_Type_Missing_Get() { - return _System_Type_Missing_Get(); - } - - late final _System_Type_Missing_GetPtr = - _lookup>( - 'System_Type_Missing_Get'); - late final _System_Type_Missing_Get = - _System_Type_Missing_GetPtr.asFunction(); - - System_Reflection_MemberFilter_t System_Type_FilterAttribute_Get() { - return _System_Type_FilterAttribute_Get(); - } - - late final _System_Type_FilterAttribute_GetPtr = - _lookup>( - 'System_Type_FilterAttribute_Get'); - late final _System_Type_FilterAttribute_Get = - _System_Type_FilterAttribute_GetPtr.asFunction< - System_Reflection_MemberFilter_t Function()>(); - - System_Reflection_MemberFilter_t System_Type_FilterName_Get() { - return _System_Type_FilterName_Get(); - } - - late final _System_Type_FilterName_GetPtr = - _lookup>( - 'System_Type_FilterName_Get'); - late final _System_Type_FilterName_Get = _System_Type_FilterName_GetPtr - .asFunction(); - - System_Reflection_MemberFilter_t System_Type_FilterNameIgnoreCase_Get() { - return _System_Type_FilterNameIgnoreCase_Get(); - } - - late final _System_Type_FilterNameIgnoreCase_GetPtr = - _lookup>( - 'System_Type_FilterNameIgnoreCase_Get'); - late final _System_Type_FilterNameIgnoreCase_Get = - _System_Type_FilterNameIgnoreCase_GetPtr.asFunction< - System_Reflection_MemberFilter_t Function()>(); - - System_Type_t System_Type_TypeOf() { - return _System_Type_TypeOf(); - } - - late final _System_Type_TypeOfPtr = - _lookup>( - 'System_Type_TypeOf'); - late final _System_Type_TypeOf = - _System_Type_TypeOfPtr.asFunction(); - - void System_Type_Destroy( - System_Type_t self, - ) { - return _System_Type_Destroy( - self, - ); - } - - late final _System_Type_DestroyPtr = - _lookup>( - 'System_Type_Destroy'); - late final _System_Type_Destroy = - _System_Type_DestroyPtr.asFunction(); - - bool System_Reflection_MemberInfo_HasSameMetadataDefinitionAs( - System_Reflection_MemberInfo_t self, - System_Reflection_MemberInfo_t other, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberInfo_HasSameMetadataDefinitionAs( - self, - other, - outException, - ); - } - - late final _System_Reflection_MemberInfo_HasSameMetadataDefinitionAsPtr = - _lookup< - ffi - .NativeFunction< - ffi.Bool Function( - System_Reflection_MemberInfo_t, - System_Reflection_MemberInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MemberInfo_HasSameMetadataDefinitionAs'); - late final _System_Reflection_MemberInfo_HasSameMetadataDefinitionAs = - _System_Reflection_MemberInfo_HasSameMetadataDefinitionAsPtr.asFunction< - bool Function( - System_Reflection_MemberInfo_t, - System_Reflection_MemberInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_MemberInfo_IsDefined( - System_Reflection_MemberInfo_t self, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberInfo_IsDefined( - self, - attributeType, - inherit, - outException, - ); - } - - late final _System_Reflection_MemberInfo_IsDefinedPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MemberInfo_t, System_Type_t, - ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_MemberInfo_IsDefined'); - late final _System_Reflection_MemberInfo_IsDefined = - _System_Reflection_MemberInfo_IsDefinedPtr.asFunction< - bool Function(System_Reflection_MemberInfo_t, System_Type_t, bool, - ffi.Pointer)>(); - - System_Object_Array_t System_Reflection_MemberInfo_GetCustomAttributes( - System_Reflection_MemberInfo_t self, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberInfo_GetCustomAttributes( - self, - inherit, - outException, - ); - } - - late final _System_Reflection_MemberInfo_GetCustomAttributesPtr = _lookup< - ffi.NativeFunction< - System_Object_Array_t Function(System_Reflection_MemberInfo_t, - ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_MemberInfo_GetCustomAttributes'); - late final _System_Reflection_MemberInfo_GetCustomAttributes = - _System_Reflection_MemberInfo_GetCustomAttributesPtr.asFunction< - System_Object_Array_t Function(System_Reflection_MemberInfo_t, bool, - ffi.Pointer)>(); - - System_Object_Array_t System_Reflection_MemberInfo_GetCustomAttributes_1( - System_Reflection_MemberInfo_t self, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberInfo_GetCustomAttributes_1( - self, - attributeType, - inherit, - outException, - ); - } - - late final _System_Reflection_MemberInfo_GetCustomAttributes_1Ptr = _lookup< - ffi.NativeFunction< - System_Object_Array_t Function(System_Reflection_MemberInfo_t, - System_Type_t, ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_MemberInfo_GetCustomAttributes_1'); - late final _System_Reflection_MemberInfo_GetCustomAttributes_1 = - _System_Reflection_MemberInfo_GetCustomAttributes_1Ptr.asFunction< - System_Object_Array_t Function(System_Reflection_MemberInfo_t, - System_Type_t, bool, ffi.Pointer)>(); - - bool System_Reflection_MemberInfo_Equals( - System_Reflection_MemberInfo_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberInfo_Equals( - self, - obj, - outException, - ); - } - - late final _System_Reflection_MemberInfo_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MemberInfo_t, System_Object_t, - ffi.Pointer)>>( - 'System_Reflection_MemberInfo_Equals'); - late final _System_Reflection_MemberInfo_Equals = - _System_Reflection_MemberInfo_EqualsPtr.asFunction< - bool Function(System_Reflection_MemberInfo_t, System_Object_t, - ffi.Pointer)>(); - - int System_Reflection_MemberInfo_GetHashCode( - System_Reflection_MemberInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberInfo_GetHashCode( - self, - outException, - ); - } - - late final _System_Reflection_MemberInfo_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MemberInfo_GetHashCode'); - late final _System_Reflection_MemberInfo_GetHashCode = - _System_Reflection_MemberInfo_GetHashCodePtr.asFunction< - int Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>(); - - int System_Reflection_MemberInfo_MemberType_Get( - System_Reflection_MemberInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberInfo_MemberType_Get( - self, - outException, - ); - } - - late final _System_Reflection_MemberInfo_MemberType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MemberInfo_MemberType_Get'); - late final _System_Reflection_MemberInfo_MemberType_Get = - _System_Reflection_MemberInfo_MemberType_GetPtr.asFunction< - int Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>(); - - System_String_t System_Reflection_MemberInfo_Name_Get( - System_Reflection_MemberInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberInfo_Name_Get( - self, - outException, - ); - } - - late final _System_Reflection_MemberInfo_Name_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MemberInfo_Name_Get'); - late final _System_Reflection_MemberInfo_Name_Get = - _System_Reflection_MemberInfo_Name_GetPtr.asFunction< - System_String_t Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_MemberInfo_DeclaringType_Get( - System_Reflection_MemberInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberInfo_DeclaringType_Get( - self, - outException, - ); - } - - late final _System_Reflection_MemberInfo_DeclaringType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MemberInfo_DeclaringType_Get'); - late final _System_Reflection_MemberInfo_DeclaringType_Get = - _System_Reflection_MemberInfo_DeclaringType_GetPtr.asFunction< - System_Type_t Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_MemberInfo_ReflectedType_Get( - System_Reflection_MemberInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberInfo_ReflectedType_Get( - self, - outException, - ); - } - - late final _System_Reflection_MemberInfo_ReflectedType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MemberInfo_ReflectedType_Get'); - late final _System_Reflection_MemberInfo_ReflectedType_Get = - _System_Reflection_MemberInfo_ReflectedType_GetPtr.asFunction< - System_Type_t Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>(); - - System_Reflection_Module_t System_Reflection_MemberInfo_Module_Get( - System_Reflection_MemberInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberInfo_Module_Get( - self, - outException, - ); - } - - late final _System_Reflection_MemberInfo_Module_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Module_t Function( - System_Reflection_MemberInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MemberInfo_Module_Get'); - late final _System_Reflection_MemberInfo_Module_Get = - _System_Reflection_MemberInfo_Module_GetPtr.asFunction< - System_Reflection_Module_t Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_MemberInfo_IsCollectible_Get( - System_Reflection_MemberInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberInfo_IsCollectible_Get( - self, - outException, - ); - } - - late final _System_Reflection_MemberInfo_IsCollectible_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MemberInfo_IsCollectible_Get'); - late final _System_Reflection_MemberInfo_IsCollectible_Get = - _System_Reflection_MemberInfo_IsCollectible_GetPtr.asFunction< - bool Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>(); - - int System_Reflection_MemberInfo_MetadataToken_Get( - System_Reflection_MemberInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberInfo_MetadataToken_Get( - self, - outException, - ); - } - - late final _System_Reflection_MemberInfo_MetadataToken_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MemberInfo_MetadataToken_Get'); - late final _System_Reflection_MemberInfo_MetadataToken_Get = - _System_Reflection_MemberInfo_MetadataToken_GetPtr.asFunction< - int Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_MemberInfo_TypeOf() { - return _System_Reflection_MemberInfo_TypeOf(); - } - - late final _System_Reflection_MemberInfo_TypeOfPtr = - _lookup>( - 'System_Reflection_MemberInfo_TypeOf'); - late final _System_Reflection_MemberInfo_TypeOf = - _System_Reflection_MemberInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_MemberInfo_Destroy( - System_Reflection_MemberInfo_t self, - ) { - return _System_Reflection_MemberInfo_Destroy( - self, - ); - } - - late final _System_Reflection_MemberInfo_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Reflection_MemberInfo_Destroy'); - late final _System_Reflection_MemberInfo_Destroy = - _System_Reflection_MemberInfo_DestroyPtr.asFunction< - void Function(System_Reflection_MemberInfo_t)>(); - - System_Object_Array_t - System_Reflection_ICustomAttributeProvider_GetCustomAttributes( - System_Reflection_ICustomAttributeProvider_t self, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_ICustomAttributeProvider_GetCustomAttributes( - self, - inherit, - outException, - ); - } - - late final _System_Reflection_ICustomAttributeProvider_GetCustomAttributesPtr = - _lookup< - ffi.NativeFunction< - System_Object_Array_t Function( - System_Reflection_ICustomAttributeProvider_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_ICustomAttributeProvider_GetCustomAttributes'); - late final _System_Reflection_ICustomAttributeProvider_GetCustomAttributes = - _System_Reflection_ICustomAttributeProvider_GetCustomAttributesPtr - .asFunction< - System_Object_Array_t Function( - System_Reflection_ICustomAttributeProvider_t, - bool, - ffi.Pointer)>(); - - System_Object_Array_t - System_Reflection_ICustomAttributeProvider_GetCustomAttributes_1( - System_Reflection_ICustomAttributeProvider_t self, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_ICustomAttributeProvider_GetCustomAttributes_1( - self, - attributeType, - inherit, - outException, - ); - } - - late final _System_Reflection_ICustomAttributeProvider_GetCustomAttributes_1Ptr = - _lookup< - ffi.NativeFunction< - System_Object_Array_t Function( - System_Reflection_ICustomAttributeProvider_t, - System_Type_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_ICustomAttributeProvider_GetCustomAttributes_1'); - late final _System_Reflection_ICustomAttributeProvider_GetCustomAttributes_1 = - _System_Reflection_ICustomAttributeProvider_GetCustomAttributes_1Ptr - .asFunction< - System_Object_Array_t Function( - System_Reflection_ICustomAttributeProvider_t, - System_Type_t, - bool, - ffi.Pointer)>(); - - bool System_Reflection_ICustomAttributeProvider_IsDefined( - System_Reflection_ICustomAttributeProvider_t self, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_ICustomAttributeProvider_IsDefined( - self, - attributeType, - inherit, - outException, - ); - } - - late final _System_Reflection_ICustomAttributeProvider_IsDefinedPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_ICustomAttributeProvider_t, - System_Type_t, ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_ICustomAttributeProvider_IsDefined'); - late final _System_Reflection_ICustomAttributeProvider_IsDefined = - _System_Reflection_ICustomAttributeProvider_IsDefinedPtr.asFunction< - bool Function(System_Reflection_ICustomAttributeProvider_t, - System_Type_t, bool, ffi.Pointer)>(); - - System_Type_t System_Reflection_ICustomAttributeProvider_TypeOf() { - return _System_Reflection_ICustomAttributeProvider_TypeOf(); - } - - late final _System_Reflection_ICustomAttributeProvider_TypeOfPtr = - _lookup>( - 'System_Reflection_ICustomAttributeProvider_TypeOf'); - late final _System_Reflection_ICustomAttributeProvider_TypeOf = - _System_Reflection_ICustomAttributeProvider_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_ICustomAttributeProvider_Destroy( - System_Reflection_ICustomAttributeProvider_t self, - ) { - return _System_Reflection_ICustomAttributeProvider_Destroy( - self, - ); - } - - late final _System_Reflection_ICustomAttributeProvider_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_ICustomAttributeProvider_t)>>( - 'System_Reflection_ICustomAttributeProvider_Destroy'); - late final _System_Reflection_ICustomAttributeProvider_Destroy = - _System_Reflection_ICustomAttributeProvider_DestroyPtr.asFunction< - void Function(System_Reflection_ICustomAttributeProvider_t)>(); - - void System_Array_ConstrainedCopy( - System_Array_t sourceArray, - int sourceIndex, - System_Array_t destinationArray, - int destinationIndex, - int length, - ffi.Pointer outException, - ) { - return _System_Array_ConstrainedCopy( - sourceArray, - sourceIndex, - destinationArray, - destinationIndex, - length, - outException, - ); - } - - late final _System_Array_ConstrainedCopyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, ffi.Int32, System_Array_t, - ffi.Int32, ffi.Int32, ffi.Pointer)>>( - 'System_Array_ConstrainedCopy'); - late final _System_Array_ConstrainedCopy = - _System_Array_ConstrainedCopyPtr.asFunction< - void Function(System_Array_t, int, System_Array_t, int, int, - ffi.Pointer)>(); - - void System_Array_Clear( - System_Array_t array, - ffi.Pointer outException, - ) { - return _System_Array_Clear( - array, - outException, - ); - } - - late final _System_Array_ClearPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, - ffi.Pointer)>>('System_Array_Clear'); - late final _System_Array_Clear = _System_Array_ClearPtr.asFunction< - void Function(System_Array_t, ffi.Pointer)>(); - - void System_Array_Clear_1( - System_Array_t array, - int index, - int length, - ffi.Pointer outException, - ) { - return _System_Array_Clear_1( - array, - index, - length, - outException, - ); - } - - late final _System_Array_Clear_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_Array_Clear_1'); - late final _System_Array_Clear_1 = _System_Array_Clear_1Ptr.asFunction< - void Function( - System_Array_t, int, int, ffi.Pointer)>(); - - int System_Array_GetLength( - System_Array_t self, - int dimension, - ffi.Pointer outException, - ) { - return _System_Array_GetLength( - self, - dimension, - outException, - ); - } - - late final _System_Array_GetLengthPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Array_t, ffi.Int32, - ffi.Pointer)>>('System_Array_GetLength'); - late final _System_Array_GetLength = _System_Array_GetLengthPtr.asFunction< - int Function(System_Array_t, int, ffi.Pointer)>(); - - int System_Array_GetUpperBound( - System_Array_t self, - int dimension, - ffi.Pointer outException, - ) { - return _System_Array_GetUpperBound( - self, - dimension, - outException, - ); - } - - late final _System_Array_GetUpperBoundPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Array_t, ffi.Int32, - ffi.Pointer)>>('System_Array_GetUpperBound'); - late final _System_Array_GetUpperBound = - _System_Array_GetUpperBoundPtr.asFunction< - int Function(System_Array_t, int, ffi.Pointer)>(); - - int System_Array_GetLowerBound( - System_Array_t self, - int dimension, - ffi.Pointer outException, - ) { - return _System_Array_GetLowerBound( - self, - dimension, - outException, - ); - } - - late final _System_Array_GetLowerBoundPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Array_t, ffi.Int32, - ffi.Pointer)>>('System_Array_GetLowerBound'); - late final _System_Array_GetLowerBound = - _System_Array_GetLowerBoundPtr.asFunction< - int Function(System_Array_t, int, ffi.Pointer)>(); - - void System_Array_Initialize( - System_Array_t self, - ffi.Pointer outException, - ) { - return _System_Array_Initialize( - self, - outException, - ); - } - - late final _System_Array_InitializePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, - ffi.Pointer)>>('System_Array_Initialize'); - late final _System_Array_Initialize = _System_Array_InitializePtr.asFunction< - void Function(System_Array_t, ffi.Pointer)>(); - - System_Array_t System_Array_CreateInstance( - System_Type_t elementType, - int length, - ffi.Pointer outException, - ) { - return _System_Array_CreateInstance( - elementType, - length, - outException, - ); - } - - late final _System_Array_CreateInstancePtr = _lookup< - ffi.NativeFunction< - System_Array_t Function(System_Type_t, ffi.Int32, - ffi.Pointer)>>('System_Array_CreateInstance'); - late final _System_Array_CreateInstance = - _System_Array_CreateInstancePtr.asFunction< - System_Array_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Array_t System_Array_CreateInstance_1( - System_Type_t elementType, - int length1, - int length2, - ffi.Pointer outException, - ) { - return _System_Array_CreateInstance_1( - elementType, - length1, - length2, - outException, - ); - } - - late final _System_Array_CreateInstance_1Ptr = _lookup< - ffi.NativeFunction< - System_Array_t Function(System_Type_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>( - 'System_Array_CreateInstance_1'); - late final _System_Array_CreateInstance_1 = - _System_Array_CreateInstance_1Ptr.asFunction< - System_Array_t Function( - System_Type_t, int, int, ffi.Pointer)>(); - - System_Array_t System_Array_CreateInstance_2( - System_Type_t elementType, - int length1, - int length2, - int length3, - ffi.Pointer outException, - ) { - return _System_Array_CreateInstance_2( - elementType, - length1, - length2, - length3, - outException, - ); - } - - late final _System_Array_CreateInstance_2Ptr = _lookup< - ffi.NativeFunction< - System_Array_t Function(System_Type_t, ffi.Int32, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Array_CreateInstance_2'); - late final _System_Array_CreateInstance_2 = - _System_Array_CreateInstance_2Ptr.asFunction< - System_Array_t Function( - System_Type_t, int, int, int, ffi.Pointer)>(); - - System_Array_t System_Array_CreateInstance_3( - System_Type_t elementType, - System_Int32_Array_t lengths, - ffi.Pointer outException, - ) { - return _System_Array_CreateInstance_3( - elementType, - lengths, - outException, - ); - } - - late final _System_Array_CreateInstance_3Ptr = _lookup< - ffi.NativeFunction< - System_Array_t Function(System_Type_t, System_Int32_Array_t, - ffi.Pointer)>>( - 'System_Array_CreateInstance_3'); - late final _System_Array_CreateInstance_3 = - _System_Array_CreateInstance_3Ptr.asFunction< - System_Array_t Function(System_Type_t, System_Int32_Array_t, - ffi.Pointer)>(); - - System_Array_t System_Array_CreateInstance_4( - System_Type_t elementType, - System_Int32_Array_t lengths, - System_Int32_Array_t lowerBounds, - ffi.Pointer outException, - ) { - return _System_Array_CreateInstance_4( - elementType, - lengths, - lowerBounds, - outException, - ); - } - - late final _System_Array_CreateInstance_4Ptr = _lookup< - ffi.NativeFunction< - System_Array_t Function(System_Type_t, System_Int32_Array_t, - System_Int32_Array_t, ffi.Pointer)>>( - 'System_Array_CreateInstance_4'); - late final _System_Array_CreateInstance_4 = - _System_Array_CreateInstance_4Ptr.asFunction< - System_Array_t Function(System_Type_t, System_Int32_Array_t, - System_Int32_Array_t, ffi.Pointer)>(); - - System_Array_t System_Array_CreateInstance_5( - System_Type_t elementType, - System_Int64_Array_t lengths, - ffi.Pointer outException, - ) { - return _System_Array_CreateInstance_5( - elementType, - lengths, - outException, - ); - } - - late final _System_Array_CreateInstance_5Ptr = _lookup< - ffi.NativeFunction< - System_Array_t Function(System_Type_t, System_Int64_Array_t, - ffi.Pointer)>>( - 'System_Array_CreateInstance_5'); - late final _System_Array_CreateInstance_5 = - _System_Array_CreateInstance_5Ptr.asFunction< - System_Array_t Function(System_Type_t, System_Int64_Array_t, - ffi.Pointer)>(); - - void System_Array_Copy( - System_Array_t sourceArray, - System_Array_t destinationArray, - int length, - ffi.Pointer outException, - ) { - return _System_Array_Copy( - sourceArray, - destinationArray, - length, - outException, - ); - } - - late final _System_Array_CopyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, System_Array_t, ffi.Int64, - ffi.Pointer)>>('System_Array_Copy'); - late final _System_Array_Copy = _System_Array_CopyPtr.asFunction< - void Function(System_Array_t, System_Array_t, int, - ffi.Pointer)>(); - - void System_Array_Copy_1( - System_Array_t sourceArray, - int sourceIndex, - System_Array_t destinationArray, - int destinationIndex, - int length, - ffi.Pointer outException, - ) { - return _System_Array_Copy_1( - sourceArray, - sourceIndex, - destinationArray, - destinationIndex, - length, - outException, - ); - } - - late final _System_Array_Copy_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Array_t, - ffi.Int64, - System_Array_t, - ffi.Int64, - ffi.Int64, - ffi.Pointer)>>('System_Array_Copy_1'); - late final _System_Array_Copy_1 = _System_Array_Copy_1Ptr.asFunction< - void Function(System_Array_t, int, System_Array_t, int, int, - ffi.Pointer)>(); - - void System_Array_Copy_2( - System_Array_t sourceArray, - System_Array_t destinationArray, - int length, - ffi.Pointer outException, - ) { - return _System_Array_Copy_2( - sourceArray, - destinationArray, - length, - outException, - ); - } - - late final _System_Array_Copy_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, System_Array_t, ffi.Int32, - ffi.Pointer)>>('System_Array_Copy_2'); - late final _System_Array_Copy_2 = _System_Array_Copy_2Ptr.asFunction< - void Function(System_Array_t, System_Array_t, int, - ffi.Pointer)>(); - - void System_Array_Copy_3( - System_Array_t sourceArray, - int sourceIndex, - System_Array_t destinationArray, - int destinationIndex, - int length, - ffi.Pointer outException, - ) { - return _System_Array_Copy_3( - sourceArray, - sourceIndex, - destinationArray, - destinationIndex, - length, - outException, - ); - } - - late final _System_Array_Copy_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Array_t, - ffi.Int32, - System_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_Array_Copy_3'); - late final _System_Array_Copy_3 = _System_Array_Copy_3Ptr.asFunction< - void Function(System_Array_t, int, System_Array_t, int, int, - ffi.Pointer)>(); - - System_Object_t System_Array_GetValue( - System_Array_t self, - System_Int32_Array_t indices, - ffi.Pointer outException, - ) { - return _System_Array_GetValue( - self, - indices, - outException, - ); - } - - late final _System_Array_GetValuePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Array_t, System_Int32_Array_t, - ffi.Pointer)>>('System_Array_GetValue'); - late final _System_Array_GetValue = _System_Array_GetValuePtr.asFunction< - System_Object_t Function(System_Array_t, System_Int32_Array_t, - ffi.Pointer)>(); - - System_Object_t System_Array_GetValue_1( - System_Array_t self, - int index, - ffi.Pointer outException, - ) { - return _System_Array_GetValue_1( - self, - index, - outException, - ); - } - - late final _System_Array_GetValue_1Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Array_t, ffi.Int32, - ffi.Pointer)>>('System_Array_GetValue_1'); - late final _System_Array_GetValue_1 = _System_Array_GetValue_1Ptr.asFunction< - System_Object_t Function( - System_Array_t, int, ffi.Pointer)>(); - - System_Object_t System_Array_GetValue_2( - System_Array_t self, - int index1, - int index2, - ffi.Pointer outException, - ) { - return _System_Array_GetValue_2( - self, - index1, - index2, - outException, - ); - } - - late final _System_Array_GetValue_2Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Array_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_Array_GetValue_2'); - late final _System_Array_GetValue_2 = _System_Array_GetValue_2Ptr.asFunction< - System_Object_t Function( - System_Array_t, int, int, ffi.Pointer)>(); - - System_Object_t System_Array_GetValue_3( - System_Array_t self, - int index1, - int index2, - int index3, - ffi.Pointer outException, - ) { - return _System_Array_GetValue_3( - self, - index1, - index2, - index3, - outException, - ); - } - - late final _System_Array_GetValue_3Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_Array_GetValue_3'); - late final _System_Array_GetValue_3 = _System_Array_GetValue_3Ptr.asFunction< - System_Object_t Function( - System_Array_t, int, int, int, ffi.Pointer)>(); - - void System_Array_SetValue( - System_Array_t self, - System_Object_t value, - int index, - ffi.Pointer outException, - ) { - return _System_Array_SetValue( - self, - value, - index, - outException, - ); - } - - late final _System_Array_SetValuePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, System_Object_t, ffi.Int32, - ffi.Pointer)>>('System_Array_SetValue'); - late final _System_Array_SetValue = _System_Array_SetValuePtr.asFunction< - void Function(System_Array_t, System_Object_t, int, - ffi.Pointer)>(); - - void System_Array_SetValue_1( - System_Array_t self, - System_Object_t value, - int index1, - int index2, - ffi.Pointer outException, - ) { - return _System_Array_SetValue_1( - self, - value, - index1, - index2, - outException, - ); - } - - late final _System_Array_SetValue_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Array_t, - System_Object_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_Array_SetValue_1'); - late final _System_Array_SetValue_1 = _System_Array_SetValue_1Ptr.asFunction< - void Function(System_Array_t, System_Object_t, int, int, - ffi.Pointer)>(); - - void System_Array_SetValue_2( - System_Array_t self, - System_Object_t value, - int index1, - int index2, - int index3, - ffi.Pointer outException, - ) { - return _System_Array_SetValue_2( - self, - value, - index1, - index2, - index3, - outException, - ); - } - - late final _System_Array_SetValue_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Array_t, - System_Object_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_Array_SetValue_2'); - late final _System_Array_SetValue_2 = _System_Array_SetValue_2Ptr.asFunction< - void Function(System_Array_t, System_Object_t, int, int, int, - ffi.Pointer)>(); - - void System_Array_SetValue_3( - System_Array_t self, - System_Object_t value, - System_Int32_Array_t indices, - ffi.Pointer outException, - ) { - return _System_Array_SetValue_3( - self, - value, - indices, - outException, - ); - } - - late final _System_Array_SetValue_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Array_t, - System_Object_t, - System_Int32_Array_t, - ffi.Pointer)>>('System_Array_SetValue_3'); - late final _System_Array_SetValue_3 = _System_Array_SetValue_3Ptr.asFunction< - void Function(System_Array_t, System_Object_t, System_Int32_Array_t, - ffi.Pointer)>(); - - System_Object_t System_Array_GetValue_4( - System_Array_t self, - int index, - ffi.Pointer outException, - ) { - return _System_Array_GetValue_4( - self, - index, - outException, - ); - } - - late final _System_Array_GetValue_4Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Array_t, ffi.Int64, - ffi.Pointer)>>('System_Array_GetValue_4'); - late final _System_Array_GetValue_4 = _System_Array_GetValue_4Ptr.asFunction< - System_Object_t Function( - System_Array_t, int, ffi.Pointer)>(); - - System_Object_t System_Array_GetValue_5( - System_Array_t self, - int index1, - int index2, - ffi.Pointer outException, - ) { - return _System_Array_GetValue_5( - self, - index1, - index2, - outException, - ); - } - - late final _System_Array_GetValue_5Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Array_t, ffi.Int64, ffi.Int64, - ffi.Pointer)>>('System_Array_GetValue_5'); - late final _System_Array_GetValue_5 = _System_Array_GetValue_5Ptr.asFunction< - System_Object_t Function( - System_Array_t, int, int, ffi.Pointer)>(); - - System_Object_t System_Array_GetValue_6( - System_Array_t self, - int index1, - int index2, - int index3, - ffi.Pointer outException, - ) { - return _System_Array_GetValue_6( - self, - index1, - index2, - index3, - outException, - ); - } - - late final _System_Array_GetValue_6Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Array_t, - ffi.Int64, - ffi.Int64, - ffi.Int64, - ffi.Pointer)>>('System_Array_GetValue_6'); - late final _System_Array_GetValue_6 = _System_Array_GetValue_6Ptr.asFunction< - System_Object_t Function( - System_Array_t, int, int, int, ffi.Pointer)>(); - - System_Object_t System_Array_GetValue_7( - System_Array_t self, - System_Int64_Array_t indices, - ffi.Pointer outException, - ) { - return _System_Array_GetValue_7( - self, - indices, - outException, - ); - } - - late final _System_Array_GetValue_7Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Array_t, System_Int64_Array_t, - ffi.Pointer)>>('System_Array_GetValue_7'); - late final _System_Array_GetValue_7 = _System_Array_GetValue_7Ptr.asFunction< - System_Object_t Function(System_Array_t, System_Int64_Array_t, - ffi.Pointer)>(); - - void System_Array_SetValue_4( - System_Array_t self, - System_Object_t value, - int index, - ffi.Pointer outException, - ) { - return _System_Array_SetValue_4( - self, - value, - index, - outException, - ); - } - - late final _System_Array_SetValue_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, System_Object_t, ffi.Int64, - ffi.Pointer)>>('System_Array_SetValue_4'); - late final _System_Array_SetValue_4 = _System_Array_SetValue_4Ptr.asFunction< - void Function(System_Array_t, System_Object_t, int, - ffi.Pointer)>(); - - void System_Array_SetValue_5( - System_Array_t self, - System_Object_t value, - int index1, - int index2, - ffi.Pointer outException, - ) { - return _System_Array_SetValue_5( - self, - value, - index1, - index2, - outException, - ); - } - - late final _System_Array_SetValue_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Array_t, - System_Object_t, - ffi.Int64, - ffi.Int64, - ffi.Pointer)>>('System_Array_SetValue_5'); - late final _System_Array_SetValue_5 = _System_Array_SetValue_5Ptr.asFunction< - void Function(System_Array_t, System_Object_t, int, int, - ffi.Pointer)>(); - - void System_Array_SetValue_6( - System_Array_t self, - System_Object_t value, - int index1, - int index2, - int index3, - ffi.Pointer outException, - ) { - return _System_Array_SetValue_6( - self, - value, - index1, - index2, - index3, - outException, - ); - } - - late final _System_Array_SetValue_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Array_t, - System_Object_t, - ffi.Int64, - ffi.Int64, - ffi.Int64, - ffi.Pointer)>>('System_Array_SetValue_6'); - late final _System_Array_SetValue_6 = _System_Array_SetValue_6Ptr.asFunction< - void Function(System_Array_t, System_Object_t, int, int, int, - ffi.Pointer)>(); - - void System_Array_SetValue_7( - System_Array_t self, - System_Object_t value, - System_Int64_Array_t indices, - ffi.Pointer outException, - ) { - return _System_Array_SetValue_7( - self, - value, - indices, - outException, - ); - } - - late final _System_Array_SetValue_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Array_t, - System_Object_t, - System_Int64_Array_t, - ffi.Pointer)>>('System_Array_SetValue_7'); - late final _System_Array_SetValue_7 = _System_Array_SetValue_7Ptr.asFunction< - void Function(System_Array_t, System_Object_t, System_Int64_Array_t, - ffi.Pointer)>(); - - int System_Array_GetLongLength( - System_Array_t self, - int dimension, - ffi.Pointer outException, - ) { - return _System_Array_GetLongLength( - self, - dimension, - outException, - ); - } - - late final _System_Array_GetLongLengthPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_Array_t, ffi.Int32, - ffi.Pointer)>>('System_Array_GetLongLength'); - late final _System_Array_GetLongLength = - _System_Array_GetLongLengthPtr.asFunction< - int Function(System_Array_t, int, ffi.Pointer)>(); - - System_Object_t System_Array_Clone( - System_Array_t self, - ffi.Pointer outException, - ) { - return _System_Array_Clone( - self, - outException, - ); - } - - late final _System_Array_ClonePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Array_t, - ffi.Pointer)>>('System_Array_Clone'); - late final _System_Array_Clone = _System_Array_ClonePtr.asFunction< - System_Object_t Function( - System_Array_t, ffi.Pointer)>(); - - int System_Array_BinarySearch( - System_Array_t array, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Array_BinarySearch( - array, - value, - outException, - ); - } - - late final _System_Array_BinarySearchPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Array_t, System_Object_t, - ffi.Pointer)>>('System_Array_BinarySearch'); - late final _System_Array_BinarySearch = - _System_Array_BinarySearchPtr.asFunction< - int Function(System_Array_t, System_Object_t, - ffi.Pointer)>(); - - int System_Array_BinarySearch_1( - System_Array_t array, - int index, - int length, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Array_BinarySearch_1( - array, - index, - length, - value, - outException, - ); - } - - late final _System_Array_BinarySearch_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Array_t, - ffi.Int32, - ffi.Int32, - System_Object_t, - ffi.Pointer)>>('System_Array_BinarySearch_1'); - late final _System_Array_BinarySearch_1 = - _System_Array_BinarySearch_1Ptr.asFunction< - int Function(System_Array_t, int, int, System_Object_t, - ffi.Pointer)>(); - - int System_Array_BinarySearch_2( - System_Array_t array, - System_Object_t value, - System_Collections_IComparer_t comparer, - ffi.Pointer outException, - ) { - return _System_Array_BinarySearch_2( - array, - value, - comparer, - outException, - ); - } - - late final _System_Array_BinarySearch_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Array_t, - System_Object_t, - System_Collections_IComparer_t, - ffi.Pointer)>>('System_Array_BinarySearch_2'); - late final _System_Array_BinarySearch_2 = - _System_Array_BinarySearch_2Ptr.asFunction< - int Function( - System_Array_t, - System_Object_t, - System_Collections_IComparer_t, - ffi.Pointer)>(); - - int System_Array_BinarySearch_3( - System_Array_t array, - int index, - int length, - System_Object_t value, - System_Collections_IComparer_t comparer, - ffi.Pointer outException, - ) { - return _System_Array_BinarySearch_3( - array, - index, - length, - value, - comparer, - outException, - ); - } - - late final _System_Array_BinarySearch_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Array_t, - ffi.Int32, - ffi.Int32, - System_Object_t, - System_Collections_IComparer_t, - ffi.Pointer)>>('System_Array_BinarySearch_3'); - late final _System_Array_BinarySearch_3 = - _System_Array_BinarySearch_3Ptr.asFunction< - int Function( - System_Array_t, - int, - int, - System_Object_t, - System_Collections_IComparer_t, - ffi.Pointer)>(); - - void System_Array_CopyTo( - System_Array_t self, - System_Array_t array, - int index, - ffi.Pointer outException, - ) { - return _System_Array_CopyTo( - self, - array, - index, - outException, - ); - } - - late final _System_Array_CopyToPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, System_Array_t, ffi.Int32, - ffi.Pointer)>>('System_Array_CopyTo'); - late final _System_Array_CopyTo = _System_Array_CopyToPtr.asFunction< - void Function(System_Array_t, System_Array_t, int, - ffi.Pointer)>(); - - void System_Array_CopyTo_1( - System_Array_t self, - System_Array_t array, - int index, - ffi.Pointer outException, - ) { - return _System_Array_CopyTo_1( - self, - array, - index, - outException, - ); - } - - late final _System_Array_CopyTo_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, System_Array_t, ffi.Int64, - ffi.Pointer)>>('System_Array_CopyTo_1'); - late final _System_Array_CopyTo_1 = _System_Array_CopyTo_1Ptr.asFunction< - void Function(System_Array_t, System_Array_t, int, - ffi.Pointer)>(); - - System_Array_t System_Array_Empty_A1( - System_Type_t T, - ffi.Pointer outException, - ) { - return _System_Array_Empty_A1( - T, - outException, - ); - } - - late final _System_Array_Empty_A1Ptr = _lookup< - ffi.NativeFunction< - System_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Array_Empty_A1'); - late final _System_Array_Empty_A1 = _System_Array_Empty_A1Ptr.asFunction< - System_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - int System_Array_IndexOf( - System_Array_t array, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Array_IndexOf( - array, - value, - outException, - ); - } - - late final _System_Array_IndexOfPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Array_t, System_Object_t, - ffi.Pointer)>>('System_Array_IndexOf'); - late final _System_Array_IndexOf = _System_Array_IndexOfPtr.asFunction< - int Function( - System_Array_t, System_Object_t, ffi.Pointer)>(); - - int System_Array_IndexOf_1( - System_Array_t array, - System_Object_t value, - int startIndex, - ffi.Pointer outException, - ) { - return _System_Array_IndexOf_1( - array, - value, - startIndex, - outException, - ); - } - - late final _System_Array_IndexOf_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Array_t, System_Object_t, ffi.Int32, - ffi.Pointer)>>('System_Array_IndexOf_1'); - late final _System_Array_IndexOf_1 = _System_Array_IndexOf_1Ptr.asFunction< - int Function(System_Array_t, System_Object_t, int, - ffi.Pointer)>(); - - int System_Array_IndexOf_2( - System_Array_t array, - System_Object_t value, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_Array_IndexOf_2( - array, - value, - startIndex, - count, - outException, - ); - } - - late final _System_Array_IndexOf_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Array_t, - System_Object_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_Array_IndexOf_2'); - late final _System_Array_IndexOf_2 = _System_Array_IndexOf_2Ptr.asFunction< - int Function(System_Array_t, System_Object_t, int, int, - ffi.Pointer)>(); - - int System_Array_LastIndexOf( - System_Array_t array, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Array_LastIndexOf( - array, - value, - outException, - ); - } - - late final _System_Array_LastIndexOfPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Array_t, System_Object_t, - ffi.Pointer)>>('System_Array_LastIndexOf'); - late final _System_Array_LastIndexOf = - _System_Array_LastIndexOfPtr.asFunction< - int Function(System_Array_t, System_Object_t, - ffi.Pointer)>(); - - int System_Array_LastIndexOf_1( - System_Array_t array, - System_Object_t value, - int startIndex, - ffi.Pointer outException, - ) { - return _System_Array_LastIndexOf_1( - array, - value, - startIndex, - outException, - ); - } - - late final _System_Array_LastIndexOf_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Array_t, System_Object_t, ffi.Int32, - ffi.Pointer)>>('System_Array_LastIndexOf_1'); - late final _System_Array_LastIndexOf_1 = - _System_Array_LastIndexOf_1Ptr.asFunction< - int Function(System_Array_t, System_Object_t, int, - ffi.Pointer)>(); - - int System_Array_LastIndexOf_2( - System_Array_t array, - System_Object_t value, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_Array_LastIndexOf_2( - array, - value, - startIndex, - count, - outException, - ); - } - - late final _System_Array_LastIndexOf_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Array_t, - System_Object_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_Array_LastIndexOf_2'); - late final _System_Array_LastIndexOf_2 = - _System_Array_LastIndexOf_2Ptr.asFunction< - int Function(System_Array_t, System_Object_t, int, int, - ffi.Pointer)>(); - - void System_Array_Reverse( - System_Array_t array, - ffi.Pointer outException, - ) { - return _System_Array_Reverse( - array, - outException, - ); - } - - late final _System_Array_ReversePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, - ffi.Pointer)>>('System_Array_Reverse'); - late final _System_Array_Reverse = _System_Array_ReversePtr.asFunction< - void Function(System_Array_t, ffi.Pointer)>(); - - void System_Array_Reverse_1( - System_Array_t array, - int index, - int length, - ffi.Pointer outException, - ) { - return _System_Array_Reverse_1( - array, - index, - length, - outException, - ); - } - - late final _System_Array_Reverse_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_Array_Reverse_1'); - late final _System_Array_Reverse_1 = _System_Array_Reverse_1Ptr.asFunction< - void Function( - System_Array_t, int, int, ffi.Pointer)>(); - - void System_Array_Reverse_A1( - System_Type_t T, - System_Array_t array, - ffi.Pointer outException, - ) { - return _System_Array_Reverse_A1( - T, - array, - outException, - ); - } - - late final _System_Array_Reverse_A1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Type_t, System_Array_t, - ffi.Pointer)>>('System_Array_Reverse_A1'); - late final _System_Array_Reverse_A1 = _System_Array_Reverse_A1Ptr.asFunction< - void Function( - System_Type_t, System_Array_t, ffi.Pointer)>(); - - void System_Array_Reverse_A1_1( - System_Type_t T, - System_Array_t array, - int index, - int length, - ffi.Pointer outException, - ) { - return _System_Array_Reverse_A1_1( - T, - array, - index, - length, - outException, - ); - } - - late final _System_Array_Reverse_A1_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Type_t, System_Array_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_Array_Reverse_A1_1'); - late final _System_Array_Reverse_A1_1 = - _System_Array_Reverse_A1_1Ptr.asFunction< - void Function(System_Type_t, System_Array_t, int, int, - ffi.Pointer)>(); - - void System_Array_Sort( - System_Array_t array, - ffi.Pointer outException, - ) { - return _System_Array_Sort( - array, - outException, - ); - } - - late final _System_Array_SortPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, - ffi.Pointer)>>('System_Array_Sort'); - late final _System_Array_Sort = _System_Array_SortPtr.asFunction< - void Function(System_Array_t, ffi.Pointer)>(); - - void System_Array_Sort_1( - System_Array_t keys, - System_Array_t items, - ffi.Pointer outException, - ) { - return _System_Array_Sort_1( - keys, - items, - outException, - ); - } - - late final _System_Array_Sort_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, System_Array_t, - ffi.Pointer)>>('System_Array_Sort_1'); - late final _System_Array_Sort_1 = _System_Array_Sort_1Ptr.asFunction< - void Function( - System_Array_t, System_Array_t, ffi.Pointer)>(); - - void System_Array_Sort_2( - System_Array_t array, - int index, - int length, - ffi.Pointer outException, - ) { - return _System_Array_Sort_2( - array, - index, - length, - outException, - ); - } - - late final _System_Array_Sort_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_Array_Sort_2'); - late final _System_Array_Sort_2 = _System_Array_Sort_2Ptr.asFunction< - void Function( - System_Array_t, int, int, ffi.Pointer)>(); - - void System_Array_Sort_3( - System_Array_t keys, - System_Array_t items, - int index, - int length, - ffi.Pointer outException, - ) { - return _System_Array_Sort_3( - keys, - items, - index, - length, - outException, - ); - } - - late final _System_Array_Sort_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Array_t, - System_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_Array_Sort_3'); - late final _System_Array_Sort_3 = _System_Array_Sort_3Ptr.asFunction< - void Function(System_Array_t, System_Array_t, int, int, - ffi.Pointer)>(); - - void System_Array_Sort_4( - System_Array_t array, - System_Collections_IComparer_t comparer, - ffi.Pointer outException, - ) { - return _System_Array_Sort_4( - array, - comparer, - outException, - ); - } - - late final _System_Array_Sort_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Array_t, System_Collections_IComparer_t, - ffi.Pointer)>>('System_Array_Sort_4'); - late final _System_Array_Sort_4 = _System_Array_Sort_4Ptr.asFunction< - void Function(System_Array_t, System_Collections_IComparer_t, - ffi.Pointer)>(); - - void System_Array_Sort_5( - System_Array_t keys, - System_Array_t items, - System_Collections_IComparer_t comparer, - ffi.Pointer outException, - ) { - return _System_Array_Sort_5( - keys, - items, - comparer, - outException, - ); - } - - late final _System_Array_Sort_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Array_t, - System_Array_t, - System_Collections_IComparer_t, - ffi.Pointer)>>('System_Array_Sort_5'); - late final _System_Array_Sort_5 = _System_Array_Sort_5Ptr.asFunction< - void Function(System_Array_t, System_Array_t, - System_Collections_IComparer_t, ffi.Pointer)>(); - - void System_Array_Sort_6( - System_Array_t array, - int index, - int length, - System_Collections_IComparer_t comparer, - ffi.Pointer outException, - ) { - return _System_Array_Sort_6( - array, - index, - length, - comparer, - outException, - ); - } - - late final _System_Array_Sort_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Array_t, - ffi.Int32, - ffi.Int32, - System_Collections_IComparer_t, - ffi.Pointer)>>('System_Array_Sort_6'); - late final _System_Array_Sort_6 = _System_Array_Sort_6Ptr.asFunction< - void Function(System_Array_t, int, int, System_Collections_IComparer_t, - ffi.Pointer)>(); - - void System_Array_Sort_7( - System_Array_t keys, - System_Array_t items, - int index, - int length, - System_Collections_IComparer_t comparer, - ffi.Pointer outException, - ) { - return _System_Array_Sort_7( - keys, - items, - index, - length, - comparer, - outException, - ); - } - - late final _System_Array_Sort_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Array_t, - System_Array_t, - ffi.Int32, - ffi.Int32, - System_Collections_IComparer_t, - ffi.Pointer)>>('System_Array_Sort_7'); - late final _System_Array_Sort_7 = _System_Array_Sort_7Ptr.asFunction< - void Function(System_Array_t, System_Array_t, int, int, - System_Collections_IComparer_t, ffi.Pointer)>(); - - void System_Array_Sort_A1( - System_Type_t T, - System_Array_t array, - ffi.Pointer outException, - ) { - return _System_Array_Sort_A1( - T, - array, - outException, - ); - } - - late final _System_Array_Sort_A1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Type_t, System_Array_t, - ffi.Pointer)>>('System_Array_Sort_A1'); - late final _System_Array_Sort_A1 = _System_Array_Sort_A1Ptr.asFunction< - void Function( - System_Type_t, System_Array_t, ffi.Pointer)>(); - - void System_Array_Sort_A2( - System_Type_t TKey, - System_Type_t TValue, - System_Array_t keys, - System_Array_t items, - ffi.Pointer outException, - ) { - return _System_Array_Sort_A2( - TKey, - TValue, - keys, - items, - outException, - ); - } - - late final _System_Array_Sort_A2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Type_t, - System_Type_t, - System_Array_t, - System_Array_t, - ffi.Pointer)>>('System_Array_Sort_A2'); - late final _System_Array_Sort_A2 = _System_Array_Sort_A2Ptr.asFunction< - void Function(System_Type_t, System_Type_t, System_Array_t, - System_Array_t, ffi.Pointer)>(); - - void System_Array_Sort_A1_1( - System_Type_t T, - System_Array_t array, - int index, - int length, - ffi.Pointer outException, - ) { - return _System_Array_Sort_A1_1( - T, - array, - index, - length, - outException, - ); - } - - late final _System_Array_Sort_A1_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Type_t, System_Array_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_Array_Sort_A1_1'); - late final _System_Array_Sort_A1_1 = _System_Array_Sort_A1_1Ptr.asFunction< - void Function(System_Type_t, System_Array_t, int, int, - ffi.Pointer)>(); - - void System_Array_Sort_A2_1( - System_Type_t TKey, - System_Type_t TValue, - System_Array_t keys, - System_Array_t items, - int index, - int length, - ffi.Pointer outException, - ) { - return _System_Array_Sort_A2_1( - TKey, - TValue, - keys, - items, - index, - length, - outException, - ); - } - - late final _System_Array_Sort_A2_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Type_t, - System_Type_t, - System_Array_t, - System_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_Array_Sort_A2_1'); - late final _System_Array_Sort_A2_1 = _System_Array_Sort_A2_1Ptr.asFunction< - void Function(System_Type_t, System_Type_t, System_Array_t, - System_Array_t, int, int, ffi.Pointer)>(); - - System_Collections_IEnumerator_t System_Array_GetEnumerator( - System_Array_t self, - ffi.Pointer outException, - ) { - return _System_Array_GetEnumerator( - self, - outException, - ); - } - - late final _System_Array_GetEnumeratorPtr = _lookup< - ffi.NativeFunction< - System_Collections_IEnumerator_t Function(System_Array_t, - ffi.Pointer)>>('System_Array_GetEnumerator'); - late final _System_Array_GetEnumerator = - _System_Array_GetEnumeratorPtr.asFunction< - System_Collections_IEnumerator_t Function( - System_Array_t, ffi.Pointer)>(); - - int System_Array_Length_Get( - System_Array_t self, - ffi.Pointer outException, - ) { - return _System_Array_Length_Get( - self, - outException, - ); - } - - late final _System_Array_Length_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Array_t, - ffi.Pointer)>>('System_Array_Length_Get'); - late final _System_Array_Length_Get = _System_Array_Length_GetPtr.asFunction< - int Function(System_Array_t, ffi.Pointer)>(); - - int System_Array_LongLength_Get( - System_Array_t self, - ffi.Pointer outException, - ) { - return _System_Array_LongLength_Get( - self, - outException, - ); - } - - late final _System_Array_LongLength_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_Array_t, - ffi.Pointer)>>('System_Array_LongLength_Get'); - late final _System_Array_LongLength_Get = - _System_Array_LongLength_GetPtr.asFunction< - int Function(System_Array_t, ffi.Pointer)>(); - - int System_Array_Rank_Get( - System_Array_t self, - ffi.Pointer outException, - ) { - return _System_Array_Rank_Get( - self, - outException, - ); - } - - late final _System_Array_Rank_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Array_t, - ffi.Pointer)>>('System_Array_Rank_Get'); - late final _System_Array_Rank_Get = _System_Array_Rank_GetPtr.asFunction< - int Function(System_Array_t, ffi.Pointer)>(); - - System_Object_t System_Array_SyncRoot_Get( - System_Array_t self, - ffi.Pointer outException, - ) { - return _System_Array_SyncRoot_Get( - self, - outException, - ); - } - - late final _System_Array_SyncRoot_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Array_t, - ffi.Pointer)>>('System_Array_SyncRoot_Get'); - late final _System_Array_SyncRoot_Get = - _System_Array_SyncRoot_GetPtr.asFunction< - System_Object_t Function( - System_Array_t, ffi.Pointer)>(); - - bool System_Array_IsReadOnly_Get( - System_Array_t self, - ffi.Pointer outException, - ) { - return _System_Array_IsReadOnly_Get( - self, - outException, - ); - } - - late final _System_Array_IsReadOnly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Array_t, - ffi.Pointer)>>('System_Array_IsReadOnly_Get'); - late final _System_Array_IsReadOnly_Get = - _System_Array_IsReadOnly_GetPtr.asFunction< - bool Function(System_Array_t, ffi.Pointer)>(); - - bool System_Array_IsFixedSize_Get( - System_Array_t self, - ffi.Pointer outException, - ) { - return _System_Array_IsFixedSize_Get( - self, - outException, - ); - } - - late final _System_Array_IsFixedSize_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Array_t, ffi.Pointer)>>( - 'System_Array_IsFixedSize_Get'); - late final _System_Array_IsFixedSize_Get = - _System_Array_IsFixedSize_GetPtr.asFunction< - bool Function(System_Array_t, ffi.Pointer)>(); - - bool System_Array_IsSynchronized_Get( - System_Array_t self, - ffi.Pointer outException, - ) { - return _System_Array_IsSynchronized_Get( - self, - outException, - ); - } - - late final _System_Array_IsSynchronized_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Array_t, ffi.Pointer)>>( - 'System_Array_IsSynchronized_Get'); - late final _System_Array_IsSynchronized_Get = - _System_Array_IsSynchronized_GetPtr.asFunction< - bool Function(System_Array_t, ffi.Pointer)>(); - - int System_Array_MaxLength_Get( - ffi.Pointer outException, - ) { - return _System_Array_MaxLength_Get( - outException, - ); - } - - late final _System_Array_MaxLength_GetPtr = _lookup< - ffi - .NativeFunction)>>( - 'System_Array_MaxLength_Get'); - late final _System_Array_MaxLength_Get = _System_Array_MaxLength_GetPtr - .asFunction)>(); - - System_Type_t System_Array_TypeOf() { - return _System_Array_TypeOf(); - } - - late final _System_Array_TypeOfPtr = - _lookup>( - 'System_Array_TypeOf'); - late final _System_Array_TypeOf = - _System_Array_TypeOfPtr.asFunction(); - - void System_Array_Destroy( - System_Array_t self, - ) { - return _System_Array_Destroy( - self, - ); - } - - late final _System_Array_DestroyPtr = - _lookup>( - 'System_Array_Destroy'); - late final _System_Array_Destroy = - _System_Array_DestroyPtr.asFunction(); - - System_Object_t System_ICloneable_Clone( - System_ICloneable_t self, - ffi.Pointer outException, - ) { - return _System_ICloneable_Clone( - self, - outException, - ); - } - - late final _System_ICloneable_ClonePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_ICloneable_t, - ffi.Pointer)>>('System_ICloneable_Clone'); - late final _System_ICloneable_Clone = _System_ICloneable_ClonePtr.asFunction< - System_Object_t Function( - System_ICloneable_t, ffi.Pointer)>(); - - System_Type_t System_ICloneable_TypeOf() { - return _System_ICloneable_TypeOf(); - } - - late final _System_ICloneable_TypeOfPtr = - _lookup>( - 'System_ICloneable_TypeOf'); - late final _System_ICloneable_TypeOf = - _System_ICloneable_TypeOfPtr.asFunction(); - - void System_ICloneable_Destroy( - System_ICloneable_t self, - ) { - return _System_ICloneable_Destroy( - self, - ); - } - - late final _System_ICloneable_DestroyPtr = - _lookup>( - 'System_ICloneable_Destroy'); - late final _System_ICloneable_Destroy = _System_ICloneable_DestroyPtr - .asFunction(); - - int System_Collections_IList_Add( - System_Collections_IList_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Collections_IList_Add( - self, - value, - outException, - ); - } - - late final _System_Collections_IList_AddPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Collections_IList_t, System_Object_t, - ffi.Pointer)>>( - 'System_Collections_IList_Add'); - late final _System_Collections_IList_Add = - _System_Collections_IList_AddPtr.asFunction< - int Function(System_Collections_IList_t, System_Object_t, - ffi.Pointer)>(); - - bool System_Collections_IList_Contains( - System_Collections_IList_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Collections_IList_Contains( - self, - value, - outException, - ); - } - - late final _System_Collections_IList_ContainsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Collections_IList_t, System_Object_t, - ffi.Pointer)>>( - 'System_Collections_IList_Contains'); - late final _System_Collections_IList_Contains = - _System_Collections_IList_ContainsPtr.asFunction< - bool Function(System_Collections_IList_t, System_Object_t, - ffi.Pointer)>(); - - void System_Collections_IList_Clear( - System_Collections_IList_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IList_Clear( - self, - outException, - ); - } - - late final _System_Collections_IList_ClearPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_IList_t, - ffi.Pointer)>>( - 'System_Collections_IList_Clear'); - late final _System_Collections_IList_Clear = - _System_Collections_IList_ClearPtr.asFunction< - void Function( - System_Collections_IList_t, ffi.Pointer)>(); - - int System_Collections_IList_IndexOf( - System_Collections_IList_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Collections_IList_IndexOf( - self, - value, - outException, - ); - } - - late final _System_Collections_IList_IndexOfPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Collections_IList_t, System_Object_t, - ffi.Pointer)>>( - 'System_Collections_IList_IndexOf'); - late final _System_Collections_IList_IndexOf = - _System_Collections_IList_IndexOfPtr.asFunction< - int Function(System_Collections_IList_t, System_Object_t, - ffi.Pointer)>(); - - void System_Collections_IList_Insert( - System_Collections_IList_t self, - int index, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Collections_IList_Insert( - self, - index, - value, - outException, - ); - } - - late final _System_Collections_IList_InsertPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_IList_t, ffi.Int32, - System_Object_t, ffi.Pointer)>>( - 'System_Collections_IList_Insert'); - late final _System_Collections_IList_Insert = - _System_Collections_IList_InsertPtr.asFunction< - void Function(System_Collections_IList_t, int, System_Object_t, - ffi.Pointer)>(); - - void System_Collections_IList_Remove( - System_Collections_IList_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Collections_IList_Remove( - self, - value, - outException, - ); - } - - late final _System_Collections_IList_RemovePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_IList_t, System_Object_t, - ffi.Pointer)>>( - 'System_Collections_IList_Remove'); - late final _System_Collections_IList_Remove = - _System_Collections_IList_RemovePtr.asFunction< - void Function(System_Collections_IList_t, System_Object_t, - ffi.Pointer)>(); - - void System_Collections_IList_RemoveAt( - System_Collections_IList_t self, - int index, - ffi.Pointer outException, - ) { - return _System_Collections_IList_RemoveAt( - self, - index, - outException, - ); - } - - late final _System_Collections_IList_RemoveAtPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_IList_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Collections_IList_RemoveAt'); - late final _System_Collections_IList_RemoveAt = - _System_Collections_IList_RemoveAtPtr.asFunction< - void Function(System_Collections_IList_t, int, - ffi.Pointer)>(); - - System_Object_t System_Collections_IList_Item_Get( - System_Collections_IList_t self, - int index, - ffi.Pointer outException, - ) { - return _System_Collections_IList_Item_Get( - self, - index, - outException, - ); - } - - late final _System_Collections_IList_Item_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Collections_IList_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Collections_IList_Item_Get'); - late final _System_Collections_IList_Item_Get = - _System_Collections_IList_Item_GetPtr.asFunction< - System_Object_t Function(System_Collections_IList_t, int, - ffi.Pointer)>(); - - void System_Collections_IList_Item_Set( - System_Collections_IList_t self, - int index, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Collections_IList_Item_Set( - self, - index, - value, - outException, - ); - } - - late final _System_Collections_IList_Item_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_IList_t, ffi.Int32, - System_Object_t, ffi.Pointer)>>( - 'System_Collections_IList_Item_Set'); - late final _System_Collections_IList_Item_Set = - _System_Collections_IList_Item_SetPtr.asFunction< - void Function(System_Collections_IList_t, int, System_Object_t, - ffi.Pointer)>(); - - bool System_Collections_IList_IsReadOnly_Get( - System_Collections_IList_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IList_IsReadOnly_Get( - self, - outException, - ); - } - - late final _System_Collections_IList_IsReadOnly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Collections_IList_t, - ffi.Pointer)>>( - 'System_Collections_IList_IsReadOnly_Get'); - late final _System_Collections_IList_IsReadOnly_Get = - _System_Collections_IList_IsReadOnly_GetPtr.asFunction< - bool Function( - System_Collections_IList_t, ffi.Pointer)>(); - - bool System_Collections_IList_IsFixedSize_Get( - System_Collections_IList_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IList_IsFixedSize_Get( - self, - outException, - ); - } - - late final _System_Collections_IList_IsFixedSize_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Collections_IList_t, - ffi.Pointer)>>( - 'System_Collections_IList_IsFixedSize_Get'); - late final _System_Collections_IList_IsFixedSize_Get = - _System_Collections_IList_IsFixedSize_GetPtr.asFunction< - bool Function( - System_Collections_IList_t, ffi.Pointer)>(); - - System_Type_t System_Collections_IList_TypeOf() { - return _System_Collections_IList_TypeOf(); - } - - late final _System_Collections_IList_TypeOfPtr = - _lookup>( - 'System_Collections_IList_TypeOf'); - late final _System_Collections_IList_TypeOf = - _System_Collections_IList_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Collections_IList_Destroy( - System_Collections_IList_t self, - ) { - return _System_Collections_IList_Destroy( - self, - ); - } - - late final _System_Collections_IList_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_Collections_IList_Destroy'); - late final _System_Collections_IList_Destroy = - _System_Collections_IList_DestroyPtr.asFunction< - void Function(System_Collections_IList_t)>(); - - void System_Collections_ICollection_CopyTo( - System_Collections_ICollection_t self, - System_Array_t array, - int index, - ffi.Pointer outException, - ) { - return _System_Collections_ICollection_CopyTo( - self, - array, - index, - outException, - ); - } - - late final _System_Collections_ICollection_CopyToPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_ICollection_t, - System_Array_t, ffi.Int32, ffi.Pointer)>>( - 'System_Collections_ICollection_CopyTo'); - late final _System_Collections_ICollection_CopyTo = - _System_Collections_ICollection_CopyToPtr.asFunction< - void Function(System_Collections_ICollection_t, System_Array_t, int, - ffi.Pointer)>(); - - int System_Collections_ICollection_Count_Get( - System_Collections_ICollection_t self, - ffi.Pointer outException, - ) { - return _System_Collections_ICollection_Count_Get( - self, - outException, - ); - } - - late final _System_Collections_ICollection_Count_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Collections_ICollection_t, - ffi.Pointer)>>( - 'System_Collections_ICollection_Count_Get'); - late final _System_Collections_ICollection_Count_Get = - _System_Collections_ICollection_Count_GetPtr.asFunction< - int Function(System_Collections_ICollection_t, - ffi.Pointer)>(); - - System_Object_t System_Collections_ICollection_SyncRoot_Get( - System_Collections_ICollection_t self, - ffi.Pointer outException, - ) { - return _System_Collections_ICollection_SyncRoot_Get( - self, - outException, - ); - } - - late final _System_Collections_ICollection_SyncRoot_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Collections_ICollection_t, - ffi.Pointer)>>( - 'System_Collections_ICollection_SyncRoot_Get'); - late final _System_Collections_ICollection_SyncRoot_Get = - _System_Collections_ICollection_SyncRoot_GetPtr.asFunction< - System_Object_t Function(System_Collections_ICollection_t, - ffi.Pointer)>(); - - bool System_Collections_ICollection_IsSynchronized_Get( - System_Collections_ICollection_t self, - ffi.Pointer outException, - ) { - return _System_Collections_ICollection_IsSynchronized_Get( - self, - outException, - ); - } - - late final _System_Collections_ICollection_IsSynchronized_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Collections_ICollection_t, - ffi.Pointer)>>( - 'System_Collections_ICollection_IsSynchronized_Get'); - late final _System_Collections_ICollection_IsSynchronized_Get = - _System_Collections_ICollection_IsSynchronized_GetPtr.asFunction< - bool Function(System_Collections_ICollection_t, - ffi.Pointer)>(); - - System_Type_t System_Collections_ICollection_TypeOf() { - return _System_Collections_ICollection_TypeOf(); - } - - late final _System_Collections_ICollection_TypeOfPtr = - _lookup>( - 'System_Collections_ICollection_TypeOf'); - late final _System_Collections_ICollection_TypeOf = - _System_Collections_ICollection_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Collections_ICollection_Destroy( - System_Collections_ICollection_t self, - ) { - return _System_Collections_ICollection_Destroy( - self, - ); - } - - late final _System_Collections_ICollection_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Collections_ICollection_Destroy'); - late final _System_Collections_ICollection_Destroy = - _System_Collections_ICollection_DestroyPtr.asFunction< - void Function(System_Collections_ICollection_t)>(); - - System_Collections_IEnumerator_t System_Collections_IEnumerable_GetEnumerator( - System_Collections_IEnumerable_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IEnumerable_GetEnumerator( - self, - outException, - ); - } - - late final _System_Collections_IEnumerable_GetEnumeratorPtr = _lookup< - ffi.NativeFunction< - System_Collections_IEnumerator_t Function( - System_Collections_IEnumerable_t, - ffi.Pointer)>>( - 'System_Collections_IEnumerable_GetEnumerator'); - late final _System_Collections_IEnumerable_GetEnumerator = - _System_Collections_IEnumerable_GetEnumeratorPtr.asFunction< - System_Collections_IEnumerator_t Function( - System_Collections_IEnumerable_t, - ffi.Pointer)>(); - - System_Type_t System_Collections_IEnumerable_TypeOf() { - return _System_Collections_IEnumerable_TypeOf(); - } - - late final _System_Collections_IEnumerable_TypeOfPtr = - _lookup>( - 'System_Collections_IEnumerable_TypeOf'); - late final _System_Collections_IEnumerable_TypeOf = - _System_Collections_IEnumerable_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Collections_IEnumerable_Destroy( - System_Collections_IEnumerable_t self, - ) { - return _System_Collections_IEnumerable_Destroy( - self, - ); - } - - late final _System_Collections_IEnumerable_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Collections_IEnumerable_Destroy'); - late final _System_Collections_IEnumerable_Destroy = - _System_Collections_IEnumerable_DestroyPtr.asFunction< - void Function(System_Collections_IEnumerable_t)>(); - - bool System_Collections_IEnumerator_MoveNext( - System_Collections_IEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IEnumerator_MoveNext( - self, - outException, - ); - } - - late final _System_Collections_IEnumerator_MoveNextPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Collections_IEnumerator_t, - ffi.Pointer)>>( - 'System_Collections_IEnumerator_MoveNext'); - late final _System_Collections_IEnumerator_MoveNext = - _System_Collections_IEnumerator_MoveNextPtr.asFunction< - bool Function(System_Collections_IEnumerator_t, - ffi.Pointer)>(); - - void System_Collections_IEnumerator_Reset( - System_Collections_IEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IEnumerator_Reset( - self, - outException, - ); - } - - late final _System_Collections_IEnumerator_ResetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_IEnumerator_t, - ffi.Pointer)>>( - 'System_Collections_IEnumerator_Reset'); - late final _System_Collections_IEnumerator_Reset = - _System_Collections_IEnumerator_ResetPtr.asFunction< - void Function(System_Collections_IEnumerator_t, - ffi.Pointer)>(); - - System_Object_t System_Collections_IEnumerator_Current_Get( - System_Collections_IEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IEnumerator_Current_Get( - self, - outException, - ); - } - - late final _System_Collections_IEnumerator_Current_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Collections_IEnumerator_t, - ffi.Pointer)>>( - 'System_Collections_IEnumerator_Current_Get'); - late final _System_Collections_IEnumerator_Current_Get = - _System_Collections_IEnumerator_Current_GetPtr.asFunction< - System_Object_t Function(System_Collections_IEnumerator_t, - ffi.Pointer)>(); - - System_Type_t System_Collections_IEnumerator_TypeOf() { - return _System_Collections_IEnumerator_TypeOf(); - } - - late final _System_Collections_IEnumerator_TypeOfPtr = - _lookup>( - 'System_Collections_IEnumerator_TypeOf'); - late final _System_Collections_IEnumerator_TypeOf = - _System_Collections_IEnumerator_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Collections_IEnumerator_Destroy( - System_Collections_IEnumerator_t self, - ) { - return _System_Collections_IEnumerator_Destroy( - self, - ); - } - - late final _System_Collections_IEnumerator_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Collections_IEnumerator_Destroy'); - late final _System_Collections_IEnumerator_Destroy = - _System_Collections_IEnumerator_DestroyPtr.asFunction< - void Function(System_Collections_IEnumerator_t)>(); - - System_Type_t System_Boolean_TypeOf() { - return _System_Boolean_TypeOf(); - } - - late final _System_Boolean_TypeOfPtr = - _lookup>( - 'System_Boolean_TypeOf'); - late final _System_Boolean_TypeOf = - _System_Boolean_TypeOfPtr.asFunction(); - - bool System_ValueType_Equals( - System_ValueType_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_ValueType_Equals( - self, - obj, - outException, - ); - } - - late final _System_ValueType_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_ValueType_t, System_Object_t, - ffi.Pointer)>>('System_ValueType_Equals'); - late final _System_ValueType_Equals = _System_ValueType_EqualsPtr.asFunction< - bool Function(System_ValueType_t, System_Object_t, - ffi.Pointer)>(); - - int System_ValueType_GetHashCode( - System_ValueType_t self, - ffi.Pointer outException, - ) { - return _System_ValueType_GetHashCode( - self, - outException, - ); - } - - late final _System_ValueType_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_ValueType_t, ffi.Pointer)>>( - 'System_ValueType_GetHashCode'); - late final _System_ValueType_GetHashCode = - _System_ValueType_GetHashCodePtr.asFunction< - int Function(System_ValueType_t, ffi.Pointer)>(); - - System_String_t System_ValueType_ToString( - System_ValueType_t self, - ffi.Pointer outException, - ) { - return _System_ValueType_ToString( - self, - outException, - ); - } - - late final _System_ValueType_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_ValueType_t, - ffi.Pointer)>>('System_ValueType_ToString'); - late final _System_ValueType_ToString = - _System_ValueType_ToStringPtr.asFunction< - System_String_t Function( - System_ValueType_t, ffi.Pointer)>(); - - System_Type_t System_ValueType_TypeOf() { - return _System_ValueType_TypeOf(); - } - - late final _System_ValueType_TypeOfPtr = - _lookup>( - 'System_ValueType_TypeOf'); - late final _System_ValueType_TypeOf = - _System_ValueType_TypeOfPtr.asFunction(); - - void System_ValueType_Destroy( - System_ValueType_t self, - ) { - return _System_ValueType_Destroy( - self, - ); - } - - late final _System_ValueType_DestroyPtr = - _lookup>( - 'System_ValueType_Destroy'); - late final _System_ValueType_Destroy = _System_ValueType_DestroyPtr - .asFunction(); - - System_Type_t System_Int32_TypeOf() { - return _System_Int32_TypeOf(); - } - - late final _System_Int32_TypeOfPtr = - _lookup>( - 'System_Int32_TypeOf'); - late final _System_Int32_TypeOf = - _System_Int32_TypeOfPtr.asFunction(); - - int System_IComparable_CompareTo( - System_IComparable_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_IComparable_CompareTo( - self, - obj, - outException, - ); - } - - late final _System_IComparable_CompareToPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_IComparable_t, System_Object_t, - ffi.Pointer)>>( - 'System_IComparable_CompareTo'); - late final _System_IComparable_CompareTo = - _System_IComparable_CompareToPtr.asFunction< - int Function(System_IComparable_t, System_Object_t, - ffi.Pointer)>(); - - System_Type_t System_IComparable_TypeOf() { - return _System_IComparable_TypeOf(); - } - - late final _System_IComparable_TypeOfPtr = - _lookup>( - 'System_IComparable_TypeOf'); - late final _System_IComparable_TypeOf = - _System_IComparable_TypeOfPtr.asFunction(); - - void System_IComparable_Destroy( - System_IComparable_t self, - ) { - return _System_IComparable_Destroy( - self, - ); - } - - late final _System_IComparable_DestroyPtr = - _lookup>( - 'System_IComparable_Destroy'); - late final _System_IComparable_Destroy = _System_IComparable_DestroyPtr - .asFunction(); - - int System_IConvertible_GetTypeCode( - System_IConvertible_t self, - ffi.Pointer outException, - ) { - return _System_IConvertible_GetTypeCode( - self, - outException, - ); - } - - late final _System_IConvertible_GetTypeCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_IConvertible_t, ffi.Pointer)>>( - 'System_IConvertible_GetTypeCode'); - late final _System_IConvertible_GetTypeCode = - _System_IConvertible_GetTypeCodePtr.asFunction< - int Function( - System_IConvertible_t, ffi.Pointer)>(); - - bool System_IConvertible_ToBoolean( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToBoolean( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToBooleanPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>>( - 'System_IConvertible_ToBoolean'); - late final _System_IConvertible_ToBoolean = - _System_IConvertible_ToBooleanPtr.asFunction< - bool Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - int System_IConvertible_ToChar( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToChar( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToCharPtr = _lookup< - ffi.NativeFunction< - ffi.WChar Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_IConvertible_ToChar'); - late final _System_IConvertible_ToChar = - _System_IConvertible_ToCharPtr.asFunction< - int Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - int System_IConvertible_ToSByte( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToSByte( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToSBytePtr = _lookup< - ffi.NativeFunction< - ffi.Int8 Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_IConvertible_ToSByte'); - late final _System_IConvertible_ToSByte = - _System_IConvertible_ToSBytePtr.asFunction< - int Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - int System_IConvertible_ToByte( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToByte( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToBytePtr = _lookup< - ffi.NativeFunction< - ffi.Uint8 Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_IConvertible_ToByte'); - late final _System_IConvertible_ToByte = - _System_IConvertible_ToBytePtr.asFunction< - int Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - int System_IConvertible_ToInt16( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToInt16( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToInt16Ptr = _lookup< - ffi.NativeFunction< - ffi.Int16 Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_IConvertible_ToInt16'); - late final _System_IConvertible_ToInt16 = - _System_IConvertible_ToInt16Ptr.asFunction< - int Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - int System_IConvertible_ToUInt16( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToUInt16( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToUInt16Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint16 Function(System_IConvertible_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_IConvertible_ToUInt16'); - late final _System_IConvertible_ToUInt16 = - _System_IConvertible_ToUInt16Ptr.asFunction< - int Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - int System_IConvertible_ToInt32( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToInt32( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToInt32Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_IConvertible_ToInt32'); - late final _System_IConvertible_ToInt32 = - _System_IConvertible_ToInt32Ptr.asFunction< - int Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - int System_IConvertible_ToUInt32( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToUInt32( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToUInt32Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function(System_IConvertible_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_IConvertible_ToUInt32'); - late final _System_IConvertible_ToUInt32 = - _System_IConvertible_ToUInt32Ptr.asFunction< - int Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - int System_IConvertible_ToInt64( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToInt64( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToInt64Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_IConvertible_ToInt64'); - late final _System_IConvertible_ToInt64 = - _System_IConvertible_ToInt64Ptr.asFunction< - int Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - int System_IConvertible_ToUInt64( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToUInt64( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToUInt64Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint64 Function(System_IConvertible_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_IConvertible_ToUInt64'); - late final _System_IConvertible_ToUInt64 = - _System_IConvertible_ToUInt64Ptr.asFunction< - int Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - double System_IConvertible_ToSingle( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToSingle( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToSinglePtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(System_IConvertible_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_IConvertible_ToSingle'); - late final _System_IConvertible_ToSingle = - _System_IConvertible_ToSinglePtr.asFunction< - double Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - double System_IConvertible_ToDouble( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToDouble( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToDoublePtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(System_IConvertible_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_IConvertible_ToDouble'); - late final _System_IConvertible_ToDouble = - _System_IConvertible_ToDoublePtr.asFunction< - double Function(System_IConvertible_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - System_Decimal_t System_IConvertible_ToDecimal( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToDecimal( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToDecimalPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_IConvertible_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_IConvertible_ToDecimal'); - late final _System_IConvertible_ToDecimal = - _System_IConvertible_ToDecimalPtr.asFunction< - System_Decimal_t Function(System_IConvertible_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_DateTime_t System_IConvertible_ToDateTime( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToDateTime( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToDateTimePtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_IConvertible_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_IConvertible_ToDateTime'); - late final _System_IConvertible_ToDateTime = - _System_IConvertible_ToDateTimePtr.asFunction< - System_DateTime_t Function(System_IConvertible_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_String_t System_IConvertible_ToString( - System_IConvertible_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToString( - self, - provider, - outException, - ); - } - - late final _System_IConvertible_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_IConvertible_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_IConvertible_ToString'); - late final _System_IConvertible_ToString = - _System_IConvertible_ToStringPtr.asFunction< - System_String_t Function(System_IConvertible_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_Object_t System_IConvertible_ToType( - System_IConvertible_t self, - System_Type_t conversionType, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_IConvertible_ToType( - self, - conversionType, - provider, - outException, - ); - } - - late final _System_IConvertible_ToTypePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_IConvertible_t, - System_Type_t, - System_IFormatProvider_t, - ffi.Pointer)>>('System_IConvertible_ToType'); - late final _System_IConvertible_ToType = - _System_IConvertible_ToTypePtr.asFunction< - System_Object_t Function(System_IConvertible_t, System_Type_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_Type_t System_IConvertible_TypeOf() { - return _System_IConvertible_TypeOf(); - } - - late final _System_IConvertible_TypeOfPtr = - _lookup>( - 'System_IConvertible_TypeOf'); - late final _System_IConvertible_TypeOf = - _System_IConvertible_TypeOfPtr.asFunction(); - - void System_IConvertible_Destroy( - System_IConvertible_t self, - ) { - return _System_IConvertible_Destroy( - self, - ); - } - - late final _System_IConvertible_DestroyPtr = - _lookup>( - 'System_IConvertible_Destroy'); - late final _System_IConvertible_Destroy = _System_IConvertible_DestroyPtr - .asFunction(); - - System_String_t System_Enum_GetName( - System_Type_t enumType, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Enum_GetName( - enumType, - value, - outException, - ); - } - - late final _System_Enum_GetNamePtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Type_t, System_Object_t, - ffi.Pointer)>>('System_Enum_GetName'); - late final _System_Enum_GetName = _System_Enum_GetNamePtr.asFunction< - System_String_t Function( - System_Type_t, System_Object_t, ffi.Pointer)>(); - - System_String_Array_t System_Enum_GetNames_A1( - System_Type_t TEnum, - ffi.Pointer outException, - ) { - return _System_Enum_GetNames_A1( - TEnum, - outException, - ); - } - - late final _System_Enum_GetNames_A1Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Enum_GetNames_A1'); - late final _System_Enum_GetNames_A1 = _System_Enum_GetNames_A1Ptr.asFunction< - System_String_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_String_Array_t System_Enum_GetNames_1( - System_Type_t enumType, - ffi.Pointer outException, - ) { - return _System_Enum_GetNames_1( - enumType, - outException, - ); - } - - late final _System_Enum_GetNames_1Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Enum_GetNames_1'); - late final _System_Enum_GetNames_1 = _System_Enum_GetNames_1Ptr.asFunction< - System_String_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Type_t System_Enum_GetUnderlyingType( - System_Type_t enumType, - ffi.Pointer outException, - ) { - return _System_Enum_GetUnderlyingType( - enumType, - outException, - ); - } - - late final _System_Enum_GetUnderlyingTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Enum_GetUnderlyingType'); - late final _System_Enum_GetUnderlyingType = - _System_Enum_GetUnderlyingTypePtr.asFunction< - System_Type_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Array_t System_Enum_GetValues_A1( - System_Type_t TEnum, - ffi.Pointer outException, - ) { - return _System_Enum_GetValues_A1( - TEnum, - outException, - ); - } - - late final _System_Enum_GetValues_A1Ptr = _lookup< - ffi.NativeFunction< - System_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Enum_GetValues_A1'); - late final _System_Enum_GetValues_A1 = - _System_Enum_GetValues_A1Ptr.asFunction< - System_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Array_t System_Enum_GetValues_1( - System_Type_t enumType, - ffi.Pointer outException, - ) { - return _System_Enum_GetValues_1( - enumType, - outException, - ); - } - - late final _System_Enum_GetValues_1Ptr = _lookup< - ffi.NativeFunction< - System_Array_t Function(System_Type_t, - ffi.Pointer)>>('System_Enum_GetValues_1'); - late final _System_Enum_GetValues_1 = _System_Enum_GetValues_1Ptr.asFunction< - System_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Array_t System_Enum_GetValuesAsUnderlyingType_A1( - System_Type_t TEnum, - ffi.Pointer outException, - ) { - return _System_Enum_GetValuesAsUnderlyingType_A1( - TEnum, - outException, - ); - } - - late final _System_Enum_GetValuesAsUnderlyingType_A1Ptr = _lookup< - ffi.NativeFunction< - System_Array_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Enum_GetValuesAsUnderlyingType_A1'); - late final _System_Enum_GetValuesAsUnderlyingType_A1 = - _System_Enum_GetValuesAsUnderlyingType_A1Ptr.asFunction< - System_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Array_t System_Enum_GetValuesAsUnderlyingType_1( - System_Type_t enumType, - ffi.Pointer outException, - ) { - return _System_Enum_GetValuesAsUnderlyingType_1( - enumType, - outException, - ); - } - - late final _System_Enum_GetValuesAsUnderlyingType_1Ptr = _lookup< - ffi.NativeFunction< - System_Array_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Enum_GetValuesAsUnderlyingType_1'); - late final _System_Enum_GetValuesAsUnderlyingType_1 = - _System_Enum_GetValuesAsUnderlyingType_1Ptr.asFunction< - System_Array_t Function( - System_Type_t, ffi.Pointer)>(); - - bool System_Enum_HasFlag( - System_Enum_t self, - System_Enum_t flag, - ffi.Pointer outException, - ) { - return _System_Enum_HasFlag( - self, - flag, - outException, - ); - } - - late final _System_Enum_HasFlagPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Enum_t, System_Enum_t, - ffi.Pointer)>>('System_Enum_HasFlag'); - late final _System_Enum_HasFlag = _System_Enum_HasFlagPtr.asFunction< - bool Function( - System_Enum_t, System_Enum_t, ffi.Pointer)>(); - - bool System_Enum_IsDefined( - System_Type_t enumType, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Enum_IsDefined( - enumType, - value, - outException, - ); - } - - late final _System_Enum_IsDefinedPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Type_t, System_Object_t, - ffi.Pointer)>>('System_Enum_IsDefined'); - late final _System_Enum_IsDefined = _System_Enum_IsDefinedPtr.asFunction< - bool Function( - System_Type_t, System_Object_t, ffi.Pointer)>(); - - System_Object_t System_Enum_Parse( - System_Type_t enumType, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Enum_Parse( - enumType, - value, - outException, - ); - } - - late final _System_Enum_ParsePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Type_t, System_String_t, - ffi.Pointer)>>('System_Enum_Parse'); - late final _System_Enum_Parse = _System_Enum_ParsePtr.asFunction< - System_Object_t Function( - System_Type_t, System_String_t, ffi.Pointer)>(); - - System_Object_t System_Enum_Parse_1( - System_Type_t enumType, - System_String_t value, - bool ignoreCase, - ffi.Pointer outException, - ) { - return _System_Enum_Parse_1( - enumType, - value, - ignoreCase, - outException, - ); - } - - late final _System_Enum_Parse_1Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Type_t, System_String_t, ffi.Bool, - ffi.Pointer)>>('System_Enum_Parse_1'); - late final _System_Enum_Parse_1 = _System_Enum_Parse_1Ptr.asFunction< - System_Object_t Function(System_Type_t, System_String_t, bool, - ffi.Pointer)>(); - - bool System_Enum_TryParse( - System_Type_t enumType, - System_String_t value, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_Enum_TryParse( - enumType, - value, - result, - outException, - ); - } - - late final _System_Enum_TryParsePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, - System_String_t, - ffi.Pointer, - ffi.Pointer)>>('System_Enum_TryParse'); - late final _System_Enum_TryParse = _System_Enum_TryParsePtr.asFunction< - bool Function(System_Type_t, System_String_t, - ffi.Pointer, ffi.Pointer)>(); - - bool System_Enum_TryParse_1( - System_Type_t enumType, - System_String_t value, - bool ignoreCase, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_Enum_TryParse_1( - enumType, - value, - ignoreCase, - result, - outException, - ); - } - - late final _System_Enum_TryParse_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, - System_String_t, - ffi.Bool, - ffi.Pointer, - ffi.Pointer)>>('System_Enum_TryParse_1'); - late final _System_Enum_TryParse_1 = _System_Enum_TryParse_1Ptr.asFunction< - bool Function(System_Type_t, System_String_t, bool, - ffi.Pointer, ffi.Pointer)>(); - - bool System_Enum_Equals( - System_Enum_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Enum_Equals( - self, - obj, - outException, - ); - } - - late final _System_Enum_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Enum_t, System_Object_t, - ffi.Pointer)>>('System_Enum_Equals'); - late final _System_Enum_Equals = _System_Enum_EqualsPtr.asFunction< - bool Function( - System_Enum_t, System_Object_t, ffi.Pointer)>(); - - int System_Enum_GetHashCode( - System_Enum_t self, - ffi.Pointer outException, - ) { - return _System_Enum_GetHashCode( - self, - outException, - ); - } - - late final _System_Enum_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Enum_t, - ffi.Pointer)>>('System_Enum_GetHashCode'); - late final _System_Enum_GetHashCode = _System_Enum_GetHashCodePtr.asFunction< - int Function(System_Enum_t, ffi.Pointer)>(); - - int System_Enum_CompareTo( - System_Enum_t self, - System_Object_t target, - ffi.Pointer outException, - ) { - return _System_Enum_CompareTo( - self, - target, - outException, - ); - } - - late final _System_Enum_CompareToPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Enum_t, System_Object_t, - ffi.Pointer)>>('System_Enum_CompareTo'); - late final _System_Enum_CompareTo = _System_Enum_CompareToPtr.asFunction< - int Function( - System_Enum_t, System_Object_t, ffi.Pointer)>(); - - System_String_t System_Enum_ToString( - System_Enum_t self, - ffi.Pointer outException, - ) { - return _System_Enum_ToString( - self, - outException, - ); - } - - late final _System_Enum_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Enum_t, - ffi.Pointer)>>('System_Enum_ToString'); - late final _System_Enum_ToString = _System_Enum_ToStringPtr.asFunction< - System_String_t Function( - System_Enum_t, ffi.Pointer)>(); - - System_String_t System_Enum_ToString_1( - System_Enum_t self, - System_String_t format, - ffi.Pointer outException, - ) { - return _System_Enum_ToString_1( - self, - format, - outException, - ); - } - - late final _System_Enum_ToString_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Enum_t, System_String_t, - ffi.Pointer)>>('System_Enum_ToString_1'); - late final _System_Enum_ToString_1 = _System_Enum_ToString_1Ptr.asFunction< - System_String_t Function( - System_Enum_t, System_String_t, ffi.Pointer)>(); - - System_String_t System_Enum_ToString_2( - System_Enum_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_Enum_ToString_2( - self, - provider, - outException, - ); - } - - late final _System_Enum_ToString_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Enum_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_Enum_ToString_2'); - late final _System_Enum_ToString_2 = _System_Enum_ToString_2Ptr.asFunction< - System_String_t Function(System_Enum_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - System_String_t System_Enum_ToString_3( - System_Enum_t self, - System_String_t format, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_Enum_ToString_3( - self, - format, - provider, - outException, - ); - } - - late final _System_Enum_ToString_3Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Enum_t, - System_String_t, - System_IFormatProvider_t, - ffi.Pointer)>>('System_Enum_ToString_3'); - late final _System_Enum_ToString_3 = _System_Enum_ToString_3Ptr.asFunction< - System_String_t Function(System_Enum_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_String_t System_Enum_Format( - System_Type_t enumType, - System_Object_t value, - System_String_t format, - ffi.Pointer outException, - ) { - return _System_Enum_Format( - enumType, - value, - format, - outException, - ); - } - - late final _System_Enum_FormatPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Type_t, - System_Object_t, - System_String_t, - ffi.Pointer)>>('System_Enum_Format'); - late final _System_Enum_Format = _System_Enum_FormatPtr.asFunction< - System_String_t Function(System_Type_t, System_Object_t, System_String_t, - ffi.Pointer)>(); - - int System_Enum_GetTypeCode( - System_Enum_t self, - ffi.Pointer outException, - ) { - return _System_Enum_GetTypeCode( - self, - outException, - ); - } - - late final _System_Enum_GetTypeCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Enum_t, - ffi.Pointer)>>('System_Enum_GetTypeCode'); - late final _System_Enum_GetTypeCode = _System_Enum_GetTypeCodePtr.asFunction< - int Function(System_Enum_t, ffi.Pointer)>(); - - System_Object_t System_Enum_ToObject( - System_Type_t enumType, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Enum_ToObject( - enumType, - value, - outException, - ); - } - - late final _System_Enum_ToObjectPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Type_t, System_Object_t, - ffi.Pointer)>>('System_Enum_ToObject'); - late final _System_Enum_ToObject = _System_Enum_ToObjectPtr.asFunction< - System_Object_t Function( - System_Type_t, System_Object_t, ffi.Pointer)>(); - - System_Object_t System_Enum_ToObject_1( - System_Type_t enumType, - int value, - ffi.Pointer outException, - ) { - return _System_Enum_ToObject_1( - enumType, - value, - outException, - ); - } - - late final _System_Enum_ToObject_1Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Type_t, ffi.Int8, - ffi.Pointer)>>('System_Enum_ToObject_1'); - late final _System_Enum_ToObject_1 = _System_Enum_ToObject_1Ptr.asFunction< - System_Object_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Object_t System_Enum_ToObject_2( - System_Type_t enumType, - int value, - ffi.Pointer outException, - ) { - return _System_Enum_ToObject_2( - enumType, - value, - outException, - ); - } - - late final _System_Enum_ToObject_2Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Type_t, ffi.Int16, - ffi.Pointer)>>('System_Enum_ToObject_2'); - late final _System_Enum_ToObject_2 = _System_Enum_ToObject_2Ptr.asFunction< - System_Object_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Object_t System_Enum_ToObject_3( - System_Type_t enumType, - int value, - ffi.Pointer outException, - ) { - return _System_Enum_ToObject_3( - enumType, - value, - outException, - ); - } - - late final _System_Enum_ToObject_3Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Type_t, ffi.Int32, - ffi.Pointer)>>('System_Enum_ToObject_3'); - late final _System_Enum_ToObject_3 = _System_Enum_ToObject_3Ptr.asFunction< - System_Object_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Object_t System_Enum_ToObject_4( - System_Type_t enumType, - int value, - ffi.Pointer outException, - ) { - return _System_Enum_ToObject_4( - enumType, - value, - outException, - ); - } - - late final _System_Enum_ToObject_4Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Type_t, ffi.Uint8, - ffi.Pointer)>>('System_Enum_ToObject_4'); - late final _System_Enum_ToObject_4 = _System_Enum_ToObject_4Ptr.asFunction< - System_Object_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Object_t System_Enum_ToObject_5( - System_Type_t enumType, - int value, - ffi.Pointer outException, - ) { - return _System_Enum_ToObject_5( - enumType, - value, - outException, - ); - } - - late final _System_Enum_ToObject_5Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Type_t, ffi.Uint16, - ffi.Pointer)>>('System_Enum_ToObject_5'); - late final _System_Enum_ToObject_5 = _System_Enum_ToObject_5Ptr.asFunction< - System_Object_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Object_t System_Enum_ToObject_6( - System_Type_t enumType, - int value, - ffi.Pointer outException, - ) { - return _System_Enum_ToObject_6( - enumType, - value, - outException, - ); - } - - late final _System_Enum_ToObject_6Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Type_t, ffi.Uint32, - ffi.Pointer)>>('System_Enum_ToObject_6'); - late final _System_Enum_ToObject_6 = _System_Enum_ToObject_6Ptr.asFunction< - System_Object_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Object_t System_Enum_ToObject_7( - System_Type_t enumType, - int value, - ffi.Pointer outException, - ) { - return _System_Enum_ToObject_7( - enumType, - value, - outException, - ); - } - - late final _System_Enum_ToObject_7Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Type_t, ffi.Int64, - ffi.Pointer)>>('System_Enum_ToObject_7'); - late final _System_Enum_ToObject_7 = _System_Enum_ToObject_7Ptr.asFunction< - System_Object_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Object_t System_Enum_ToObject_8( - System_Type_t enumType, - int value, - ffi.Pointer outException, - ) { - return _System_Enum_ToObject_8( - enumType, - value, - outException, - ); - } - - late final _System_Enum_ToObject_8Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Type_t, ffi.Uint64, - ffi.Pointer)>>('System_Enum_ToObject_8'); - late final _System_Enum_ToObject_8 = _System_Enum_ToObject_8Ptr.asFunction< - System_Object_t Function( - System_Type_t, int, ffi.Pointer)>(); - - System_Type_t System_Enum_TypeOf() { - return _System_Enum_TypeOf(); - } - - late final _System_Enum_TypeOfPtr = - _lookup>( - 'System_Enum_TypeOf'); - late final _System_Enum_TypeOf = - _System_Enum_TypeOfPtr.asFunction(); - - void System_Enum_Destroy( - System_Enum_t self, - ) { - return _System_Enum_Destroy( - self, - ); - } - - late final _System_Enum_DestroyPtr = - _lookup>( - 'System_Enum_Destroy'); - late final _System_Enum_Destroy = - _System_Enum_DestroyPtr.asFunction(); - - System_Type_t System_ISpanFormattable_TypeOf() { - return _System_ISpanFormattable_TypeOf(); - } - - late final _System_ISpanFormattable_TypeOfPtr = - _lookup>( - 'System_ISpanFormattable_TypeOf'); - late final _System_ISpanFormattable_TypeOf = - _System_ISpanFormattable_TypeOfPtr.asFunction(); - - void System_ISpanFormattable_Destroy( - System_ISpanFormattable_t self, - ) { - return _System_ISpanFormattable_Destroy( - self, - ); - } - - late final _System_ISpanFormattable_DestroyPtr = - _lookup>( - 'System_ISpanFormattable_Destroy'); - late final _System_ISpanFormattable_Destroy = - _System_ISpanFormattable_DestroyPtr.asFunction< - void Function(System_ISpanFormattable_t)>(); - - System_String_t System_IFormattable_ToString( - System_IFormattable_t self, - System_String_t format, - System_IFormatProvider_t formatProvider, - ffi.Pointer outException, - ) { - return _System_IFormattable_ToString( - self, - format, - formatProvider, - outException, - ); - } - - late final _System_IFormattable_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_IFormattable_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_IFormattable_ToString'); - late final _System_IFormattable_ToString = - _System_IFormattable_ToStringPtr.asFunction< - System_String_t Function(System_IFormattable_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_Type_t System_IFormattable_TypeOf() { - return _System_IFormattable_TypeOf(); - } - - late final _System_IFormattable_TypeOfPtr = - _lookup>( - 'System_IFormattable_TypeOf'); - late final _System_IFormattable_TypeOf = - _System_IFormattable_TypeOfPtr.asFunction(); - - void System_IFormattable_Destroy( - System_IFormattable_t self, - ) { - return _System_IFormattable_Destroy( - self, - ); - } - - late final _System_IFormattable_DestroyPtr = - _lookup>( - 'System_IFormattable_Destroy'); - late final _System_IFormattable_Destroy = _System_IFormattable_DestroyPtr - .asFunction(); - - System_String_t System_String_Intern( - System_String_t str, - ffi.Pointer outException, - ) { - return _System_String_Intern( - str, - outException, - ); - } - - late final _System_String_InternPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, - ffi.Pointer)>>('System_String_Intern'); - late final _System_String_Intern = _System_String_InternPtr.asFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_IsInterned( - System_String_t str, - ffi.Pointer outException, - ) { - return _System_String_IsInterned( - str, - outException, - ); - } - - late final _System_String_IsInternedPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, - ffi.Pointer)>>('System_String_IsInterned'); - late final _System_String_IsInterned = - _System_String_IsInternedPtr.asFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>(); - - int System_String_Compare( - System_String_t strA, - System_String_t strB, - ffi.Pointer outException, - ) { - return _System_String_Compare( - strA, - strB, - outException, - ); - } - - late final _System_String_ComparePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_String_t, - ffi.Pointer)>>('System_String_Compare'); - late final _System_String_Compare = _System_String_ComparePtr.asFunction< - int Function( - System_String_t, System_String_t, ffi.Pointer)>(); - - int System_String_Compare_1( - System_String_t strA, - System_String_t strB, - bool ignoreCase, - ffi.Pointer outException, - ) { - return _System_String_Compare_1( - strA, - strB, - ignoreCase, - outException, - ); - } - - late final _System_String_Compare_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_String_t, ffi.Bool, - ffi.Pointer)>>('System_String_Compare_1'); - late final _System_String_Compare_1 = _System_String_Compare_1Ptr.asFunction< - int Function(System_String_t, System_String_t, bool, - ffi.Pointer)>(); - - int System_String_Compare_2( - System_String_t strA, - System_String_t strB, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_Compare_2( - strA, - strB, - comparisonType, - outException, - ); - } - - late final _System_String_Compare_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_Compare_2'); - late final _System_String_Compare_2 = _System_String_Compare_2Ptr.asFunction< - int Function(System_String_t, System_String_t, int, - ffi.Pointer)>(); - - int System_String_Compare_3( - System_String_t strA, - System_String_t strB, - System_Globalization_CultureInfo_t culture, - int options, - ffi.Pointer outException, - ) { - return _System_String_Compare_3( - strA, - strB, - culture, - options, - outException, - ); - } - - late final _System_String_Compare_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - System_String_t, - System_Globalization_CultureInfo_t, - ffi.Int32, - ffi.Pointer)>>('System_String_Compare_3'); - late final _System_String_Compare_3 = _System_String_Compare_3Ptr.asFunction< - int Function( - System_String_t, - System_String_t, - System_Globalization_CultureInfo_t, - int, - ffi.Pointer)>(); - - int System_String_Compare_4( - System_String_t strA, - System_String_t strB, - bool ignoreCase, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_String_Compare_4( - strA, - strB, - ignoreCase, - culture, - outException, - ); - } - - late final _System_String_Compare_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - System_String_t, - ffi.Bool, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>('System_String_Compare_4'); - late final _System_String_Compare_4 = _System_String_Compare_4Ptr.asFunction< - int Function( - System_String_t, - System_String_t, - bool, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - int System_String_Compare_5( - System_String_t strA, - int indexA, - System_String_t strB, - int indexB, - int length, - ffi.Pointer outException, - ) { - return _System_String_Compare_5( - strA, - indexA, - strB, - indexB, - length, - outException, - ); - } - - late final _System_String_Compare_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - ffi.Int32, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_Compare_5'); - late final _System_String_Compare_5 = _System_String_Compare_5Ptr.asFunction< - int Function(System_String_t, int, System_String_t, int, int, - ffi.Pointer)>(); - - int System_String_Compare_6( - System_String_t strA, - int indexA, - System_String_t strB, - int indexB, - int length, - bool ignoreCase, - ffi.Pointer outException, - ) { - return _System_String_Compare_6( - strA, - indexA, - strB, - indexB, - length, - ignoreCase, - outException, - ); - } - - late final _System_String_Compare_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - ffi.Int32, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Bool, - ffi.Pointer)>>('System_String_Compare_6'); - late final _System_String_Compare_6 = _System_String_Compare_6Ptr.asFunction< - int Function(System_String_t, int, System_String_t, int, int, bool, - ffi.Pointer)>(); - - int System_String_Compare_7( - System_String_t strA, - int indexA, - System_String_t strB, - int indexB, - int length, - bool ignoreCase, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_String_Compare_7( - strA, - indexA, - strB, - indexB, - length, - ignoreCase, - culture, - outException, - ); - } - - late final _System_String_Compare_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - ffi.Int32, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Bool, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>('System_String_Compare_7'); - late final _System_String_Compare_7 = _System_String_Compare_7Ptr.asFunction< - int Function( - System_String_t, - int, - System_String_t, - int, - int, - bool, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - int System_String_Compare_8( - System_String_t strA, - int indexA, - System_String_t strB, - int indexB, - int length, - System_Globalization_CultureInfo_t culture, - int options, - ffi.Pointer outException, - ) { - return _System_String_Compare_8( - strA, - indexA, - strB, - indexB, - length, - culture, - options, - outException, - ); - } - - late final _System_String_Compare_8Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - ffi.Int32, - System_String_t, - ffi.Int32, - ffi.Int32, - System_Globalization_CultureInfo_t, - ffi.Int32, - ffi.Pointer)>>('System_String_Compare_8'); - late final _System_String_Compare_8 = _System_String_Compare_8Ptr.asFunction< - int Function( - System_String_t, - int, - System_String_t, - int, - int, - System_Globalization_CultureInfo_t, - int, - ffi.Pointer)>(); - - int System_String_Compare_9( - System_String_t strA, - int indexA, - System_String_t strB, - int indexB, - int length, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_Compare_9( - strA, - indexA, - strB, - indexB, - length, - comparisonType, - outException, - ); - } - - late final _System_String_Compare_9Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - ffi.Int32, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_Compare_9'); - late final _System_String_Compare_9 = _System_String_Compare_9Ptr.asFunction< - int Function(System_String_t, int, System_String_t, int, int, int, - ffi.Pointer)>(); - - int System_String_CompareOrdinal( - System_String_t strA, - System_String_t strB, - ffi.Pointer outException, - ) { - return _System_String_CompareOrdinal( - strA, - strB, - outException, - ); - } - - late final _System_String_CompareOrdinalPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_String_t, - ffi.Pointer)>>( - 'System_String_CompareOrdinal'); - late final _System_String_CompareOrdinal = - _System_String_CompareOrdinalPtr.asFunction< - int Function(System_String_t, System_String_t, - ffi.Pointer)>(); - - int System_String_CompareOrdinal_1( - System_String_t strA, - int indexA, - System_String_t strB, - int indexB, - int length, - ffi.Pointer outException, - ) { - return _System_String_CompareOrdinal_1( - strA, - indexA, - strB, - indexB, - length, - outException, - ); - } - - late final _System_String_CompareOrdinal_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, ffi.Int32, System_String_t, - ffi.Int32, ffi.Int32, ffi.Pointer)>>( - 'System_String_CompareOrdinal_1'); - late final _System_String_CompareOrdinal_1 = - _System_String_CompareOrdinal_1Ptr.asFunction< - int Function(System_String_t, int, System_String_t, int, int, - ffi.Pointer)>(); - - int System_String_CompareTo( - System_String_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_String_CompareTo( - self, - value, - outException, - ); - } - - late final _System_String_CompareToPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_Object_t, - ffi.Pointer)>>('System_String_CompareTo'); - late final _System_String_CompareTo = _System_String_CompareToPtr.asFunction< - int Function( - System_String_t, System_Object_t, ffi.Pointer)>(); - - int System_String_CompareTo_1( - System_String_t self, - System_String_t strB, - ffi.Pointer outException, - ) { - return _System_String_CompareTo_1( - self, - strB, - outException, - ); - } - - late final _System_String_CompareTo_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_String_t, - ffi.Pointer)>>('System_String_CompareTo_1'); - late final _System_String_CompareTo_1 = - _System_String_CompareTo_1Ptr.asFunction< - int Function(System_String_t, System_String_t, - ffi.Pointer)>(); - - bool System_String_EndsWith( - System_String_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_String_EndsWith( - self, - value, - outException, - ); - } - - late final _System_String_EndsWithPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, System_String_t, - ffi.Pointer)>>('System_String_EndsWith'); - late final _System_String_EndsWith = _System_String_EndsWithPtr.asFunction< - bool Function( - System_String_t, System_String_t, ffi.Pointer)>(); - - bool System_String_EndsWith_1( - System_String_t self, - System_String_t value, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_EndsWith_1( - self, - value, - comparisonType, - outException, - ); - } - - late final _System_String_EndsWith_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_EndsWith_1'); - late final _System_String_EndsWith_1 = - _System_String_EndsWith_1Ptr.asFunction< - bool Function(System_String_t, System_String_t, int, - ffi.Pointer)>(); - - bool System_String_EndsWith_2( - System_String_t self, - System_String_t value, - bool ignoreCase, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_String_EndsWith_2( - self, - value, - ignoreCase, - culture, - outException, - ); - } - - late final _System_String_EndsWith_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_t, - ffi.Bool, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>('System_String_EndsWith_2'); - late final _System_String_EndsWith_2 = - _System_String_EndsWith_2Ptr.asFunction< - bool Function( - System_String_t, - System_String_t, - bool, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - bool System_String_EndsWith_3( - System_String_t self, - int value, - ffi.Pointer outException, - ) { - return _System_String_EndsWith_3( - self, - value, - outException, - ); - } - - late final _System_String_EndsWith_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.WChar, - ffi.Pointer)>>('System_String_EndsWith_3'); - late final _System_String_EndsWith_3 = - _System_String_EndsWith_3Ptr.asFunction< - bool Function( - System_String_t, int, ffi.Pointer)>(); - - bool System_String_Equals( - System_String_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_String_Equals( - self, - obj, - outException, - ); - } - - late final _System_String_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, System_Object_t, - ffi.Pointer)>>('System_String_Equals'); - late final _System_String_Equals = _System_String_EqualsPtr.asFunction< - bool Function( - System_String_t, System_Object_t, ffi.Pointer)>(); - - bool System_String_Equals_1( - System_String_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_String_Equals_1( - self, - value, - outException, - ); - } - - late final _System_String_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, System_String_t, - ffi.Pointer)>>('System_String_Equals_1'); - late final _System_String_Equals_1 = _System_String_Equals_1Ptr.asFunction< - bool Function( - System_String_t, System_String_t, ffi.Pointer)>(); - - bool System_String_Equals_2( - System_String_t self, - System_String_t value, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_Equals_2( - self, - value, - comparisonType, - outException, - ); - } - - late final _System_String_Equals_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_Equals_2'); - late final _System_String_Equals_2 = _System_String_Equals_2Ptr.asFunction< - bool Function(System_String_t, System_String_t, int, - ffi.Pointer)>(); - - bool System_String_Equals_3( - System_String_t a, - System_String_t b, - ffi.Pointer outException, - ) { - return _System_String_Equals_3( - a, - b, - outException, - ); - } - - late final _System_String_Equals_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, System_String_t, - ffi.Pointer)>>('System_String_Equals_3'); - late final _System_String_Equals_3 = _System_String_Equals_3Ptr.asFunction< - bool Function( - System_String_t, System_String_t, ffi.Pointer)>(); - - bool System_String_Equals_4( - System_String_t a, - System_String_t b, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_Equals_4( - a, - b, - comparisonType, - outException, - ); - } - - late final _System_String_Equals_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_Equals_4'); - late final _System_String_Equals_4 = _System_String_Equals_4Ptr.asFunction< - bool Function(System_String_t, System_String_t, int, - ffi.Pointer)>(); - - int System_String_GetHashCode( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_GetHashCode( - self, - outException, - ); - } - - late final _System_String_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, - ffi.Pointer)>>('System_String_GetHashCode'); - late final _System_String_GetHashCode = - _System_String_GetHashCodePtr.asFunction< - int Function(System_String_t, ffi.Pointer)>(); - - int System_String_GetHashCode_1( - System_String_t self, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_GetHashCode_1( - self, - comparisonType, - outException, - ); - } - - late final _System_String_GetHashCode_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_GetHashCode_1'); - late final _System_String_GetHashCode_1 = - _System_String_GetHashCode_1Ptr.asFunction< - int Function( - System_String_t, int, ffi.Pointer)>(); - - bool System_String_StartsWith( - System_String_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_String_StartsWith( - self, - value, - outException, - ); - } - - late final _System_String_StartsWithPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, System_String_t, - ffi.Pointer)>>('System_String_StartsWith'); - late final _System_String_StartsWith = - _System_String_StartsWithPtr.asFunction< - bool Function(System_String_t, System_String_t, - ffi.Pointer)>(); - - bool System_String_StartsWith_1( - System_String_t self, - System_String_t value, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_StartsWith_1( - self, - value, - comparisonType, - outException, - ); - } - - late final _System_String_StartsWith_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_StartsWith_1'); - late final _System_String_StartsWith_1 = - _System_String_StartsWith_1Ptr.asFunction< - bool Function(System_String_t, System_String_t, int, - ffi.Pointer)>(); - - bool System_String_StartsWith_2( - System_String_t self, - System_String_t value, - bool ignoreCase, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_String_StartsWith_2( - self, - value, - ignoreCase, - culture, - outException, - ); - } - - late final _System_String_StartsWith_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_t, - ffi.Bool, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>('System_String_StartsWith_2'); - late final _System_String_StartsWith_2 = - _System_String_StartsWith_2Ptr.asFunction< - bool Function( - System_String_t, - System_String_t, - bool, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - bool System_String_StartsWith_3( - System_String_t self, - int value, - ffi.Pointer outException, - ) { - return _System_String_StartsWith_3( - self, - value, - outException, - ); - } - - late final _System_String_StartsWith_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.WChar, - ffi.Pointer)>>('System_String_StartsWith_3'); - late final _System_String_StartsWith_3 = - _System_String_StartsWith_3Ptr.asFunction< - bool Function( - System_String_t, int, ffi.Pointer)>(); - - System_Object_t System_String_Clone( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_Clone( - self, - outException, - ); - } - - late final _System_String_ClonePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_String_t, - ffi.Pointer)>>('System_String_Clone'); - late final _System_String_Clone = _System_String_ClonePtr.asFunction< - System_Object_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_Copy( - System_String_t str, - ffi.Pointer outException, - ) { - return _System_String_Copy( - str, - outException, - ); - } - - late final _System_String_CopyPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, - ffi.Pointer)>>('System_String_Copy'); - late final _System_String_Copy = _System_String_CopyPtr.asFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>(); - - void System_String_CopyTo( - System_String_t self, - int sourceIndex, - System_Char_Array_t destination, - int destinationIndex, - int count, - ffi.Pointer outException, - ) { - return _System_String_CopyTo( - self, - sourceIndex, - destination, - destinationIndex, - count, - outException, - ); - } - - late final _System_String_CopyToPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_String_t, - ffi.Int32, - System_Char_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_CopyTo'); - late final _System_String_CopyTo = _System_String_CopyToPtr.asFunction< - void Function(System_String_t, int, System_Char_Array_t, int, int, - ffi.Pointer)>(); - - System_Char_Array_t System_String_ToCharArray( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_ToCharArray( - self, - outException, - ); - } - - late final _System_String_ToCharArrayPtr = _lookup< - ffi.NativeFunction< - System_Char_Array_t Function(System_String_t, - ffi.Pointer)>>('System_String_ToCharArray'); - late final _System_String_ToCharArray = - _System_String_ToCharArrayPtr.asFunction< - System_Char_Array_t Function( - System_String_t, ffi.Pointer)>(); - - System_Char_Array_t System_String_ToCharArray_1( - System_String_t self, - int startIndex, - int length, - ffi.Pointer outException, - ) { - return _System_String_ToCharArray_1( - self, - startIndex, - length, - outException, - ); - } - - late final _System_String_ToCharArray_1Ptr = _lookup< - ffi.NativeFunction< - System_Char_Array_t Function(System_String_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_String_ToCharArray_1'); - late final _System_String_ToCharArray_1 = - _System_String_ToCharArray_1Ptr.asFunction< - System_Char_Array_t Function( - System_String_t, int, int, ffi.Pointer)>(); - - bool System_String_IsNullOrEmpty( - System_String_t value, - ffi.Pointer outException, - ) { - return _System_String_IsNullOrEmpty( - value, - outException, - ); - } - - late final _System_String_IsNullOrEmptyPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, - ffi.Pointer)>>('System_String_IsNullOrEmpty'); - late final _System_String_IsNullOrEmpty = - _System_String_IsNullOrEmptyPtr.asFunction< - bool Function(System_String_t, ffi.Pointer)>(); - - bool System_String_IsNullOrWhiteSpace( - System_String_t value, - ffi.Pointer outException, - ) { - return _System_String_IsNullOrWhiteSpace( - value, - outException, - ); - } - - late final _System_String_IsNullOrWhiteSpacePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, ffi.Pointer)>>( - 'System_String_IsNullOrWhiteSpace'); - late final _System_String_IsNullOrWhiteSpace = - _System_String_IsNullOrWhiteSpacePtr.asFunction< - bool Function(System_String_t, ffi.Pointer)>(); - - System_String_t System_String_ToString( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_ToString( - self, - outException, - ); - } - - late final _System_String_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, - ffi.Pointer)>>('System_String_ToString'); - late final _System_String_ToString = _System_String_ToStringPtr.asFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_ToString_1( - System_String_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_String_ToString_1( - self, - provider, - outException, - ); - } - - late final _System_String_ToString_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_String_ToString_1'); - late final _System_String_ToString_1 = - _System_String_ToString_1Ptr.asFunction< - System_String_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - System_CharEnumerator_t System_String_GetEnumerator( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_GetEnumerator( - self, - outException, - ); - } - - late final _System_String_GetEnumeratorPtr = _lookup< - ffi.NativeFunction< - System_CharEnumerator_t Function(System_String_t, - ffi.Pointer)>>('System_String_GetEnumerator'); - late final _System_String_GetEnumerator = - _System_String_GetEnumeratorPtr.asFunction< - System_CharEnumerator_t Function( - System_String_t, ffi.Pointer)>(); - - System_Text_StringRuneEnumerator_t System_String_EnumerateRunes( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_EnumerateRunes( - self, - outException, - ); - } - - late final _System_String_EnumerateRunesPtr = _lookup< - ffi.NativeFunction< - System_Text_StringRuneEnumerator_t Function( - System_String_t, ffi.Pointer)>>( - 'System_String_EnumerateRunes'); - late final _System_String_EnumerateRunes = - _System_String_EnumerateRunesPtr.asFunction< - System_Text_StringRuneEnumerator_t Function( - System_String_t, ffi.Pointer)>(); - - int System_String_GetTypeCode( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_GetTypeCode( - self, - outException, - ); - } - - late final _System_String_GetTypeCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, - ffi.Pointer)>>('System_String_GetTypeCode'); - late final _System_String_GetTypeCode = - _System_String_GetTypeCodePtr.asFunction< - int Function(System_String_t, ffi.Pointer)>(); - - bool System_String_IsNormalized( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_IsNormalized( - self, - outException, - ); - } - - late final _System_String_IsNormalizedPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, - ffi.Pointer)>>('System_String_IsNormalized'); - late final _System_String_IsNormalized = - _System_String_IsNormalizedPtr.asFunction< - bool Function(System_String_t, ffi.Pointer)>(); - - bool System_String_IsNormalized_1( - System_String_t self, - int normalizationForm, - ffi.Pointer outException, - ) { - return _System_String_IsNormalized_1( - self, - normalizationForm, - outException, - ); - } - - late final _System_String_IsNormalized_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.Int32, - ffi.Pointer)>>( - 'System_String_IsNormalized_1'); - late final _System_String_IsNormalized_1 = - _System_String_IsNormalized_1Ptr.asFunction< - bool Function( - System_String_t, int, ffi.Pointer)>(); - - System_String_t System_String_Normalize( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_Normalize( - self, - outException, - ); - } - - late final _System_String_NormalizePtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, - ffi.Pointer)>>('System_String_Normalize'); - late final _System_String_Normalize = _System_String_NormalizePtr.asFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_Normalize_1( - System_String_t self, - int normalizationForm, - ffi.Pointer outException, - ) { - return _System_String_Normalize_1( - self, - normalizationForm, - outException, - ); - } - - late final _System_String_Normalize_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_Normalize_1'); - late final _System_String_Normalize_1 = - _System_String_Normalize_1Ptr.asFunction< - System_String_t Function( - System_String_t, int, ffi.Pointer)>(); - - System_String_t System_String_Concat( - System_Object_t arg0, - ffi.Pointer outException, - ) { - return _System_String_Concat( - arg0, - outException, - ); - } - - late final _System_String_ConcatPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Object_t, - ffi.Pointer)>>('System_String_Concat'); - late final _System_String_Concat = _System_String_ConcatPtr.asFunction< - System_String_t Function( - System_Object_t, ffi.Pointer)>(); - - System_String_t System_String_Concat_1( - System_Object_t arg0, - System_Object_t arg1, - ffi.Pointer outException, - ) { - return _System_String_Concat_1( - arg0, - arg1, - outException, - ); - } - - late final _System_String_Concat_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Object_t, System_Object_t, - ffi.Pointer)>>('System_String_Concat_1'); - late final _System_String_Concat_1 = _System_String_Concat_1Ptr.asFunction< - System_String_t Function( - System_Object_t, System_Object_t, ffi.Pointer)>(); - - System_String_t System_String_Concat_2( - System_Object_t arg0, - System_Object_t arg1, - System_Object_t arg2, - ffi.Pointer outException, - ) { - return _System_String_Concat_2( - arg0, - arg1, - arg2, - outException, - ); - } - - late final _System_String_Concat_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Object_t, - System_Object_t, - System_Object_t, - ffi.Pointer)>>('System_String_Concat_2'); - late final _System_String_Concat_2 = _System_String_Concat_2Ptr.asFunction< - System_String_t Function(System_Object_t, System_Object_t, - System_Object_t, ffi.Pointer)>(); - - System_String_t System_String_Concat_3( - System_Object_Array_t args, - ffi.Pointer outException, - ) { - return _System_String_Concat_3( - args, - outException, - ); - } - - late final _System_String_Concat_3Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Object_Array_t, - ffi.Pointer)>>('System_String_Concat_3'); - late final _System_String_Concat_3 = _System_String_Concat_3Ptr.asFunction< - System_String_t Function( - System_Object_Array_t, ffi.Pointer)>(); - - System_String_t System_String_Concat_4( - System_String_t str0, - System_String_t str1, - ffi.Pointer outException, - ) { - return _System_String_Concat_4( - str0, - str1, - outException, - ); - } - - late final _System_String_Concat_4Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, System_String_t, - ffi.Pointer)>>('System_String_Concat_4'); - late final _System_String_Concat_4 = _System_String_Concat_4Ptr.asFunction< - System_String_t Function( - System_String_t, System_String_t, ffi.Pointer)>(); - - System_String_t System_String_Concat_5( - System_String_t str0, - System_String_t str1, - System_String_t str2, - ffi.Pointer outException, - ) { - return _System_String_Concat_5( - str0, - str1, - str2, - outException, - ); - } - - late final _System_String_Concat_5Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_String_t, - System_String_t, - System_String_t, - ffi.Pointer)>>('System_String_Concat_5'); - late final _System_String_Concat_5 = _System_String_Concat_5Ptr.asFunction< - System_String_t Function(System_String_t, System_String_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_Concat_6( - System_String_t str0, - System_String_t str1, - System_String_t str2, - System_String_t str3, - ffi.Pointer outException, - ) { - return _System_String_Concat_6( - str0, - str1, - str2, - str3, - outException, - ); - } - - late final _System_String_Concat_6Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_String_t, - System_String_t, - System_String_t, - System_String_t, - ffi.Pointer)>>('System_String_Concat_6'); - late final _System_String_Concat_6 = _System_String_Concat_6Ptr.asFunction< - System_String_t Function(System_String_t, System_String_t, - System_String_t, System_String_t, ffi.Pointer)>(); - - System_String_t System_String_Concat_7( - System_String_Array_t values, - ffi.Pointer outException, - ) { - return _System_String_Concat_7( - values, - outException, - ); - } - - late final _System_String_Concat_7Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_Array_t, - ffi.Pointer)>>('System_String_Concat_7'); - late final _System_String_Concat_7 = _System_String_Concat_7Ptr.asFunction< - System_String_t Function( - System_String_Array_t, ffi.Pointer)>(); - - System_String_t System_String_Format( - System_String_t format, - System_Object_t arg0, - ffi.Pointer outException, - ) { - return _System_String_Format( - format, - arg0, - outException, - ); - } - - late final _System_String_FormatPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, System_Object_t, - ffi.Pointer)>>('System_String_Format'); - late final _System_String_Format = _System_String_FormatPtr.asFunction< - System_String_t Function( - System_String_t, System_Object_t, ffi.Pointer)>(); - - System_String_t System_String_Format_1( - System_String_t format, - System_Object_t arg0, - System_Object_t arg1, - ffi.Pointer outException, - ) { - return _System_String_Format_1( - format, - arg0, - arg1, - outException, - ); - } - - late final _System_String_Format_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_String_t, - System_Object_t, - System_Object_t, - ffi.Pointer)>>('System_String_Format_1'); - late final _System_String_Format_1 = _System_String_Format_1Ptr.asFunction< - System_String_t Function(System_String_t, System_Object_t, - System_Object_t, ffi.Pointer)>(); - - System_String_t System_String_Format_2( - System_String_t format, - System_Object_t arg0, - System_Object_t arg1, - System_Object_t arg2, - ffi.Pointer outException, - ) { - return _System_String_Format_2( - format, - arg0, - arg1, - arg2, - outException, - ); - } - - late final _System_String_Format_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_String_t, - System_Object_t, - System_Object_t, - System_Object_t, - ffi.Pointer)>>('System_String_Format_2'); - late final _System_String_Format_2 = _System_String_Format_2Ptr.asFunction< - System_String_t Function(System_String_t, System_Object_t, - System_Object_t, System_Object_t, ffi.Pointer)>(); - - System_String_t System_String_Format_3( - System_String_t format, - System_Object_Array_t args, - ffi.Pointer outException, - ) { - return _System_String_Format_3( - format, - args, - outException, - ); - } - - late final _System_String_Format_3Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, System_Object_Array_t, - ffi.Pointer)>>('System_String_Format_3'); - late final _System_String_Format_3 = _System_String_Format_3Ptr.asFunction< - System_String_t Function(System_String_t, System_Object_Array_t, - ffi.Pointer)>(); - - System_String_t System_String_Format_4( - System_IFormatProvider_t provider, - System_String_t format, - System_Object_t arg0, - ffi.Pointer outException, - ) { - return _System_String_Format_4( - provider, - format, - arg0, - outException, - ); - } - - late final _System_String_Format_4Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_IFormatProvider_t, - System_String_t, - System_Object_t, - ffi.Pointer)>>('System_String_Format_4'); - late final _System_String_Format_4 = _System_String_Format_4Ptr.asFunction< - System_String_t Function(System_IFormatProvider_t, System_String_t, - System_Object_t, ffi.Pointer)>(); - - System_String_t System_String_Format_5( - System_IFormatProvider_t provider, - System_String_t format, - System_Object_t arg0, - System_Object_t arg1, - ffi.Pointer outException, - ) { - return _System_String_Format_5( - provider, - format, - arg0, - arg1, - outException, - ); - } - - late final _System_String_Format_5Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_IFormatProvider_t, - System_String_t, - System_Object_t, - System_Object_t, - ffi.Pointer)>>('System_String_Format_5'); - late final _System_String_Format_5 = _System_String_Format_5Ptr.asFunction< - System_String_t Function(System_IFormatProvider_t, System_String_t, - System_Object_t, System_Object_t, ffi.Pointer)>(); - - System_String_t System_String_Format_6( - System_IFormatProvider_t provider, - System_String_t format, - System_Object_t arg0, - System_Object_t arg1, - System_Object_t arg2, - ffi.Pointer outException, - ) { - return _System_String_Format_6( - provider, - format, - arg0, - arg1, - arg2, - outException, - ); - } - - late final _System_String_Format_6Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_IFormatProvider_t, - System_String_t, - System_Object_t, - System_Object_t, - System_Object_t, - ffi.Pointer)>>('System_String_Format_6'); - late final _System_String_Format_6 = _System_String_Format_6Ptr.asFunction< - System_String_t Function( - System_IFormatProvider_t, - System_String_t, - System_Object_t, - System_Object_t, - System_Object_t, - ffi.Pointer)>(); - - System_String_t System_String_Format_7( - System_IFormatProvider_t provider, - System_String_t format, - System_Object_Array_t args, - ffi.Pointer outException, - ) { - return _System_String_Format_7( - provider, - format, - args, - outException, - ); - } - - late final _System_String_Format_7Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_IFormatProvider_t, - System_String_t, - System_Object_Array_t, - ffi.Pointer)>>('System_String_Format_7'); - late final _System_String_Format_7 = _System_String_Format_7Ptr.asFunction< - System_String_t Function(System_IFormatProvider_t, System_String_t, - System_Object_Array_t, ffi.Pointer)>(); - - System_String_t System_String_Format_8( - System_IFormatProvider_t provider, - System_Text_CompositeFormat_t format, - System_Object_Array_t args, - ffi.Pointer outException, - ) { - return _System_String_Format_8( - provider, - format, - args, - outException, - ); - } - - late final _System_String_Format_8Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_IFormatProvider_t, - System_Text_CompositeFormat_t, - System_Object_Array_t, - ffi.Pointer)>>('System_String_Format_8'); - late final _System_String_Format_8 = _System_String_Format_8Ptr.asFunction< - System_String_t Function( - System_IFormatProvider_t, - System_Text_CompositeFormat_t, - System_Object_Array_t, - ffi.Pointer)>(); - - System_String_t System_String_Insert( - System_String_t self, - int startIndex, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_String_Insert( - self, - startIndex, - value, - outException, - ); - } - - late final _System_String_InsertPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.Int32, System_String_t, - ffi.Pointer)>>('System_String_Insert'); - late final _System_String_Insert = _System_String_InsertPtr.asFunction< - System_String_t Function(System_String_t, int, System_String_t, - ffi.Pointer)>(); - - System_String_t System_String_Join( - int separator, - System_String_Array_t value, - ffi.Pointer outException, - ) { - return _System_String_Join( - separator, - value, - outException, - ); - } - - late final _System_String_JoinPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(ffi.WChar, System_String_Array_t, - ffi.Pointer)>>('System_String_Join'); - late final _System_String_Join = _System_String_JoinPtr.asFunction< - System_String_t Function( - int, System_String_Array_t, ffi.Pointer)>(); - - System_String_t System_String_Join_1( - System_String_t separator, - System_String_Array_t value, - ffi.Pointer outException, - ) { - return _System_String_Join_1( - separator, - value, - outException, - ); - } - - late final _System_String_Join_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, System_String_Array_t, - ffi.Pointer)>>('System_String_Join_1'); - late final _System_String_Join_1 = _System_String_Join_1Ptr.asFunction< - System_String_t Function(System_String_t, System_String_Array_t, - ffi.Pointer)>(); - - System_String_t System_String_Join_2( - int separator, - System_String_Array_t value, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_String_Join_2( - separator, - value, - startIndex, - count, - outException, - ); - } - - late final _System_String_Join_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - ffi.WChar, - System_String_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_Join_2'); - late final _System_String_Join_2 = _System_String_Join_2Ptr.asFunction< - System_String_t Function(int, System_String_Array_t, int, int, - ffi.Pointer)>(); - - System_String_t System_String_Join_3( - System_String_t separator, - System_String_Array_t value, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_String_Join_3( - separator, - value, - startIndex, - count, - outException, - ); - } - - late final _System_String_Join_3Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_String_t, - System_String_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_Join_3'); - late final _System_String_Join_3 = _System_String_Join_3Ptr.asFunction< - System_String_t Function(System_String_t, System_String_Array_t, int, int, - ffi.Pointer)>(); - - System_String_t System_String_Join_4( - int separator, - System_Object_Array_t values, - ffi.Pointer outException, - ) { - return _System_String_Join_4( - separator, - values, - outException, - ); - } - - late final _System_String_Join_4Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(ffi.WChar, System_Object_Array_t, - ffi.Pointer)>>('System_String_Join_4'); - late final _System_String_Join_4 = _System_String_Join_4Ptr.asFunction< - System_String_t Function( - int, System_Object_Array_t, ffi.Pointer)>(); - - System_String_t System_String_Join_5( - System_String_t separator, - System_Object_Array_t values, - ffi.Pointer outException, - ) { - return _System_String_Join_5( - separator, - values, - outException, - ); - } - - late final _System_String_Join_5Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, System_Object_Array_t, - ffi.Pointer)>>('System_String_Join_5'); - late final _System_String_Join_5 = _System_String_Join_5Ptr.asFunction< - System_String_t Function(System_String_t, System_Object_Array_t, - ffi.Pointer)>(); - - System_String_t System_String_PadLeft( - System_String_t self, - int totalWidth, - ffi.Pointer outException, - ) { - return _System_String_PadLeft( - self, - totalWidth, - outException, - ); - } - - late final _System_String_PadLeftPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_PadLeft'); - late final _System_String_PadLeft = _System_String_PadLeftPtr.asFunction< - System_String_t Function( - System_String_t, int, ffi.Pointer)>(); - - System_String_t System_String_PadLeft_1( - System_String_t self, - int totalWidth, - int paddingChar, - ffi.Pointer outException, - ) { - return _System_String_PadLeft_1( - self, - totalWidth, - paddingChar, - outException, - ); - } - - late final _System_String_PadLeft_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.Int32, ffi.WChar, - ffi.Pointer)>>('System_String_PadLeft_1'); - late final _System_String_PadLeft_1 = _System_String_PadLeft_1Ptr.asFunction< - System_String_t Function( - System_String_t, int, int, ffi.Pointer)>(); - - System_String_t System_String_PadRight( - System_String_t self, - int totalWidth, - ffi.Pointer outException, - ) { - return _System_String_PadRight( - self, - totalWidth, - outException, - ); - } - - late final _System_String_PadRightPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_PadRight'); - late final _System_String_PadRight = _System_String_PadRightPtr.asFunction< - System_String_t Function( - System_String_t, int, ffi.Pointer)>(); - - System_String_t System_String_PadRight_1( - System_String_t self, - int totalWidth, - int paddingChar, - ffi.Pointer outException, - ) { - return _System_String_PadRight_1( - self, - totalWidth, - paddingChar, - outException, - ); - } - - late final _System_String_PadRight_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.Int32, ffi.WChar, - ffi.Pointer)>>('System_String_PadRight_1'); - late final _System_String_PadRight_1 = - _System_String_PadRight_1Ptr.asFunction< - System_String_t Function( - System_String_t, int, int, ffi.Pointer)>(); - - System_String_t System_String_Remove( - System_String_t self, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_String_Remove( - self, - startIndex, - count, - outException, - ); - } - - late final _System_String_RemovePtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_String_Remove'); - late final _System_String_Remove = _System_String_RemovePtr.asFunction< - System_String_t Function( - System_String_t, int, int, ffi.Pointer)>(); - - System_String_t System_String_Remove_1( - System_String_t self, - int startIndex, - ffi.Pointer outException, - ) { - return _System_String_Remove_1( - self, - startIndex, - outException, - ); - } - - late final _System_String_Remove_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_Remove_1'); - late final _System_String_Remove_1 = _System_String_Remove_1Ptr.asFunction< - System_String_t Function( - System_String_t, int, ffi.Pointer)>(); - - System_String_t System_String_Replace( - System_String_t self, - System_String_t oldValue, - System_String_t newValue, - bool ignoreCase, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_String_Replace( - self, - oldValue, - newValue, - ignoreCase, - culture, - outException, - ); - } - - late final _System_String_ReplacePtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_String_t, - System_String_t, - System_String_t, - ffi.Bool, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>('System_String_Replace'); - late final _System_String_Replace = _System_String_ReplacePtr.asFunction< - System_String_t Function( - System_String_t, - System_String_t, - System_String_t, - bool, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_String_t System_String_Replace_1( - System_String_t self, - System_String_t oldValue, - System_String_t newValue, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_Replace_1( - self, - oldValue, - newValue, - comparisonType, - outException, - ); - } - - late final _System_String_Replace_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_String_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>('System_String_Replace_1'); - late final _System_String_Replace_1 = _System_String_Replace_1Ptr.asFunction< - System_String_t Function(System_String_t, System_String_t, - System_String_t, int, ffi.Pointer)>(); - - System_String_t System_String_Replace_2( - System_String_t self, - int oldChar, - int newChar, - ffi.Pointer outException, - ) { - return _System_String_Replace_2( - self, - oldChar, - newChar, - outException, - ); - } - - late final _System_String_Replace_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.WChar, ffi.WChar, - ffi.Pointer)>>('System_String_Replace_2'); - late final _System_String_Replace_2 = _System_String_Replace_2Ptr.asFunction< - System_String_t Function( - System_String_t, int, int, ffi.Pointer)>(); - - System_String_t System_String_Replace_3( - System_String_t self, - System_String_t oldValue, - System_String_t newValue, - ffi.Pointer outException, - ) { - return _System_String_Replace_3( - self, - oldValue, - newValue, - outException, - ); - } - - late final _System_String_Replace_3Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_String_t, - System_String_t, - System_String_t, - ffi.Pointer)>>('System_String_Replace_3'); - late final _System_String_Replace_3 = _System_String_Replace_3Ptr.asFunction< - System_String_t Function(System_String_t, System_String_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_ReplaceLineEndings( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_ReplaceLineEndings( - self, - outException, - ); - } - - late final _System_String_ReplaceLineEndingsPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>>( - 'System_String_ReplaceLineEndings'); - late final _System_String_ReplaceLineEndings = - _System_String_ReplaceLineEndingsPtr.asFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_ReplaceLineEndings_1( - System_String_t self, - System_String_t replacementText, - ffi.Pointer outException, - ) { - return _System_String_ReplaceLineEndings_1( - self, - replacementText, - outException, - ); - } - - late final _System_String_ReplaceLineEndings_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, System_String_t, - ffi.Pointer)>>( - 'System_String_ReplaceLineEndings_1'); - late final _System_String_ReplaceLineEndings_1 = - _System_String_ReplaceLineEndings_1Ptr.asFunction< - System_String_t Function(System_String_t, System_String_t, - ffi.Pointer)>(); - - System_String_Array_t System_String_Split( - System_String_t self, - int separator, - int options, - ffi.Pointer outException, - ) { - return _System_String_Split( - self, - separator, - options, - outException, - ); - } - - late final _System_String_SplitPtr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function(System_String_t, ffi.WChar, ffi.Int32, - ffi.Pointer)>>('System_String_Split'); - late final _System_String_Split = _System_String_SplitPtr.asFunction< - System_String_Array_t Function( - System_String_t, int, int, ffi.Pointer)>(); - - System_String_Array_t System_String_Split_1( - System_String_t self, - int separator, - int count, - int options, - ffi.Pointer outException, - ) { - return _System_String_Split_1( - self, - separator, - count, - options, - outException, - ); - } - - late final _System_String_Split_1Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_String_t, - ffi.WChar, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_Split_1'); - late final _System_String_Split_1 = _System_String_Split_1Ptr.asFunction< - System_String_Array_t Function( - System_String_t, int, int, int, ffi.Pointer)>(); - - System_String_Array_t System_String_Split_2( - System_String_t self, - System_Char_Array_t separator, - ffi.Pointer outException, - ) { - return _System_String_Split_2( - self, - separator, - outException, - ); - } - - late final _System_String_Split_2Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function(System_String_t, System_Char_Array_t, - ffi.Pointer)>>('System_String_Split_2'); - late final _System_String_Split_2 = _System_String_Split_2Ptr.asFunction< - System_String_Array_t Function(System_String_t, System_Char_Array_t, - ffi.Pointer)>(); - - System_String_Array_t System_String_Split_3( - System_String_t self, - System_Char_Array_t separator, - int count, - ffi.Pointer outException, - ) { - return _System_String_Split_3( - self, - separator, - count, - outException, - ); - } - - late final _System_String_Split_3Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_String_t, - System_Char_Array_t, - ffi.Int32, - ffi.Pointer)>>('System_String_Split_3'); - late final _System_String_Split_3 = _System_String_Split_3Ptr.asFunction< - System_String_Array_t Function(System_String_t, System_Char_Array_t, int, - ffi.Pointer)>(); - - System_String_Array_t System_String_Split_4( - System_String_t self, - System_Char_Array_t separator, - int options, - ffi.Pointer outException, - ) { - return _System_String_Split_4( - self, - separator, - options, - outException, - ); - } - - late final _System_String_Split_4Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_String_t, - System_Char_Array_t, - ffi.Int32, - ffi.Pointer)>>('System_String_Split_4'); - late final _System_String_Split_4 = _System_String_Split_4Ptr.asFunction< - System_String_Array_t Function(System_String_t, System_Char_Array_t, int, - ffi.Pointer)>(); - - System_String_Array_t System_String_Split_5( - System_String_t self, - System_Char_Array_t separator, - int count, - int options, - ffi.Pointer outException, - ) { - return _System_String_Split_5( - self, - separator, - count, - options, - outException, - ); - } - - late final _System_String_Split_5Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_String_t, - System_Char_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_Split_5'); - late final _System_String_Split_5 = _System_String_Split_5Ptr.asFunction< - System_String_Array_t Function(System_String_t, System_Char_Array_t, int, - int, ffi.Pointer)>(); - - System_String_Array_t System_String_Split_6( - System_String_t self, - System_String_t separator, - int options, - ffi.Pointer outException, - ) { - return _System_String_Split_6( - self, - separator, - options, - outException, - ); - } - - late final _System_String_Split_6Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_String_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>('System_String_Split_6'); - late final _System_String_Split_6 = _System_String_Split_6Ptr.asFunction< - System_String_Array_t Function(System_String_t, System_String_t, int, - ffi.Pointer)>(); - - System_String_Array_t System_String_Split_7( - System_String_t self, - System_String_t separator, - int count, - int options, - ffi.Pointer outException, - ) { - return _System_String_Split_7( - self, - separator, - count, - options, - outException, - ); - } - - late final _System_String_Split_7Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_String_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_Split_7'); - late final _System_String_Split_7 = _System_String_Split_7Ptr.asFunction< - System_String_Array_t Function(System_String_t, System_String_t, int, int, - ffi.Pointer)>(); - - System_String_Array_t System_String_Split_8( - System_String_t self, - System_String_Array_t separator, - int options, - ffi.Pointer outException, - ) { - return _System_String_Split_8( - self, - separator, - options, - outException, - ); - } - - late final _System_String_Split_8Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_String_t, - System_String_Array_t, - ffi.Int32, - ffi.Pointer)>>('System_String_Split_8'); - late final _System_String_Split_8 = _System_String_Split_8Ptr.asFunction< - System_String_Array_t Function(System_String_t, System_String_Array_t, - int, ffi.Pointer)>(); - - System_String_Array_t System_String_Split_9( - System_String_t self, - System_String_Array_t separator, - int count, - int options, - ffi.Pointer outException, - ) { - return _System_String_Split_9( - self, - separator, - count, - options, - outException, - ); - } - - late final _System_String_Split_9Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_String_t, - System_String_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_Split_9'); - late final _System_String_Split_9 = _System_String_Split_9Ptr.asFunction< - System_String_Array_t Function(System_String_t, System_String_Array_t, - int, int, ffi.Pointer)>(); - - System_String_t System_String_Substring( - System_String_t self, - int startIndex, - ffi.Pointer outException, - ) { - return _System_String_Substring( - self, - startIndex, - outException, - ); - } - - late final _System_String_SubstringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_Substring'); - late final _System_String_Substring = _System_String_SubstringPtr.asFunction< - System_String_t Function( - System_String_t, int, ffi.Pointer)>(); - - System_String_t System_String_Substring_1( - System_String_t self, - int startIndex, - int length, - ffi.Pointer outException, - ) { - return _System_String_Substring_1( - self, - startIndex, - length, - outException, - ); - } - - late final _System_String_Substring_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_String_Substring_1'); - late final _System_String_Substring_1 = - _System_String_Substring_1Ptr.asFunction< - System_String_t Function( - System_String_t, int, int, ffi.Pointer)>(); - - System_String_t System_String_ToLower( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_ToLower( - self, - outException, - ); - } - - late final _System_String_ToLowerPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, - ffi.Pointer)>>('System_String_ToLower'); - late final _System_String_ToLower = _System_String_ToLowerPtr.asFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_ToLower_1( - System_String_t self, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_String_ToLower_1( - self, - culture, - outException, - ); - } - - late final _System_String_ToLower_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_String_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>('System_String_ToLower_1'); - late final _System_String_ToLower_1 = _System_String_ToLower_1Ptr.asFunction< - System_String_t Function( - System_String_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_String_t System_String_ToLowerInvariant( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_ToLowerInvariant( - self, - outException, - ); - } - - late final _System_String_ToLowerInvariantPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>>( - 'System_String_ToLowerInvariant'); - late final _System_String_ToLowerInvariant = - _System_String_ToLowerInvariantPtr.asFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_ToUpper( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_ToUpper( - self, - outException, - ); - } - - late final _System_String_ToUpperPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, - ffi.Pointer)>>('System_String_ToUpper'); - late final _System_String_ToUpper = _System_String_ToUpperPtr.asFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_ToUpper_1( - System_String_t self, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_String_ToUpper_1( - self, - culture, - outException, - ); - } - - late final _System_String_ToUpper_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_String_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>('System_String_ToUpper_1'); - late final _System_String_ToUpper_1 = _System_String_ToUpper_1Ptr.asFunction< - System_String_t Function( - System_String_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_String_t System_String_ToUpperInvariant( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_ToUpperInvariant( - self, - outException, - ); - } - - late final _System_String_ToUpperInvariantPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>>( - 'System_String_ToUpperInvariant'); - late final _System_String_ToUpperInvariant = - _System_String_ToUpperInvariantPtr.asFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_Trim( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_Trim( - self, - outException, - ); - } - - late final _System_String_TrimPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, - ffi.Pointer)>>('System_String_Trim'); - late final _System_String_Trim = _System_String_TrimPtr.asFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_Trim_1( - System_String_t self, - int trimChar, - ffi.Pointer outException, - ) { - return _System_String_Trim_1( - self, - trimChar, - outException, - ); - } - - late final _System_String_Trim_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.WChar, - ffi.Pointer)>>('System_String_Trim_1'); - late final _System_String_Trim_1 = _System_String_Trim_1Ptr.asFunction< - System_String_t Function( - System_String_t, int, ffi.Pointer)>(); - - System_String_t System_String_Trim_2( - System_String_t self, - System_Char_Array_t trimChars, - ffi.Pointer outException, - ) { - return _System_String_Trim_2( - self, - trimChars, - outException, - ); - } - - late final _System_String_Trim_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, System_Char_Array_t, - ffi.Pointer)>>('System_String_Trim_2'); - late final _System_String_Trim_2 = _System_String_Trim_2Ptr.asFunction< - System_String_t Function(System_String_t, System_Char_Array_t, - ffi.Pointer)>(); - - System_String_t System_String_TrimStart( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_TrimStart( - self, - outException, - ); - } - - late final _System_String_TrimStartPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, - ffi.Pointer)>>('System_String_TrimStart'); - late final _System_String_TrimStart = _System_String_TrimStartPtr.asFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_TrimStart_1( - System_String_t self, - int trimChar, - ffi.Pointer outException, - ) { - return _System_String_TrimStart_1( - self, - trimChar, - outException, - ); - } - - late final _System_String_TrimStart_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.WChar, - ffi.Pointer)>>('System_String_TrimStart_1'); - late final _System_String_TrimStart_1 = - _System_String_TrimStart_1Ptr.asFunction< - System_String_t Function( - System_String_t, int, ffi.Pointer)>(); - - System_String_t System_String_TrimStart_2( - System_String_t self, - System_Char_Array_t trimChars, - ffi.Pointer outException, - ) { - return _System_String_TrimStart_2( - self, - trimChars, - outException, - ); - } - - late final _System_String_TrimStart_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, System_Char_Array_t, - ffi.Pointer)>>('System_String_TrimStart_2'); - late final _System_String_TrimStart_2 = - _System_String_TrimStart_2Ptr.asFunction< - System_String_t Function(System_String_t, System_Char_Array_t, - ffi.Pointer)>(); - - System_String_t System_String_TrimEnd( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_TrimEnd( - self, - outException, - ); - } - - late final _System_String_TrimEndPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, - ffi.Pointer)>>('System_String_TrimEnd'); - late final _System_String_TrimEnd = _System_String_TrimEndPtr.asFunction< - System_String_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_String_TrimEnd_1( - System_String_t self, - int trimChar, - ffi.Pointer outException, - ) { - return _System_String_TrimEnd_1( - self, - trimChar, - outException, - ); - } - - late final _System_String_TrimEnd_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, ffi.WChar, - ffi.Pointer)>>('System_String_TrimEnd_1'); - late final _System_String_TrimEnd_1 = _System_String_TrimEnd_1Ptr.asFunction< - System_String_t Function( - System_String_t, int, ffi.Pointer)>(); - - System_String_t System_String_TrimEnd_2( - System_String_t self, - System_Char_Array_t trimChars, - ffi.Pointer outException, - ) { - return _System_String_TrimEnd_2( - self, - trimChars, - outException, - ); - } - - late final _System_String_TrimEnd_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, System_Char_Array_t, - ffi.Pointer)>>('System_String_TrimEnd_2'); - late final _System_String_TrimEnd_2 = _System_String_TrimEnd_2Ptr.asFunction< - System_String_t Function(System_String_t, System_Char_Array_t, - ffi.Pointer)>(); - - bool System_String_Contains( - System_String_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_String_Contains( - self, - value, - outException, - ); - } - - late final _System_String_ContainsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, System_String_t, - ffi.Pointer)>>('System_String_Contains'); - late final _System_String_Contains = _System_String_ContainsPtr.asFunction< - bool Function( - System_String_t, System_String_t, ffi.Pointer)>(); - - bool System_String_Contains_1( - System_String_t self, - System_String_t value, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_Contains_1( - self, - value, - comparisonType, - outException, - ); - } - - late final _System_String_Contains_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_Contains_1'); - late final _System_String_Contains_1 = - _System_String_Contains_1Ptr.asFunction< - bool Function(System_String_t, System_String_t, int, - ffi.Pointer)>(); - - bool System_String_Contains_2( - System_String_t self, - int value, - ffi.Pointer outException, - ) { - return _System_String_Contains_2( - self, - value, - outException, - ); - } - - late final _System_String_Contains_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.WChar, - ffi.Pointer)>>('System_String_Contains_2'); - late final _System_String_Contains_2 = - _System_String_Contains_2Ptr.asFunction< - bool Function( - System_String_t, int, ffi.Pointer)>(); - - bool System_String_Contains_3( - System_String_t self, - int value, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_Contains_3( - self, - value, - comparisonType, - outException, - ); - } - - late final _System_String_Contains_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.WChar, ffi.Int32, - ffi.Pointer)>>('System_String_Contains_3'); - late final _System_String_Contains_3 = - _System_String_Contains_3Ptr.asFunction< - bool Function( - System_String_t, int, int, ffi.Pointer)>(); - - int System_String_IndexOf( - System_String_t self, - int value, - ffi.Pointer outException, - ) { - return _System_String_IndexOf( - self, - value, - outException, - ); - } - - late final _System_String_IndexOfPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, ffi.WChar, - ffi.Pointer)>>('System_String_IndexOf'); - late final _System_String_IndexOf = _System_String_IndexOfPtr.asFunction< - int Function(System_String_t, int, ffi.Pointer)>(); - - int System_String_IndexOf_1( - System_String_t self, - int value, - int startIndex, - ffi.Pointer outException, - ) { - return _System_String_IndexOf_1( - self, - value, - startIndex, - outException, - ); - } - - late final _System_String_IndexOf_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, ffi.WChar, ffi.Int32, - ffi.Pointer)>>('System_String_IndexOf_1'); - late final _System_String_IndexOf_1 = _System_String_IndexOf_1Ptr.asFunction< - int Function( - System_String_t, int, int, ffi.Pointer)>(); - - int System_String_IndexOf_2( - System_String_t self, - int value, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_IndexOf_2( - self, - value, - comparisonType, - outException, - ); - } - - late final _System_String_IndexOf_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, ffi.WChar, ffi.Int32, - ffi.Pointer)>>('System_String_IndexOf_2'); - late final _System_String_IndexOf_2 = _System_String_IndexOf_2Ptr.asFunction< - int Function( - System_String_t, int, int, ffi.Pointer)>(); - - int System_String_IndexOf_3( - System_String_t self, - int value, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_String_IndexOf_3( - self, - value, - startIndex, - count, - outException, - ); - } - - late final _System_String_IndexOf_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, ffi.WChar, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_String_IndexOf_3'); - late final _System_String_IndexOf_3 = _System_String_IndexOf_3Ptr.asFunction< - int Function( - System_String_t, int, int, int, ffi.Pointer)>(); - - int System_String_IndexOfAny( - System_String_t self, - System_Char_Array_t anyOf, - ffi.Pointer outException, - ) { - return _System_String_IndexOfAny( - self, - anyOf, - outException, - ); - } - - late final _System_String_IndexOfAnyPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_Char_Array_t, - ffi.Pointer)>>('System_String_IndexOfAny'); - late final _System_String_IndexOfAny = - _System_String_IndexOfAnyPtr.asFunction< - int Function(System_String_t, System_Char_Array_t, - ffi.Pointer)>(); - - int System_String_IndexOfAny_1( - System_String_t self, - System_Char_Array_t anyOf, - int startIndex, - ffi.Pointer outException, - ) { - return _System_String_IndexOfAny_1( - self, - anyOf, - startIndex, - outException, - ); - } - - late final _System_String_IndexOfAny_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_Char_Array_t, ffi.Int32, - ffi.Pointer)>>('System_String_IndexOfAny_1'); - late final _System_String_IndexOfAny_1 = - _System_String_IndexOfAny_1Ptr.asFunction< - int Function(System_String_t, System_Char_Array_t, int, - ffi.Pointer)>(); - - int System_String_IndexOfAny_2( - System_String_t self, - System_Char_Array_t anyOf, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_String_IndexOfAny_2( - self, - anyOf, - startIndex, - count, - outException, - ); - } - - late final _System_String_IndexOfAny_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - System_Char_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_IndexOfAny_2'); - late final _System_String_IndexOfAny_2 = - _System_String_IndexOfAny_2Ptr.asFunction< - int Function(System_String_t, System_Char_Array_t, int, int, - ffi.Pointer)>(); - - int System_String_IndexOf_4( - System_String_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_String_IndexOf_4( - self, - value, - outException, - ); - } - - late final _System_String_IndexOf_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_String_t, - ffi.Pointer)>>('System_String_IndexOf_4'); - late final _System_String_IndexOf_4 = _System_String_IndexOf_4Ptr.asFunction< - int Function( - System_String_t, System_String_t, ffi.Pointer)>(); - - int System_String_IndexOf_5( - System_String_t self, - System_String_t value, - int startIndex, - ffi.Pointer outException, - ) { - return _System_String_IndexOf_5( - self, - value, - startIndex, - outException, - ); - } - - late final _System_String_IndexOf_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_IndexOf_5'); - late final _System_String_IndexOf_5 = _System_String_IndexOf_5Ptr.asFunction< - int Function(System_String_t, System_String_t, int, - ffi.Pointer)>(); - - int System_String_IndexOf_6( - System_String_t self, - System_String_t value, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_String_IndexOf_6( - self, - value, - startIndex, - count, - outException, - ); - } - - late final _System_String_IndexOf_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_IndexOf_6'); - late final _System_String_IndexOf_6 = _System_String_IndexOf_6Ptr.asFunction< - int Function(System_String_t, System_String_t, int, int, - ffi.Pointer)>(); - - int System_String_IndexOf_7( - System_String_t self, - System_String_t value, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_IndexOf_7( - self, - value, - comparisonType, - outException, - ); - } - - late final _System_String_IndexOf_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_IndexOf_7'); - late final _System_String_IndexOf_7 = _System_String_IndexOf_7Ptr.asFunction< - int Function(System_String_t, System_String_t, int, - ffi.Pointer)>(); - - int System_String_IndexOf_8( - System_String_t self, - System_String_t value, - int startIndex, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_IndexOf_8( - self, - value, - startIndex, - comparisonType, - outException, - ); - } - - late final _System_String_IndexOf_8Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_IndexOf_8'); - late final _System_String_IndexOf_8 = _System_String_IndexOf_8Ptr.asFunction< - int Function(System_String_t, System_String_t, int, int, - ffi.Pointer)>(); - - int System_String_IndexOf_9( - System_String_t self, - System_String_t value, - int startIndex, - int count, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_IndexOf_9( - self, - value, - startIndex, - count, - comparisonType, - outException, - ); - } - - late final _System_String_IndexOf_9Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_IndexOf_9'); - late final _System_String_IndexOf_9 = _System_String_IndexOf_9Ptr.asFunction< - int Function(System_String_t, System_String_t, int, int, int, - ffi.Pointer)>(); - - int System_String_LastIndexOf( - System_String_t self, - int value, - ffi.Pointer outException, - ) { - return _System_String_LastIndexOf( - self, - value, - outException, - ); - } - - late final _System_String_LastIndexOfPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, ffi.WChar, - ffi.Pointer)>>('System_String_LastIndexOf'); - late final _System_String_LastIndexOf = - _System_String_LastIndexOfPtr.asFunction< - int Function( - System_String_t, int, ffi.Pointer)>(); - - int System_String_LastIndexOf_1( - System_String_t self, - int value, - int startIndex, - ffi.Pointer outException, - ) { - return _System_String_LastIndexOf_1( - self, - value, - startIndex, - outException, - ); - } - - late final _System_String_LastIndexOf_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, ffi.WChar, ffi.Int32, - ffi.Pointer)>>('System_String_LastIndexOf_1'); - late final _System_String_LastIndexOf_1 = - _System_String_LastIndexOf_1Ptr.asFunction< - int Function( - System_String_t, int, int, ffi.Pointer)>(); - - int System_String_LastIndexOf_2( - System_String_t self, - int value, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_String_LastIndexOf_2( - self, - value, - startIndex, - count, - outException, - ); - } - - late final _System_String_LastIndexOf_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, ffi.WChar, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_String_LastIndexOf_2'); - late final _System_String_LastIndexOf_2 = - _System_String_LastIndexOf_2Ptr.asFunction< - int Function(System_String_t, int, int, int, - ffi.Pointer)>(); - - int System_String_LastIndexOfAny( - System_String_t self, - System_Char_Array_t anyOf, - ffi.Pointer outException, - ) { - return _System_String_LastIndexOfAny( - self, - anyOf, - outException, - ); - } - - late final _System_String_LastIndexOfAnyPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_Char_Array_t, - ffi.Pointer)>>( - 'System_String_LastIndexOfAny'); - late final _System_String_LastIndexOfAny = - _System_String_LastIndexOfAnyPtr.asFunction< - int Function(System_String_t, System_Char_Array_t, - ffi.Pointer)>(); - - int System_String_LastIndexOfAny_1( - System_String_t self, - System_Char_Array_t anyOf, - int startIndex, - ffi.Pointer outException, - ) { - return _System_String_LastIndexOfAny_1( - self, - anyOf, - startIndex, - outException, - ); - } - - late final _System_String_LastIndexOfAny_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_Char_Array_t, - ffi.Int32, ffi.Pointer)>>( - 'System_String_LastIndexOfAny_1'); - late final _System_String_LastIndexOfAny_1 = - _System_String_LastIndexOfAny_1Ptr.asFunction< - int Function(System_String_t, System_Char_Array_t, int, - ffi.Pointer)>(); - - int System_String_LastIndexOfAny_2( - System_String_t self, - System_Char_Array_t anyOf, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_String_LastIndexOfAny_2( - self, - anyOf, - startIndex, - count, - outException, - ); - } - - late final _System_String_LastIndexOfAny_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_Char_Array_t, - ffi.Int32, ffi.Int32, ffi.Pointer)>>( - 'System_String_LastIndexOfAny_2'); - late final _System_String_LastIndexOfAny_2 = - _System_String_LastIndexOfAny_2Ptr.asFunction< - int Function(System_String_t, System_Char_Array_t, int, int, - ffi.Pointer)>(); - - int System_String_LastIndexOf_3( - System_String_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_String_LastIndexOf_3( - self, - value, - outException, - ); - } - - late final _System_String_LastIndexOf_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_String_t, - ffi.Pointer)>>('System_String_LastIndexOf_3'); - late final _System_String_LastIndexOf_3 = - _System_String_LastIndexOf_3Ptr.asFunction< - int Function(System_String_t, System_String_t, - ffi.Pointer)>(); - - int System_String_LastIndexOf_4( - System_String_t self, - System_String_t value, - int startIndex, - ffi.Pointer outException, - ) { - return _System_String_LastIndexOf_4( - self, - value, - startIndex, - outException, - ); - } - - late final _System_String_LastIndexOf_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_LastIndexOf_4'); - late final _System_String_LastIndexOf_4 = - _System_String_LastIndexOf_4Ptr.asFunction< - int Function(System_String_t, System_String_t, int, - ffi.Pointer)>(); - - int System_String_LastIndexOf_5( - System_String_t self, - System_String_t value, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_String_LastIndexOf_5( - self, - value, - startIndex, - count, - outException, - ); - } - - late final _System_String_LastIndexOf_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_LastIndexOf_5'); - late final _System_String_LastIndexOf_5 = - _System_String_LastIndexOf_5Ptr.asFunction< - int Function(System_String_t, System_String_t, int, int, - ffi.Pointer)>(); - - int System_String_LastIndexOf_6( - System_String_t self, - System_String_t value, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_LastIndexOf_6( - self, - value, - comparisonType, - outException, - ); - } - - late final _System_String_LastIndexOf_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_LastIndexOf_6'); - late final _System_String_LastIndexOf_6 = - _System_String_LastIndexOf_6Ptr.asFunction< - int Function(System_String_t, System_String_t, int, - ffi.Pointer)>(); - - int System_String_LastIndexOf_7( - System_String_t self, - System_String_t value, - int startIndex, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_LastIndexOf_7( - self, - value, - startIndex, - comparisonType, - outException, - ); - } - - late final _System_String_LastIndexOf_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_LastIndexOf_7'); - late final _System_String_LastIndexOf_7 = - _System_String_LastIndexOf_7Ptr.asFunction< - int Function(System_String_t, System_String_t, int, int, - ffi.Pointer)>(); - - int System_String_LastIndexOf_8( - System_String_t self, - System_String_t value, - int startIndex, - int count, - int comparisonType, - ffi.Pointer outException, - ) { - return _System_String_LastIndexOf_8( - self, - value, - startIndex, - count, - comparisonType, - outException, - ); - } - - late final _System_String_LastIndexOf_8Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_String_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_String_LastIndexOf_8'); - late final _System_String_LastIndexOf_8 = - _System_String_LastIndexOf_8Ptr.asFunction< - int Function(System_String_t, System_String_t, int, int, int, - ffi.Pointer)>(); - - System_String_t System_String_Create( - System_Char_Array_t value, - ffi.Pointer outException, - ) { - return _System_String_Create( - value, - outException, - ); - } - - late final _System_String_CreatePtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Char_Array_t, - ffi.Pointer)>>('System_String_Create'); - late final _System_String_Create = _System_String_CreatePtr.asFunction< - System_String_t Function( - System_Char_Array_t, ffi.Pointer)>(); - - System_String_t System_String_Create_1( - System_Char_Array_t value, - int startIndex, - int length, - ffi.Pointer outException, - ) { - return _System_String_Create_1( - value, - startIndex, - length, - outException, - ); - } - - late final _System_String_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Char_Array_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_String_Create_1'); - late final _System_String_Create_1 = _System_String_Create_1Ptr.asFunction< - System_String_t Function( - System_Char_Array_t, int, int, ffi.Pointer)>(); - - System_String_t System_String_Create_2( - int c, - int count, - ffi.Pointer outException, - ) { - return _System_String_Create_2( - c, - count, - outException, - ); - } - - late final _System_String_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(ffi.WChar, ffi.Int32, - ffi.Pointer)>>('System_String_Create_2'); - late final _System_String_Create_2 = _System_String_Create_2Ptr.asFunction< - System_String_t Function(int, int, ffi.Pointer)>(); - - int System_String_Chars_Get( - System_String_t self, - int index, - ffi.Pointer outException, - ) { - return _System_String_Chars_Get( - self, - index, - outException, - ); - } - - late final _System_String_Chars_GetPtr = _lookup< - ffi.NativeFunction< - ffi.WChar Function(System_String_t, ffi.Int32, - ffi.Pointer)>>('System_String_Chars_Get'); - late final _System_String_Chars_Get = _System_String_Chars_GetPtr.asFunction< - int Function(System_String_t, int, ffi.Pointer)>(); - - int System_String_Length_Get( - System_String_t self, - ffi.Pointer outException, - ) { - return _System_String_Length_Get( - self, - outException, - ); - } - - late final _System_String_Length_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_String_t, - ffi.Pointer)>>('System_String_Length_Get'); - late final _System_String_Length_Get = - _System_String_Length_GetPtr.asFunction< - int Function(System_String_t, ffi.Pointer)>(); - - System_String_t System_String_Empty_Get() { - return _System_String_Empty_Get(); - } - - late final _System_String_Empty_GetPtr = - _lookup>( - 'System_String_Empty_Get'); - late final _System_String_Empty_Get = - _System_String_Empty_GetPtr.asFunction(); - - System_Type_t System_String_TypeOf() { - return _System_String_TypeOf(); - } - - late final _System_String_TypeOfPtr = - _lookup>( - 'System_String_TypeOf'); - late final _System_String_TypeOf = - _System_String_TypeOfPtr.asFunction(); - - void System_String_Destroy( - System_String_t self, - ) { - return _System_String_Destroy( - self, - ); - } - - late final _System_String_DestroyPtr = - _lookup>( - 'System_String_Destroy'); - late final _System_String_Destroy = - _System_String_DestroyPtr.asFunction(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_CreateSpecificCulture( - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_CreateSpecificCulture( - name, - outException, - ); - } - - late final _System_Globalization_CultureInfo_CreateSpecificCulturePtr = - _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Globalization_CultureInfo_CreateSpecificCulture'); - late final _System_Globalization_CultureInfo_CreateSpecificCulture = - _System_Globalization_CultureInfo_CreateSpecificCulturePtr.asFunction< - System_Globalization_CultureInfo_t Function( - System_String_t, ffi.Pointer)>(); - - System_Globalization_CultureInfo_Array_t - System_Globalization_CultureInfo_GetCultures( - int types, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_GetCultures( - types, - outException, - ); - } - - late final _System_Globalization_CultureInfo_GetCulturesPtr = _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_Array_t Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_CultureInfo_GetCultures'); - late final _System_Globalization_CultureInfo_GetCultures = - _System_Globalization_CultureInfo_GetCulturesPtr.asFunction< - System_Globalization_CultureInfo_Array_t Function( - int, ffi.Pointer)>(); - - bool System_Globalization_CultureInfo_Equals( - System_Globalization_CultureInfo_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_Equals( - self, - value, - outException, - ); - } - - late final _System_Globalization_CultureInfo_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_CultureInfo_t, - System_Object_t, ffi.Pointer)>>( - 'System_Globalization_CultureInfo_Equals'); - late final _System_Globalization_CultureInfo_Equals = - _System_Globalization_CultureInfo_EqualsPtr.asFunction< - bool Function(System_Globalization_CultureInfo_t, System_Object_t, - ffi.Pointer)>(); - - int System_Globalization_CultureInfo_GetHashCode( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_GetHashCode( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_GetHashCode'); - late final _System_Globalization_CultureInfo_GetHashCode = - _System_Globalization_CultureInfo_GetHashCodePtr.asFunction< - int Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_CultureInfo_ToString( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_ToString( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_ToString'); - late final _System_Globalization_CultureInfo_ToString = - _System_Globalization_CultureInfo_ToStringPtr.asFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Object_t System_Globalization_CultureInfo_GetFormat( - System_Globalization_CultureInfo_t self, - System_Type_t formatType, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_GetFormat( - self, - formatType, - outException, - ); - } - - late final _System_Globalization_CultureInfo_GetFormatPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Globalization_CultureInfo_t, - System_Type_t, ffi.Pointer)>>( - 'System_Globalization_CultureInfo_GetFormat'); - late final _System_Globalization_CultureInfo_GetFormat = - _System_Globalization_CultureInfo_GetFormatPtr.asFunction< - System_Object_t Function(System_Globalization_CultureInfo_t, - System_Type_t, ffi.Pointer)>(); - - void System_Globalization_CultureInfo_ClearCachedData( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_ClearCachedData( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_ClearCachedDataPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_ClearCachedData'); - late final _System_Globalization_CultureInfo_ClearCachedData = - _System_Globalization_CultureInfo_ClearCachedDataPtr.asFunction< - void Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_GetConsoleFallbackUICulture( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_GetConsoleFallbackUICulture( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_GetConsoleFallbackUICulturePtr = - _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_GetConsoleFallbackUICulture'); - late final _System_Globalization_CultureInfo_GetConsoleFallbackUICulture = - _System_Globalization_CultureInfo_GetConsoleFallbackUICulturePtr - .asFunction< - System_Globalization_CultureInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Object_t System_Globalization_CultureInfo_Clone( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_Clone( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_ClonePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_Clone'); - late final _System_Globalization_CultureInfo_Clone = - _System_Globalization_CultureInfo_ClonePtr.asFunction< - System_Object_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Globalization_CultureInfo_t System_Globalization_CultureInfo_ReadOnly( - System_Globalization_CultureInfo_t ci, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_ReadOnly( - ci, - outException, - ); - } - - late final _System_Globalization_CultureInfo_ReadOnlyPtr = _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_ReadOnly'); - late final _System_Globalization_CultureInfo_ReadOnly = - _System_Globalization_CultureInfo_ReadOnlyPtr.asFunction< - System_Globalization_CultureInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_GetCultureInfo( - int culture, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_GetCultureInfo( - culture, - outException, - ); - } - - late final _System_Globalization_CultureInfo_GetCultureInfoPtr = _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_CultureInfo_GetCultureInfo'); - late final _System_Globalization_CultureInfo_GetCultureInfo = - _System_Globalization_CultureInfo_GetCultureInfoPtr.asFunction< - System_Globalization_CultureInfo_t Function( - int, ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_GetCultureInfo_1( - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_GetCultureInfo_1( - name, - outException, - ); - } - - late final _System_Globalization_CultureInfo_GetCultureInfo_1Ptr = _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Globalization_CultureInfo_GetCultureInfo_1'); - late final _System_Globalization_CultureInfo_GetCultureInfo_1 = - _System_Globalization_CultureInfo_GetCultureInfo_1Ptr.asFunction< - System_Globalization_CultureInfo_t Function( - System_String_t, ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_GetCultureInfo_2( - System_String_t name, - System_String_t altName, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_GetCultureInfo_2( - name, - altName, - outException, - ); - } - - late final _System_Globalization_CultureInfo_GetCultureInfo_2Ptr = _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function(System_String_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_CultureInfo_GetCultureInfo_2'); - late final _System_Globalization_CultureInfo_GetCultureInfo_2 = - _System_Globalization_CultureInfo_GetCultureInfo_2Ptr.asFunction< - System_Globalization_CultureInfo_t Function(System_String_t, - System_String_t, ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_GetCultureInfo_3( - System_String_t name, - bool predefinedOnly, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_GetCultureInfo_3( - name, - predefinedOnly, - outException, - ); - } - - late final _System_Globalization_CultureInfo_GetCultureInfo_3Ptr = _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - System_String_t, ffi.Bool, ffi.Pointer)>>( - 'System_Globalization_CultureInfo_GetCultureInfo_3'); - late final _System_Globalization_CultureInfo_GetCultureInfo_3 = - _System_Globalization_CultureInfo_GetCultureInfo_3Ptr.asFunction< - System_Globalization_CultureInfo_t Function( - System_String_t, bool, ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_GetCultureInfoByIetfLanguageTag( - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_GetCultureInfoByIetfLanguageTag( - name, - outException, - ); - } - - late final _System_Globalization_CultureInfo_GetCultureInfoByIetfLanguageTagPtr = - _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Globalization_CultureInfo_GetCultureInfoByIetfLanguageTag'); - late final _System_Globalization_CultureInfo_GetCultureInfoByIetfLanguageTag = - _System_Globalization_CultureInfo_GetCultureInfoByIetfLanguageTagPtr - .asFunction< - System_Globalization_CultureInfo_t Function( - System_String_t, ffi.Pointer)>(); - - System_Globalization_CultureInfo_t System_Globalization_CultureInfo_Create_1( - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_Create_1( - name, - outException, - ); - } - - late final _System_Globalization_CultureInfo_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Globalization_CultureInfo_Create_1'); - late final _System_Globalization_CultureInfo_Create_1 = - _System_Globalization_CultureInfo_Create_1Ptr.asFunction< - System_Globalization_CultureInfo_t Function( - System_String_t, ffi.Pointer)>(); - - System_Globalization_CultureInfo_t System_Globalization_CultureInfo_Create_2( - System_String_t name, - bool useUserOverride, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_Create_2( - name, - useUserOverride, - outException, - ); - } - - late final _System_Globalization_CultureInfo_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - System_String_t, ffi.Bool, ffi.Pointer)>>( - 'System_Globalization_CultureInfo_Create_2'); - late final _System_Globalization_CultureInfo_Create_2 = - _System_Globalization_CultureInfo_Create_2Ptr.asFunction< - System_Globalization_CultureInfo_t Function( - System_String_t, bool, ffi.Pointer)>(); - - System_Globalization_CultureInfo_t System_Globalization_CultureInfo_Create_3( - int culture, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_Create_3( - culture, - outException, - ); - } - - late final _System_Globalization_CultureInfo_Create_3Ptr = _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_CultureInfo_Create_3'); - late final _System_Globalization_CultureInfo_Create_3 = - _System_Globalization_CultureInfo_Create_3Ptr.asFunction< - System_Globalization_CultureInfo_t Function( - int, ffi.Pointer)>(); - - System_Globalization_CultureInfo_t System_Globalization_CultureInfo_Create_4( - int culture, - bool useUserOverride, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_Create_4( - culture, - useUserOverride, - outException, - ); - } - - late final _System_Globalization_CultureInfo_Create_4Ptr = _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - ffi.Int32, ffi.Bool, ffi.Pointer)>>( - 'System_Globalization_CultureInfo_Create_4'); - late final _System_Globalization_CultureInfo_Create_4 = - _System_Globalization_CultureInfo_Create_4Ptr.asFunction< - System_Globalization_CultureInfo_t Function( - int, bool, ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_CurrentCulture_Get( - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_CurrentCulture_Get( - outException, - ); - } - - late final _System_Globalization_CultureInfo_CurrentCulture_GetPtr = _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_CurrentCulture_Get'); - late final _System_Globalization_CultureInfo_CurrentCulture_Get = - _System_Globalization_CultureInfo_CurrentCulture_GetPtr.asFunction< - System_Globalization_CultureInfo_t Function( - ffi.Pointer)>(); - - void System_Globalization_CultureInfo_CurrentCulture_Set( - System_Globalization_CultureInfo_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_CurrentCulture_Set( - value, - outException, - ); - } - - late final _System_Globalization_CultureInfo_CurrentCulture_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_CurrentCulture_Set'); - late final _System_Globalization_CultureInfo_CurrentCulture_Set = - _System_Globalization_CultureInfo_CurrentCulture_SetPtr.asFunction< - void Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_CurrentUICulture_Get( - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_CurrentUICulture_Get( - outException, - ); - } - - late final _System_Globalization_CultureInfo_CurrentUICulture_GetPtr = - _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_CurrentUICulture_Get'); - late final _System_Globalization_CultureInfo_CurrentUICulture_Get = - _System_Globalization_CultureInfo_CurrentUICulture_GetPtr.asFunction< - System_Globalization_CultureInfo_t Function( - ffi.Pointer)>(); - - void System_Globalization_CultureInfo_CurrentUICulture_Set( - System_Globalization_CultureInfo_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_CurrentUICulture_Set( - value, - outException, - ); - } - - late final _System_Globalization_CultureInfo_CurrentUICulture_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_CurrentUICulture_Set'); - late final _System_Globalization_CultureInfo_CurrentUICulture_Set = - _System_Globalization_CultureInfo_CurrentUICulture_SetPtr.asFunction< - void Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_InstalledUICulture_Get( - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_InstalledUICulture_Get( - outException, - ); - } - - late final _System_Globalization_CultureInfo_InstalledUICulture_GetPtr = - _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_InstalledUICulture_Get'); - late final _System_Globalization_CultureInfo_InstalledUICulture_Get = - _System_Globalization_CultureInfo_InstalledUICulture_GetPtr.asFunction< - System_Globalization_CultureInfo_t Function( - ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Get( - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Get( - outException, - ); - } - - late final _System_Globalization_CultureInfo_DefaultThreadCurrentCulture_GetPtr = - _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Get'); - late final _System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Get = - _System_Globalization_CultureInfo_DefaultThreadCurrentCulture_GetPtr - .asFunction< - System_Globalization_CultureInfo_t Function( - ffi.Pointer)>(); - - void System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Set( - System_Globalization_CultureInfo_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Set( - value, - outException, - ); - } - - late final _System_Globalization_CultureInfo_DefaultThreadCurrentCulture_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Set'); - late final _System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Set = - _System_Globalization_CultureInfo_DefaultThreadCurrentCulture_SetPtr - .asFunction< - void Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Get( - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Get( - outException, - ); - } - - late final _System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_GetPtr = - _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Get'); - late final _System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Get = - _System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_GetPtr - .asFunction< - System_Globalization_CultureInfo_t Function( - ffi.Pointer)>(); - - void System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Set( - System_Globalization_CultureInfo_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Set( - value, - outException, - ); - } - - late final _System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Set'); - late final _System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Set = - _System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_SetPtr - .asFunction< - void Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_InvariantCulture_Get( - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_InvariantCulture_Get( - outException, - ); - } - - late final _System_Globalization_CultureInfo_InvariantCulture_GetPtr = - _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_InvariantCulture_Get'); - late final _System_Globalization_CultureInfo_InvariantCulture_Get = - _System_Globalization_CultureInfo_InvariantCulture_GetPtr.asFunction< - System_Globalization_CultureInfo_t Function( - ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Globalization_CultureInfo_Parent_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_Parent_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_Parent_GetPtr = _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_Parent_Get'); - late final _System_Globalization_CultureInfo_Parent_Get = - _System_Globalization_CultureInfo_Parent_GetPtr.asFunction< - System_Globalization_CultureInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - int System_Globalization_CultureInfo_LCID_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_LCID_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_LCID_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_LCID_Get'); - late final _System_Globalization_CultureInfo_LCID_Get = - _System_Globalization_CultureInfo_LCID_GetPtr.asFunction< - int Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - int System_Globalization_CultureInfo_KeyboardLayoutId_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_KeyboardLayoutId_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_KeyboardLayoutId_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_KeyboardLayoutId_Get'); - late final _System_Globalization_CultureInfo_KeyboardLayoutId_Get = - _System_Globalization_CultureInfo_KeyboardLayoutId_GetPtr.asFunction< - int Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_CultureInfo_Name_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_Name_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_Name_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_Name_Get'); - late final _System_Globalization_CultureInfo_Name_Get = - _System_Globalization_CultureInfo_Name_GetPtr.asFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_CultureInfo_IetfLanguageTag_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_IetfLanguageTag_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_IetfLanguageTag_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_IetfLanguageTag_Get'); - late final _System_Globalization_CultureInfo_IetfLanguageTag_Get = - _System_Globalization_CultureInfo_IetfLanguageTag_GetPtr.asFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_CultureInfo_DisplayName_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_DisplayName_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_DisplayName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_DisplayName_Get'); - late final _System_Globalization_CultureInfo_DisplayName_Get = - _System_Globalization_CultureInfo_DisplayName_GetPtr.asFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_CultureInfo_NativeName_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_NativeName_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_NativeName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_NativeName_Get'); - late final _System_Globalization_CultureInfo_NativeName_Get = - _System_Globalization_CultureInfo_NativeName_GetPtr.asFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_CultureInfo_EnglishName_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_EnglishName_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_EnglishName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_EnglishName_Get'); - late final _System_Globalization_CultureInfo_EnglishName_Get = - _System_Globalization_CultureInfo_EnglishName_GetPtr.asFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_CultureInfo_TwoLetterISOLanguageName_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_TwoLetterISOLanguageName_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_TwoLetterISOLanguageName_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_TwoLetterISOLanguageName_Get'); - late final _System_Globalization_CultureInfo_TwoLetterISOLanguageName_Get = - _System_Globalization_CultureInfo_TwoLetterISOLanguageName_GetPtr - .asFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_String_t - System_Globalization_CultureInfo_ThreeLetterISOLanguageName_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_ThreeLetterISOLanguageName_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_ThreeLetterISOLanguageName_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_ThreeLetterISOLanguageName_Get'); - late final _System_Globalization_CultureInfo_ThreeLetterISOLanguageName_Get = - _System_Globalization_CultureInfo_ThreeLetterISOLanguageName_GetPtr - .asFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_String_t - System_Globalization_CultureInfo_ThreeLetterWindowsLanguageName_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_ThreeLetterWindowsLanguageName_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_ThreeLetterWindowsLanguageName_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_ThreeLetterWindowsLanguageName_Get'); - late final _System_Globalization_CultureInfo_ThreeLetterWindowsLanguageName_Get = - _System_Globalization_CultureInfo_ThreeLetterWindowsLanguageName_GetPtr - .asFunction< - System_String_t Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Globalization_CompareInfo_t - System_Globalization_CultureInfo_CompareInfo_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_CompareInfo_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_CompareInfo_GetPtr = _lookup< - ffi.NativeFunction< - System_Globalization_CompareInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_CompareInfo_Get'); - late final _System_Globalization_CultureInfo_CompareInfo_Get = - _System_Globalization_CultureInfo_CompareInfo_GetPtr.asFunction< - System_Globalization_CompareInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Globalization_TextInfo_t System_Globalization_CultureInfo_TextInfo_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_TextInfo_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_TextInfo_GetPtr = _lookup< - ffi.NativeFunction< - System_Globalization_TextInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_TextInfo_Get'); - late final _System_Globalization_CultureInfo_TextInfo_Get = - _System_Globalization_CultureInfo_TextInfo_GetPtr.asFunction< - System_Globalization_TextInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - bool System_Globalization_CultureInfo_IsNeutralCulture_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_IsNeutralCulture_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_IsNeutralCulture_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_IsNeutralCulture_Get'); - late final _System_Globalization_CultureInfo_IsNeutralCulture_Get = - _System_Globalization_CultureInfo_IsNeutralCulture_GetPtr.asFunction< - bool Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - int System_Globalization_CultureInfo_CultureTypes_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_CultureTypes_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_CultureTypes_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_CultureTypes_Get'); - late final _System_Globalization_CultureInfo_CultureTypes_Get = - _System_Globalization_CultureInfo_CultureTypes_GetPtr.asFunction< - int Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Globalization_NumberFormatInfo_t - System_Globalization_CultureInfo_NumberFormat_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_NumberFormat_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_NumberFormat_GetPtr = _lookup< - ffi.NativeFunction< - System_Globalization_NumberFormatInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_NumberFormat_Get'); - late final _System_Globalization_CultureInfo_NumberFormat_Get = - _System_Globalization_CultureInfo_NumberFormat_GetPtr.asFunction< - System_Globalization_NumberFormatInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - void System_Globalization_CultureInfo_NumberFormat_Set( - System_Globalization_CultureInfo_t self, - System_Globalization_NumberFormatInfo_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_NumberFormat_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_CultureInfo_NumberFormat_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Globalization_CultureInfo_t, - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_NumberFormat_Set'); - late final _System_Globalization_CultureInfo_NumberFormat_Set = - _System_Globalization_CultureInfo_NumberFormat_SetPtr.asFunction< - void Function( - System_Globalization_CultureInfo_t, - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - System_Globalization_DateTimeFormatInfo_t - System_Globalization_CultureInfo_DateTimeFormat_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_DateTimeFormat_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_DateTimeFormat_GetPtr = _lookup< - ffi.NativeFunction< - System_Globalization_DateTimeFormatInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_DateTimeFormat_Get'); - late final _System_Globalization_CultureInfo_DateTimeFormat_Get = - _System_Globalization_CultureInfo_DateTimeFormat_GetPtr.asFunction< - System_Globalization_DateTimeFormatInfo_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - void System_Globalization_CultureInfo_DateTimeFormat_Set( - System_Globalization_CultureInfo_t self, - System_Globalization_DateTimeFormatInfo_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_DateTimeFormat_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_CultureInfo_DateTimeFormat_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Globalization_CultureInfo_t, - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_DateTimeFormat_Set'); - late final _System_Globalization_CultureInfo_DateTimeFormat_Set = - _System_Globalization_CultureInfo_DateTimeFormat_SetPtr.asFunction< - void Function( - System_Globalization_CultureInfo_t, - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - System_Globalization_Calendar_t System_Globalization_CultureInfo_Calendar_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_Calendar_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_Calendar_GetPtr = _lookup< - ffi.NativeFunction< - System_Globalization_Calendar_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_Calendar_Get'); - late final _System_Globalization_CultureInfo_Calendar_Get = - _System_Globalization_CultureInfo_Calendar_GetPtr.asFunction< - System_Globalization_Calendar_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Globalization_Calendar_Array_t - System_Globalization_CultureInfo_OptionalCalendars_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_OptionalCalendars_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_OptionalCalendars_GetPtr = - _lookup< - ffi.NativeFunction< - System_Globalization_Calendar_Array_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_OptionalCalendars_Get'); - late final _System_Globalization_CultureInfo_OptionalCalendars_Get = - _System_Globalization_CultureInfo_OptionalCalendars_GetPtr.asFunction< - System_Globalization_Calendar_Array_t Function( - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - bool System_Globalization_CultureInfo_UseUserOverride_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_UseUserOverride_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_UseUserOverride_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_UseUserOverride_Get'); - late final _System_Globalization_CultureInfo_UseUserOverride_Get = - _System_Globalization_CultureInfo_UseUserOverride_GetPtr.asFunction< - bool Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - bool System_Globalization_CultureInfo_IsReadOnly_Get( - System_Globalization_CultureInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CultureInfo_IsReadOnly_Get( - self, - outException, - ); - } - - late final _System_Globalization_CultureInfo_IsReadOnly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CultureInfo_IsReadOnly_Get'); - late final _System_Globalization_CultureInfo_IsReadOnly_Get = - _System_Globalization_CultureInfo_IsReadOnly_GetPtr.asFunction< - bool Function(System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Globalization_CultureInfo_TypeOf() { - return _System_Globalization_CultureInfo_TypeOf(); - } - - late final _System_Globalization_CultureInfo_TypeOfPtr = - _lookup>( - 'System_Globalization_CultureInfo_TypeOf'); - late final _System_Globalization_CultureInfo_TypeOf = - _System_Globalization_CultureInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Globalization_CultureInfo_Destroy( - System_Globalization_CultureInfo_t self, - ) { - return _System_Globalization_CultureInfo_Destroy( - self, - ); - } - - late final _System_Globalization_CultureInfo_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_CultureInfo_t)>>( - 'System_Globalization_CultureInfo_Destroy'); - late final _System_Globalization_CultureInfo_Destroy = - _System_Globalization_CultureInfo_DestroyPtr.asFunction< - void Function(System_Globalization_CultureInfo_t)>(); - - System_Object_t System_IFormatProvider_GetFormat( - System_IFormatProvider_t self, - System_Type_t formatType, - ffi.Pointer outException, - ) { - return _System_IFormatProvider_GetFormat( - self, - formatType, - outException, - ); - } - - late final _System_IFormatProvider_GetFormatPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_IFormatProvider_t, System_Type_t, - ffi.Pointer)>>( - 'System_IFormatProvider_GetFormat'); - late final _System_IFormatProvider_GetFormat = - _System_IFormatProvider_GetFormatPtr.asFunction< - System_Object_t Function(System_IFormatProvider_t, System_Type_t, - ffi.Pointer)>(); - - System_Type_t System_IFormatProvider_TypeOf() { - return _System_IFormatProvider_TypeOf(); - } - - late final _System_IFormatProvider_TypeOfPtr = - _lookup>( - 'System_IFormatProvider_TypeOf'); - late final _System_IFormatProvider_TypeOf = - _System_IFormatProvider_TypeOfPtr.asFunction(); - - void System_IFormatProvider_Destroy( - System_IFormatProvider_t self, - ) { - return _System_IFormatProvider_Destroy( - self, - ); - } - - late final _System_IFormatProvider_DestroyPtr = - _lookup>( - 'System_IFormatProvider_Destroy'); - late final _System_IFormatProvider_Destroy = - _System_IFormatProvider_DestroyPtr.asFunction< - void Function(System_IFormatProvider_t)>(); - - int System_Collections_IStructuralComparable_CompareTo( - System_Collections_IStructuralComparable_t self, - System_Object_t other, - System_Collections_IComparer_t comparer, - ffi.Pointer outException, - ) { - return _System_Collections_IStructuralComparable_CompareTo( - self, - other, - comparer, - outException, - ); - } - - late final _System_Collections_IStructuralComparable_CompareToPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Collections_IStructuralComparable_t, - System_Object_t, - System_Collections_IComparer_t, - ffi.Pointer)>>( - 'System_Collections_IStructuralComparable_CompareTo'); - late final _System_Collections_IStructuralComparable_CompareTo = - _System_Collections_IStructuralComparable_CompareToPtr.asFunction< - int Function( - System_Collections_IStructuralComparable_t, - System_Object_t, - System_Collections_IComparer_t, - ffi.Pointer)>(); - - System_Type_t System_Collections_IStructuralComparable_TypeOf() { - return _System_Collections_IStructuralComparable_TypeOf(); - } - - late final _System_Collections_IStructuralComparable_TypeOfPtr = - _lookup>( - 'System_Collections_IStructuralComparable_TypeOf'); - late final _System_Collections_IStructuralComparable_TypeOf = - _System_Collections_IStructuralComparable_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Collections_IStructuralComparable_Destroy( - System_Collections_IStructuralComparable_t self, - ) { - return _System_Collections_IStructuralComparable_Destroy( - self, - ); - } - - late final _System_Collections_IStructuralComparable_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_IStructuralComparable_t)>>( - 'System_Collections_IStructuralComparable_Destroy'); - late final _System_Collections_IStructuralComparable_Destroy = - _System_Collections_IStructuralComparable_DestroyPtr.asFunction< - void Function(System_Collections_IStructuralComparable_t)>(); - - int System_Collections_IComparer_Compare( - System_Collections_IComparer_t self, - System_Object_t x, - System_Object_t y, - ffi.Pointer outException, - ) { - return _System_Collections_IComparer_Compare( - self, - x, - y, - outException, - ); - } - - late final _System_Collections_IComparer_ComparePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Collections_IComparer_t, - System_Object_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Collections_IComparer_Compare'); - late final _System_Collections_IComparer_Compare = - _System_Collections_IComparer_ComparePtr.asFunction< - int Function(System_Collections_IComparer_t, System_Object_t, - System_Object_t, ffi.Pointer)>(); - - System_Type_t System_Collections_IComparer_TypeOf() { - return _System_Collections_IComparer_TypeOf(); - } - - late final _System_Collections_IComparer_TypeOfPtr = - _lookup>( - 'System_Collections_IComparer_TypeOf'); - late final _System_Collections_IComparer_TypeOf = - _System_Collections_IComparer_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Collections_IComparer_Destroy( - System_Collections_IComparer_t self, - ) { - return _System_Collections_IComparer_Destroy( - self, - ); - } - - late final _System_Collections_IComparer_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Collections_IComparer_Destroy'); - late final _System_Collections_IComparer_Destroy = - _System_Collections_IComparer_DestroyPtr.asFunction< - void Function(System_Collections_IComparer_t)>(); - - bool System_Collections_IStructuralEquatable_Equals( - System_Collections_IStructuralEquatable_t self, - System_Object_t other, - System_Collections_IEqualityComparer_t comparer, - ffi.Pointer outException, - ) { - return _System_Collections_IStructuralEquatable_Equals( - self, - other, - comparer, - outException, - ); - } - - late final _System_Collections_IStructuralEquatable_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Collections_IStructuralEquatable_t, - System_Object_t, - System_Collections_IEqualityComparer_t, - ffi.Pointer)>>( - 'System_Collections_IStructuralEquatable_Equals'); - late final _System_Collections_IStructuralEquatable_Equals = - _System_Collections_IStructuralEquatable_EqualsPtr.asFunction< - bool Function( - System_Collections_IStructuralEquatable_t, - System_Object_t, - System_Collections_IEqualityComparer_t, - ffi.Pointer)>(); - - int System_Collections_IStructuralEquatable_GetHashCode( - System_Collections_IStructuralEquatable_t self, - System_Collections_IEqualityComparer_t comparer, - ffi.Pointer outException, - ) { - return _System_Collections_IStructuralEquatable_GetHashCode( - self, - comparer, - outException, - ); - } - - late final _System_Collections_IStructuralEquatable_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Collections_IStructuralEquatable_t, - System_Collections_IEqualityComparer_t, - ffi.Pointer)>>( - 'System_Collections_IStructuralEquatable_GetHashCode'); - late final _System_Collections_IStructuralEquatable_GetHashCode = - _System_Collections_IStructuralEquatable_GetHashCodePtr.asFunction< - int Function( - System_Collections_IStructuralEquatable_t, - System_Collections_IEqualityComparer_t, - ffi.Pointer)>(); - - System_Type_t System_Collections_IStructuralEquatable_TypeOf() { - return _System_Collections_IStructuralEquatable_TypeOf(); - } - - late final _System_Collections_IStructuralEquatable_TypeOfPtr = - _lookup>( - 'System_Collections_IStructuralEquatable_TypeOf'); - late final _System_Collections_IStructuralEquatable_TypeOf = - _System_Collections_IStructuralEquatable_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Collections_IStructuralEquatable_Destroy( - System_Collections_IStructuralEquatable_t self, - ) { - return _System_Collections_IStructuralEquatable_Destroy( - self, - ); - } - - late final _System_Collections_IStructuralEquatable_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_IStructuralEquatable_t)>>( - 'System_Collections_IStructuralEquatable_Destroy'); - late final _System_Collections_IStructuralEquatable_Destroy = - _System_Collections_IStructuralEquatable_DestroyPtr.asFunction< - void Function(System_Collections_IStructuralEquatable_t)>(); - - bool System_Collections_IEqualityComparer_Equals( - System_Collections_IEqualityComparer_t self, - System_Object_t x, - System_Object_t y, - ffi.Pointer outException, - ) { - return _System_Collections_IEqualityComparer_Equals( - self, - x, - y, - outException, - ); - } - - late final _System_Collections_IEqualityComparer_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Collections_IEqualityComparer_t, - System_Object_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Collections_IEqualityComparer_Equals'); - late final _System_Collections_IEqualityComparer_Equals = - _System_Collections_IEqualityComparer_EqualsPtr.asFunction< - bool Function(System_Collections_IEqualityComparer_t, System_Object_t, - System_Object_t, ffi.Pointer)>(); - - int System_Collections_IEqualityComparer_GetHashCode( - System_Collections_IEqualityComparer_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Collections_IEqualityComparer_GetHashCode( - self, - obj, - outException, - ); - } - - late final _System_Collections_IEqualityComparer_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Collections_IEqualityComparer_t, - System_Object_t, ffi.Pointer)>>( - 'System_Collections_IEqualityComparer_GetHashCode'); - late final _System_Collections_IEqualityComparer_GetHashCode = - _System_Collections_IEqualityComparer_GetHashCodePtr.asFunction< - int Function(System_Collections_IEqualityComparer_t, System_Object_t, - ffi.Pointer)>(); - - System_Type_t System_Collections_IEqualityComparer_TypeOf() { - return _System_Collections_IEqualityComparer_TypeOf(); - } - - late final _System_Collections_IEqualityComparer_TypeOfPtr = - _lookup>( - 'System_Collections_IEqualityComparer_TypeOf'); - late final _System_Collections_IEqualityComparer_TypeOf = - _System_Collections_IEqualityComparer_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Collections_IEqualityComparer_Destroy( - System_Collections_IEqualityComparer_t self, - ) { - return _System_Collections_IEqualityComparer_Destroy( - self, - ); - } - - late final _System_Collections_IEqualityComparer_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_IEqualityComparer_t)>>( - 'System_Collections_IEqualityComparer_Destroy'); - late final _System_Collections_IEqualityComparer_Destroy = - _System_Collections_IEqualityComparer_DestroyPtr.asFunction< - void Function(System_Collections_IEqualityComparer_t)>(); - - System_Globalization_CompareInfo_t - System_Globalization_CompareInfo_GetCompareInfo( - int culture, - System_Reflection_Assembly_t assembly, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_GetCompareInfo( - culture, - assembly, - outException, - ); - } - - late final _System_Globalization_CompareInfo_GetCompareInfoPtr = _lookup< - ffi.NativeFunction< - System_Globalization_CompareInfo_t Function( - ffi.Int32, - System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_GetCompareInfo'); - late final _System_Globalization_CompareInfo_GetCompareInfo = - _System_Globalization_CompareInfo_GetCompareInfoPtr.asFunction< - System_Globalization_CompareInfo_t Function(int, - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_Globalization_CompareInfo_t - System_Globalization_CompareInfo_GetCompareInfo_1( - System_String_t name, - System_Reflection_Assembly_t assembly, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_GetCompareInfo_1( - name, - assembly, - outException, - ); - } - - late final _System_Globalization_CompareInfo_GetCompareInfo_1Ptr = _lookup< - ffi.NativeFunction< - System_Globalization_CompareInfo_t Function( - System_String_t, - System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_GetCompareInfo_1'); - late final _System_Globalization_CompareInfo_GetCompareInfo_1 = - _System_Globalization_CompareInfo_GetCompareInfo_1Ptr.asFunction< - System_Globalization_CompareInfo_t Function(System_String_t, - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_Globalization_CompareInfo_t - System_Globalization_CompareInfo_GetCompareInfo_2( - int culture, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_GetCompareInfo_2( - culture, - outException, - ); - } - - late final _System_Globalization_CompareInfo_GetCompareInfo_2Ptr = _lookup< - ffi.NativeFunction< - System_Globalization_CompareInfo_t Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_CompareInfo_GetCompareInfo_2'); - late final _System_Globalization_CompareInfo_GetCompareInfo_2 = - _System_Globalization_CompareInfo_GetCompareInfo_2Ptr.asFunction< - System_Globalization_CompareInfo_t Function( - int, ffi.Pointer)>(); - - System_Globalization_CompareInfo_t - System_Globalization_CompareInfo_GetCompareInfo_3( - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_GetCompareInfo_3( - name, - outException, - ); - } - - late final _System_Globalization_CompareInfo_GetCompareInfo_3Ptr = _lookup< - ffi.NativeFunction< - System_Globalization_CompareInfo_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Globalization_CompareInfo_GetCompareInfo_3'); - late final _System_Globalization_CompareInfo_GetCompareInfo_3 = - _System_Globalization_CompareInfo_GetCompareInfo_3Ptr.asFunction< - System_Globalization_CompareInfo_t Function( - System_String_t, ffi.Pointer)>(); - - bool System_Globalization_CompareInfo_IsSortable( - int ch, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IsSortable( - ch, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IsSortablePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.WChar, ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IsSortable'); - late final _System_Globalization_CompareInfo_IsSortable = - _System_Globalization_CompareInfo_IsSortablePtr.asFunction< - bool Function(int, ffi.Pointer)>(); - - bool System_Globalization_CompareInfo_IsSortable_1( - System_String_t text, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IsSortable_1( - text, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IsSortable_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IsSortable_1'); - late final _System_Globalization_CompareInfo_IsSortable_1 = - _System_Globalization_CompareInfo_IsSortable_1Ptr.asFunction< - bool Function(System_String_t, ffi.Pointer)>(); - - bool System_Globalization_CompareInfo_IsSortable_2( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IsSortable_2( - value, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IsSortable_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_Rune_t, ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IsSortable_2'); - late final _System_Globalization_CompareInfo_IsSortable_2 = - _System_Globalization_CompareInfo_IsSortable_2Ptr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_Compare( - System_Globalization_CompareInfo_t self, - System_String_t string1, - System_String_t string2, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_Compare( - self, - string1, - string2, - outException, - ); - } - - late final _System_Globalization_CompareInfo_ComparePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_Compare'); - late final _System_Globalization_CompareInfo_Compare = - _System_Globalization_CompareInfo_ComparePtr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_Compare_1( - System_Globalization_CompareInfo_t self, - System_String_t string1, - System_String_t string2, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_Compare_1( - self, - string1, - string2, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_Compare_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_Compare_1'); - late final _System_Globalization_CompareInfo_Compare_1 = - _System_Globalization_CompareInfo_Compare_1Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_Compare_2( - System_Globalization_CompareInfo_t self, - System_String_t string1, - int offset1, - int length1, - System_String_t string2, - int offset2, - int length2, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_Compare_2( - self, - string1, - offset1, - length1, - string2, - offset2, - length2, - outException, - ); - } - - late final _System_Globalization_CompareInfo_Compare_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.Int32, - ffi.Int32, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_Compare_2'); - late final _System_Globalization_CompareInfo_Compare_2 = - _System_Globalization_CompareInfo_Compare_2Ptr.asFunction< - int Function( - System_Globalization_CompareInfo_t, - System_String_t, - int, - int, - System_String_t, - int, - int, - ffi.Pointer)>(); - - int System_Globalization_CompareInfo_Compare_3( - System_Globalization_CompareInfo_t self, - System_String_t string1, - int offset1, - System_String_t string2, - int offset2, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_Compare_3( - self, - string1, - offset1, - string2, - offset2, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_Compare_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.Int32, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_Compare_3'); - late final _System_Globalization_CompareInfo_Compare_3 = - _System_Globalization_CompareInfo_Compare_3Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - System_String_t, int, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_Compare_4( - System_Globalization_CompareInfo_t self, - System_String_t string1, - int offset1, - System_String_t string2, - int offset2, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_Compare_4( - self, - string1, - offset1, - string2, - offset2, - outException, - ); - } - - late final _System_Globalization_CompareInfo_Compare_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.Int32, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_Compare_4'); - late final _System_Globalization_CompareInfo_Compare_4 = - _System_Globalization_CompareInfo_Compare_4Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - System_String_t, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_Compare_5( - System_Globalization_CompareInfo_t self, - System_String_t string1, - int offset1, - int length1, - System_String_t string2, - int offset2, - int length2, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_Compare_5( - self, - string1, - offset1, - length1, - string2, - offset2, - length2, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_Compare_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.Int32, - ffi.Int32, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_Compare_5'); - late final _System_Globalization_CompareInfo_Compare_5 = - _System_Globalization_CompareInfo_Compare_5Ptr.asFunction< - int Function( - System_Globalization_CompareInfo_t, - System_String_t, - int, - int, - System_String_t, - int, - int, - int, - ffi.Pointer)>(); - - bool System_Globalization_CompareInfo_IsPrefix( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t prefix, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IsPrefix( - self, - source, - prefix, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IsPrefixPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IsPrefix'); - late final _System_Globalization_CompareInfo_IsPrefix = - _System_Globalization_CompareInfo_IsPrefixPtr.asFunction< - bool Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, int, ffi.Pointer)>(); - - bool System_Globalization_CompareInfo_IsPrefix_1( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t prefix, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IsPrefix_1( - self, - source, - prefix, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IsPrefix_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IsPrefix_1'); - late final _System_Globalization_CompareInfo_IsPrefix_1 = - _System_Globalization_CompareInfo_IsPrefix_1Ptr.asFunction< - bool Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, ffi.Pointer)>(); - - bool System_Globalization_CompareInfo_IsSuffix( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t suffix, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IsSuffix( - self, - source, - suffix, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IsSuffixPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IsSuffix'); - late final _System_Globalization_CompareInfo_IsSuffix = - _System_Globalization_CompareInfo_IsSuffixPtr.asFunction< - bool Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, int, ffi.Pointer)>(); - - bool System_Globalization_CompareInfo_IsSuffix_1( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t suffix, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IsSuffix_1( - self, - source, - suffix, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IsSuffix_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IsSuffix_1'); - late final _System_Globalization_CompareInfo_IsSuffix_1 = - _System_Globalization_CompareInfo_IsSuffix_1Ptr.asFunction< - bool Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_IndexOf( - System_Globalization_CompareInfo_t self, - System_String_t source, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IndexOf( - self, - source, - value, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IndexOfPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.WChar, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IndexOf'); - late final _System_Globalization_CompareInfo_IndexOf = - _System_Globalization_CompareInfo_IndexOfPtr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - ffi.Pointer)>(); - - int System_Globalization_CompareInfo_IndexOf_1( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IndexOf_1( - self, - source, - value, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IndexOf_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IndexOf_1'); - late final _System_Globalization_CompareInfo_IndexOf_1 = - _System_Globalization_CompareInfo_IndexOf_1Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_IndexOf_2( - System_Globalization_CompareInfo_t self, - System_String_t source, - int value, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IndexOf_2( - self, - source, - value, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IndexOf_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.WChar, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IndexOf_2'); - late final _System_Globalization_CompareInfo_IndexOf_2 = - _System_Globalization_CompareInfo_IndexOf_2Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_IndexOf_3( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t value, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IndexOf_3( - self, - source, - value, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IndexOf_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IndexOf_3'); - late final _System_Globalization_CompareInfo_IndexOf_3 = - _System_Globalization_CompareInfo_IndexOf_3Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_IndexOf_4( - System_Globalization_CompareInfo_t self, - System_String_t source, - int value, - int startIndex, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IndexOf_4( - self, - source, - value, - startIndex, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IndexOf_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.WChar, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IndexOf_4'); - late final _System_Globalization_CompareInfo_IndexOf_4 = - _System_Globalization_CompareInfo_IndexOf_4Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_IndexOf_5( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t value, - int startIndex, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IndexOf_5( - self, - source, - value, - startIndex, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IndexOf_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IndexOf_5'); - late final _System_Globalization_CompareInfo_IndexOf_5 = - _System_Globalization_CompareInfo_IndexOf_5Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_IndexOf_6( - System_Globalization_CompareInfo_t self, - System_String_t source, - int value, - int startIndex, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IndexOf_6( - self, - source, - value, - startIndex, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IndexOf_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.WChar, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IndexOf_6'); - late final _System_Globalization_CompareInfo_IndexOf_6 = - _System_Globalization_CompareInfo_IndexOf_6Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - int, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_IndexOf_7( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t value, - int startIndex, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IndexOf_7( - self, - source, - value, - startIndex, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IndexOf_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IndexOf_7'); - late final _System_Globalization_CompareInfo_IndexOf_7 = - _System_Globalization_CompareInfo_IndexOf_7Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, int, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_IndexOf_8( - System_Globalization_CompareInfo_t self, - System_String_t source, - int value, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IndexOf_8( - self, - source, - value, - startIndex, - count, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IndexOf_8Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.WChar, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IndexOf_8'); - late final _System_Globalization_CompareInfo_IndexOf_8 = - _System_Globalization_CompareInfo_IndexOf_8Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - int, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_IndexOf_9( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t value, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IndexOf_9( - self, - source, - value, - startIndex, - count, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IndexOf_9Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IndexOf_9'); - late final _System_Globalization_CompareInfo_IndexOf_9 = - _System_Globalization_CompareInfo_IndexOf_9Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, int, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_IndexOf_10( - System_Globalization_CompareInfo_t self, - System_String_t source, - int value, - int startIndex, - int count, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IndexOf_10( - self, - source, - value, - startIndex, - count, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IndexOf_10Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.WChar, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IndexOf_10'); - late final _System_Globalization_CompareInfo_IndexOf_10 = - _System_Globalization_CompareInfo_IndexOf_10Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - int, int, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_IndexOf_11( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t value, - int startIndex, - int count, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_IndexOf_11( - self, - source, - value, - startIndex, - count, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_IndexOf_11Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_IndexOf_11'); - late final _System_Globalization_CompareInfo_IndexOf_11 = - _System_Globalization_CompareInfo_IndexOf_11Ptr.asFunction< - int Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - int, - int, - int, - ffi.Pointer)>(); - - int System_Globalization_CompareInfo_LastIndexOf( - System_Globalization_CompareInfo_t self, - System_String_t source, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_LastIndexOf( - self, - source, - value, - outException, - ); - } - - late final _System_Globalization_CompareInfo_LastIndexOfPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.WChar, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_LastIndexOf'); - late final _System_Globalization_CompareInfo_LastIndexOf = - _System_Globalization_CompareInfo_LastIndexOfPtr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - ffi.Pointer)>(); - - int System_Globalization_CompareInfo_LastIndexOf_1( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_LastIndexOf_1( - self, - source, - value, - outException, - ); - } - - late final _System_Globalization_CompareInfo_LastIndexOf_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_LastIndexOf_1'); - late final _System_Globalization_CompareInfo_LastIndexOf_1 = - _System_Globalization_CompareInfo_LastIndexOf_1Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_LastIndexOf_2( - System_Globalization_CompareInfo_t self, - System_String_t source, - int value, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_LastIndexOf_2( - self, - source, - value, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_LastIndexOf_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.WChar, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_LastIndexOf_2'); - late final _System_Globalization_CompareInfo_LastIndexOf_2 = - _System_Globalization_CompareInfo_LastIndexOf_2Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_LastIndexOf_3( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t value, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_LastIndexOf_3( - self, - source, - value, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_LastIndexOf_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_LastIndexOf_3'); - late final _System_Globalization_CompareInfo_LastIndexOf_3 = - _System_Globalization_CompareInfo_LastIndexOf_3Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_LastIndexOf_4( - System_Globalization_CompareInfo_t self, - System_String_t source, - int value, - int startIndex, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_LastIndexOf_4( - self, - source, - value, - startIndex, - outException, - ); - } - - late final _System_Globalization_CompareInfo_LastIndexOf_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.WChar, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_LastIndexOf_4'); - late final _System_Globalization_CompareInfo_LastIndexOf_4 = - _System_Globalization_CompareInfo_LastIndexOf_4Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_LastIndexOf_5( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t value, - int startIndex, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_LastIndexOf_5( - self, - source, - value, - startIndex, - outException, - ); - } - - late final _System_Globalization_CompareInfo_LastIndexOf_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_LastIndexOf_5'); - late final _System_Globalization_CompareInfo_LastIndexOf_5 = - _System_Globalization_CompareInfo_LastIndexOf_5Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_LastIndexOf_6( - System_Globalization_CompareInfo_t self, - System_String_t source, - int value, - int startIndex, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_LastIndexOf_6( - self, - source, - value, - startIndex, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_LastIndexOf_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.WChar, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_LastIndexOf_6'); - late final _System_Globalization_CompareInfo_LastIndexOf_6 = - _System_Globalization_CompareInfo_LastIndexOf_6Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - int, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_LastIndexOf_7( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t value, - int startIndex, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_LastIndexOf_7( - self, - source, - value, - startIndex, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_LastIndexOf_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_LastIndexOf_7'); - late final _System_Globalization_CompareInfo_LastIndexOf_7 = - _System_Globalization_CompareInfo_LastIndexOf_7Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, int, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_LastIndexOf_8( - System_Globalization_CompareInfo_t self, - System_String_t source, - int value, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_LastIndexOf_8( - self, - source, - value, - startIndex, - count, - outException, - ); - } - - late final _System_Globalization_CompareInfo_LastIndexOf_8Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.WChar, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_LastIndexOf_8'); - late final _System_Globalization_CompareInfo_LastIndexOf_8 = - _System_Globalization_CompareInfo_LastIndexOf_8Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - int, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_LastIndexOf_9( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t value, - int startIndex, - int count, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_LastIndexOf_9( - self, - source, - value, - startIndex, - count, - outException, - ); - } - - late final _System_Globalization_CompareInfo_LastIndexOf_9Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_LastIndexOf_9'); - late final _System_Globalization_CompareInfo_LastIndexOf_9 = - _System_Globalization_CompareInfo_LastIndexOf_9Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, - System_String_t, int, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_LastIndexOf_10( - System_Globalization_CompareInfo_t self, - System_String_t source, - int value, - int startIndex, - int count, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_LastIndexOf_10( - self, - source, - value, - startIndex, - count, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_LastIndexOf_10Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.WChar, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_LastIndexOf_10'); - late final _System_Globalization_CompareInfo_LastIndexOf_10 = - _System_Globalization_CompareInfo_LastIndexOf_10Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - int, int, int, ffi.Pointer)>(); - - int System_Globalization_CompareInfo_LastIndexOf_11( - System_Globalization_CompareInfo_t self, - System_String_t source, - System_String_t value, - int startIndex, - int count, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_LastIndexOf_11( - self, - source, - value, - startIndex, - count, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_LastIndexOf_11Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_LastIndexOf_11'); - late final _System_Globalization_CompareInfo_LastIndexOf_11 = - _System_Globalization_CompareInfo_LastIndexOf_11Ptr.asFunction< - int Function( - System_Globalization_CompareInfo_t, - System_String_t, - System_String_t, - int, - int, - int, - ffi.Pointer)>(); - - System_Globalization_SortKey_t System_Globalization_CompareInfo_GetSortKey( - System_Globalization_CompareInfo_t self, - System_String_t source, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_GetSortKey( - self, - source, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_GetSortKeyPtr = _lookup< - ffi.NativeFunction< - System_Globalization_SortKey_t Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_GetSortKey'); - late final _System_Globalization_CompareInfo_GetSortKey = - _System_Globalization_CompareInfo_GetSortKeyPtr.asFunction< - System_Globalization_SortKey_t Function( - System_Globalization_CompareInfo_t, - System_String_t, - int, - ffi.Pointer)>(); - - System_Globalization_SortKey_t System_Globalization_CompareInfo_GetSortKey_1( - System_Globalization_CompareInfo_t self, - System_String_t source, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_GetSortKey_1( - self, - source, - outException, - ); - } - - late final _System_Globalization_CompareInfo_GetSortKey_1Ptr = _lookup< - ffi.NativeFunction< - System_Globalization_SortKey_t Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_GetSortKey_1'); - late final _System_Globalization_CompareInfo_GetSortKey_1 = - _System_Globalization_CompareInfo_GetSortKey_1Ptr.asFunction< - System_Globalization_SortKey_t Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.Pointer)>(); - - bool System_Globalization_CompareInfo_Equals( - System_Globalization_CompareInfo_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_Equals( - self, - value, - outException, - ); - } - - late final _System_Globalization_CompareInfo_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_CompareInfo_t, - System_Object_t, ffi.Pointer)>>( - 'System_Globalization_CompareInfo_Equals'); - late final _System_Globalization_CompareInfo_Equals = - _System_Globalization_CompareInfo_EqualsPtr.asFunction< - bool Function(System_Globalization_CompareInfo_t, System_Object_t, - ffi.Pointer)>(); - - int System_Globalization_CompareInfo_GetHashCode( - System_Globalization_CompareInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_GetHashCode( - self, - outException, - ); - } - - late final _System_Globalization_CompareInfo_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_CompareInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_GetHashCode'); - late final _System_Globalization_CompareInfo_GetHashCode = - _System_Globalization_CompareInfo_GetHashCodePtr.asFunction< - int Function(System_Globalization_CompareInfo_t, - ffi.Pointer)>(); - - int System_Globalization_CompareInfo_GetHashCode_1( - System_Globalization_CompareInfo_t self, - System_String_t source, - int options, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_GetHashCode_1( - self, - source, - options, - outException, - ); - } - - late final _System_Globalization_CompareInfo_GetHashCode_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_CompareInfo_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_GetHashCode_1'); - late final _System_Globalization_CompareInfo_GetHashCode_1 = - _System_Globalization_CompareInfo_GetHashCode_1Ptr.asFunction< - int Function(System_Globalization_CompareInfo_t, System_String_t, int, - ffi.Pointer)>(); - - System_String_t System_Globalization_CompareInfo_ToString( - System_Globalization_CompareInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_ToString( - self, - outException, - ); - } - - late final _System_Globalization_CompareInfo_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_CompareInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_ToString'); - late final _System_Globalization_CompareInfo_ToString = - _System_Globalization_CompareInfo_ToStringPtr.asFunction< - System_String_t Function(System_Globalization_CompareInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_CompareInfo_Name_Get( - System_Globalization_CompareInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_Name_Get( - self, - outException, - ); - } - - late final _System_Globalization_CompareInfo_Name_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_CompareInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_Name_Get'); - late final _System_Globalization_CompareInfo_Name_Get = - _System_Globalization_CompareInfo_Name_GetPtr.asFunction< - System_String_t Function(System_Globalization_CompareInfo_t, - ffi.Pointer)>(); - - System_Globalization_SortVersion_t - System_Globalization_CompareInfo_Version_Get( - System_Globalization_CompareInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_Version_Get( - self, - outException, - ); - } - - late final _System_Globalization_CompareInfo_Version_GetPtr = _lookup< - ffi.NativeFunction< - System_Globalization_SortVersion_t Function( - System_Globalization_CompareInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_Version_Get'); - late final _System_Globalization_CompareInfo_Version_Get = - _System_Globalization_CompareInfo_Version_GetPtr.asFunction< - System_Globalization_SortVersion_t Function( - System_Globalization_CompareInfo_t, - ffi.Pointer)>(); - - int System_Globalization_CompareInfo_LCID_Get( - System_Globalization_CompareInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_CompareInfo_LCID_Get( - self, - outException, - ); - } - - late final _System_Globalization_CompareInfo_LCID_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_CompareInfo_t, - ffi.Pointer)>>( - 'System_Globalization_CompareInfo_LCID_Get'); - late final _System_Globalization_CompareInfo_LCID_Get = - _System_Globalization_CompareInfo_LCID_GetPtr.asFunction< - int Function(System_Globalization_CompareInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Globalization_CompareInfo_TypeOf() { - return _System_Globalization_CompareInfo_TypeOf(); - } - - late final _System_Globalization_CompareInfo_TypeOfPtr = - _lookup>( - 'System_Globalization_CompareInfo_TypeOf'); - late final _System_Globalization_CompareInfo_TypeOf = - _System_Globalization_CompareInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Globalization_CompareInfo_Destroy( - System_Globalization_CompareInfo_t self, - ) { - return _System_Globalization_CompareInfo_Destroy( - self, - ); - } - - late final _System_Globalization_CompareInfo_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_CompareInfo_t)>>( - 'System_Globalization_CompareInfo_Destroy'); - late final _System_Globalization_CompareInfo_Destroy = - _System_Globalization_CompareInfo_DestroyPtr.asFunction< - void Function(System_Globalization_CompareInfo_t)>(); - - void System_Runtime_Serialization_IDeserializationCallback_OnDeserialization( - System_Runtime_Serialization_IDeserializationCallback_t self, - System_Object_t sender, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IDeserializationCallback_OnDeserialization( - self, - sender, - outException, - ); - } - - late final _System_Runtime_Serialization_IDeserializationCallback_OnDeserializationPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_IDeserializationCallback_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IDeserializationCallback_OnDeserialization'); - late final _System_Runtime_Serialization_IDeserializationCallback_OnDeserialization = - _System_Runtime_Serialization_IDeserializationCallback_OnDeserializationPtr - .asFunction< - void Function( - System_Runtime_Serialization_IDeserializationCallback_t, - System_Object_t, - ffi.Pointer)>(); - - System_Type_t System_Runtime_Serialization_IDeserializationCallback_TypeOf() { - return _System_Runtime_Serialization_IDeserializationCallback_TypeOf(); - } - - late final _System_Runtime_Serialization_IDeserializationCallback_TypeOfPtr = - _lookup>( - 'System_Runtime_Serialization_IDeserializationCallback_TypeOf'); - late final _System_Runtime_Serialization_IDeserializationCallback_TypeOf = - _System_Runtime_Serialization_IDeserializationCallback_TypeOfPtr - .asFunction(); - - void System_Runtime_Serialization_IDeserializationCallback_Destroy( - System_Runtime_Serialization_IDeserializationCallback_t self, - ) { - return _System_Runtime_Serialization_IDeserializationCallback_Destroy( - self, - ); - } - - late final _System_Runtime_Serialization_IDeserializationCallback_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_IDeserializationCallback_t)>>( - 'System_Runtime_Serialization_IDeserializationCallback_Destroy'); - late final _System_Runtime_Serialization_IDeserializationCallback_Destroy = - _System_Runtime_Serialization_IDeserializationCallback_DestroyPtr - .asFunction< - void Function( - System_Runtime_Serialization_IDeserializationCallback_t)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_Load( - System_String_t assemblyString, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_Load( - assemblyString, - outException, - ); - } - - late final _System_Reflection_Assembly_LoadPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_Load'); - late final _System_Reflection_Assembly_Load = - _System_Reflection_Assembly_LoadPtr.asFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_LoadWithPartialName( - System_String_t partialName, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_LoadWithPartialName( - partialName, - outException, - ); - } - - late final _System_Reflection_Assembly_LoadWithPartialNamePtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_LoadWithPartialName'); - late final _System_Reflection_Assembly_LoadWithPartialName = - _System_Reflection_Assembly_LoadWithPartialNamePtr.asFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_Load_1( - System_Reflection_AssemblyName_t assemblyRef, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_Load_1( - assemblyRef, - outException, - ); - } - - late final _System_Reflection_Assembly_Load_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_Load_1'); - late final _System_Reflection_Assembly_Load_1 = - _System_Reflection_Assembly_Load_1Ptr.asFunction< - System_Reflection_Assembly_t Function( - System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_GetExecutingAssembly( - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetExecutingAssembly( - outException, - ); - } - - late final _System_Reflection_Assembly_GetExecutingAssemblyPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetExecutingAssembly'); - late final _System_Reflection_Assembly_GetExecutingAssembly = - _System_Reflection_Assembly_GetExecutingAssemblyPtr.asFunction< - System_Reflection_Assembly_t Function( - ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_GetCallingAssembly( - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetCallingAssembly( - outException, - ); - } - - late final _System_Reflection_Assembly_GetCallingAssemblyPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetCallingAssembly'); - late final _System_Reflection_Assembly_GetCallingAssembly = - _System_Reflection_Assembly_GetCallingAssemblyPtr.asFunction< - System_Reflection_Assembly_t Function( - ffi.Pointer)>(); - - System_Type_Array_t System_Reflection_Assembly_GetTypes( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetTypes( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_GetTypesPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetTypes'); - late final _System_Reflection_Assembly_GetTypes = - _System_Reflection_Assembly_GetTypesPtr.asFunction< - System_Type_Array_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_Type_Array_t System_Reflection_Assembly_GetExportedTypes( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetExportedTypes( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_GetExportedTypesPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetExportedTypes'); - late final _System_Reflection_Assembly_GetExportedTypes = - _System_Reflection_Assembly_GetExportedTypesPtr.asFunction< - System_Type_Array_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_Type_Array_t System_Reflection_Assembly_GetForwardedTypes( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetForwardedTypes( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_GetForwardedTypesPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetForwardedTypes'); - late final _System_Reflection_Assembly_GetForwardedTypes = - _System_Reflection_Assembly_GetForwardedTypesPtr.asFunction< - System_Type_Array_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_Reflection_ManifestResourceInfo_t - System_Reflection_Assembly_GetManifestResourceInfo( - System_Reflection_Assembly_t self, - System_String_t resourceName, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetManifestResourceInfo( - self, - resourceName, - outException, - ); - } - - late final _System_Reflection_Assembly_GetManifestResourceInfoPtr = _lookup< - ffi.NativeFunction< - System_Reflection_ManifestResourceInfo_t Function( - System_Reflection_Assembly_t, - System_String_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetManifestResourceInfo'); - late final _System_Reflection_Assembly_GetManifestResourceInfo = - _System_Reflection_Assembly_GetManifestResourceInfoPtr.asFunction< - System_Reflection_ManifestResourceInfo_t Function( - System_Reflection_Assembly_t, - System_String_t, - ffi.Pointer)>(); - - System_String_Array_t System_Reflection_Assembly_GetManifestResourceNames( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetManifestResourceNames( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_GetManifestResourceNamesPtr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetManifestResourceNames'); - late final _System_Reflection_Assembly_GetManifestResourceNames = - _System_Reflection_Assembly_GetManifestResourceNamesPtr.asFunction< - System_String_Array_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_IO_Stream_t System_Reflection_Assembly_GetManifestResourceStream( - System_Reflection_Assembly_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetManifestResourceStream( - self, - name, - outException, - ); - } - - late final _System_Reflection_Assembly_GetManifestResourceStreamPtr = _lookup< - ffi.NativeFunction< - System_IO_Stream_t Function(System_Reflection_Assembly_t, - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_GetManifestResourceStream'); - late final _System_Reflection_Assembly_GetManifestResourceStream = - _System_Reflection_Assembly_GetManifestResourceStreamPtr.asFunction< - System_IO_Stream_t Function(System_Reflection_Assembly_t, - System_String_t, ffi.Pointer)>(); - - System_IO_Stream_t System_Reflection_Assembly_GetManifestResourceStream_1( - System_Reflection_Assembly_t self, - System_Type_t type, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetManifestResourceStream_1( - self, - type, - name, - outException, - ); - } - - late final _System_Reflection_Assembly_GetManifestResourceStream_1Ptr = - _lookup< - ffi.NativeFunction< - System_IO_Stream_t Function( - System_Reflection_Assembly_t, - System_Type_t, - System_String_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetManifestResourceStream_1'); - late final _System_Reflection_Assembly_GetManifestResourceStream_1 = - _System_Reflection_Assembly_GetManifestResourceStream_1Ptr.asFunction< - System_IO_Stream_t Function( - System_Reflection_Assembly_t, - System_Type_t, - System_String_t, - ffi.Pointer)>(); - - System_Reflection_AssemblyName_t System_Reflection_Assembly_GetName( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetName( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_GetNamePtr = _lookup< - ffi.NativeFunction< - System_Reflection_AssemblyName_t Function( - System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetName'); - late final _System_Reflection_Assembly_GetName = - _System_Reflection_Assembly_GetNamePtr.asFunction< - System_Reflection_AssemblyName_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_Reflection_AssemblyName_t System_Reflection_Assembly_GetName_1( - System_Reflection_Assembly_t self, - bool copiedName, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetName_1( - self, - copiedName, - outException, - ); - } - - late final _System_Reflection_Assembly_GetName_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_AssemblyName_t Function( - System_Reflection_Assembly_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetName_1'); - late final _System_Reflection_Assembly_GetName_1 = - _System_Reflection_Assembly_GetName_1Ptr.asFunction< - System_Reflection_AssemblyName_t Function( - System_Reflection_Assembly_t, - bool, - ffi.Pointer)>(); - - System_Type_t System_Reflection_Assembly_GetType_1( - System_Reflection_Assembly_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetType_1( - self, - name, - outException, - ); - } - - late final _System_Reflection_Assembly_GetType_1Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_Assembly_t, - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_GetType_1'); - late final _System_Reflection_Assembly_GetType_1 = - _System_Reflection_Assembly_GetType_1Ptr.asFunction< - System_Type_t Function(System_Reflection_Assembly_t, System_String_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_Assembly_GetType_2( - System_Reflection_Assembly_t self, - System_String_t name, - bool throwOnError, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetType_2( - self, - name, - throwOnError, - outException, - ); - } - - late final _System_Reflection_Assembly_GetType_2Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_Assembly_t, - System_String_t, ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_Assembly_GetType_2'); - late final _System_Reflection_Assembly_GetType_2 = - _System_Reflection_Assembly_GetType_2Ptr.asFunction< - System_Type_t Function(System_Reflection_Assembly_t, System_String_t, - bool, ffi.Pointer)>(); - - System_Type_t System_Reflection_Assembly_GetType_3( - System_Reflection_Assembly_t self, - System_String_t name, - bool throwOnError, - bool ignoreCase, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetType_3( - self, - name, - throwOnError, - ignoreCase, - outException, - ); - } - - late final _System_Reflection_Assembly_GetType_3Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Reflection_Assembly_t, - System_String_t, - ffi.Bool, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetType_3'); - late final _System_Reflection_Assembly_GetType_3 = - _System_Reflection_Assembly_GetType_3Ptr.asFunction< - System_Type_t Function(System_Reflection_Assembly_t, System_String_t, - bool, bool, ffi.Pointer)>(); - - bool System_Reflection_Assembly_IsDefined( - System_Reflection_Assembly_t self, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_IsDefined( - self, - attributeType, - inherit, - outException, - ); - } - - late final _System_Reflection_Assembly_IsDefinedPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Assembly_t, System_Type_t, - ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_Assembly_IsDefined'); - late final _System_Reflection_Assembly_IsDefined = - _System_Reflection_Assembly_IsDefinedPtr.asFunction< - bool Function(System_Reflection_Assembly_t, System_Type_t, bool, - ffi.Pointer)>(); - - System_Object_Array_t System_Reflection_Assembly_GetCustomAttributes( - System_Reflection_Assembly_t self, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetCustomAttributes( - self, - inherit, - outException, - ); - } - - late final _System_Reflection_Assembly_GetCustomAttributesPtr = _lookup< - ffi.NativeFunction< - System_Object_Array_t Function(System_Reflection_Assembly_t, - ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_Assembly_GetCustomAttributes'); - late final _System_Reflection_Assembly_GetCustomAttributes = - _System_Reflection_Assembly_GetCustomAttributesPtr.asFunction< - System_Object_Array_t Function(System_Reflection_Assembly_t, bool, - ffi.Pointer)>(); - - System_Object_Array_t System_Reflection_Assembly_GetCustomAttributes_1( - System_Reflection_Assembly_t self, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetCustomAttributes_1( - self, - attributeType, - inherit, - outException, - ); - } - - late final _System_Reflection_Assembly_GetCustomAttributes_1Ptr = _lookup< - ffi.NativeFunction< - System_Object_Array_t Function(System_Reflection_Assembly_t, - System_Type_t, ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_Assembly_GetCustomAttributes_1'); - late final _System_Reflection_Assembly_GetCustomAttributes_1 = - _System_Reflection_Assembly_GetCustomAttributes_1Ptr.asFunction< - System_Object_Array_t Function(System_Reflection_Assembly_t, - System_Type_t, bool, ffi.Pointer)>(); - - System_Object_t System_Reflection_Assembly_CreateInstance( - System_Reflection_Assembly_t self, - System_String_t typeName, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_CreateInstance( - self, - typeName, - outException, - ); - } - - late final _System_Reflection_Assembly_CreateInstancePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Reflection_Assembly_t, - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_CreateInstance'); - late final _System_Reflection_Assembly_CreateInstance = - _System_Reflection_Assembly_CreateInstancePtr.asFunction< - System_Object_t Function(System_Reflection_Assembly_t, - System_String_t, ffi.Pointer)>(); - - System_Object_t System_Reflection_Assembly_CreateInstance_1( - System_Reflection_Assembly_t self, - System_String_t typeName, - bool ignoreCase, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_CreateInstance_1( - self, - typeName, - ignoreCase, - outException, - ); - } - - late final _System_Reflection_Assembly_CreateInstance_1Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Reflection_Assembly_t, - System_String_t, ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_Assembly_CreateInstance_1'); - late final _System_Reflection_Assembly_CreateInstance_1 = - _System_Reflection_Assembly_CreateInstance_1Ptr.asFunction< - System_Object_t Function(System_Reflection_Assembly_t, - System_String_t, bool, ffi.Pointer)>(); - - System_Object_t System_Reflection_Assembly_CreateInstance_2( - System_Reflection_Assembly_t self, - System_String_t typeName, - bool ignoreCase, - int bindingAttr, - System_Reflection_Binder_t binder, - System_Object_Array_t args, - System_Globalization_CultureInfo_t culture, - System_Object_Array_t activationAttributes, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_CreateInstance_2( - self, - typeName, - ignoreCase, - bindingAttr, - binder, - args, - culture, - activationAttributes, - outException, - ); - } - - late final _System_Reflection_Assembly_CreateInstance_2Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Reflection_Assembly_t, - System_String_t, - ffi.Bool, - ffi.Int32, - System_Reflection_Binder_t, - System_Object_Array_t, - System_Globalization_CultureInfo_t, - System_Object_Array_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_CreateInstance_2'); - late final _System_Reflection_Assembly_CreateInstance_2 = - _System_Reflection_Assembly_CreateInstance_2Ptr.asFunction< - System_Object_t Function( - System_Reflection_Assembly_t, - System_String_t, - bool, - int, - System_Reflection_Binder_t, - System_Object_Array_t, - System_Globalization_CultureInfo_t, - System_Object_Array_t, - ffi.Pointer)>(); - - System_Reflection_Module_t System_Reflection_Assembly_GetModule( - System_Reflection_Assembly_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetModule( - self, - name, - outException, - ); - } - - late final _System_Reflection_Assembly_GetModulePtr = _lookup< - ffi.NativeFunction< - System_Reflection_Module_t Function(System_Reflection_Assembly_t, - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_GetModule'); - late final _System_Reflection_Assembly_GetModule = - _System_Reflection_Assembly_GetModulePtr.asFunction< - System_Reflection_Module_t Function(System_Reflection_Assembly_t, - System_String_t, ffi.Pointer)>(); - - System_Reflection_Module_Array_t System_Reflection_Assembly_GetModules( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetModules( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_GetModulesPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Module_Array_t Function( - System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetModules'); - late final _System_Reflection_Assembly_GetModules = - _System_Reflection_Assembly_GetModulesPtr.asFunction< - System_Reflection_Module_Array_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_Reflection_Module_Array_t System_Reflection_Assembly_GetModules_1( - System_Reflection_Assembly_t self, - bool getResourceModules, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetModules_1( - self, - getResourceModules, - outException, - ); - } - - late final _System_Reflection_Assembly_GetModules_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_Module_Array_t Function( - System_Reflection_Assembly_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetModules_1'); - late final _System_Reflection_Assembly_GetModules_1 = - _System_Reflection_Assembly_GetModules_1Ptr.asFunction< - System_Reflection_Module_Array_t Function( - System_Reflection_Assembly_t, - bool, - ffi.Pointer)>(); - - System_Reflection_Module_Array_t System_Reflection_Assembly_GetLoadedModules( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetLoadedModules( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_GetLoadedModulesPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Module_Array_t Function( - System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetLoadedModules'); - late final _System_Reflection_Assembly_GetLoadedModules = - _System_Reflection_Assembly_GetLoadedModulesPtr.asFunction< - System_Reflection_Module_Array_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_Reflection_Module_Array_t - System_Reflection_Assembly_GetLoadedModules_1( - System_Reflection_Assembly_t self, - bool getResourceModules, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetLoadedModules_1( - self, - getResourceModules, - outException, - ); - } - - late final _System_Reflection_Assembly_GetLoadedModules_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_Module_Array_t Function( - System_Reflection_Assembly_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetLoadedModules_1'); - late final _System_Reflection_Assembly_GetLoadedModules_1 = - _System_Reflection_Assembly_GetLoadedModules_1Ptr.asFunction< - System_Reflection_Module_Array_t Function( - System_Reflection_Assembly_t, - bool, - ffi.Pointer)>(); - - System_Reflection_AssemblyName_Array_t - System_Reflection_Assembly_GetReferencedAssemblies( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetReferencedAssemblies( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_GetReferencedAssembliesPtr = _lookup< - ffi.NativeFunction< - System_Reflection_AssemblyName_Array_t Function( - System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetReferencedAssemblies'); - late final _System_Reflection_Assembly_GetReferencedAssemblies = - _System_Reflection_Assembly_GetReferencedAssembliesPtr.asFunction< - System_Reflection_AssemblyName_Array_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_GetSatelliteAssembly( - System_Reflection_Assembly_t self, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetSatelliteAssembly( - self, - culture, - outException, - ); - } - - late final _System_Reflection_Assembly_GetSatelliteAssemblyPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_Reflection_Assembly_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetSatelliteAssembly'); - late final _System_Reflection_Assembly_GetSatelliteAssembly = - _System_Reflection_Assembly_GetSatelliteAssemblyPtr.asFunction< - System_Reflection_Assembly_t Function( - System_Reflection_Assembly_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Reflection_Assembly_t - System_Reflection_Assembly_GetSatelliteAssembly_1( - System_Reflection_Assembly_t self, - System_Globalization_CultureInfo_t culture, - System_Version_t version, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetSatelliteAssembly_1( - self, - culture, - version, - outException, - ); - } - - late final _System_Reflection_Assembly_GetSatelliteAssembly_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_Reflection_Assembly_t, - System_Globalization_CultureInfo_t, - System_Version_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetSatelliteAssembly_1'); - late final _System_Reflection_Assembly_GetSatelliteAssembly_1 = - _System_Reflection_Assembly_GetSatelliteAssembly_1Ptr.asFunction< - System_Reflection_Assembly_t Function( - System_Reflection_Assembly_t, - System_Globalization_CultureInfo_t, - System_Version_t, - ffi.Pointer)>(); - - System_IO_FileStream_t System_Reflection_Assembly_GetFile( - System_Reflection_Assembly_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetFile( - self, - name, - outException, - ); - } - - late final _System_Reflection_Assembly_GetFilePtr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function(System_Reflection_Assembly_t, - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_GetFile'); - late final _System_Reflection_Assembly_GetFile = - _System_Reflection_Assembly_GetFilePtr.asFunction< - System_IO_FileStream_t Function(System_Reflection_Assembly_t, - System_String_t, ffi.Pointer)>(); - - System_IO_FileStream_Array_t System_Reflection_Assembly_GetFiles( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetFiles( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_GetFilesPtr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_Array_t Function( - System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetFiles'); - late final _System_Reflection_Assembly_GetFiles = - _System_Reflection_Assembly_GetFilesPtr.asFunction< - System_IO_FileStream_Array_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_IO_FileStream_Array_t System_Reflection_Assembly_GetFiles_1( - System_Reflection_Assembly_t self, - bool getResourceModules, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetFiles_1( - self, - getResourceModules, - outException, - ); - } - - late final _System_Reflection_Assembly_GetFiles_1Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_Array_t Function( - System_Reflection_Assembly_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetFiles_1'); - late final _System_Reflection_Assembly_GetFiles_1 = - _System_Reflection_Assembly_GetFiles_1Ptr.asFunction< - System_IO_FileStream_Array_t Function(System_Reflection_Assembly_t, - bool, ffi.Pointer)>(); - - void System_Reflection_Assembly_GetObjectData( - System_Reflection_Assembly_t self, - System_Runtime_Serialization_SerializationInfo_t info, - System_Runtime_Serialization_StreamingContext_t context, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetObjectData( - self, - info, - context, - outException, - ); - } - - late final _System_Reflection_Assembly_GetObjectDataPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_Assembly_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetObjectData'); - late final _System_Reflection_Assembly_GetObjectData = - _System_Reflection_Assembly_GetObjectDataPtr.asFunction< - void Function( - System_Reflection_Assembly_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - System_String_t System_Reflection_Assembly_ToString( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_ToString( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_ToString'); - late final _System_Reflection_Assembly_ToString = - _System_Reflection_Assembly_ToStringPtr.asFunction< - System_String_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - bool System_Reflection_Assembly_Equals( - System_Reflection_Assembly_t self, - System_Object_t o, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_Equals( - self, - o, - outException, - ); - } - - late final _System_Reflection_Assembly_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Assembly_t, System_Object_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_Equals'); - late final _System_Reflection_Assembly_Equals = - _System_Reflection_Assembly_EqualsPtr.asFunction< - bool Function(System_Reflection_Assembly_t, System_Object_t, - ffi.Pointer)>(); - - int System_Reflection_Assembly_GetHashCode( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetHashCode( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetHashCode'); - late final _System_Reflection_Assembly_GetHashCode = - _System_Reflection_Assembly_GetHashCodePtr.asFunction< - int Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_String_t System_Reflection_Assembly_CreateQualifiedName( - System_String_t assemblyName, - System_String_t typeName, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_CreateQualifiedName( - assemblyName, - typeName, - outException, - ); - } - - late final _System_Reflection_Assembly_CreateQualifiedNamePtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_String_t, System_String_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_CreateQualifiedName'); - late final _System_Reflection_Assembly_CreateQualifiedName = - _System_Reflection_Assembly_CreateQualifiedNamePtr.asFunction< - System_String_t Function(System_String_t, System_String_t, - ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_GetAssembly( - System_Type_t type, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetAssembly( - type, - outException, - ); - } - - late final _System_Reflection_Assembly_GetAssemblyPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_GetAssembly'); - late final _System_Reflection_Assembly_GetAssembly = - _System_Reflection_Assembly_GetAssemblyPtr.asFunction< - System_Reflection_Assembly_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_GetEntryAssembly( - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GetEntryAssembly( - outException, - ); - } - - late final _System_Reflection_Assembly_GetEntryAssemblyPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - ffi.Pointer)>>( - 'System_Reflection_Assembly_GetEntryAssembly'); - late final _System_Reflection_Assembly_GetEntryAssembly = - _System_Reflection_Assembly_GetEntryAssemblyPtr.asFunction< - System_Reflection_Assembly_t Function( - ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_Load_2( - System_Byte_Array_t rawAssembly, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_Load_2( - rawAssembly, - outException, - ); - } - - late final _System_Reflection_Assembly_Load_2Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_Byte_Array_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_Load_2'); - late final _System_Reflection_Assembly_Load_2 = - _System_Reflection_Assembly_Load_2Ptr.asFunction< - System_Reflection_Assembly_t Function( - System_Byte_Array_t, ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_Load_3( - System_Byte_Array_t rawAssembly, - System_Byte_Array_t rawSymbolStore, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_Load_3( - rawAssembly, - rawSymbolStore, - outException, - ); - } - - late final _System_Reflection_Assembly_Load_3Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function(System_Byte_Array_t, - System_Byte_Array_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_Load_3'); - late final _System_Reflection_Assembly_Load_3 = - _System_Reflection_Assembly_Load_3Ptr.asFunction< - System_Reflection_Assembly_t Function(System_Byte_Array_t, - System_Byte_Array_t, ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_LoadFile( - System_String_t path, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_LoadFile( - path, - outException, - ); - } - - late final _System_Reflection_Assembly_LoadFilePtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_LoadFile'); - late final _System_Reflection_Assembly_LoadFile = - _System_Reflection_Assembly_LoadFilePtr.asFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_LoadFrom( - System_String_t assemblyFile, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_LoadFrom( - assemblyFile, - outException, - ); - } - - late final _System_Reflection_Assembly_LoadFromPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_LoadFrom'); - late final _System_Reflection_Assembly_LoadFrom = - _System_Reflection_Assembly_LoadFromPtr.asFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_LoadFrom_1( - System_String_t assemblyFile, - System_Byte_Array_t hashValue, - int hashAlgorithm, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_LoadFrom_1( - assemblyFile, - hashValue, - hashAlgorithm, - outException, - ); - } - - late final _System_Reflection_Assembly_LoadFrom_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_String_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_Assembly_LoadFrom_1'); - late final _System_Reflection_Assembly_LoadFrom_1 = - _System_Reflection_Assembly_LoadFrom_1Ptr.asFunction< - System_Reflection_Assembly_t Function(System_String_t, - System_Byte_Array_t, int, ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_UnsafeLoadFrom( - System_String_t assemblyFile, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_UnsafeLoadFrom( - assemblyFile, - outException, - ); - } - - late final _System_Reflection_Assembly_UnsafeLoadFromPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_UnsafeLoadFrom'); - late final _System_Reflection_Assembly_UnsafeLoadFrom = - _System_Reflection_Assembly_UnsafeLoadFromPtr.asFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>(); - - System_Reflection_Module_t System_Reflection_Assembly_LoadModule( - System_Reflection_Assembly_t self, - System_String_t moduleName, - System_Byte_Array_t rawModule, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_LoadModule( - self, - moduleName, - rawModule, - outException, - ); - } - - late final _System_Reflection_Assembly_LoadModulePtr = _lookup< - ffi.NativeFunction< - System_Reflection_Module_t Function( - System_Reflection_Assembly_t, - System_String_t, - System_Byte_Array_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_LoadModule'); - late final _System_Reflection_Assembly_LoadModule = - _System_Reflection_Assembly_LoadModulePtr.asFunction< - System_Reflection_Module_t Function( - System_Reflection_Assembly_t, - System_String_t, - System_Byte_Array_t, - ffi.Pointer)>(); - - System_Reflection_Module_t System_Reflection_Assembly_LoadModule_1( - System_Reflection_Assembly_t self, - System_String_t moduleName, - System_Byte_Array_t rawModule, - System_Byte_Array_t rawSymbolStore, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_LoadModule_1( - self, - moduleName, - rawModule, - rawSymbolStore, - outException, - ); - } - - late final _System_Reflection_Assembly_LoadModule_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_Module_t Function( - System_Reflection_Assembly_t, - System_String_t, - System_Byte_Array_t, - System_Byte_Array_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_LoadModule_1'); - late final _System_Reflection_Assembly_LoadModule_1 = - _System_Reflection_Assembly_LoadModule_1Ptr.asFunction< - System_Reflection_Module_t Function( - System_Reflection_Assembly_t, - System_String_t, - System_Byte_Array_t, - System_Byte_Array_t, - ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_ReflectionOnlyLoad( - System_Byte_Array_t rawAssembly, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_ReflectionOnlyLoad( - rawAssembly, - outException, - ); - } - - late final _System_Reflection_Assembly_ReflectionOnlyLoadPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_Byte_Array_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_ReflectionOnlyLoad'); - late final _System_Reflection_Assembly_ReflectionOnlyLoad = - _System_Reflection_Assembly_ReflectionOnlyLoadPtr.asFunction< - System_Reflection_Assembly_t Function( - System_Byte_Array_t, ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Assembly_ReflectionOnlyLoad_1( - System_String_t assemblyString, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_ReflectionOnlyLoad_1( - assemblyString, - outException, - ); - } - - late final _System_Reflection_Assembly_ReflectionOnlyLoad_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_ReflectionOnlyLoad_1'); - late final _System_Reflection_Assembly_ReflectionOnlyLoad_1 = - _System_Reflection_Assembly_ReflectionOnlyLoad_1Ptr.asFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>(); - - System_Reflection_Assembly_t - System_Reflection_Assembly_ReflectionOnlyLoadFrom( - System_String_t assemblyFile, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_ReflectionOnlyLoadFrom( - assemblyFile, - outException, - ); - } - - late final _System_Reflection_Assembly_ReflectionOnlyLoadFromPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Assembly_ReflectionOnlyLoadFrom'); - late final _System_Reflection_Assembly_ReflectionOnlyLoadFrom = - _System_Reflection_Assembly_ReflectionOnlyLoadFromPtr.asFunction< - System_Reflection_Assembly_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_Reflection_Assembly_CodeBase_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_CodeBase_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_CodeBase_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_CodeBase_Get'); - late final _System_Reflection_Assembly_CodeBase_Get = - _System_Reflection_Assembly_CodeBase_GetPtr.asFunction< - System_String_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_Assembly_EntryPoint_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_EntryPoint_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_EntryPoint_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_EntryPoint_Get'); - late final _System_Reflection_Assembly_EntryPoint_Get = - _System_Reflection_Assembly_EntryPoint_GetPtr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_String_t System_Reflection_Assembly_FullName_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_FullName_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_FullName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_FullName_Get'); - late final _System_Reflection_Assembly_FullName_Get = - _System_Reflection_Assembly_FullName_GetPtr.asFunction< - System_String_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_String_t System_Reflection_Assembly_ImageRuntimeVersion_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_ImageRuntimeVersion_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_ImageRuntimeVersion_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_ImageRuntimeVersion_Get'); - late final _System_Reflection_Assembly_ImageRuntimeVersion_Get = - _System_Reflection_Assembly_ImageRuntimeVersion_GetPtr.asFunction< - System_String_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - bool System_Reflection_Assembly_IsDynamic_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_IsDynamic_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_IsDynamic_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_IsDynamic_Get'); - late final _System_Reflection_Assembly_IsDynamic_Get = - _System_Reflection_Assembly_IsDynamic_GetPtr.asFunction< - bool Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_String_t System_Reflection_Assembly_Location_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_Location_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_Location_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_Location_Get'); - late final _System_Reflection_Assembly_Location_Get = - _System_Reflection_Assembly_Location_GetPtr.asFunction< - System_String_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - bool System_Reflection_Assembly_ReflectionOnly_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_ReflectionOnly_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_ReflectionOnly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_ReflectionOnly_Get'); - late final _System_Reflection_Assembly_ReflectionOnly_Get = - _System_Reflection_Assembly_ReflectionOnly_GetPtr.asFunction< - bool Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - bool System_Reflection_Assembly_IsCollectible_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_IsCollectible_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_IsCollectible_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_IsCollectible_Get'); - late final _System_Reflection_Assembly_IsCollectible_Get = - _System_Reflection_Assembly_IsCollectible_GetPtr.asFunction< - bool Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - bool System_Reflection_Assembly_IsFullyTrusted_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_IsFullyTrusted_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_IsFullyTrusted_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_IsFullyTrusted_Get'); - late final _System_Reflection_Assembly_IsFullyTrusted_Get = - _System_Reflection_Assembly_IsFullyTrusted_GetPtr.asFunction< - bool Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_String_t System_Reflection_Assembly_EscapedCodeBase_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_EscapedCodeBase_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_EscapedCodeBase_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_EscapedCodeBase_Get'); - late final _System_Reflection_Assembly_EscapedCodeBase_Get = - _System_Reflection_Assembly_EscapedCodeBase_GetPtr.asFunction< - System_String_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_Reflection_Module_t System_Reflection_Assembly_ManifestModule_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_ManifestModule_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_ManifestModule_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Module_t Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_ManifestModule_Get'); - late final _System_Reflection_Assembly_ManifestModule_Get = - _System_Reflection_Assembly_ManifestModule_GetPtr.asFunction< - System_Reflection_Module_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - bool System_Reflection_Assembly_GlobalAssemblyCache_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_GlobalAssemblyCache_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_GlobalAssemblyCache_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_GlobalAssemblyCache_Get'); - late final _System_Reflection_Assembly_GlobalAssemblyCache_Get = - _System_Reflection_Assembly_GlobalAssemblyCache_GetPtr.asFunction< - bool Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - int System_Reflection_Assembly_HostContext_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_HostContext_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_HostContext_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_HostContext_Get'); - late final _System_Reflection_Assembly_HostContext_Get = - _System_Reflection_Assembly_HostContext_GetPtr.asFunction< - int Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - int System_Reflection_Assembly_SecurityRuleSet_Get( - System_Reflection_Assembly_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Assembly_SecurityRuleSet_Get( - self, - outException, - ); - } - - late final _System_Reflection_Assembly_SecurityRuleSet_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Reflection_Assembly_SecurityRuleSet_Get'); - late final _System_Reflection_Assembly_SecurityRuleSet_Get = - _System_Reflection_Assembly_SecurityRuleSet_GetPtr.asFunction< - int Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - void System_Reflection_Assembly_ModuleResolve_Add( - System_Reflection_Assembly_t self, - System_Reflection_ModuleResolveEventHandler_t value, - ) { - return _System_Reflection_Assembly_ModuleResolve_Add( - self, - value, - ); - } - - late final _System_Reflection_Assembly_ModuleResolve_AddPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_Assembly_t, - System_Reflection_ModuleResolveEventHandler_t)>>( - 'System_Reflection_Assembly_ModuleResolve_Add'); - late final _System_Reflection_Assembly_ModuleResolve_Add = - _System_Reflection_Assembly_ModuleResolve_AddPtr.asFunction< - void Function(System_Reflection_Assembly_t, - System_Reflection_ModuleResolveEventHandler_t)>(); - - void System_Reflection_Assembly_ModuleResolve_Remove( - System_Reflection_Assembly_t self, - System_Reflection_ModuleResolveEventHandler_t value, - ) { - return _System_Reflection_Assembly_ModuleResolve_Remove( - self, - value, - ); - } - - late final _System_Reflection_Assembly_ModuleResolve_RemovePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_Assembly_t, - System_Reflection_ModuleResolveEventHandler_t)>>( - 'System_Reflection_Assembly_ModuleResolve_Remove'); - late final _System_Reflection_Assembly_ModuleResolve_Remove = - _System_Reflection_Assembly_ModuleResolve_RemovePtr.asFunction< - void Function(System_Reflection_Assembly_t, - System_Reflection_ModuleResolveEventHandler_t)>(); - - System_Type_t System_Reflection_Assembly_TypeOf() { - return _System_Reflection_Assembly_TypeOf(); - } - - late final _System_Reflection_Assembly_TypeOfPtr = - _lookup>( - 'System_Reflection_Assembly_TypeOf'); - late final _System_Reflection_Assembly_TypeOf = - _System_Reflection_Assembly_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_Assembly_Destroy( - System_Reflection_Assembly_t self, - ) { - return _System_Reflection_Assembly_Destroy( - self, - ); - } - - late final _System_Reflection_Assembly_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_Reflection_Assembly_Destroy'); - late final _System_Reflection_Assembly_Destroy = - _System_Reflection_Assembly_DestroyPtr.asFunction< - void Function(System_Reflection_Assembly_t)>(); - - void System_Runtime_Serialization_ISerializable_GetObjectData( - System_Runtime_Serialization_ISerializable_t self, - System_Runtime_Serialization_SerializationInfo_t info, - System_Runtime_Serialization_StreamingContext_t context, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_ISerializable_GetObjectData( - self, - info, - context, - outException, - ); - } - - late final _System_Runtime_Serialization_ISerializable_GetObjectDataPtr = - _lookup< - ffi - .NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_ISerializable_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_ISerializable_GetObjectData'); - late final _System_Runtime_Serialization_ISerializable_GetObjectData = - _System_Runtime_Serialization_ISerializable_GetObjectDataPtr.asFunction< - void Function( - System_Runtime_Serialization_ISerializable_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - System_Type_t System_Runtime_Serialization_ISerializable_TypeOf() { - return _System_Runtime_Serialization_ISerializable_TypeOf(); - } - - late final _System_Runtime_Serialization_ISerializable_TypeOfPtr = - _lookup>( - 'System_Runtime_Serialization_ISerializable_TypeOf'); - late final _System_Runtime_Serialization_ISerializable_TypeOf = - _System_Runtime_Serialization_ISerializable_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Runtime_Serialization_ISerializable_Destroy( - System_Runtime_Serialization_ISerializable_t self, - ) { - return _System_Runtime_Serialization_ISerializable_Destroy( - self, - ); - } - - late final _System_Runtime_Serialization_ISerializable_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Runtime_Serialization_ISerializable_t)>>( - 'System_Runtime_Serialization_ISerializable_Destroy'); - late final _System_Runtime_Serialization_ISerializable_Destroy = - _System_Runtime_Serialization_ISerializable_DestroyPtr.asFunction< - void Function(System_Runtime_Serialization_ISerializable_t)>(); - - void System_Runtime_Serialization_SerializationInfo_SetType( - System_Runtime_Serialization_SerializationInfo_t self, - System_Type_t type, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_SetType( - self, - type, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_SetTypePtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_Type_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_SetType'); - late final _System_Runtime_Serialization_SerializationInfo_SetType = - _System_Runtime_Serialization_SerializationInfo_SetTypePtr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_Type_t, ffi.Pointer)>(); - - System_Runtime_Serialization_SerializationInfoEnumerator_t - System_Runtime_Serialization_SerializationInfo_GetEnumerator( - System_Runtime_Serialization_SerializationInfo_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetEnumerator( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetEnumeratorPtr = - _lookup< - ffi.NativeFunction< - System_Runtime_Serialization_SerializationInfoEnumerator_t Function( - System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetEnumerator'); - late final _System_Runtime_Serialization_SerializationInfo_GetEnumerator = - _System_Runtime_Serialization_SerializationInfo_GetEnumeratorPtr.asFunction< - System_Runtime_Serialization_SerializationInfoEnumerator_t Function( - System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - System_Object_t value, - System_Type_t type, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue( - self, - name, - value, - type, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValuePtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - System_Object_t, - System_Type_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue = - _System_Runtime_Serialization_SerializationInfo_AddValuePtr.asFunction< - void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - System_Object_t, - System_Type_t, - ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_1( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_1( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_1Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_1'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_1 = - _System_Runtime_Serialization_SerializationInfo_AddValue_1Ptr.asFunction< - void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - System_Object_t, - ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_2( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - bool value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_2( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_2Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_2'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_2 = - _System_Runtime_Serialization_SerializationInfo_AddValue_2Ptr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, bool, ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_3( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - int value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_3( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_3Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.WChar, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_3'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_3 = - _System_Runtime_Serialization_SerializationInfo_AddValue_3Ptr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, int, ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_4( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - int value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_4( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_4Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Int8, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_4'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_4 = - _System_Runtime_Serialization_SerializationInfo_AddValue_4Ptr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, int, ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_5( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - int value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_5( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_5Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Uint8, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_5'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_5 = - _System_Runtime_Serialization_SerializationInfo_AddValue_5Ptr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, int, ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_6( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - int value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_6( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_6Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Int16, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_6'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_6 = - _System_Runtime_Serialization_SerializationInfo_AddValue_6Ptr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, int, ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_7( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - int value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_7( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_7Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Uint16, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_7'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_7 = - _System_Runtime_Serialization_SerializationInfo_AddValue_7Ptr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, int, ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_8( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - int value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_8( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_8Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_8'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_8 = - _System_Runtime_Serialization_SerializationInfo_AddValue_8Ptr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, int, ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_9( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - int value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_9( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_9Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Uint32, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_9'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_9 = - _System_Runtime_Serialization_SerializationInfo_AddValue_9Ptr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, int, ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_10( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - int value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_10( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_10Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Int64, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_10'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_10 = - _System_Runtime_Serialization_SerializationInfo_AddValue_10Ptr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, int, ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_11( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - int value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_11( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_11Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Uint64, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_11'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_11 = - _System_Runtime_Serialization_SerializationInfo_AddValue_11Ptr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, int, ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_12( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - double value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_12( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_12Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Float, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_12'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_12 = - _System_Runtime_Serialization_SerializationInfo_AddValue_12Ptr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, double, ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_13( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - double value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_13( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_13Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Double, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_13'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_13 = - _System_Runtime_Serialization_SerializationInfo_AddValue_13Ptr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, double, ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_14( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_14( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_14Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - System_Decimal_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_14'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_14 = - _System_Runtime_Serialization_SerializationInfo_AddValue_14Ptr.asFunction< - void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - System_Decimal_t, - ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AddValue_15( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - System_DateTime_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AddValue_15( - self, - name, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AddValue_15Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - System_DateTime_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AddValue_15'); - late final _System_Runtime_Serialization_SerializationInfo_AddValue_15 = - _System_Runtime_Serialization_SerializationInfo_AddValue_15Ptr.asFunction< - void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - System_DateTime_t, - ffi.Pointer)>(); - - System_Object_t System_Runtime_Serialization_SerializationInfo_GetValue( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - System_Type_t type, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetValue( - self, - name, - type, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetValuePtr = - _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - System_Type_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetValue'); - late final _System_Runtime_Serialization_SerializationInfo_GetValue = - _System_Runtime_Serialization_SerializationInfo_GetValuePtr.asFunction< - System_Object_t Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - System_Type_t, - ffi.Pointer)>(); - - bool System_Runtime_Serialization_SerializationInfo_GetBoolean( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetBoolean( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetBooleanPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetBoolean'); - late final _System_Runtime_Serialization_SerializationInfo_GetBoolean = - _System_Runtime_Serialization_SerializationInfo_GetBooleanPtr.asFunction< - bool Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_SerializationInfo_GetChar( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetChar( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetCharPtr = - _lookup< - ffi.NativeFunction< - ffi.WChar Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetChar'); - late final _System_Runtime_Serialization_SerializationInfo_GetChar = - _System_Runtime_Serialization_SerializationInfo_GetCharPtr.asFunction< - int Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_SerializationInfo_GetSByte( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetSByte( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetSBytePtr = - _lookup< - ffi.NativeFunction< - ffi.Int8 Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetSByte'); - late final _System_Runtime_Serialization_SerializationInfo_GetSByte = - _System_Runtime_Serialization_SerializationInfo_GetSBytePtr.asFunction< - int Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_SerializationInfo_GetByte( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetByte( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetBytePtr = - _lookup< - ffi.NativeFunction< - ffi.Uint8 Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetByte'); - late final _System_Runtime_Serialization_SerializationInfo_GetByte = - _System_Runtime_Serialization_SerializationInfo_GetBytePtr.asFunction< - int Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_SerializationInfo_GetInt16( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetInt16( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetInt16Ptr = - _lookup< - ffi.NativeFunction< - ffi.Int16 Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetInt16'); - late final _System_Runtime_Serialization_SerializationInfo_GetInt16 = - _System_Runtime_Serialization_SerializationInfo_GetInt16Ptr.asFunction< - int Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_SerializationInfo_GetUInt16( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetUInt16( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetUInt16Ptr = - _lookup< - ffi - .NativeFunction< - ffi.Uint16 Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetUInt16'); - late final _System_Runtime_Serialization_SerializationInfo_GetUInt16 = - _System_Runtime_Serialization_SerializationInfo_GetUInt16Ptr.asFunction< - int Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_SerializationInfo_GetInt32( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetInt32( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetInt32Ptr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetInt32'); - late final _System_Runtime_Serialization_SerializationInfo_GetInt32 = - _System_Runtime_Serialization_SerializationInfo_GetInt32Ptr.asFunction< - int Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_SerializationInfo_GetUInt32( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetUInt32( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetUInt32Ptr = - _lookup< - ffi - .NativeFunction< - ffi.Uint32 Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetUInt32'); - late final _System_Runtime_Serialization_SerializationInfo_GetUInt32 = - _System_Runtime_Serialization_SerializationInfo_GetUInt32Ptr.asFunction< - int Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_SerializationInfo_GetInt64( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetInt64( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetInt64Ptr = - _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetInt64'); - late final _System_Runtime_Serialization_SerializationInfo_GetInt64 = - _System_Runtime_Serialization_SerializationInfo_GetInt64Ptr.asFunction< - int Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_SerializationInfo_GetUInt64( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetUInt64( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetUInt64Ptr = - _lookup< - ffi - .NativeFunction< - ffi.Uint64 Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetUInt64'); - late final _System_Runtime_Serialization_SerializationInfo_GetUInt64 = - _System_Runtime_Serialization_SerializationInfo_GetUInt64Ptr.asFunction< - int Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - double System_Runtime_Serialization_SerializationInfo_GetSingle( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetSingle( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetSinglePtr = - _lookup< - ffi - .NativeFunction< - ffi.Float Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetSingle'); - late final _System_Runtime_Serialization_SerializationInfo_GetSingle = - _System_Runtime_Serialization_SerializationInfo_GetSinglePtr.asFunction< - double Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - double System_Runtime_Serialization_SerializationInfo_GetDouble( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetDouble( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetDoublePtr = - _lookup< - ffi - .NativeFunction< - ffi.Double Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetDouble'); - late final _System_Runtime_Serialization_SerializationInfo_GetDouble = - _System_Runtime_Serialization_SerializationInfo_GetDoublePtr.asFunction< - double Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - System_Decimal_t System_Runtime_Serialization_SerializationInfo_GetDecimal( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetDecimal( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetDecimalPtr = - _lookup< - ffi.NativeFunction< - System_Decimal_t Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetDecimal'); - late final _System_Runtime_Serialization_SerializationInfo_GetDecimal = - _System_Runtime_Serialization_SerializationInfo_GetDecimalPtr.asFunction< - System_Decimal_t Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>(); - - System_DateTime_t System_Runtime_Serialization_SerializationInfo_GetDateTime( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetDateTime( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetDateTimePtr = - _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetDateTime'); - late final _System_Runtime_Serialization_SerializationInfo_GetDateTime = - _System_Runtime_Serialization_SerializationInfo_GetDateTimePtr.asFunction< - System_DateTime_t Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>(); - - System_String_t System_Runtime_Serialization_SerializationInfo_GetString( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_GetString( - self, - name, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_GetStringPtr = - _lookup< - ffi - .NativeFunction< - System_String_t Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_GetString'); - late final _System_Runtime_Serialization_SerializationInfo_GetString = - _System_Runtime_Serialization_SerializationInfo_GetStringPtr.asFunction< - System_String_t Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>(); - - System_Runtime_Serialization_SerializationInfo_t - System_Runtime_Serialization_SerializationInfo_Create( - System_Type_t type, - System_Runtime_Serialization_IFormatterConverter_t converter, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_Create( - type, - converter, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_CreatePtr = - _lookup< - ffi.NativeFunction< - System_Runtime_Serialization_SerializationInfo_t Function( - System_Type_t, - System_Runtime_Serialization_IFormatterConverter_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_Create'); - late final _System_Runtime_Serialization_SerializationInfo_Create = - _System_Runtime_Serialization_SerializationInfo_CreatePtr.asFunction< - System_Runtime_Serialization_SerializationInfo_t Function( - System_Type_t, - System_Runtime_Serialization_IFormatterConverter_t, - ffi.Pointer)>(); - - System_Runtime_Serialization_SerializationInfo_t - System_Runtime_Serialization_SerializationInfo_Create_1( - System_Type_t type, - System_Runtime_Serialization_IFormatterConverter_t converter, - bool requireSameTokenInPartialTrust, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_Create_1( - type, - converter, - requireSameTokenInPartialTrust, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_Create_1Ptr = - _lookup< - ffi.NativeFunction< - System_Runtime_Serialization_SerializationInfo_t Function( - System_Type_t, - System_Runtime_Serialization_IFormatterConverter_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_Create_1'); - late final _System_Runtime_Serialization_SerializationInfo_Create_1 = - _System_Runtime_Serialization_SerializationInfo_Create_1Ptr.asFunction< - System_Runtime_Serialization_SerializationInfo_t Function( - System_Type_t, - System_Runtime_Serialization_IFormatterConverter_t, - bool, - ffi.Pointer)>(); - - System_String_t - System_Runtime_Serialization_SerializationInfo_FullTypeName_Get( - System_Runtime_Serialization_SerializationInfo_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_FullTypeName_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_FullTypeName_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_FullTypeName_Get'); - late final _System_Runtime_Serialization_SerializationInfo_FullTypeName_Get = - _System_Runtime_Serialization_SerializationInfo_FullTypeName_GetPtr - .asFunction< - System_String_t Function( - System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_FullTypeName_Set( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_FullTypeName_Set( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_FullTypeName_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_FullTypeName_Set'); - late final _System_Runtime_Serialization_SerializationInfo_FullTypeName_Set = - _System_Runtime_Serialization_SerializationInfo_FullTypeName_SetPtr - .asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t - System_Runtime_Serialization_SerializationInfo_AssemblyName_Get( - System_Runtime_Serialization_SerializationInfo_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AssemblyName_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AssemblyName_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AssemblyName_Get'); - late final _System_Runtime_Serialization_SerializationInfo_AssemblyName_Get = - _System_Runtime_Serialization_SerializationInfo_AssemblyName_GetPtr - .asFunction< - System_String_t Function( - System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfo_AssemblyName_Set( - System_Runtime_Serialization_SerializationInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_AssemblyName_Set( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_AssemblyName_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t, - System_String_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_AssemblyName_Set'); - late final _System_Runtime_Serialization_SerializationInfo_AssemblyName_Set = - _System_Runtime_Serialization_SerializationInfo_AssemblyName_SetPtr - .asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t, - System_String_t, ffi.Pointer)>(); - - bool - System_Runtime_Serialization_SerializationInfo_IsFullTypeNameSetExplicit_Get( - System_Runtime_Serialization_SerializationInfo_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_IsFullTypeNameSetExplicit_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_IsFullTypeNameSetExplicit_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_IsFullTypeNameSetExplicit_Get'); - late final _System_Runtime_Serialization_SerializationInfo_IsFullTypeNameSetExplicit_Get = - _System_Runtime_Serialization_SerializationInfo_IsFullTypeNameSetExplicit_GetPtr - .asFunction< - bool Function(System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>(); - - bool - System_Runtime_Serialization_SerializationInfo_IsAssemblyNameSetExplicit_Get( - System_Runtime_Serialization_SerializationInfo_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_IsAssemblyNameSetExplicit_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_IsAssemblyNameSetExplicit_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_IsAssemblyNameSetExplicit_Get'); - late final _System_Runtime_Serialization_SerializationInfo_IsAssemblyNameSetExplicit_Get = - _System_Runtime_Serialization_SerializationInfo_IsAssemblyNameSetExplicit_GetPtr - .asFunction< - bool Function(System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>(); - - int System_Runtime_Serialization_SerializationInfo_MemberCount_Get( - System_Runtime_Serialization_SerializationInfo_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_MemberCount_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_MemberCount_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_MemberCount_Get'); - late final _System_Runtime_Serialization_SerializationInfo_MemberCount_Get = - _System_Runtime_Serialization_SerializationInfo_MemberCount_GetPtr - .asFunction< - int Function(System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Runtime_Serialization_SerializationInfo_ObjectType_Get( - System_Runtime_Serialization_SerializationInfo_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfo_ObjectType_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_ObjectType_GetPtr = - _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfo_ObjectType_Get'); - late final _System_Runtime_Serialization_SerializationInfo_ObjectType_Get = - _System_Runtime_Serialization_SerializationInfo_ObjectType_GetPtr - .asFunction< - System_Type_t Function( - System_Runtime_Serialization_SerializationInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Runtime_Serialization_SerializationInfo_TypeOf() { - return _System_Runtime_Serialization_SerializationInfo_TypeOf(); - } - - late final _System_Runtime_Serialization_SerializationInfo_TypeOfPtr = - _lookup>( - 'System_Runtime_Serialization_SerializationInfo_TypeOf'); - late final _System_Runtime_Serialization_SerializationInfo_TypeOf = - _System_Runtime_Serialization_SerializationInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Runtime_Serialization_SerializationInfo_Destroy( - System_Runtime_Serialization_SerializationInfo_t self, - ) { - return _System_Runtime_Serialization_SerializationInfo_Destroy( - self, - ); - } - - late final _System_Runtime_Serialization_SerializationInfo_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfo_t)>>( - 'System_Runtime_Serialization_SerializationInfo_Destroy'); - late final _System_Runtime_Serialization_SerializationInfo_Destroy = - _System_Runtime_Serialization_SerializationInfo_DestroyPtr.asFunction< - void Function(System_Runtime_Serialization_SerializationInfo_t)>(); - - bool System_Runtime_Serialization_SerializationInfoEnumerator_MoveNext( - System_Runtime_Serialization_SerializationInfoEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfoEnumerator_MoveNext( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfoEnumerator_MoveNextPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfoEnumerator_MoveNext'); - late final _System_Runtime_Serialization_SerializationInfoEnumerator_MoveNext = - _System_Runtime_Serialization_SerializationInfoEnumerator_MoveNextPtr - .asFunction< - bool Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t, - ffi.Pointer)>(); - - void System_Runtime_Serialization_SerializationInfoEnumerator_Reset( - System_Runtime_Serialization_SerializationInfoEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfoEnumerator_Reset( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfoEnumerator_ResetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfoEnumerator_Reset'); - late final _System_Runtime_Serialization_SerializationInfoEnumerator_Reset = - _System_Runtime_Serialization_SerializationInfoEnumerator_ResetPtr - .asFunction< - void Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t, - ffi.Pointer)>(); - - System_Runtime_Serialization_SerializationEntry_t - System_Runtime_Serialization_SerializationInfoEnumerator_Current_Get( - System_Runtime_Serialization_SerializationInfoEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfoEnumerator_Current_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfoEnumerator_Current_GetPtr = - _lookup< - ffi.NativeFunction< - System_Runtime_Serialization_SerializationEntry_t Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfoEnumerator_Current_Get'); - late final _System_Runtime_Serialization_SerializationInfoEnumerator_Current_Get = - _System_Runtime_Serialization_SerializationInfoEnumerator_Current_GetPtr - .asFunction< - System_Runtime_Serialization_SerializationEntry_t Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t, - ffi.Pointer)>(); - - System_String_t - System_Runtime_Serialization_SerializationInfoEnumerator_Name_Get( - System_Runtime_Serialization_SerializationInfoEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfoEnumerator_Name_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfoEnumerator_Name_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfoEnumerator_Name_Get'); - late final _System_Runtime_Serialization_SerializationInfoEnumerator_Name_Get = - _System_Runtime_Serialization_SerializationInfoEnumerator_Name_GetPtr - .asFunction< - System_String_t Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t, - ffi.Pointer)>(); - - System_Object_t - System_Runtime_Serialization_SerializationInfoEnumerator_Value_Get( - System_Runtime_Serialization_SerializationInfoEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfoEnumerator_Value_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfoEnumerator_Value_GetPtr = - _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfoEnumerator_Value_Get'); - late final _System_Runtime_Serialization_SerializationInfoEnumerator_Value_Get = - _System_Runtime_Serialization_SerializationInfoEnumerator_Value_GetPtr - .asFunction< - System_Object_t Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t, - ffi.Pointer)>(); - - System_Type_t - System_Runtime_Serialization_SerializationInfoEnumerator_ObjectType_Get( - System_Runtime_Serialization_SerializationInfoEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationInfoEnumerator_ObjectType_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationInfoEnumerator_ObjectType_GetPtr = - _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationInfoEnumerator_ObjectType_Get'); - late final _System_Runtime_Serialization_SerializationInfoEnumerator_ObjectType_Get = - _System_Runtime_Serialization_SerializationInfoEnumerator_ObjectType_GetPtr - .asFunction< - System_Type_t Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t, - ffi.Pointer)>(); - - System_Type_t - System_Runtime_Serialization_SerializationInfoEnumerator_TypeOf() { - return _System_Runtime_Serialization_SerializationInfoEnumerator_TypeOf(); - } - - late final _System_Runtime_Serialization_SerializationInfoEnumerator_TypeOfPtr = - _lookup>( - 'System_Runtime_Serialization_SerializationInfoEnumerator_TypeOf'); - late final _System_Runtime_Serialization_SerializationInfoEnumerator_TypeOf = - _System_Runtime_Serialization_SerializationInfoEnumerator_TypeOfPtr - .asFunction(); - - void System_Runtime_Serialization_SerializationInfoEnumerator_Destroy( - System_Runtime_Serialization_SerializationInfoEnumerator_t self, - ) { - return _System_Runtime_Serialization_SerializationInfoEnumerator_Destroy( - self, - ); - } - - late final _System_Runtime_Serialization_SerializationInfoEnumerator_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t)>>( - 'System_Runtime_Serialization_SerializationInfoEnumerator_Destroy'); - late final _System_Runtime_Serialization_SerializationInfoEnumerator_Destroy = - _System_Runtime_Serialization_SerializationInfoEnumerator_DestroyPtr - .asFunction< - void Function( - System_Runtime_Serialization_SerializationInfoEnumerator_t)>(); - - System_Object_t System_Runtime_Serialization_SerializationEntry_Value_Get( - System_Runtime_Serialization_SerializationEntry_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationEntry_Value_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationEntry_Value_GetPtr = - _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Runtime_Serialization_SerializationEntry_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationEntry_Value_Get'); - late final _System_Runtime_Serialization_SerializationEntry_Value_Get = - _System_Runtime_Serialization_SerializationEntry_Value_GetPtr.asFunction< - System_Object_t Function( - System_Runtime_Serialization_SerializationEntry_t, - ffi.Pointer)>(); - - System_String_t System_Runtime_Serialization_SerializationEntry_Name_Get( - System_Runtime_Serialization_SerializationEntry_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationEntry_Name_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationEntry_Name_GetPtr = - _lookup< - ffi - .NativeFunction< - System_String_t Function( - System_Runtime_Serialization_SerializationEntry_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationEntry_Name_Get'); - late final _System_Runtime_Serialization_SerializationEntry_Name_Get = - _System_Runtime_Serialization_SerializationEntry_Name_GetPtr.asFunction< - System_String_t Function( - System_Runtime_Serialization_SerializationEntry_t, - ffi.Pointer)>(); - - System_Type_t System_Runtime_Serialization_SerializationEntry_ObjectType_Get( - System_Runtime_Serialization_SerializationEntry_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationEntry_ObjectType_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationEntry_ObjectType_GetPtr = - _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Runtime_Serialization_SerializationEntry_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationEntry_ObjectType_Get'); - late final _System_Runtime_Serialization_SerializationEntry_ObjectType_Get = - _System_Runtime_Serialization_SerializationEntry_ObjectType_GetPtr - .asFunction< - System_Type_t Function( - System_Runtime_Serialization_SerializationEntry_t, - ffi.Pointer)>(); - - System_Runtime_Serialization_SerializationEntry_t - System_Runtime_Serialization_SerializationEntry_Create( - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_SerializationEntry_Create( - outException, - ); - } - - late final _System_Runtime_Serialization_SerializationEntry_CreatePtr = - _lookup< - ffi.NativeFunction< - System_Runtime_Serialization_SerializationEntry_t Function( - ffi.Pointer)>>( - 'System_Runtime_Serialization_SerializationEntry_Create'); - late final _System_Runtime_Serialization_SerializationEntry_Create = - _System_Runtime_Serialization_SerializationEntry_CreatePtr.asFunction< - System_Runtime_Serialization_SerializationEntry_t Function( - ffi.Pointer)>(); - - System_Type_t System_Runtime_Serialization_SerializationEntry_TypeOf() { - return _System_Runtime_Serialization_SerializationEntry_TypeOf(); - } - - late final _System_Runtime_Serialization_SerializationEntry_TypeOfPtr = - _lookup>( - 'System_Runtime_Serialization_SerializationEntry_TypeOf'); - late final _System_Runtime_Serialization_SerializationEntry_TypeOf = - _System_Runtime_Serialization_SerializationEntry_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Runtime_Serialization_SerializationEntry_Destroy( - System_Runtime_Serialization_SerializationEntry_t self, - ) { - return _System_Runtime_Serialization_SerializationEntry_Destroy( - self, - ); - } - - late final _System_Runtime_Serialization_SerializationEntry_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_SerializationEntry_t)>>( - 'System_Runtime_Serialization_SerializationEntry_Destroy'); - late final _System_Runtime_Serialization_SerializationEntry_Destroy = - _System_Runtime_Serialization_SerializationEntry_DestroyPtr.asFunction< - void Function(System_Runtime_Serialization_SerializationEntry_t)>(); - - System_Type_t System_Char_TypeOf() { - return _System_Char_TypeOf(); - } - - late final _System_Char_TypeOfPtr = - _lookup>( - 'System_Char_TypeOf'); - late final _System_Char_TypeOf = - _System_Char_TypeOfPtr.asFunction(); - - System_Type_t System_IUtf8SpanFormattable_TypeOf() { - return _System_IUtf8SpanFormattable_TypeOf(); - } - - late final _System_IUtf8SpanFormattable_TypeOfPtr = - _lookup>( - 'System_IUtf8SpanFormattable_TypeOf'); - late final _System_IUtf8SpanFormattable_TypeOf = - _System_IUtf8SpanFormattable_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_IUtf8SpanFormattable_Destroy( - System_IUtf8SpanFormattable_t self, - ) { - return _System_IUtf8SpanFormattable_Destroy( - self, - ); - } - - late final _System_IUtf8SpanFormattable_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_IUtf8SpanFormattable_Destroy'); - late final _System_IUtf8SpanFormattable_Destroy = - _System_IUtf8SpanFormattable_DestroyPtr.asFunction< - void Function(System_IUtf8SpanFormattable_t)>(); - - System_Type_t System_Double_TypeOf() { - return _System_Double_TypeOf(); - } - - late final _System_Double_TypeOfPtr = - _lookup>( - 'System_Double_TypeOf'); - late final _System_Double_TypeOf = - _System_Double_TypeOfPtr.asFunction(); - - System_Type_t System_SByte_TypeOf() { - return _System_SByte_TypeOf(); - } - - late final _System_SByte_TypeOfPtr = - _lookup>( - 'System_SByte_TypeOf'); - late final _System_SByte_TypeOf = - _System_SByte_TypeOfPtr.asFunction(); - - System_Type_t System_Byte_TypeOf() { - return _System_Byte_TypeOf(); - } - - late final _System_Byte_TypeOfPtr = - _lookup>( - 'System_Byte_TypeOf'); - late final _System_Byte_TypeOf = - _System_Byte_TypeOfPtr.asFunction(); - - System_Type_t System_Int16_TypeOf() { - return _System_Int16_TypeOf(); - } - - late final _System_Int16_TypeOfPtr = - _lookup>( - 'System_Int16_TypeOf'); - late final _System_Int16_TypeOf = - _System_Int16_TypeOfPtr.asFunction(); - - System_Type_t System_UInt16_TypeOf() { - return _System_UInt16_TypeOf(); - } - - late final _System_UInt16_TypeOfPtr = - _lookup>( - 'System_UInt16_TypeOf'); - late final _System_UInt16_TypeOf = - _System_UInt16_TypeOfPtr.asFunction(); - - System_Type_t System_UInt32_TypeOf() { - return _System_UInt32_TypeOf(); - } - - late final _System_UInt32_TypeOfPtr = - _lookup>( - 'System_UInt32_TypeOf'); - late final _System_UInt32_TypeOf = - _System_UInt32_TypeOfPtr.asFunction(); - - System_Type_t System_Int64_TypeOf() { - return _System_Int64_TypeOf(); - } - - late final _System_Int64_TypeOfPtr = - _lookup>( - 'System_Int64_TypeOf'); - late final _System_Int64_TypeOf = - _System_Int64_TypeOfPtr.asFunction(); - - System_Type_t System_UInt64_TypeOf() { - return _System_UInt64_TypeOf(); - } - - late final _System_UInt64_TypeOfPtr = - _lookup>( - 'System_UInt64_TypeOf'); - late final _System_UInt64_TypeOf = - _System_UInt64_TypeOfPtr.asFunction(); - - System_Type_t System_Single_TypeOf() { - return _System_Single_TypeOf(); - } - - late final _System_Single_TypeOfPtr = - _lookup>( - 'System_Single_TypeOf'); - late final _System_Single_TypeOf = - _System_Single_TypeOfPtr.asFunction(); - - System_Decimal_t System_Decimal_FromOACurrency( - int cy, - ffi.Pointer outException, - ) { - return _System_Decimal_FromOACurrency( - cy, - outException, - ); - } - - late final _System_Decimal_FromOACurrencyPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function( - ffi.Int64, ffi.Pointer)>>( - 'System_Decimal_FromOACurrency'); - late final _System_Decimal_FromOACurrency = - _System_Decimal_FromOACurrencyPtr.asFunction< - System_Decimal_t Function(int, ffi.Pointer)>(); - - int System_Decimal_ToOACurrency( - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_ToOACurrency( - value, - outException, - ); - } - - late final _System_Decimal_ToOACurrencyPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_ToOACurrency'); - late final _System_Decimal_ToOACurrency = - _System_Decimal_ToOACurrencyPtr.asFunction< - int Function(System_Decimal_t, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Add( - System_Decimal_t d1, - System_Decimal_t d2, - ffi.Pointer outException, - ) { - return _System_Decimal_Add( - d1, - d2, - outException, - ); - } - - late final _System_Decimal_AddPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Add'); - late final _System_Decimal_Add = _System_Decimal_AddPtr.asFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Ceiling( - System_Decimal_t d, - ffi.Pointer outException, - ) { - return _System_Decimal_Ceiling( - d, - outException, - ); - } - - late final _System_Decimal_CeilingPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Ceiling'); - late final _System_Decimal_Ceiling = _System_Decimal_CeilingPtr.asFunction< - System_Decimal_t Function( - System_Decimal_t, ffi.Pointer)>(); - - int System_Decimal_Compare( - System_Decimal_t d1, - System_Decimal_t d2, - ffi.Pointer outException, - ) { - return _System_Decimal_Compare( - d1, - d2, - outException, - ); - } - - late final _System_Decimal_ComparePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Compare'); - late final _System_Decimal_Compare = _System_Decimal_ComparePtr.asFunction< - int Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - int System_Decimal_CompareTo( - System_Decimal_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_CompareTo( - self, - value, - outException, - ); - } - - late final _System_Decimal_CompareToPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Decimal_t, System_Object_t, - ffi.Pointer)>>('System_Decimal_CompareTo'); - late final _System_Decimal_CompareTo = - _System_Decimal_CompareToPtr.asFunction< - int Function(System_Decimal_t, System_Object_t, - ffi.Pointer)>(); - - int System_Decimal_CompareTo_1( - System_Decimal_t self, - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_CompareTo_1( - self, - value, - outException, - ); - } - - late final _System_Decimal_CompareTo_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_CompareTo_1'); - late final _System_Decimal_CompareTo_1 = - _System_Decimal_CompareTo_1Ptr.asFunction< - int Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Divide( - System_Decimal_t d1, - System_Decimal_t d2, - ffi.Pointer outException, - ) { - return _System_Decimal_Divide( - d1, - d2, - outException, - ); - } - - late final _System_Decimal_DividePtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Divide'); - late final _System_Decimal_Divide = _System_Decimal_DividePtr.asFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - bool System_Decimal_Equals( - System_Decimal_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_Equals( - self, - value, - outException, - ); - } - - late final _System_Decimal_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Decimal_t, System_Object_t, - ffi.Pointer)>>('System_Decimal_Equals'); - late final _System_Decimal_Equals = _System_Decimal_EqualsPtr.asFunction< - bool Function(System_Decimal_t, System_Object_t, - ffi.Pointer)>(); - - bool System_Decimal_Equals_1( - System_Decimal_t self, - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_Equals_1( - self, - value, - outException, - ); - } - - late final _System_Decimal_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Equals_1'); - late final _System_Decimal_Equals_1 = _System_Decimal_Equals_1Ptr.asFunction< - bool Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - int System_Decimal_GetHashCode( - System_Decimal_t self, - ffi.Pointer outException, - ) { - return _System_Decimal_GetHashCode( - self, - outException, - ); - } - - late final _System_Decimal_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_GetHashCode'); - late final _System_Decimal_GetHashCode = - _System_Decimal_GetHashCodePtr.asFunction< - int Function(System_Decimal_t, ffi.Pointer)>(); - - bool System_Decimal_Equals_2( - System_Decimal_t d1, - System_Decimal_t d2, - ffi.Pointer outException, - ) { - return _System_Decimal_Equals_2( - d1, - d2, - outException, - ); - } - - late final _System_Decimal_Equals_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Equals_2'); - late final _System_Decimal_Equals_2 = _System_Decimal_Equals_2Ptr.asFunction< - bool Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Floor( - System_Decimal_t d, - ffi.Pointer outException, - ) { - return _System_Decimal_Floor( - d, - outException, - ); - } - - late final _System_Decimal_FloorPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Floor'); - late final _System_Decimal_Floor = _System_Decimal_FloorPtr.asFunction< - System_Decimal_t Function( - System_Decimal_t, ffi.Pointer)>(); - - System_String_t System_Decimal_ToString( - System_Decimal_t self, - ffi.Pointer outException, - ) { - return _System_Decimal_ToString( - self, - outException, - ); - } - - late final _System_Decimal_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_ToString'); - late final _System_Decimal_ToString = _System_Decimal_ToStringPtr.asFunction< - System_String_t Function( - System_Decimal_t, ffi.Pointer)>(); - - System_String_t System_Decimal_ToString_1( - System_Decimal_t self, - System_String_t format, - ffi.Pointer outException, - ) { - return _System_Decimal_ToString_1( - self, - format, - outException, - ); - } - - late final _System_Decimal_ToString_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Decimal_t, System_String_t, - ffi.Pointer)>>('System_Decimal_ToString_1'); - late final _System_Decimal_ToString_1 = - _System_Decimal_ToString_1Ptr.asFunction< - System_String_t Function(System_Decimal_t, System_String_t, - ffi.Pointer)>(); - - System_String_t System_Decimal_ToString_2( - System_Decimal_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_Decimal_ToString_2( - self, - provider, - outException, - ); - } - - late final _System_Decimal_ToString_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Decimal_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_Decimal_ToString_2'); - late final _System_Decimal_ToString_2 = - _System_Decimal_ToString_2Ptr.asFunction< - System_String_t Function(System_Decimal_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - System_String_t System_Decimal_ToString_3( - System_Decimal_t self, - System_String_t format, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_Decimal_ToString_3( - self, - format, - provider, - outException, - ); - } - - late final _System_Decimal_ToString_3Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Decimal_t, - System_String_t, - System_IFormatProvider_t, - ffi.Pointer)>>('System_Decimal_ToString_3'); - late final _System_Decimal_ToString_3 = - _System_Decimal_ToString_3Ptr.asFunction< - System_String_t Function(System_Decimal_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Parse( - System_String_t s, - ffi.Pointer outException, - ) { - return _System_Decimal_Parse( - s, - outException, - ); - } - - late final _System_Decimal_ParsePtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_String_t, - ffi.Pointer)>>('System_Decimal_Parse'); - late final _System_Decimal_Parse = _System_Decimal_ParsePtr.asFunction< - System_Decimal_t Function( - System_String_t, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Parse_1( - System_String_t s, - int style, - ffi.Pointer outException, - ) { - return _System_Decimal_Parse_1( - s, - style, - outException, - ); - } - - late final _System_Decimal_Parse_1Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_String_t, ffi.Int32, - ffi.Pointer)>>('System_Decimal_Parse_1'); - late final _System_Decimal_Parse_1 = _System_Decimal_Parse_1Ptr.asFunction< - System_Decimal_t Function( - System_String_t, int, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Parse_2( - System_String_t s, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_Decimal_Parse_2( - s, - provider, - outException, - ); - } - - late final _System_Decimal_Parse_2Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_Decimal_Parse_2'); - late final _System_Decimal_Parse_2 = _System_Decimal_Parse_2Ptr.asFunction< - System_Decimal_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Parse_3( - System_String_t s, - int style, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_Decimal_Parse_3( - s, - style, - provider, - outException, - ); - } - - late final _System_Decimal_Parse_3Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function( - System_String_t, - ffi.Int32, - System_IFormatProvider_t, - ffi.Pointer)>>('System_Decimal_Parse_3'); - late final _System_Decimal_Parse_3 = _System_Decimal_Parse_3Ptr.asFunction< - System_Decimal_t Function(System_String_t, int, System_IFormatProvider_t, - ffi.Pointer)>(); - - bool System_Decimal_TryParse( - System_String_t s, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_Decimal_TryParse( - s, - result, - outException, - ); - } - - late final _System_Decimal_TryParsePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>>('System_Decimal_TryParse'); - late final _System_Decimal_TryParse = _System_Decimal_TryParsePtr.asFunction< - bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>(); - - bool System_Decimal_TryParse_1( - System_String_t s, - int style, - System_IFormatProvider_t provider, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_Decimal_TryParse_1( - s, - style, - provider, - result, - outException, - ); - } - - late final _System_Decimal_TryParse_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - ffi.Int32, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>>('System_Decimal_TryParse_1'); - late final _System_Decimal_TryParse_1 = - _System_Decimal_TryParse_1Ptr.asFunction< - bool Function( - System_String_t, - int, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>(); - - System_Int32_Array_t System_Decimal_GetBits( - System_Decimal_t d, - ffi.Pointer outException, - ) { - return _System_Decimal_GetBits( - d, - outException, - ); - } - - late final _System_Decimal_GetBitsPtr = _lookup< - ffi.NativeFunction< - System_Int32_Array_t Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_GetBits'); - late final _System_Decimal_GetBits = _System_Decimal_GetBitsPtr.asFunction< - System_Int32_Array_t Function( - System_Decimal_t, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Remainder( - System_Decimal_t d1, - System_Decimal_t d2, - ffi.Pointer outException, - ) { - return _System_Decimal_Remainder( - d1, - d2, - outException, - ); - } - - late final _System_Decimal_RemainderPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Remainder'); - late final _System_Decimal_Remainder = - _System_Decimal_RemainderPtr.asFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Multiply( - System_Decimal_t d1, - System_Decimal_t d2, - ffi.Pointer outException, - ) { - return _System_Decimal_Multiply( - d1, - d2, - outException, - ); - } - - late final _System_Decimal_MultiplyPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Multiply'); - late final _System_Decimal_Multiply = _System_Decimal_MultiplyPtr.asFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Negate( - System_Decimal_t d, - ffi.Pointer outException, - ) { - return _System_Decimal_Negate( - d, - outException, - ); - } - - late final _System_Decimal_NegatePtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Negate'); - late final _System_Decimal_Negate = _System_Decimal_NegatePtr.asFunction< - System_Decimal_t Function( - System_Decimal_t, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Round( - System_Decimal_t d, - ffi.Pointer outException, - ) { - return _System_Decimal_Round( - d, - outException, - ); - } - - late final _System_Decimal_RoundPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Round'); - late final _System_Decimal_Round = _System_Decimal_RoundPtr.asFunction< - System_Decimal_t Function( - System_Decimal_t, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Round_1( - System_Decimal_t d, - int decimals, - ffi.Pointer outException, - ) { - return _System_Decimal_Round_1( - d, - decimals, - outException, - ); - } - - late final _System_Decimal_Round_1Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, ffi.Int32, - ffi.Pointer)>>('System_Decimal_Round_1'); - late final _System_Decimal_Round_1 = _System_Decimal_Round_1Ptr.asFunction< - System_Decimal_t Function( - System_Decimal_t, int, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Round_2( - System_Decimal_t d, - int mode, - ffi.Pointer outException, - ) { - return _System_Decimal_Round_2( - d, - mode, - outException, - ); - } - - late final _System_Decimal_Round_2Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, ffi.Int32, - ffi.Pointer)>>('System_Decimal_Round_2'); - late final _System_Decimal_Round_2 = _System_Decimal_Round_2Ptr.asFunction< - System_Decimal_t Function( - System_Decimal_t, int, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Round_3( - System_Decimal_t d, - int decimals, - int mode, - ffi.Pointer outException, - ) { - return _System_Decimal_Round_3( - d, - decimals, - mode, - outException, - ); - } - - late final _System_Decimal_Round_3Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_Decimal_Round_3'); - late final _System_Decimal_Round_3 = _System_Decimal_Round_3Ptr.asFunction< - System_Decimal_t Function( - System_Decimal_t, int, int, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Subtract( - System_Decimal_t d1, - System_Decimal_t d2, - ffi.Pointer outException, - ) { - return _System_Decimal_Subtract( - d1, - d2, - outException, - ); - } - - late final _System_Decimal_SubtractPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Subtract'); - late final _System_Decimal_Subtract = _System_Decimal_SubtractPtr.asFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - int System_Decimal_ToByte( - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_ToByte( - value, - outException, - ); - } - - late final _System_Decimal_ToBytePtr = _lookup< - ffi.NativeFunction< - ffi.Uint8 Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_ToByte'); - late final _System_Decimal_ToByte = _System_Decimal_ToBytePtr.asFunction< - int Function(System_Decimal_t, ffi.Pointer)>(); - - int System_Decimal_ToSByte( - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_ToSByte( - value, - outException, - ); - } - - late final _System_Decimal_ToSBytePtr = _lookup< - ffi.NativeFunction< - ffi.Int8 Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_ToSByte'); - late final _System_Decimal_ToSByte = _System_Decimal_ToSBytePtr.asFunction< - int Function(System_Decimal_t, ffi.Pointer)>(); - - int System_Decimal_ToInt16( - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_ToInt16( - value, - outException, - ); - } - - late final _System_Decimal_ToInt16Ptr = _lookup< - ffi.NativeFunction< - ffi.Int16 Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_ToInt16'); - late final _System_Decimal_ToInt16 = _System_Decimal_ToInt16Ptr.asFunction< - int Function(System_Decimal_t, ffi.Pointer)>(); - - double System_Decimal_ToDouble( - System_Decimal_t d, - ffi.Pointer outException, - ) { - return _System_Decimal_ToDouble( - d, - outException, - ); - } - - late final _System_Decimal_ToDoublePtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_ToDouble'); - late final _System_Decimal_ToDouble = _System_Decimal_ToDoublePtr.asFunction< - double Function(System_Decimal_t, ffi.Pointer)>(); - - int System_Decimal_ToInt32( - System_Decimal_t d, - ffi.Pointer outException, - ) { - return _System_Decimal_ToInt32( - d, - outException, - ); - } - - late final _System_Decimal_ToInt32Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_ToInt32'); - late final _System_Decimal_ToInt32 = _System_Decimal_ToInt32Ptr.asFunction< - int Function(System_Decimal_t, ffi.Pointer)>(); - - int System_Decimal_ToInt64( - System_Decimal_t d, - ffi.Pointer outException, - ) { - return _System_Decimal_ToInt64( - d, - outException, - ); - } - - late final _System_Decimal_ToInt64Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_ToInt64'); - late final _System_Decimal_ToInt64 = _System_Decimal_ToInt64Ptr.asFunction< - int Function(System_Decimal_t, ffi.Pointer)>(); - - int System_Decimal_ToUInt16( - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_ToUInt16( - value, - outException, - ); - } - - late final _System_Decimal_ToUInt16Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint16 Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_ToUInt16'); - late final _System_Decimal_ToUInt16 = _System_Decimal_ToUInt16Ptr.asFunction< - int Function(System_Decimal_t, ffi.Pointer)>(); - - int System_Decimal_ToUInt32( - System_Decimal_t d, - ffi.Pointer outException, - ) { - return _System_Decimal_ToUInt32( - d, - outException, - ); - } - - late final _System_Decimal_ToUInt32Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_ToUInt32'); - late final _System_Decimal_ToUInt32 = _System_Decimal_ToUInt32Ptr.asFunction< - int Function(System_Decimal_t, ffi.Pointer)>(); - - int System_Decimal_ToUInt64( - System_Decimal_t d, - ffi.Pointer outException, - ) { - return _System_Decimal_ToUInt64( - d, - outException, - ); - } - - late final _System_Decimal_ToUInt64Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint64 Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_ToUInt64'); - late final _System_Decimal_ToUInt64 = _System_Decimal_ToUInt64Ptr.asFunction< - int Function(System_Decimal_t, ffi.Pointer)>(); - - double System_Decimal_ToSingle( - System_Decimal_t d, - ffi.Pointer outException, - ) { - return _System_Decimal_ToSingle( - d, - outException, - ); - } - - late final _System_Decimal_ToSinglePtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_ToSingle'); - late final _System_Decimal_ToSingle = _System_Decimal_ToSinglePtr.asFunction< - double Function(System_Decimal_t, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Truncate( - System_Decimal_t d, - ffi.Pointer outException, - ) { - return _System_Decimal_Truncate( - d, - outException, - ); - } - - late final _System_Decimal_TruncatePtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Truncate'); - late final _System_Decimal_Truncate = _System_Decimal_TruncatePtr.asFunction< - System_Decimal_t Function( - System_Decimal_t, ffi.Pointer)>(); - - int System_Decimal_GetTypeCode( - System_Decimal_t self, - ffi.Pointer outException, - ) { - return _System_Decimal_GetTypeCode( - self, - outException, - ); - } - - late final _System_Decimal_GetTypeCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_GetTypeCode'); - late final _System_Decimal_GetTypeCode = - _System_Decimal_GetTypeCodePtr.asFunction< - int Function(System_Decimal_t, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Clamp( - System_Decimal_t value, - System_Decimal_t min, - System_Decimal_t max, - ffi.Pointer outException, - ) { - return _System_Decimal_Clamp( - value, - min, - max, - outException, - ); - } - - late final _System_Decimal_ClampPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function( - System_Decimal_t, - System_Decimal_t, - System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Clamp'); - late final _System_Decimal_Clamp = _System_Decimal_ClampPtr.asFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - System_Decimal_t, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_CopySign( - System_Decimal_t value, - System_Decimal_t sign, - ffi.Pointer outException, - ) { - return _System_Decimal_CopySign( - value, - sign, - outException, - ); - } - - late final _System_Decimal_CopySignPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_CopySign'); - late final _System_Decimal_CopySign = _System_Decimal_CopySignPtr.asFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Max( - System_Decimal_t x, - System_Decimal_t y, - ffi.Pointer outException, - ) { - return _System_Decimal_Max( - x, - y, - outException, - ); - } - - late final _System_Decimal_MaxPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Max'); - late final _System_Decimal_Max = _System_Decimal_MaxPtr.asFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Min( - System_Decimal_t x, - System_Decimal_t y, - ffi.Pointer outException, - ) { - return _System_Decimal_Min( - x, - y, - outException, - ); - } - - late final _System_Decimal_MinPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Min'); - late final _System_Decimal_Min = _System_Decimal_MinPtr.asFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - int System_Decimal_Sign( - System_Decimal_t d, - ffi.Pointer outException, - ) { - return _System_Decimal_Sign( - d, - outException, - ); - } - - late final _System_Decimal_SignPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Sign'); - late final _System_Decimal_Sign = _System_Decimal_SignPtr.asFunction< - int Function(System_Decimal_t, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Abs( - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_Abs( - value, - outException, - ); - } - - late final _System_Decimal_AbsPtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Abs'); - late final _System_Decimal_Abs = _System_Decimal_AbsPtr.asFunction< - System_Decimal_t Function( - System_Decimal_t, ffi.Pointer)>(); - - bool System_Decimal_IsCanonical( - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_IsCanonical( - value, - outException, - ); - } - - late final _System_Decimal_IsCanonicalPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_IsCanonical'); - late final _System_Decimal_IsCanonical = - _System_Decimal_IsCanonicalPtr.asFunction< - bool Function(System_Decimal_t, ffi.Pointer)>(); - - bool System_Decimal_IsEvenInteger( - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_IsEvenInteger( - value, - outException, - ); - } - - late final _System_Decimal_IsEvenIntegerPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Decimal_t, ffi.Pointer)>>( - 'System_Decimal_IsEvenInteger'); - late final _System_Decimal_IsEvenInteger = - _System_Decimal_IsEvenIntegerPtr.asFunction< - bool Function(System_Decimal_t, ffi.Pointer)>(); - - bool System_Decimal_IsInteger( - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_IsInteger( - value, - outException, - ); - } - - late final _System_Decimal_IsIntegerPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_IsInteger'); - late final _System_Decimal_IsInteger = - _System_Decimal_IsIntegerPtr.asFunction< - bool Function(System_Decimal_t, ffi.Pointer)>(); - - bool System_Decimal_IsNegative( - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_IsNegative( - value, - outException, - ); - } - - late final _System_Decimal_IsNegativePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_IsNegative'); - late final _System_Decimal_IsNegative = - _System_Decimal_IsNegativePtr.asFunction< - bool Function(System_Decimal_t, ffi.Pointer)>(); - - bool System_Decimal_IsOddInteger( - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_IsOddInteger( - value, - outException, - ); - } - - late final _System_Decimal_IsOddIntegerPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_IsOddInteger'); - late final _System_Decimal_IsOddInteger = - _System_Decimal_IsOddIntegerPtr.asFunction< - bool Function(System_Decimal_t, ffi.Pointer)>(); - - bool System_Decimal_IsPositive( - System_Decimal_t value, - ffi.Pointer outException, - ) { - return _System_Decimal_IsPositive( - value, - outException, - ); - } - - late final _System_Decimal_IsPositivePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_IsPositive'); - late final _System_Decimal_IsPositive = - _System_Decimal_IsPositivePtr.asFunction< - bool Function(System_Decimal_t, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_MaxMagnitude( - System_Decimal_t x, - System_Decimal_t y, - ffi.Pointer outException, - ) { - return _System_Decimal_MaxMagnitude( - x, - y, - outException, - ); - } - - late final _System_Decimal_MaxMagnitudePtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_MaxMagnitude'); - late final _System_Decimal_MaxMagnitude = - _System_Decimal_MaxMagnitudePtr.asFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - System_Decimal_t System_Decimal_MinMagnitude( - System_Decimal_t x, - System_Decimal_t y, - ffi.Pointer outException, - ) { - return _System_Decimal_MinMagnitude( - x, - y, - outException, - ); - } - - late final _System_Decimal_MinMagnitudePtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>>('System_Decimal_MinMagnitude'); - late final _System_Decimal_MinMagnitude = - _System_Decimal_MinMagnitudePtr.asFunction< - System_Decimal_t Function(System_Decimal_t, System_Decimal_t, - ffi.Pointer)>(); - - bool System_Decimal_TryParse_2( - System_String_t s, - System_IFormatProvider_t provider, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_Decimal_TryParse_2( - s, - provider, - result, - outException, - ); - } - - late final _System_Decimal_TryParse_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>>('System_Decimal_TryParse_2'); - late final _System_Decimal_TryParse_2 = - _System_Decimal_TryParse_2Ptr.asFunction< - bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Create( - int value, - ffi.Pointer outException, - ) { - return _System_Decimal_Create( - value, - outException, - ); - } - - late final _System_Decimal_CreatePtr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(ffi.Int32, - ffi.Pointer)>>('System_Decimal_Create'); - late final _System_Decimal_Create = _System_Decimal_CreatePtr.asFunction< - System_Decimal_t Function(int, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Create_1( - int value, - ffi.Pointer outException, - ) { - return _System_Decimal_Create_1( - value, - outException, - ); - } - - late final _System_Decimal_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(ffi.Uint32, - ffi.Pointer)>>('System_Decimal_Create_1'); - late final _System_Decimal_Create_1 = _System_Decimal_Create_1Ptr.asFunction< - System_Decimal_t Function(int, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Create_2( - int value, - ffi.Pointer outException, - ) { - return _System_Decimal_Create_2( - value, - outException, - ); - } - - late final _System_Decimal_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(ffi.Int64, - ffi.Pointer)>>('System_Decimal_Create_2'); - late final _System_Decimal_Create_2 = _System_Decimal_Create_2Ptr.asFunction< - System_Decimal_t Function(int, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Create_3( - int value, - ffi.Pointer outException, - ) { - return _System_Decimal_Create_3( - value, - outException, - ); - } - - late final _System_Decimal_Create_3Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(ffi.Uint64, - ffi.Pointer)>>('System_Decimal_Create_3'); - late final _System_Decimal_Create_3 = _System_Decimal_Create_3Ptr.asFunction< - System_Decimal_t Function(int, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Create_4( - double value, - ffi.Pointer outException, - ) { - return _System_Decimal_Create_4( - value, - outException, - ); - } - - late final _System_Decimal_Create_4Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(ffi.Float, - ffi.Pointer)>>('System_Decimal_Create_4'); - late final _System_Decimal_Create_4 = _System_Decimal_Create_4Ptr.asFunction< - System_Decimal_t Function(double, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Create_5( - double value, - ffi.Pointer outException, - ) { - return _System_Decimal_Create_5( - value, - outException, - ); - } - - late final _System_Decimal_Create_5Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(ffi.Double, - ffi.Pointer)>>('System_Decimal_Create_5'); - late final _System_Decimal_Create_5 = _System_Decimal_Create_5Ptr.asFunction< - System_Decimal_t Function(double, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Create_6( - System_Int32_Array_t bits, - ffi.Pointer outException, - ) { - return _System_Decimal_Create_6( - bits, - outException, - ); - } - - late final _System_Decimal_Create_6Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function(System_Int32_Array_t, - ffi.Pointer)>>('System_Decimal_Create_6'); - late final _System_Decimal_Create_6 = _System_Decimal_Create_6Ptr.asFunction< - System_Decimal_t Function( - System_Int32_Array_t, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Create_7( - int lo, - int mid, - int hi, - bool isNegative, - int scale, - ffi.Pointer outException, - ) { - return _System_Decimal_Create_7( - lo, - mid, - hi, - isNegative, - scale, - outException, - ); - } - - late final _System_Decimal_Create_7Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Bool, - ffi.Uint8, - ffi.Pointer)>>('System_Decimal_Create_7'); - late final _System_Decimal_Create_7 = _System_Decimal_Create_7Ptr.asFunction< - System_Decimal_t Function( - int, int, int, bool, int, ffi.Pointer)>(); - - int System_Decimal_Scale_Get( - System_Decimal_t self, - ffi.Pointer outException, - ) { - return _System_Decimal_Scale_Get( - self, - outException, - ); - } - - late final _System_Decimal_Scale_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Uint8 Function(System_Decimal_t, - ffi.Pointer)>>('System_Decimal_Scale_Get'); - late final _System_Decimal_Scale_Get = - _System_Decimal_Scale_GetPtr.asFunction< - int Function(System_Decimal_t, ffi.Pointer)>(); - - System_Decimal_t System_Decimal_Zero_Get() { - return _System_Decimal_Zero_Get(); - } - - late final _System_Decimal_Zero_GetPtr = - _lookup>( - 'System_Decimal_Zero_Get'); - late final _System_Decimal_Zero_Get = - _System_Decimal_Zero_GetPtr.asFunction(); - - System_Decimal_t System_Decimal_One_Get() { - return _System_Decimal_One_Get(); - } - - late final _System_Decimal_One_GetPtr = - _lookup>( - 'System_Decimal_One_Get'); - late final _System_Decimal_One_Get = - _System_Decimal_One_GetPtr.asFunction(); - - System_Decimal_t System_Decimal_MinusOne_Get() { - return _System_Decimal_MinusOne_Get(); - } - - late final _System_Decimal_MinusOne_GetPtr = - _lookup>( - 'System_Decimal_MinusOne_Get'); - late final _System_Decimal_MinusOne_Get = - _System_Decimal_MinusOne_GetPtr.asFunction(); - - System_Decimal_t System_Decimal_MaxValue_Get() { - return _System_Decimal_MaxValue_Get(); - } - - late final _System_Decimal_MaxValue_GetPtr = - _lookup>( - 'System_Decimal_MaxValue_Get'); - late final _System_Decimal_MaxValue_Get = - _System_Decimal_MaxValue_GetPtr.asFunction(); - - System_Decimal_t System_Decimal_MinValue_Get() { - return _System_Decimal_MinValue_Get(); - } - - late final _System_Decimal_MinValue_GetPtr = - _lookup>( - 'System_Decimal_MinValue_Get'); - late final _System_Decimal_MinValue_Get = - _System_Decimal_MinValue_GetPtr.asFunction(); - - System_Decimal_t System_Decimal_Create_8( - ffi.Pointer outException, - ) { - return _System_Decimal_Create_8( - outException, - ); - } - - late final _System_Decimal_Create_8Ptr = _lookup< - ffi.NativeFunction< - System_Decimal_t Function( - ffi.Pointer)>>('System_Decimal_Create_8'); - late final _System_Decimal_Create_8 = _System_Decimal_Create_8Ptr.asFunction< - System_Decimal_t Function(ffi.Pointer)>(); - - System_Type_t System_Decimal_TypeOf() { - return _System_Decimal_TypeOf(); - } - - late final _System_Decimal_TypeOfPtr = - _lookup>( - 'System_Decimal_TypeOf'); - late final _System_Decimal_TypeOf = - _System_Decimal_TypeOfPtr.asFunction(); - - void System_Decimal_Destroy( - System_Decimal_t self, - ) { - return _System_Decimal_Destroy( - self, - ); - } - - late final _System_Decimal_DestroyPtr = - _lookup>( - 'System_Decimal_Destroy'); - late final _System_Decimal_Destroy = - _System_Decimal_DestroyPtr.asFunction(); - - System_DateTime_t System_DateTime_Add( - System_DateTime_t self, - System_TimeSpan_t value, - ffi.Pointer outException, - ) { - return _System_DateTime_Add( - self, - value, - outException, - ); - } - - late final _System_DateTime_AddPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, System_TimeSpan_t, - ffi.Pointer)>>('System_DateTime_Add'); - late final _System_DateTime_Add = _System_DateTime_AddPtr.asFunction< - System_DateTime_t Function(System_DateTime_t, System_TimeSpan_t, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_AddDays( - System_DateTime_t self, - double value, - ffi.Pointer outException, - ) { - return _System_DateTime_AddDays( - self, - value, - outException, - ); - } - - late final _System_DateTime_AddDaysPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, ffi.Double, - ffi.Pointer)>>('System_DateTime_AddDays'); - late final _System_DateTime_AddDays = _System_DateTime_AddDaysPtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, double, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_AddHours( - System_DateTime_t self, - double value, - ffi.Pointer outException, - ) { - return _System_DateTime_AddHours( - self, - value, - outException, - ); - } - - late final _System_DateTime_AddHoursPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, ffi.Double, - ffi.Pointer)>>('System_DateTime_AddHours'); - late final _System_DateTime_AddHours = - _System_DateTime_AddHoursPtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, double, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_AddMilliseconds( - System_DateTime_t self, - double value, - ffi.Pointer outException, - ) { - return _System_DateTime_AddMilliseconds( - self, - value, - outException, - ); - } - - late final _System_DateTime_AddMillisecondsPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, ffi.Double, - ffi.Pointer)>>( - 'System_DateTime_AddMilliseconds'); - late final _System_DateTime_AddMilliseconds = - _System_DateTime_AddMillisecondsPtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, double, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_AddMicroseconds( - System_DateTime_t self, - double value, - ffi.Pointer outException, - ) { - return _System_DateTime_AddMicroseconds( - self, - value, - outException, - ); - } - - late final _System_DateTime_AddMicrosecondsPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, ffi.Double, - ffi.Pointer)>>( - 'System_DateTime_AddMicroseconds'); - late final _System_DateTime_AddMicroseconds = - _System_DateTime_AddMicrosecondsPtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, double, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_AddMinutes( - System_DateTime_t self, - double value, - ffi.Pointer outException, - ) { - return _System_DateTime_AddMinutes( - self, - value, - outException, - ); - } - - late final _System_DateTime_AddMinutesPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, ffi.Double, - ffi.Pointer)>>('System_DateTime_AddMinutes'); - late final _System_DateTime_AddMinutes = - _System_DateTime_AddMinutesPtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, double, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_AddMonths( - System_DateTime_t self, - int months, - ffi.Pointer outException, - ) { - return _System_DateTime_AddMonths( - self, - months, - outException, - ); - } - - late final _System_DateTime_AddMonthsPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, ffi.Int32, - ffi.Pointer)>>('System_DateTime_AddMonths'); - late final _System_DateTime_AddMonths = - _System_DateTime_AddMonthsPtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, int, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_AddSeconds( - System_DateTime_t self, - double value, - ffi.Pointer outException, - ) { - return _System_DateTime_AddSeconds( - self, - value, - outException, - ); - } - - late final _System_DateTime_AddSecondsPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, ffi.Double, - ffi.Pointer)>>('System_DateTime_AddSeconds'); - late final _System_DateTime_AddSeconds = - _System_DateTime_AddSecondsPtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, double, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_AddTicks( - System_DateTime_t self, - int value, - ffi.Pointer outException, - ) { - return _System_DateTime_AddTicks( - self, - value, - outException, - ); - } - - late final _System_DateTime_AddTicksPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, ffi.Int64, - ffi.Pointer)>>('System_DateTime_AddTicks'); - late final _System_DateTime_AddTicks = - _System_DateTime_AddTicksPtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, int, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_AddYears( - System_DateTime_t self, - int value, - ffi.Pointer outException, - ) { - return _System_DateTime_AddYears( - self, - value, - outException, - ); - } - - late final _System_DateTime_AddYearsPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, ffi.Int32, - ffi.Pointer)>>('System_DateTime_AddYears'); - late final _System_DateTime_AddYears = - _System_DateTime_AddYearsPtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, int, ffi.Pointer)>(); - - int System_DateTime_Compare( - System_DateTime_t t1, - System_DateTime_t t2, - ffi.Pointer outException, - ) { - return _System_DateTime_Compare( - t1, - t2, - outException, - ); - } - - late final _System_DateTime_ComparePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTime_t, System_DateTime_t, - ffi.Pointer)>>('System_DateTime_Compare'); - late final _System_DateTime_Compare = _System_DateTime_ComparePtr.asFunction< - int Function(System_DateTime_t, System_DateTime_t, - ffi.Pointer)>(); - - int System_DateTime_CompareTo( - System_DateTime_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_DateTime_CompareTo( - self, - value, - outException, - ); - } - - late final _System_DateTime_CompareToPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTime_t, System_Object_t, - ffi.Pointer)>>('System_DateTime_CompareTo'); - late final _System_DateTime_CompareTo = - _System_DateTime_CompareToPtr.asFunction< - int Function(System_DateTime_t, System_Object_t, - ffi.Pointer)>(); - - int System_DateTime_CompareTo_1( - System_DateTime_t self, - System_DateTime_t value, - ffi.Pointer outException, - ) { - return _System_DateTime_CompareTo_1( - self, - value, - outException, - ); - } - - late final _System_DateTime_CompareTo_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTime_t, System_DateTime_t, - ffi.Pointer)>>('System_DateTime_CompareTo_1'); - late final _System_DateTime_CompareTo_1 = - _System_DateTime_CompareTo_1Ptr.asFunction< - int Function(System_DateTime_t, System_DateTime_t, - ffi.Pointer)>(); - - int System_DateTime_DaysInMonth( - int year, - int month, - ffi.Pointer outException, - ) { - return _System_DateTime_DaysInMonth( - year, - month, - outException, - ); - } - - late final _System_DateTime_DaysInMonthPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_DateTime_DaysInMonth'); - late final _System_DateTime_DaysInMonth = _System_DateTime_DaysInMonthPtr - .asFunction)>(); - - bool System_DateTime_Equals( - System_DateTime_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_DateTime_Equals( - self, - value, - outException, - ); - } - - late final _System_DateTime_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_DateTime_t, System_Object_t, - ffi.Pointer)>>('System_DateTime_Equals'); - late final _System_DateTime_Equals = _System_DateTime_EqualsPtr.asFunction< - bool Function(System_DateTime_t, System_Object_t, - ffi.Pointer)>(); - - bool System_DateTime_Equals_1( - System_DateTime_t self, - System_DateTime_t value, - ffi.Pointer outException, - ) { - return _System_DateTime_Equals_1( - self, - value, - outException, - ); - } - - late final _System_DateTime_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_DateTime_t, System_DateTime_t, - ffi.Pointer)>>('System_DateTime_Equals_1'); - late final _System_DateTime_Equals_1 = - _System_DateTime_Equals_1Ptr.asFunction< - bool Function(System_DateTime_t, System_DateTime_t, - ffi.Pointer)>(); - - bool System_DateTime_Equals_2( - System_DateTime_t t1, - System_DateTime_t t2, - ffi.Pointer outException, - ) { - return _System_DateTime_Equals_2( - t1, - t2, - outException, - ); - } - - late final _System_DateTime_Equals_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_DateTime_t, System_DateTime_t, - ffi.Pointer)>>('System_DateTime_Equals_2'); - late final _System_DateTime_Equals_2 = - _System_DateTime_Equals_2Ptr.asFunction< - bool Function(System_DateTime_t, System_DateTime_t, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_FromBinary( - int dateData, - ffi.Pointer outException, - ) { - return _System_DateTime_FromBinary( - dateData, - outException, - ); - } - - late final _System_DateTime_FromBinaryPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(ffi.Int64, - ffi.Pointer)>>('System_DateTime_FromBinary'); - late final _System_DateTime_FromBinary = - _System_DateTime_FromBinaryPtr.asFunction< - System_DateTime_t Function(int, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_FromFileTime( - int fileTime, - ffi.Pointer outException, - ) { - return _System_DateTime_FromFileTime( - fileTime, - outException, - ); - } - - late final _System_DateTime_FromFileTimePtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int64, ffi.Pointer)>>( - 'System_DateTime_FromFileTime'); - late final _System_DateTime_FromFileTime = - _System_DateTime_FromFileTimePtr.asFunction< - System_DateTime_t Function(int, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_FromFileTimeUtc( - int fileTime, - ffi.Pointer outException, - ) { - return _System_DateTime_FromFileTimeUtc( - fileTime, - outException, - ); - } - - late final _System_DateTime_FromFileTimeUtcPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int64, ffi.Pointer)>>( - 'System_DateTime_FromFileTimeUtc'); - late final _System_DateTime_FromFileTimeUtc = - _System_DateTime_FromFileTimeUtcPtr.asFunction< - System_DateTime_t Function(int, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_FromOADate( - double d, - ffi.Pointer outException, - ) { - return _System_DateTime_FromOADate( - d, - outException, - ); - } - - late final _System_DateTime_FromOADatePtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(ffi.Double, - ffi.Pointer)>>('System_DateTime_FromOADate'); - late final _System_DateTime_FromOADate = - _System_DateTime_FromOADatePtr.asFunction< - System_DateTime_t Function( - double, ffi.Pointer)>(); - - bool System_DateTime_IsDaylightSavingTime( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_IsDaylightSavingTime( - self, - outException, - ); - } - - late final _System_DateTime_IsDaylightSavingTimePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_IsDaylightSavingTime'); - late final _System_DateTime_IsDaylightSavingTime = - _System_DateTime_IsDaylightSavingTimePtr.asFunction< - bool Function(System_DateTime_t, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_SpecifyKind( - System_DateTime_t value, - int kind, - ffi.Pointer outException, - ) { - return _System_DateTime_SpecifyKind( - value, - kind, - outException, - ); - } - - late final _System_DateTime_SpecifyKindPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, ffi.Int32, - ffi.Pointer)>>('System_DateTime_SpecifyKind'); - late final _System_DateTime_SpecifyKind = - _System_DateTime_SpecifyKindPtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, int, ffi.Pointer)>(); - - int System_DateTime_ToBinary( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_ToBinary( - self, - outException, - ); - } - - late final _System_DateTime_ToBinaryPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_ToBinary'); - late final _System_DateTime_ToBinary = - _System_DateTime_ToBinaryPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_GetHashCode( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_GetHashCode( - self, - outException, - ); - } - - late final _System_DateTime_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_GetHashCode'); - late final _System_DateTime_GetHashCode = - _System_DateTime_GetHashCodePtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - bool System_DateTime_IsLeapYear( - int year, - ffi.Pointer outException, - ) { - return _System_DateTime_IsLeapYear( - year, - outException, - ); - } - - late final _System_DateTime_IsLeapYearPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Int32, - ffi.Pointer)>>('System_DateTime_IsLeapYear'); - late final _System_DateTime_IsLeapYear = _System_DateTime_IsLeapYearPtr - .asFunction)>(); - - System_DateTime_t System_DateTime_Parse( - System_String_t s, - ffi.Pointer outException, - ) { - return _System_DateTime_Parse( - s, - outException, - ); - } - - late final _System_DateTime_ParsePtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_String_t, - ffi.Pointer)>>('System_DateTime_Parse'); - late final _System_DateTime_Parse = _System_DateTime_ParsePtr.asFunction< - System_DateTime_t Function( - System_String_t, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Parse_1( - System_String_t s, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_DateTime_Parse_1( - s, - provider, - outException, - ); - } - - late final _System_DateTime_Parse_1Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_DateTime_Parse_1'); - late final _System_DateTime_Parse_1 = _System_DateTime_Parse_1Ptr.asFunction< - System_DateTime_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Parse_2( - System_String_t s, - System_IFormatProvider_t provider, - int styles, - ffi.Pointer outException, - ) { - return _System_DateTime_Parse_2( - s, - provider, - styles, - outException, - ); - } - - late final _System_DateTime_Parse_2Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>('System_DateTime_Parse_2'); - late final _System_DateTime_Parse_2 = _System_DateTime_Parse_2Ptr.asFunction< - System_DateTime_t Function(System_String_t, System_IFormatProvider_t, int, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_ParseExact( - System_String_t s, - System_String_t format, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_DateTime_ParseExact( - s, - format, - provider, - outException, - ); - } - - late final _System_DateTime_ParseExactPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Pointer)>>('System_DateTime_ParseExact'); - late final _System_DateTime_ParseExact = - _System_DateTime_ParseExactPtr.asFunction< - System_DateTime_t Function(System_String_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_ParseExact_1( - System_String_t s, - System_String_t format, - System_IFormatProvider_t provider, - int style, - ffi.Pointer outException, - ) { - return _System_DateTime_ParseExact_1( - s, - format, - provider, - style, - outException, - ); - } - - late final _System_DateTime_ParseExact_1Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_DateTime_ParseExact_1'); - late final _System_DateTime_ParseExact_1 = - _System_DateTime_ParseExact_1Ptr.asFunction< - System_DateTime_t Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_ParseExact_2( - System_String_t s, - System_String_Array_t formats, - System_IFormatProvider_t provider, - int style, - ffi.Pointer outException, - ) { - return _System_DateTime_ParseExact_2( - s, - formats, - provider, - style, - outException, - ); - } - - late final _System_DateTime_ParseExact_2Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_DateTime_ParseExact_2'); - late final _System_DateTime_ParseExact_2 = - _System_DateTime_ParseExact_2Ptr.asFunction< - System_DateTime_t Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - int, - ffi.Pointer)>(); - - System_TimeSpan_t System_DateTime_Subtract( - System_DateTime_t self, - System_DateTime_t value, - ffi.Pointer outException, - ) { - return _System_DateTime_Subtract( - self, - value, - outException, - ); - } - - late final _System_DateTime_SubtractPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_DateTime_t, System_DateTime_t, - ffi.Pointer)>>('System_DateTime_Subtract'); - late final _System_DateTime_Subtract = - _System_DateTime_SubtractPtr.asFunction< - System_TimeSpan_t Function(System_DateTime_t, System_DateTime_t, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Subtract_1( - System_DateTime_t self, - System_TimeSpan_t value, - ffi.Pointer outException, - ) { - return _System_DateTime_Subtract_1( - self, - value, - outException, - ); - } - - late final _System_DateTime_Subtract_1Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, System_TimeSpan_t, - ffi.Pointer)>>('System_DateTime_Subtract_1'); - late final _System_DateTime_Subtract_1 = - _System_DateTime_Subtract_1Ptr.asFunction< - System_DateTime_t Function(System_DateTime_t, System_TimeSpan_t, - ffi.Pointer)>(); - - double System_DateTime_ToOADate( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_ToOADate( - self, - outException, - ); - } - - late final _System_DateTime_ToOADatePtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_ToOADate'); - late final _System_DateTime_ToOADate = - _System_DateTime_ToOADatePtr.asFunction< - double Function( - System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_ToFileTime( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_ToFileTime( - self, - outException, - ); - } - - late final _System_DateTime_ToFileTimePtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_ToFileTime'); - late final _System_DateTime_ToFileTime = - _System_DateTime_ToFileTimePtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_ToFileTimeUtc( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_ToFileTimeUtc( - self, - outException, - ); - } - - late final _System_DateTime_ToFileTimeUtcPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_ToFileTimeUtc'); - late final _System_DateTime_ToFileTimeUtc = - _System_DateTime_ToFileTimeUtcPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_ToLocalTime( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_ToLocalTime( - self, - outException, - ); - } - - late final _System_DateTime_ToLocalTimePtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_ToLocalTime'); - late final _System_DateTime_ToLocalTime = - _System_DateTime_ToLocalTimePtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, ffi.Pointer)>(); - - System_String_t System_DateTime_ToLongDateString( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_ToLongDateString( - self, - outException, - ); - } - - late final _System_DateTime_ToLongDateStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_ToLongDateString'); - late final _System_DateTime_ToLongDateString = - _System_DateTime_ToLongDateStringPtr.asFunction< - System_String_t Function( - System_DateTime_t, ffi.Pointer)>(); - - System_String_t System_DateTime_ToLongTimeString( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_ToLongTimeString( - self, - outException, - ); - } - - late final _System_DateTime_ToLongTimeStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_ToLongTimeString'); - late final _System_DateTime_ToLongTimeString = - _System_DateTime_ToLongTimeStringPtr.asFunction< - System_String_t Function( - System_DateTime_t, ffi.Pointer)>(); - - System_String_t System_DateTime_ToShortDateString( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_ToShortDateString( - self, - outException, - ); - } - - late final _System_DateTime_ToShortDateStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_ToShortDateString'); - late final _System_DateTime_ToShortDateString = - _System_DateTime_ToShortDateStringPtr.asFunction< - System_String_t Function( - System_DateTime_t, ffi.Pointer)>(); - - System_String_t System_DateTime_ToShortTimeString( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_ToShortTimeString( - self, - outException, - ); - } - - late final _System_DateTime_ToShortTimeStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_ToShortTimeString'); - late final _System_DateTime_ToShortTimeString = - _System_DateTime_ToShortTimeStringPtr.asFunction< - System_String_t Function( - System_DateTime_t, ffi.Pointer)>(); - - System_String_t System_DateTime_ToString( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_ToString( - self, - outException, - ); - } - - late final _System_DateTime_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_ToString'); - late final _System_DateTime_ToString = - _System_DateTime_ToStringPtr.asFunction< - System_String_t Function( - System_DateTime_t, ffi.Pointer)>(); - - System_String_t System_DateTime_ToString_1( - System_DateTime_t self, - System_String_t format, - ffi.Pointer outException, - ) { - return _System_DateTime_ToString_1( - self, - format, - outException, - ); - } - - late final _System_DateTime_ToString_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_DateTime_t, System_String_t, - ffi.Pointer)>>('System_DateTime_ToString_1'); - late final _System_DateTime_ToString_1 = - _System_DateTime_ToString_1Ptr.asFunction< - System_String_t Function(System_DateTime_t, System_String_t, - ffi.Pointer)>(); - - System_String_t System_DateTime_ToString_2( - System_DateTime_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_DateTime_ToString_2( - self, - provider, - outException, - ); - } - - late final _System_DateTime_ToString_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_DateTime_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_DateTime_ToString_2'); - late final _System_DateTime_ToString_2 = - _System_DateTime_ToString_2Ptr.asFunction< - System_String_t Function(System_DateTime_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - System_String_t System_DateTime_ToString_3( - System_DateTime_t self, - System_String_t format, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_DateTime_ToString_3( - self, - format, - provider, - outException, - ); - } - - late final _System_DateTime_ToString_3Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_DateTime_t, - System_String_t, - System_IFormatProvider_t, - ffi.Pointer)>>('System_DateTime_ToString_3'); - late final _System_DateTime_ToString_3 = - _System_DateTime_ToString_3Ptr.asFunction< - System_String_t Function(System_DateTime_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_ToUniversalTime( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_ToUniversalTime( - self, - outException, - ); - } - - late final _System_DateTime_ToUniversalTimePtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_ToUniversalTime'); - late final _System_DateTime_ToUniversalTime = - _System_DateTime_ToUniversalTimePtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, ffi.Pointer)>(); - - bool System_DateTime_TryParse( - System_String_t s, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateTime_TryParse( - s, - result, - outException, - ); - } - - late final _System_DateTime_TryParsePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>>('System_DateTime_TryParse'); - late final _System_DateTime_TryParse = - _System_DateTime_TryParsePtr.asFunction< - bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>(); - - bool System_DateTime_TryParse_1( - System_String_t s, - System_IFormatProvider_t provider, - int styles, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateTime_TryParse_1( - s, - provider, - styles, - result, - outException, - ); - } - - late final _System_DateTime_TryParse_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>('System_DateTime_TryParse_1'); - late final _System_DateTime_TryParse_1 = - _System_DateTime_TryParse_1Ptr.asFunction< - bool Function( - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_DateTime_TryParseExact( - System_String_t s, - System_String_t format, - System_IFormatProvider_t provider, - int style, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateTime_TryParseExact( - s, - format, - provider, - style, - result, - outException, - ); - } - - late final _System_DateTime_TryParseExactPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>( - 'System_DateTime_TryParseExact'); - late final _System_DateTime_TryParseExact = - _System_DateTime_TryParseExactPtr.asFunction< - bool Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_DateTime_TryParseExact_1( - System_String_t s, - System_String_Array_t formats, - System_IFormatProvider_t provider, - int style, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateTime_TryParseExact_1( - s, - formats, - provider, - style, - result, - outException, - ); - } - - late final _System_DateTime_TryParseExact_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>( - 'System_DateTime_TryParseExact_1'); - late final _System_DateTime_TryParseExact_1 = - _System_DateTime_TryParseExact_1Ptr.asFunction< - bool Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - void System_DateTime_Deconstruct( - System_DateTime_t self, - ffi.Pointer date, - ffi.Pointer time, - ffi.Pointer outException, - ) { - return _System_DateTime_Deconstruct( - self, - date, - time, - outException, - ); - } - - late final _System_DateTime_DeconstructPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_DateTime_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('System_DateTime_Deconstruct'); - late final _System_DateTime_Deconstruct = - _System_DateTime_DeconstructPtr.asFunction< - void Function( - System_DateTime_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - void System_DateTime_Deconstruct_1( - System_DateTime_t self, - ffi.Pointer year, - ffi.Pointer month, - ffi.Pointer day, - ffi.Pointer outException, - ) { - return _System_DateTime_Deconstruct_1( - self, - year, - month, - day, - outException, - ); - } - - late final _System_DateTime_Deconstruct_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_DateTime_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>( - 'System_DateTime_Deconstruct_1'); - late final _System_DateTime_Deconstruct_1 = - _System_DateTime_Deconstruct_1Ptr.asFunction< - void Function( - System_DateTime_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - System_String_Array_t System_DateTime_GetDateTimeFormats( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_GetDateTimeFormats( - self, - outException, - ); - } - - late final _System_DateTime_GetDateTimeFormatsPtr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_GetDateTimeFormats'); - late final _System_DateTime_GetDateTimeFormats = - _System_DateTime_GetDateTimeFormatsPtr.asFunction< - System_String_Array_t Function( - System_DateTime_t, ffi.Pointer)>(); - - System_String_Array_t System_DateTime_GetDateTimeFormats_1( - System_DateTime_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_DateTime_GetDateTimeFormats_1( - self, - provider, - outException, - ); - } - - late final _System_DateTime_GetDateTimeFormats_1Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function(System_DateTime_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_DateTime_GetDateTimeFormats_1'); - late final _System_DateTime_GetDateTimeFormats_1 = - _System_DateTime_GetDateTimeFormats_1Ptr.asFunction< - System_String_Array_t Function(System_DateTime_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_String_Array_t System_DateTime_GetDateTimeFormats_2( - System_DateTime_t self, - int format, - ffi.Pointer outException, - ) { - return _System_DateTime_GetDateTimeFormats_2( - self, - format, - outException, - ); - } - - late final _System_DateTime_GetDateTimeFormats_2Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function(System_DateTime_t, ffi.WChar, - ffi.Pointer)>>( - 'System_DateTime_GetDateTimeFormats_2'); - late final _System_DateTime_GetDateTimeFormats_2 = - _System_DateTime_GetDateTimeFormats_2Ptr.asFunction< - System_String_Array_t Function( - System_DateTime_t, int, ffi.Pointer)>(); - - System_String_Array_t System_DateTime_GetDateTimeFormats_3( - System_DateTime_t self, - int format, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_DateTime_GetDateTimeFormats_3( - self, - format, - provider, - outException, - ); - } - - late final _System_DateTime_GetDateTimeFormats_3Ptr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function(System_DateTime_t, ffi.WChar, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_DateTime_GetDateTimeFormats_3'); - late final _System_DateTime_GetDateTimeFormats_3 = - _System_DateTime_GetDateTimeFormats_3Ptr.asFunction< - System_String_Array_t Function(System_DateTime_t, int, - System_IFormatProvider_t, ffi.Pointer)>(); - - int System_DateTime_GetTypeCode( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_GetTypeCode( - self, - outException, - ); - } - - late final _System_DateTime_GetTypeCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_GetTypeCode'); - late final _System_DateTime_GetTypeCode = - _System_DateTime_GetTypeCodePtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - bool System_DateTime_TryParse_2( - System_String_t s, - System_IFormatProvider_t provider, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateTime_TryParse_2( - s, - provider, - result, - outException, - ); - } - - late final _System_DateTime_TryParse_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>>('System_DateTime_TryParse_2'); - late final _System_DateTime_TryParse_2 = - _System_DateTime_TryParse_2Ptr.asFunction< - bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create( - int ticks, - ffi.Pointer outException, - ) { - return _System_DateTime_Create( - ticks, - outException, - ); - } - - late final _System_DateTime_CreatePtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(ffi.Int64, - ffi.Pointer)>>('System_DateTime_Create'); - late final _System_DateTime_Create = _System_DateTime_CreatePtr.asFunction< - System_DateTime_t Function(int, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_1( - int ticks, - int kind, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_1( - ticks, - kind, - outException, - ); - } - - late final _System_DateTime_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(ffi.Int64, ffi.Int32, - ffi.Pointer)>>('System_DateTime_Create_1'); - late final _System_DateTime_Create_1 = - _System_DateTime_Create_1Ptr.asFunction< - System_DateTime_t Function( - int, int, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_2( - System_DateOnly_t date, - System_TimeOnly_t time, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_2( - date, - time, - outException, - ); - } - - late final _System_DateTime_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateOnly_t, System_TimeOnly_t, - ffi.Pointer)>>('System_DateTime_Create_2'); - late final _System_DateTime_Create_2 = - _System_DateTime_Create_2Ptr.asFunction< - System_DateTime_t Function(System_DateOnly_t, System_TimeOnly_t, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_3( - System_DateOnly_t date, - System_TimeOnly_t time, - int kind, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_3( - date, - time, - kind, - outException, - ); - } - - late final _System_DateTime_Create_3Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_DateOnly_t, - System_TimeOnly_t, - ffi.Int32, - ffi.Pointer)>>('System_DateTime_Create_3'); - late final _System_DateTime_Create_3 = - _System_DateTime_Create_3Ptr.asFunction< - System_DateTime_t Function(System_DateOnly_t, System_TimeOnly_t, int, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_4( - int year, - int month, - int day, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_4( - year, - month, - day, - outException, - ); - } - - late final _System_DateTime_Create_4Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(ffi.Int32, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_DateTime_Create_4'); - late final _System_DateTime_Create_4 = - _System_DateTime_Create_4Ptr.asFunction< - System_DateTime_t Function( - int, int, int, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_5( - int year, - int month, - int day, - System_Globalization_Calendar_t calendar, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_5( - year, - month, - day, - calendar, - outException, - ); - } - - late final _System_DateTime_Create_5Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - System_Globalization_Calendar_t, - ffi.Pointer)>>('System_DateTime_Create_5'); - late final _System_DateTime_Create_5 = - _System_DateTime_Create_5Ptr.asFunction< - System_DateTime_t Function( - int, - int, - int, - System_Globalization_Calendar_t, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_6( - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - System_Globalization_Calendar_t calendar, - int kind, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_6( - year, - month, - day, - hour, - minute, - second, - millisecond, - calendar, - kind, - outException, - ); - } - - late final _System_DateTime_Create_6Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - System_Globalization_Calendar_t, - ffi.Int32, - ffi.Pointer)>>('System_DateTime_Create_6'); - late final _System_DateTime_Create_6 = - _System_DateTime_Create_6Ptr.asFunction< - System_DateTime_t Function( - int, - int, - int, - int, - int, - int, - int, - System_Globalization_Calendar_t, - int, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_7( - int year, - int month, - int day, - int hour, - int minute, - int second, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_7( - year, - month, - day, - hour, - minute, - second, - outException, - ); - } - - late final _System_DateTime_Create_7Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_DateTime_Create_7'); - late final _System_DateTime_Create_7 = - _System_DateTime_Create_7Ptr.asFunction< - System_DateTime_t Function( - int, int, int, int, int, int, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_8( - int year, - int month, - int day, - int hour, - int minute, - int second, - int kind, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_8( - year, - month, - day, - hour, - minute, - second, - kind, - outException, - ); - } - - late final _System_DateTime_Create_8Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_DateTime_Create_8'); - late final _System_DateTime_Create_8 = - _System_DateTime_Create_8Ptr.asFunction< - System_DateTime_t Function(int, int, int, int, int, int, int, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_9( - int year, - int month, - int day, - int hour, - int minute, - int second, - System_Globalization_Calendar_t calendar, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_9( - year, - month, - day, - hour, - minute, - second, - calendar, - outException, - ); - } - - late final _System_DateTime_Create_9Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - System_Globalization_Calendar_t, - ffi.Pointer)>>('System_DateTime_Create_9'); - late final _System_DateTime_Create_9 = - _System_DateTime_Create_9Ptr.asFunction< - System_DateTime_t Function( - int, - int, - int, - int, - int, - int, - System_Globalization_Calendar_t, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_10( - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_10( - year, - month, - day, - hour, - minute, - second, - millisecond, - outException, - ); - } - - late final _System_DateTime_Create_10Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_DateTime_Create_10'); - late final _System_DateTime_Create_10 = - _System_DateTime_Create_10Ptr.asFunction< - System_DateTime_t Function(int, int, int, int, int, int, int, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_11( - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - int kind, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_11( - year, - month, - day, - hour, - minute, - second, - millisecond, - kind, - outException, - ); - } - - late final _System_DateTime_Create_11Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_DateTime_Create_11'); - late final _System_DateTime_Create_11 = - _System_DateTime_Create_11Ptr.asFunction< - System_DateTime_t Function(int, int, int, int, int, int, int, int, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_12( - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - System_Globalization_Calendar_t calendar, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_12( - year, - month, - day, - hour, - minute, - second, - millisecond, - calendar, - outException, - ); - } - - late final _System_DateTime_Create_12Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - System_Globalization_Calendar_t, - ffi.Pointer)>>('System_DateTime_Create_12'); - late final _System_DateTime_Create_12 = - _System_DateTime_Create_12Ptr.asFunction< - System_DateTime_t Function( - int, - int, - int, - int, - int, - int, - int, - System_Globalization_Calendar_t, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_13( - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - int microsecond, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_13( - year, - month, - day, - hour, - minute, - second, - millisecond, - microsecond, - outException, - ); - } - - late final _System_DateTime_Create_13Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_DateTime_Create_13'); - late final _System_DateTime_Create_13 = - _System_DateTime_Create_13Ptr.asFunction< - System_DateTime_t Function(int, int, int, int, int, int, int, int, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_14( - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - int microsecond, - int kind, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_14( - year, - month, - day, - hour, - minute, - second, - millisecond, - microsecond, - kind, - outException, - ); - } - - late final _System_DateTime_Create_14Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_DateTime_Create_14'); - late final _System_DateTime_Create_14 = - _System_DateTime_Create_14Ptr.asFunction< - System_DateTime_t Function(int, int, int, int, int, int, int, int, - int, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_15( - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - int microsecond, - System_Globalization_Calendar_t calendar, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_15( - year, - month, - day, - hour, - minute, - second, - millisecond, - microsecond, - calendar, - outException, - ); - } - - late final _System_DateTime_Create_15Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - System_Globalization_Calendar_t, - ffi.Pointer)>>('System_DateTime_Create_15'); - late final _System_DateTime_Create_15 = - _System_DateTime_Create_15Ptr.asFunction< - System_DateTime_t Function( - int, - int, - int, - int, - int, - int, - int, - int, - System_Globalization_Calendar_t, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Create_16( - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - int microsecond, - System_Globalization_Calendar_t calendar, - int kind, - ffi.Pointer outException, - ) { - return _System_DateTime_Create_16( - year, - month, - day, - hour, - minute, - second, - millisecond, - microsecond, - calendar, - kind, - outException, - ); - } - - late final _System_DateTime_Create_16Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - System_Globalization_Calendar_t, - ffi.Int32, - ffi.Pointer)>>('System_DateTime_Create_16'); - late final _System_DateTime_Create_16 = - _System_DateTime_Create_16Ptr.asFunction< - System_DateTime_t Function( - int, - int, - int, - int, - int, - int, - int, - int, - System_Globalization_Calendar_t, - int, - ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Date_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_Date_Get( - self, - outException, - ); - } - - late final _System_DateTime_Date_GetPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_Date_Get'); - late final _System_DateTime_Date_Get = - _System_DateTime_Date_GetPtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_Day_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_Day_Get( - self, - outException, - ); - } - - late final _System_DateTime_Day_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_Day_Get'); - late final _System_DateTime_Day_Get = _System_DateTime_Day_GetPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_DayOfWeek_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_DayOfWeek_Get( - self, - outException, - ); - } - - late final _System_DateTime_DayOfWeek_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_DayOfWeek_Get'); - late final _System_DateTime_DayOfWeek_Get = - _System_DateTime_DayOfWeek_GetPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_DayOfYear_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_DayOfYear_Get( - self, - outException, - ); - } - - late final _System_DateTime_DayOfYear_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_DayOfYear_Get'); - late final _System_DateTime_DayOfYear_Get = - _System_DateTime_DayOfYear_GetPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_Hour_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_Hour_Get( - self, - outException, - ); - } - - late final _System_DateTime_Hour_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_Hour_Get'); - late final _System_DateTime_Hour_Get = - _System_DateTime_Hour_GetPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_Kind_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_Kind_Get( - self, - outException, - ); - } - - late final _System_DateTime_Kind_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_Kind_Get'); - late final _System_DateTime_Kind_Get = - _System_DateTime_Kind_GetPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_Millisecond_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_Millisecond_Get( - self, - outException, - ); - } - - late final _System_DateTime_Millisecond_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_Millisecond_Get'); - late final _System_DateTime_Millisecond_Get = - _System_DateTime_Millisecond_GetPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_Microsecond_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_Microsecond_Get( - self, - outException, - ); - } - - late final _System_DateTime_Microsecond_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_Microsecond_Get'); - late final _System_DateTime_Microsecond_Get = - _System_DateTime_Microsecond_GetPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_Nanosecond_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_Nanosecond_Get( - self, - outException, - ); - } - - late final _System_DateTime_Nanosecond_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_Nanosecond_Get'); - late final _System_DateTime_Nanosecond_Get = - _System_DateTime_Nanosecond_GetPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_Minute_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_Minute_Get( - self, - outException, - ); - } - - late final _System_DateTime_Minute_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_Minute_Get'); - late final _System_DateTime_Minute_Get = - _System_DateTime_Minute_GetPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_Month_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_Month_Get( - self, - outException, - ); - } - - late final _System_DateTime_Month_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_Month_Get'); - late final _System_DateTime_Month_Get = - _System_DateTime_Month_GetPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Now_Get( - ffi.Pointer outException, - ) { - return _System_DateTime_Now_Get( - outException, - ); - } - - late final _System_DateTime_Now_GetPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Pointer)>>('System_DateTime_Now_Get'); - late final _System_DateTime_Now_Get = _System_DateTime_Now_GetPtr.asFunction< - System_DateTime_t Function(ffi.Pointer)>(); - - int System_DateTime_Second_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_Second_Get( - self, - outException, - ); - } - - late final _System_DateTime_Second_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_Second_Get'); - late final _System_DateTime_Second_Get = - _System_DateTime_Second_GetPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - int System_DateTime_Ticks_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_Ticks_Get( - self, - outException, - ); - } - - late final _System_DateTime_Ticks_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_Ticks_Get'); - late final _System_DateTime_Ticks_Get = - _System_DateTime_Ticks_GetPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - System_TimeSpan_t System_DateTime_TimeOfDay_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_TimeOfDay_Get( - self, - outException, - ); - } - - late final _System_DateTime_TimeOfDay_GetPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTime_TimeOfDay_Get'); - late final _System_DateTime_TimeOfDay_Get = - _System_DateTime_TimeOfDay_GetPtr.asFunction< - System_TimeSpan_t Function( - System_DateTime_t, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_Today_Get( - ffi.Pointer outException, - ) { - return _System_DateTime_Today_Get( - outException, - ); - } - - late final _System_DateTime_Today_GetPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Pointer)>>('System_DateTime_Today_Get'); - late final _System_DateTime_Today_Get = - _System_DateTime_Today_GetPtr.asFunction< - System_DateTime_t Function(ffi.Pointer)>(); - - int System_DateTime_Year_Get( - System_DateTime_t self, - ffi.Pointer outException, - ) { - return _System_DateTime_Year_Get( - self, - outException, - ); - } - - late final _System_DateTime_Year_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTime_t, - ffi.Pointer)>>('System_DateTime_Year_Get'); - late final _System_DateTime_Year_Get = - _System_DateTime_Year_GetPtr.asFunction< - int Function(System_DateTime_t, ffi.Pointer)>(); - - System_DateTime_t System_DateTime_UtcNow_Get( - ffi.Pointer outException, - ) { - return _System_DateTime_UtcNow_Get( - outException, - ); - } - - late final _System_DateTime_UtcNow_GetPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Pointer)>>('System_DateTime_UtcNow_Get'); - late final _System_DateTime_UtcNow_Get = - _System_DateTime_UtcNow_GetPtr.asFunction< - System_DateTime_t Function(ffi.Pointer)>(); - - System_DateTime_t System_DateTime_MinValue_Get() { - return _System_DateTime_MinValue_Get(); - } - - late final _System_DateTime_MinValue_GetPtr = - _lookup>( - 'System_DateTime_MinValue_Get'); - late final _System_DateTime_MinValue_Get = _System_DateTime_MinValue_GetPtr - .asFunction(); - - System_DateTime_t System_DateTime_MaxValue_Get() { - return _System_DateTime_MaxValue_Get(); - } - - late final _System_DateTime_MaxValue_GetPtr = - _lookup>( - 'System_DateTime_MaxValue_Get'); - late final _System_DateTime_MaxValue_Get = _System_DateTime_MaxValue_GetPtr - .asFunction(); - - System_DateTime_t System_DateTime_UnixEpoch_Get() { - return _System_DateTime_UnixEpoch_Get(); - } - - late final _System_DateTime_UnixEpoch_GetPtr = - _lookup>( - 'System_DateTime_UnixEpoch_Get'); - late final _System_DateTime_UnixEpoch_Get = _System_DateTime_UnixEpoch_GetPtr - .asFunction(); - - System_DateTime_t System_DateTime_Create_17( - ffi.Pointer outException, - ) { - return _System_DateTime_Create_17( - outException, - ); - } - - late final _System_DateTime_Create_17Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - ffi.Pointer)>>('System_DateTime_Create_17'); - late final _System_DateTime_Create_17 = - _System_DateTime_Create_17Ptr.asFunction< - System_DateTime_t Function(ffi.Pointer)>(); - - System_Type_t System_DateTime_TypeOf() { - return _System_DateTime_TypeOf(); - } - - late final _System_DateTime_TypeOfPtr = - _lookup>( - 'System_DateTime_TypeOf'); - late final _System_DateTime_TypeOf = - _System_DateTime_TypeOfPtr.asFunction(); - - void System_DateTime_Destroy( - System_DateTime_t self, - ) { - return _System_DateTime_Destroy( - self, - ); - } - - late final _System_DateTime_DestroyPtr = - _lookup>( - 'System_DateTime_Destroy'); - late final _System_DateTime_Destroy = _System_DateTime_DestroyPtr.asFunction< - void Function(System_DateTime_t)>(); - - System_TimeSpan_t System_TimeSpan_Add( - System_TimeSpan_t self, - System_TimeSpan_t ts, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Add( - self, - ts, - outException, - ); - } - - late final _System_TimeSpan_AddPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_Add'); - late final _System_TimeSpan_Add = _System_TimeSpan_AddPtr.asFunction< - System_TimeSpan_t Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>(); - - int System_TimeSpan_Compare( - System_TimeSpan_t t1, - System_TimeSpan_t t2, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Compare( - t1, - t2, - outException, - ); - } - - late final _System_TimeSpan_ComparePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_Compare'); - late final _System_TimeSpan_Compare = _System_TimeSpan_ComparePtr.asFunction< - int Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>(); - - int System_TimeSpan_CompareTo( - System_TimeSpan_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_TimeSpan_CompareTo( - self, - value, - outException, - ); - } - - late final _System_TimeSpan_CompareToPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeSpan_t, System_Object_t, - ffi.Pointer)>>('System_TimeSpan_CompareTo'); - late final _System_TimeSpan_CompareTo = - _System_TimeSpan_CompareToPtr.asFunction< - int Function(System_TimeSpan_t, System_Object_t, - ffi.Pointer)>(); - - int System_TimeSpan_CompareTo_1( - System_TimeSpan_t self, - System_TimeSpan_t value, - ffi.Pointer outException, - ) { - return _System_TimeSpan_CompareTo_1( - self, - value, - outException, - ); - } - - late final _System_TimeSpan_CompareTo_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_CompareTo_1'); - late final _System_TimeSpan_CompareTo_1 = - _System_TimeSpan_CompareTo_1Ptr.asFunction< - int Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_FromDays( - double value, - ffi.Pointer outException, - ) { - return _System_TimeSpan_FromDays( - value, - outException, - ); - } - - late final _System_TimeSpan_FromDaysPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(ffi.Double, - ffi.Pointer)>>('System_TimeSpan_FromDays'); - late final _System_TimeSpan_FromDays = - _System_TimeSpan_FromDaysPtr.asFunction< - System_TimeSpan_t Function( - double, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_Duration( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Duration( - self, - outException, - ); - } - - late final _System_TimeSpan_DurationPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_Duration'); - late final _System_TimeSpan_Duration = - _System_TimeSpan_DurationPtr.asFunction< - System_TimeSpan_t Function( - System_TimeSpan_t, ffi.Pointer)>(); - - bool System_TimeSpan_Equals( - System_TimeSpan_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Equals( - self, - value, - outException, - ); - } - - late final _System_TimeSpan_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeSpan_t, System_Object_t, - ffi.Pointer)>>('System_TimeSpan_Equals'); - late final _System_TimeSpan_Equals = _System_TimeSpan_EqualsPtr.asFunction< - bool Function(System_TimeSpan_t, System_Object_t, - ffi.Pointer)>(); - - bool System_TimeSpan_Equals_1( - System_TimeSpan_t self, - System_TimeSpan_t obj, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Equals_1( - self, - obj, - outException, - ); - } - - late final _System_TimeSpan_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_Equals_1'); - late final _System_TimeSpan_Equals_1 = - _System_TimeSpan_Equals_1Ptr.asFunction< - bool Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>(); - - bool System_TimeSpan_Equals_2( - System_TimeSpan_t t1, - System_TimeSpan_t t2, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Equals_2( - t1, - t2, - outException, - ); - } - - late final _System_TimeSpan_Equals_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_Equals_2'); - late final _System_TimeSpan_Equals_2 = - _System_TimeSpan_Equals_2Ptr.asFunction< - bool Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>(); - - int System_TimeSpan_GetHashCode( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_GetHashCode( - self, - outException, - ); - } - - late final _System_TimeSpan_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_GetHashCode'); - late final _System_TimeSpan_GetHashCode = - _System_TimeSpan_GetHashCodePtr.asFunction< - int Function(System_TimeSpan_t, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_FromHours( - double value, - ffi.Pointer outException, - ) { - return _System_TimeSpan_FromHours( - value, - outException, - ); - } - - late final _System_TimeSpan_FromHoursPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(ffi.Double, - ffi.Pointer)>>('System_TimeSpan_FromHours'); - late final _System_TimeSpan_FromHours = - _System_TimeSpan_FromHoursPtr.asFunction< - System_TimeSpan_t Function( - double, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_FromMilliseconds( - double value, - ffi.Pointer outException, - ) { - return _System_TimeSpan_FromMilliseconds( - value, - outException, - ); - } - - late final _System_TimeSpan_FromMillisecondsPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function( - ffi.Double, ffi.Pointer)>>( - 'System_TimeSpan_FromMilliseconds'); - late final _System_TimeSpan_FromMilliseconds = - _System_TimeSpan_FromMillisecondsPtr.asFunction< - System_TimeSpan_t Function( - double, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_FromMicroseconds( - double value, - ffi.Pointer outException, - ) { - return _System_TimeSpan_FromMicroseconds( - value, - outException, - ); - } - - late final _System_TimeSpan_FromMicrosecondsPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function( - ffi.Double, ffi.Pointer)>>( - 'System_TimeSpan_FromMicroseconds'); - late final _System_TimeSpan_FromMicroseconds = - _System_TimeSpan_FromMicrosecondsPtr.asFunction< - System_TimeSpan_t Function( - double, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_FromMinutes( - double value, - ffi.Pointer outException, - ) { - return _System_TimeSpan_FromMinutes( - value, - outException, - ); - } - - late final _System_TimeSpan_FromMinutesPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(ffi.Double, - ffi.Pointer)>>('System_TimeSpan_FromMinutes'); - late final _System_TimeSpan_FromMinutes = - _System_TimeSpan_FromMinutesPtr.asFunction< - System_TimeSpan_t Function( - double, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_Negate( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Negate( - self, - outException, - ); - } - - late final _System_TimeSpan_NegatePtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_Negate'); - late final _System_TimeSpan_Negate = _System_TimeSpan_NegatePtr.asFunction< - System_TimeSpan_t Function( - System_TimeSpan_t, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_FromSeconds( - double value, - ffi.Pointer outException, - ) { - return _System_TimeSpan_FromSeconds( - value, - outException, - ); - } - - late final _System_TimeSpan_FromSecondsPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(ffi.Double, - ffi.Pointer)>>('System_TimeSpan_FromSeconds'); - late final _System_TimeSpan_FromSeconds = - _System_TimeSpan_FromSecondsPtr.asFunction< - System_TimeSpan_t Function( - double, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_Subtract( - System_TimeSpan_t self, - System_TimeSpan_t ts, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Subtract( - self, - ts, - outException, - ); - } - - late final _System_TimeSpan_SubtractPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_Subtract'); - late final _System_TimeSpan_Subtract = - _System_TimeSpan_SubtractPtr.asFunction< - System_TimeSpan_t Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_Multiply( - System_TimeSpan_t self, - double factor, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Multiply( - self, - factor, - outException, - ); - } - - late final _System_TimeSpan_MultiplyPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_TimeSpan_t, ffi.Double, - ffi.Pointer)>>('System_TimeSpan_Multiply'); - late final _System_TimeSpan_Multiply = - _System_TimeSpan_MultiplyPtr.asFunction< - System_TimeSpan_t Function( - System_TimeSpan_t, double, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_Divide( - System_TimeSpan_t self, - double divisor, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Divide( - self, - divisor, - outException, - ); - } - - late final _System_TimeSpan_DividePtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_TimeSpan_t, ffi.Double, - ffi.Pointer)>>('System_TimeSpan_Divide'); - late final _System_TimeSpan_Divide = _System_TimeSpan_DividePtr.asFunction< - System_TimeSpan_t Function( - System_TimeSpan_t, double, ffi.Pointer)>(); - - double System_TimeSpan_Divide_1( - System_TimeSpan_t self, - System_TimeSpan_t ts, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Divide_1( - self, - ts, - outException, - ); - } - - late final _System_TimeSpan_Divide_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_Divide_1'); - late final _System_TimeSpan_Divide_1 = - _System_TimeSpan_Divide_1Ptr.asFunction< - double Function(System_TimeSpan_t, System_TimeSpan_t, - ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_FromTicks( - int value, - ffi.Pointer outException, - ) { - return _System_TimeSpan_FromTicks( - value, - outException, - ); - } - - late final _System_TimeSpan_FromTicksPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(ffi.Int64, - ffi.Pointer)>>('System_TimeSpan_FromTicks'); - late final _System_TimeSpan_FromTicks = - _System_TimeSpan_FromTicksPtr.asFunction< - System_TimeSpan_t Function(int, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_Parse( - System_String_t s, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Parse( - s, - outException, - ); - } - - late final _System_TimeSpan_ParsePtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_String_t, - ffi.Pointer)>>('System_TimeSpan_Parse'); - late final _System_TimeSpan_Parse = _System_TimeSpan_ParsePtr.asFunction< - System_TimeSpan_t Function( - System_String_t, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_Parse_1( - System_String_t input, - System_IFormatProvider_t formatProvider, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Parse_1( - input, - formatProvider, - outException, - ); - } - - late final _System_TimeSpan_Parse_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_TimeSpan_Parse_1'); - late final _System_TimeSpan_Parse_1 = _System_TimeSpan_Parse_1Ptr.asFunction< - System_TimeSpan_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_ParseExact( - System_String_t input, - System_String_t format, - System_IFormatProvider_t formatProvider, - ffi.Pointer outException, - ) { - return _System_TimeSpan_ParseExact( - input, - format, - formatProvider, - outException, - ); - } - - late final _System_TimeSpan_ParseExactPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Pointer)>>('System_TimeSpan_ParseExact'); - late final _System_TimeSpan_ParseExact = - _System_TimeSpan_ParseExactPtr.asFunction< - System_TimeSpan_t Function(System_String_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_ParseExact_1( - System_String_t input, - System_String_Array_t formats, - System_IFormatProvider_t formatProvider, - ffi.Pointer outException, - ) { - return _System_TimeSpan_ParseExact_1( - input, - formats, - formatProvider, - outException, - ); - } - - late final _System_TimeSpan_ParseExact_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_String_t, System_String_Array_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_TimeSpan_ParseExact_1'); - late final _System_TimeSpan_ParseExact_1 = - _System_TimeSpan_ParseExact_1Ptr.asFunction< - System_TimeSpan_t Function(System_String_t, System_String_Array_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_ParseExact_2( - System_String_t input, - System_String_t format, - System_IFormatProvider_t formatProvider, - int styles, - ffi.Pointer outException, - ) { - return _System_TimeSpan_ParseExact_2( - input, - format, - formatProvider, - styles, - outException, - ); - } - - late final _System_TimeSpan_ParseExact_2Ptr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_TimeSpan_ParseExact_2'); - late final _System_TimeSpan_ParseExact_2 = - _System_TimeSpan_ParseExact_2Ptr.asFunction< - System_TimeSpan_t Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_ParseExact_3( - System_String_t input, - System_String_Array_t formats, - System_IFormatProvider_t formatProvider, - int styles, - ffi.Pointer outException, - ) { - return _System_TimeSpan_ParseExact_3( - input, - formats, - formatProvider, - styles, - outException, - ); - } - - late final _System_TimeSpan_ParseExact_3Ptr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_TimeSpan_ParseExact_3'); - late final _System_TimeSpan_ParseExact_3 = - _System_TimeSpan_ParseExact_3Ptr.asFunction< - System_TimeSpan_t Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - int, - ffi.Pointer)>(); - - bool System_TimeSpan_TryParse( - System_String_t s, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_TimeSpan_TryParse( - s, - result, - outException, - ); - } - - late final _System_TimeSpan_TryParsePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>>('System_TimeSpan_TryParse'); - late final _System_TimeSpan_TryParse = - _System_TimeSpan_TryParsePtr.asFunction< - bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>(); - - bool System_TimeSpan_TryParse_1( - System_String_t input, - System_IFormatProvider_t formatProvider, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_TimeSpan_TryParse_1( - input, - formatProvider, - result, - outException, - ); - } - - late final _System_TimeSpan_TryParse_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>>('System_TimeSpan_TryParse_1'); - late final _System_TimeSpan_TryParse_1 = - _System_TimeSpan_TryParse_1Ptr.asFunction< - bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_TimeSpan_TryParseExact( - System_String_t input, - System_String_t format, - System_IFormatProvider_t formatProvider, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_TimeSpan_TryParseExact( - input, - format, - formatProvider, - result, - outException, - ); - } - - late final _System_TimeSpan_TryParseExactPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeSpan_TryParseExact'); - late final _System_TimeSpan_TryParseExact = - _System_TimeSpan_TryParseExactPtr.asFunction< - bool Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_TimeSpan_TryParseExact_1( - System_String_t input, - System_String_Array_t formats, - System_IFormatProvider_t formatProvider, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_TimeSpan_TryParseExact_1( - input, - formats, - formatProvider, - result, - outException, - ); - } - - late final _System_TimeSpan_TryParseExact_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeSpan_TryParseExact_1'); - late final _System_TimeSpan_TryParseExact_1 = - _System_TimeSpan_TryParseExact_1Ptr.asFunction< - bool Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_TimeSpan_TryParseExact_2( - System_String_t input, - System_String_t format, - System_IFormatProvider_t formatProvider, - int styles, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_TimeSpan_TryParseExact_2( - input, - format, - formatProvider, - styles, - result, - outException, - ); - } - - late final _System_TimeSpan_TryParseExact_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeSpan_TryParseExact_2'); - late final _System_TimeSpan_TryParseExact_2 = - _System_TimeSpan_TryParseExact_2Ptr.asFunction< - bool Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_TimeSpan_TryParseExact_3( - System_String_t input, - System_String_Array_t formats, - System_IFormatProvider_t formatProvider, - int styles, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_TimeSpan_TryParseExact_3( - input, - formats, - formatProvider, - styles, - result, - outException, - ); - } - - late final _System_TimeSpan_TryParseExact_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeSpan_TryParseExact_3'); - late final _System_TimeSpan_TryParseExact_3 = - _System_TimeSpan_TryParseExact_3Ptr.asFunction< - bool Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - System_String_t System_TimeSpan_ToString( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_ToString( - self, - outException, - ); - } - - late final _System_TimeSpan_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_ToString'); - late final _System_TimeSpan_ToString = - _System_TimeSpan_ToStringPtr.asFunction< - System_String_t Function( - System_TimeSpan_t, ffi.Pointer)>(); - - System_String_t System_TimeSpan_ToString_1( - System_TimeSpan_t self, - System_String_t format, - ffi.Pointer outException, - ) { - return _System_TimeSpan_ToString_1( - self, - format, - outException, - ); - } - - late final _System_TimeSpan_ToString_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_TimeSpan_t, System_String_t, - ffi.Pointer)>>('System_TimeSpan_ToString_1'); - late final _System_TimeSpan_ToString_1 = - _System_TimeSpan_ToString_1Ptr.asFunction< - System_String_t Function(System_TimeSpan_t, System_String_t, - ffi.Pointer)>(); - - System_String_t System_TimeSpan_ToString_2( - System_TimeSpan_t self, - System_String_t format, - System_IFormatProvider_t formatProvider, - ffi.Pointer outException, - ) { - return _System_TimeSpan_ToString_2( - self, - format, - formatProvider, - outException, - ); - } - - late final _System_TimeSpan_ToString_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_TimeSpan_t, - System_String_t, - System_IFormatProvider_t, - ffi.Pointer)>>('System_TimeSpan_ToString_2'); - late final _System_TimeSpan_ToString_2 = - _System_TimeSpan_ToString_2Ptr.asFunction< - System_String_t Function(System_TimeSpan_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_Create( - int ticks, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Create( - ticks, - outException, - ); - } - - late final _System_TimeSpan_CreatePtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(ffi.Int64, - ffi.Pointer)>>('System_TimeSpan_Create'); - late final _System_TimeSpan_Create = _System_TimeSpan_CreatePtr.asFunction< - System_TimeSpan_t Function(int, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_Create_1( - int hours, - int minutes, - int seconds, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Create_1( - hours, - minutes, - seconds, - outException, - ); - } - - late final _System_TimeSpan_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(ffi.Int32, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_TimeSpan_Create_1'); - late final _System_TimeSpan_Create_1 = - _System_TimeSpan_Create_1Ptr.asFunction< - System_TimeSpan_t Function( - int, int, int, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_Create_2( - int days, - int hours, - int minutes, - int seconds, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Create_2( - days, - hours, - minutes, - seconds, - outException, - ); - } - - late final _System_TimeSpan_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(ffi.Int32, ffi.Int32, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_TimeSpan_Create_2'); - late final _System_TimeSpan_Create_2 = - _System_TimeSpan_Create_2Ptr.asFunction< - System_TimeSpan_t Function( - int, int, int, int, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_Create_3( - int days, - int hours, - int minutes, - int seconds, - int milliseconds, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Create_3( - days, - hours, - minutes, - seconds, - milliseconds, - outException, - ); - } - - late final _System_TimeSpan_Create_3Ptr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_TimeSpan_Create_3'); - late final _System_TimeSpan_Create_3 = - _System_TimeSpan_Create_3Ptr.asFunction< - System_TimeSpan_t Function( - int, int, int, int, int, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_Create_4( - int days, - int hours, - int minutes, - int seconds, - int milliseconds, - int microseconds, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Create_4( - days, - hours, - minutes, - seconds, - milliseconds, - microseconds, - outException, - ); - } - - late final _System_TimeSpan_Create_4Ptr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_TimeSpan_Create_4'); - late final _System_TimeSpan_Create_4 = - _System_TimeSpan_Create_4Ptr.asFunction< - System_TimeSpan_t Function( - int, int, int, int, int, int, ffi.Pointer)>(); - - int System_TimeSpan_Ticks_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Ticks_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_Ticks_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_Ticks_Get'); - late final _System_TimeSpan_Ticks_Get = - _System_TimeSpan_Ticks_GetPtr.asFunction< - int Function(System_TimeSpan_t, ffi.Pointer)>(); - - int System_TimeSpan_Days_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Days_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_Days_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_Days_Get'); - late final _System_TimeSpan_Days_Get = - _System_TimeSpan_Days_GetPtr.asFunction< - int Function(System_TimeSpan_t, ffi.Pointer)>(); - - int System_TimeSpan_Hours_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Hours_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_Hours_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_Hours_Get'); - late final _System_TimeSpan_Hours_Get = - _System_TimeSpan_Hours_GetPtr.asFunction< - int Function(System_TimeSpan_t, ffi.Pointer)>(); - - int System_TimeSpan_Milliseconds_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Milliseconds_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_Milliseconds_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_TimeSpan_t, ffi.Pointer)>>( - 'System_TimeSpan_Milliseconds_Get'); - late final _System_TimeSpan_Milliseconds_Get = - _System_TimeSpan_Milliseconds_GetPtr.asFunction< - int Function(System_TimeSpan_t, ffi.Pointer)>(); - - int System_TimeSpan_Microseconds_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Microseconds_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_Microseconds_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_TimeSpan_t, ffi.Pointer)>>( - 'System_TimeSpan_Microseconds_Get'); - late final _System_TimeSpan_Microseconds_Get = - _System_TimeSpan_Microseconds_GetPtr.asFunction< - int Function(System_TimeSpan_t, ffi.Pointer)>(); - - int System_TimeSpan_Nanoseconds_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Nanoseconds_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_Nanoseconds_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_TimeSpan_t, ffi.Pointer)>>( - 'System_TimeSpan_Nanoseconds_Get'); - late final _System_TimeSpan_Nanoseconds_Get = - _System_TimeSpan_Nanoseconds_GetPtr.asFunction< - int Function(System_TimeSpan_t, ffi.Pointer)>(); - - int System_TimeSpan_Minutes_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Minutes_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_Minutes_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_Minutes_Get'); - late final _System_TimeSpan_Minutes_Get = - _System_TimeSpan_Minutes_GetPtr.asFunction< - int Function(System_TimeSpan_t, ffi.Pointer)>(); - - int System_TimeSpan_Seconds_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_Seconds_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_Seconds_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeSpan_t, - ffi.Pointer)>>('System_TimeSpan_Seconds_Get'); - late final _System_TimeSpan_Seconds_Get = - _System_TimeSpan_Seconds_GetPtr.asFunction< - int Function(System_TimeSpan_t, ffi.Pointer)>(); - - double System_TimeSpan_TotalDays_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_TotalDays_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_TotalDays_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - System_TimeSpan_t, ffi.Pointer)>>( - 'System_TimeSpan_TotalDays_Get'); - late final _System_TimeSpan_TotalDays_Get = - _System_TimeSpan_TotalDays_GetPtr.asFunction< - double Function( - System_TimeSpan_t, ffi.Pointer)>(); - - double System_TimeSpan_TotalHours_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_TotalHours_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_TotalHours_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - System_TimeSpan_t, ffi.Pointer)>>( - 'System_TimeSpan_TotalHours_Get'); - late final _System_TimeSpan_TotalHours_Get = - _System_TimeSpan_TotalHours_GetPtr.asFunction< - double Function( - System_TimeSpan_t, ffi.Pointer)>(); - - double System_TimeSpan_TotalMilliseconds_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_TotalMilliseconds_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_TotalMilliseconds_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - System_TimeSpan_t, ffi.Pointer)>>( - 'System_TimeSpan_TotalMilliseconds_Get'); - late final _System_TimeSpan_TotalMilliseconds_Get = - _System_TimeSpan_TotalMilliseconds_GetPtr.asFunction< - double Function( - System_TimeSpan_t, ffi.Pointer)>(); - - double System_TimeSpan_TotalMicroseconds_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_TotalMicroseconds_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_TotalMicroseconds_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - System_TimeSpan_t, ffi.Pointer)>>( - 'System_TimeSpan_TotalMicroseconds_Get'); - late final _System_TimeSpan_TotalMicroseconds_Get = - _System_TimeSpan_TotalMicroseconds_GetPtr.asFunction< - double Function( - System_TimeSpan_t, ffi.Pointer)>(); - - double System_TimeSpan_TotalNanoseconds_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_TotalNanoseconds_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_TotalNanoseconds_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - System_TimeSpan_t, ffi.Pointer)>>( - 'System_TimeSpan_TotalNanoseconds_Get'); - late final _System_TimeSpan_TotalNanoseconds_Get = - _System_TimeSpan_TotalNanoseconds_GetPtr.asFunction< - double Function( - System_TimeSpan_t, ffi.Pointer)>(); - - double System_TimeSpan_TotalMinutes_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_TotalMinutes_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_TotalMinutes_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - System_TimeSpan_t, ffi.Pointer)>>( - 'System_TimeSpan_TotalMinutes_Get'); - late final _System_TimeSpan_TotalMinutes_Get = - _System_TimeSpan_TotalMinutes_GetPtr.asFunction< - double Function( - System_TimeSpan_t, ffi.Pointer)>(); - - double System_TimeSpan_TotalSeconds_Get( - System_TimeSpan_t self, - ffi.Pointer outException, - ) { - return _System_TimeSpan_TotalSeconds_Get( - self, - outException, - ); - } - - late final _System_TimeSpan_TotalSeconds_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - System_TimeSpan_t, ffi.Pointer)>>( - 'System_TimeSpan_TotalSeconds_Get'); - late final _System_TimeSpan_TotalSeconds_Get = - _System_TimeSpan_TotalSeconds_GetPtr.asFunction< - double Function( - System_TimeSpan_t, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeSpan_Zero_Get() { - return _System_TimeSpan_Zero_Get(); - } - - late final _System_TimeSpan_Zero_GetPtr = - _lookup>( - 'System_TimeSpan_Zero_Get'); - late final _System_TimeSpan_Zero_Get = - _System_TimeSpan_Zero_GetPtr.asFunction(); - - System_TimeSpan_t System_TimeSpan_MaxValue_Get() { - return _System_TimeSpan_MaxValue_Get(); - } - - late final _System_TimeSpan_MaxValue_GetPtr = - _lookup>( - 'System_TimeSpan_MaxValue_Get'); - late final _System_TimeSpan_MaxValue_Get = _System_TimeSpan_MaxValue_GetPtr - .asFunction(); - - System_TimeSpan_t System_TimeSpan_MinValue_Get() { - return _System_TimeSpan_MinValue_Get(); - } - - late final _System_TimeSpan_MinValue_GetPtr = - _lookup>( - 'System_TimeSpan_MinValue_Get'); - late final _System_TimeSpan_MinValue_Get = _System_TimeSpan_MinValue_GetPtr - .asFunction(); - - int System_TimeSpan_NanosecondsPerTick_Get() { - return _System_TimeSpan_NanosecondsPerTick_Get(); - } - - late final _System_TimeSpan_NanosecondsPerTick_GetPtr = - _lookup>( - 'System_TimeSpan_NanosecondsPerTick_Get'); - late final _System_TimeSpan_NanosecondsPerTick_Get = - _System_TimeSpan_NanosecondsPerTick_GetPtr.asFunction(); - - int System_TimeSpan_TicksPerMicrosecond_Get() { - return _System_TimeSpan_TicksPerMicrosecond_Get(); - } - - late final _System_TimeSpan_TicksPerMicrosecond_GetPtr = - _lookup>( - 'System_TimeSpan_TicksPerMicrosecond_Get'); - late final _System_TimeSpan_TicksPerMicrosecond_Get = - _System_TimeSpan_TicksPerMicrosecond_GetPtr.asFunction(); - - int System_TimeSpan_TicksPerMillisecond_Get() { - return _System_TimeSpan_TicksPerMillisecond_Get(); - } - - late final _System_TimeSpan_TicksPerMillisecond_GetPtr = - _lookup>( - 'System_TimeSpan_TicksPerMillisecond_Get'); - late final _System_TimeSpan_TicksPerMillisecond_Get = - _System_TimeSpan_TicksPerMillisecond_GetPtr.asFunction(); - - int System_TimeSpan_TicksPerSecond_Get() { - return _System_TimeSpan_TicksPerSecond_Get(); - } - - late final _System_TimeSpan_TicksPerSecond_GetPtr = - _lookup>( - 'System_TimeSpan_TicksPerSecond_Get'); - late final _System_TimeSpan_TicksPerSecond_Get = - _System_TimeSpan_TicksPerSecond_GetPtr.asFunction(); - - int System_TimeSpan_TicksPerMinute_Get() { - return _System_TimeSpan_TicksPerMinute_Get(); - } - - late final _System_TimeSpan_TicksPerMinute_GetPtr = - _lookup>( - 'System_TimeSpan_TicksPerMinute_Get'); - late final _System_TimeSpan_TicksPerMinute_Get = - _System_TimeSpan_TicksPerMinute_GetPtr.asFunction(); - - int System_TimeSpan_TicksPerHour_Get() { - return _System_TimeSpan_TicksPerHour_Get(); - } - - late final _System_TimeSpan_TicksPerHour_GetPtr = - _lookup>( - 'System_TimeSpan_TicksPerHour_Get'); - late final _System_TimeSpan_TicksPerHour_Get = - _System_TimeSpan_TicksPerHour_GetPtr.asFunction(); - - int System_TimeSpan_TicksPerDay_Get() { - return _System_TimeSpan_TicksPerDay_Get(); - } - - late final _System_TimeSpan_TicksPerDay_GetPtr = - _lookup>( - 'System_TimeSpan_TicksPerDay_Get'); - late final _System_TimeSpan_TicksPerDay_Get = - _System_TimeSpan_TicksPerDay_GetPtr.asFunction(); - - System_TimeSpan_t System_TimeSpan_Create_5( - ffi.Pointer outException, - ) { - return _System_TimeSpan_Create_5( - outException, - ); - } - - late final _System_TimeSpan_Create_5Ptr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function( - ffi.Pointer)>>('System_TimeSpan_Create_5'); - late final _System_TimeSpan_Create_5 = - _System_TimeSpan_Create_5Ptr.asFunction< - System_TimeSpan_t Function(ffi.Pointer)>(); - - System_Type_t System_TimeSpan_TypeOf() { - return _System_TimeSpan_TypeOf(); - } - - late final _System_TimeSpan_TypeOfPtr = - _lookup>( - 'System_TimeSpan_TypeOf'); - late final _System_TimeSpan_TypeOf = - _System_TimeSpan_TypeOfPtr.asFunction(); - - void System_TimeSpan_Destroy( - System_TimeSpan_t self, - ) { - return _System_TimeSpan_Destroy( - self, - ); - } - - late final _System_TimeSpan_DestroyPtr = - _lookup>( - 'System_TimeSpan_Destroy'); - late final _System_TimeSpan_Destroy = _System_TimeSpan_DestroyPtr.asFunction< - void Function(System_TimeSpan_t)>(); - - System_DateOnly_t System_DateOnly_FromDayNumber( - int dayNumber, - ffi.Pointer outException, - ) { - return _System_DateOnly_FromDayNumber( - dayNumber, - outException, - ); - } - - late final _System_DateOnly_FromDayNumberPtr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function( - ffi.Int32, ffi.Pointer)>>( - 'System_DateOnly_FromDayNumber'); - late final _System_DateOnly_FromDayNumber = - _System_DateOnly_FromDayNumberPtr.asFunction< - System_DateOnly_t Function(int, ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_AddDays( - System_DateOnly_t self, - int value, - ffi.Pointer outException, - ) { - return _System_DateOnly_AddDays( - self, - value, - outException, - ); - } - - late final _System_DateOnly_AddDaysPtr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function(System_DateOnly_t, ffi.Int32, - ffi.Pointer)>>('System_DateOnly_AddDays'); - late final _System_DateOnly_AddDays = _System_DateOnly_AddDaysPtr.asFunction< - System_DateOnly_t Function( - System_DateOnly_t, int, ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_AddMonths( - System_DateOnly_t self, - int value, - ffi.Pointer outException, - ) { - return _System_DateOnly_AddMonths( - self, - value, - outException, - ); - } - - late final _System_DateOnly_AddMonthsPtr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function(System_DateOnly_t, ffi.Int32, - ffi.Pointer)>>('System_DateOnly_AddMonths'); - late final _System_DateOnly_AddMonths = - _System_DateOnly_AddMonthsPtr.asFunction< - System_DateOnly_t Function( - System_DateOnly_t, int, ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_AddYears( - System_DateOnly_t self, - int value, - ffi.Pointer outException, - ) { - return _System_DateOnly_AddYears( - self, - value, - outException, - ); - } - - late final _System_DateOnly_AddYearsPtr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function(System_DateOnly_t, ffi.Int32, - ffi.Pointer)>>('System_DateOnly_AddYears'); - late final _System_DateOnly_AddYears = - _System_DateOnly_AddYearsPtr.asFunction< - System_DateOnly_t Function( - System_DateOnly_t, int, ffi.Pointer)>(); - - void System_DateOnly_Deconstruct( - System_DateOnly_t self, - ffi.Pointer year, - ffi.Pointer month, - ffi.Pointer day, - ffi.Pointer outException, - ) { - return _System_DateOnly_Deconstruct( - self, - year, - month, - day, - outException, - ); - } - - late final _System_DateOnly_DeconstructPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_DateOnly_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('System_DateOnly_Deconstruct'); - late final _System_DateOnly_Deconstruct = - _System_DateOnly_DeconstructPtr.asFunction< - void Function( - System_DateOnly_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - System_DateTime_t System_DateOnly_ToDateTime( - System_DateOnly_t self, - System_TimeOnly_t time, - ffi.Pointer outException, - ) { - return _System_DateOnly_ToDateTime( - self, - time, - outException, - ); - } - - late final _System_DateOnly_ToDateTimePtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateOnly_t, System_TimeOnly_t, - ffi.Pointer)>>('System_DateOnly_ToDateTime'); - late final _System_DateOnly_ToDateTime = - _System_DateOnly_ToDateTimePtr.asFunction< - System_DateTime_t Function(System_DateOnly_t, System_TimeOnly_t, - ffi.Pointer)>(); - - System_DateTime_t System_DateOnly_ToDateTime_1( - System_DateOnly_t self, - System_TimeOnly_t time, - int kind, - ffi.Pointer outException, - ) { - return _System_DateOnly_ToDateTime_1( - self, - time, - kind, - outException, - ); - } - - late final _System_DateOnly_ToDateTime_1Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateOnly_t, System_TimeOnly_t, - ffi.Int32, ffi.Pointer)>>( - 'System_DateOnly_ToDateTime_1'); - late final _System_DateOnly_ToDateTime_1 = - _System_DateOnly_ToDateTime_1Ptr.asFunction< - System_DateTime_t Function(System_DateOnly_t, System_TimeOnly_t, int, - ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_FromDateTime( - System_DateTime_t dateTime, - ffi.Pointer outException, - ) { - return _System_DateOnly_FromDateTime( - dateTime, - outException, - ); - } - - late final _System_DateOnly_FromDateTimePtr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateOnly_FromDateTime'); - late final _System_DateOnly_FromDateTime = - _System_DateOnly_FromDateTimePtr.asFunction< - System_DateOnly_t Function( - System_DateTime_t, ffi.Pointer)>(); - - int System_DateOnly_CompareTo( - System_DateOnly_t self, - System_DateOnly_t value, - ffi.Pointer outException, - ) { - return _System_DateOnly_CompareTo( - self, - value, - outException, - ); - } - - late final _System_DateOnly_CompareToPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateOnly_t, System_DateOnly_t, - ffi.Pointer)>>('System_DateOnly_CompareTo'); - late final _System_DateOnly_CompareTo = - _System_DateOnly_CompareToPtr.asFunction< - int Function(System_DateOnly_t, System_DateOnly_t, - ffi.Pointer)>(); - - int System_DateOnly_CompareTo_1( - System_DateOnly_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_DateOnly_CompareTo_1( - self, - value, - outException, - ); - } - - late final _System_DateOnly_CompareTo_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateOnly_t, System_Object_t, - ffi.Pointer)>>('System_DateOnly_CompareTo_1'); - late final _System_DateOnly_CompareTo_1 = - _System_DateOnly_CompareTo_1Ptr.asFunction< - int Function(System_DateOnly_t, System_Object_t, - ffi.Pointer)>(); - - bool System_DateOnly_Equals( - System_DateOnly_t self, - System_DateOnly_t value, - ffi.Pointer outException, - ) { - return _System_DateOnly_Equals( - self, - value, - outException, - ); - } - - late final _System_DateOnly_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_DateOnly_t, System_DateOnly_t, - ffi.Pointer)>>('System_DateOnly_Equals'); - late final _System_DateOnly_Equals = _System_DateOnly_EqualsPtr.asFunction< - bool Function(System_DateOnly_t, System_DateOnly_t, - ffi.Pointer)>(); - - bool System_DateOnly_Equals_1( - System_DateOnly_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_DateOnly_Equals_1( - self, - value, - outException, - ); - } - - late final _System_DateOnly_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_DateOnly_t, System_Object_t, - ffi.Pointer)>>('System_DateOnly_Equals_1'); - late final _System_DateOnly_Equals_1 = - _System_DateOnly_Equals_1Ptr.asFunction< - bool Function(System_DateOnly_t, System_Object_t, - ffi.Pointer)>(); - - int System_DateOnly_GetHashCode( - System_DateOnly_t self, - ffi.Pointer outException, - ) { - return _System_DateOnly_GetHashCode( - self, - outException, - ); - } - - late final _System_DateOnly_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateOnly_t, - ffi.Pointer)>>('System_DateOnly_GetHashCode'); - late final _System_DateOnly_GetHashCode = - _System_DateOnly_GetHashCodePtr.asFunction< - int Function(System_DateOnly_t, ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_Parse( - System_String_t s, - ffi.Pointer outException, - ) { - return _System_DateOnly_Parse( - s, - outException, - ); - } - - late final _System_DateOnly_ParsePtr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function(System_String_t, - ffi.Pointer)>>('System_DateOnly_Parse'); - late final _System_DateOnly_Parse = _System_DateOnly_ParsePtr.asFunction< - System_DateOnly_t Function( - System_String_t, ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_Parse_1( - System_String_t s, - System_IFormatProvider_t provider, - int style, - ffi.Pointer outException, - ) { - return _System_DateOnly_Parse_1( - s, - provider, - style, - outException, - ); - } - - late final _System_DateOnly_Parse_1Ptr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function( - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>('System_DateOnly_Parse_1'); - late final _System_DateOnly_Parse_1 = _System_DateOnly_Parse_1Ptr.asFunction< - System_DateOnly_t Function(System_String_t, System_IFormatProvider_t, int, - ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_ParseExact( - System_String_t s, - System_String_t format, - ffi.Pointer outException, - ) { - return _System_DateOnly_ParseExact( - s, - format, - outException, - ); - } - - late final _System_DateOnly_ParseExactPtr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function(System_String_t, System_String_t, - ffi.Pointer)>>('System_DateOnly_ParseExact'); - late final _System_DateOnly_ParseExact = - _System_DateOnly_ParseExactPtr.asFunction< - System_DateOnly_t Function(System_String_t, System_String_t, - ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_ParseExact_1( - System_String_t s, - System_String_t format, - System_IFormatProvider_t provider, - int style, - ffi.Pointer outException, - ) { - return _System_DateOnly_ParseExact_1( - s, - format, - provider, - style, - outException, - ); - } - - late final _System_DateOnly_ParseExact_1Ptr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_DateOnly_ParseExact_1'); - late final _System_DateOnly_ParseExact_1 = - _System_DateOnly_ParseExact_1Ptr.asFunction< - System_DateOnly_t Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_ParseExact_2( - System_String_t s, - System_String_Array_t formats, - ffi.Pointer outException, - ) { - return _System_DateOnly_ParseExact_2( - s, - formats, - outException, - ); - } - - late final _System_DateOnly_ParseExact_2Ptr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function(System_String_t, System_String_Array_t, - ffi.Pointer)>>( - 'System_DateOnly_ParseExact_2'); - late final _System_DateOnly_ParseExact_2 = - _System_DateOnly_ParseExact_2Ptr.asFunction< - System_DateOnly_t Function(System_String_t, System_String_Array_t, - ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_ParseExact_3( - System_String_t s, - System_String_Array_t formats, - System_IFormatProvider_t provider, - int style, - ffi.Pointer outException, - ) { - return _System_DateOnly_ParseExact_3( - s, - formats, - provider, - style, - outException, - ); - } - - late final _System_DateOnly_ParseExact_3Ptr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_DateOnly_ParseExact_3'); - late final _System_DateOnly_ParseExact_3 = - _System_DateOnly_ParseExact_3Ptr.asFunction< - System_DateOnly_t Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - int, - ffi.Pointer)>(); - - bool System_DateOnly_TryParse( - System_String_t s, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateOnly_TryParse( - s, - result, - outException, - ); - } - - late final _System_DateOnly_TryParsePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>>('System_DateOnly_TryParse'); - late final _System_DateOnly_TryParse = - _System_DateOnly_TryParsePtr.asFunction< - bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>(); - - bool System_DateOnly_TryParse_1( - System_String_t s, - System_IFormatProvider_t provider, - int style, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateOnly_TryParse_1( - s, - provider, - style, - result, - outException, - ); - } - - late final _System_DateOnly_TryParse_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>('System_DateOnly_TryParse_1'); - late final _System_DateOnly_TryParse_1 = - _System_DateOnly_TryParse_1Ptr.asFunction< - bool Function( - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_DateOnly_TryParseExact( - System_String_t s, - System_String_t format, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateOnly_TryParseExact( - s, - format, - result, - outException, - ); - } - - late final _System_DateOnly_TryParseExactPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_t, - ffi.Pointer, - ffi.Pointer)>>( - 'System_DateOnly_TryParseExact'); - late final _System_DateOnly_TryParseExact = - _System_DateOnly_TryParseExactPtr.asFunction< - bool Function( - System_String_t, - System_String_t, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_DateOnly_TryParseExact_1( - System_String_t s, - System_String_t format, - System_IFormatProvider_t provider, - int style, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateOnly_TryParseExact_1( - s, - format, - provider, - style, - result, - outException, - ); - } - - late final _System_DateOnly_TryParseExact_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>( - 'System_DateOnly_TryParseExact_1'); - late final _System_DateOnly_TryParseExact_1 = - _System_DateOnly_TryParseExact_1Ptr.asFunction< - bool Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_DateOnly_TryParseExact_2( - System_String_t s, - System_String_Array_t formats, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateOnly_TryParseExact_2( - s, - formats, - result, - outException, - ); - } - - late final _System_DateOnly_TryParseExact_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_Array_t, - ffi.Pointer, - ffi.Pointer)>>( - 'System_DateOnly_TryParseExact_2'); - late final _System_DateOnly_TryParseExact_2 = - _System_DateOnly_TryParseExact_2Ptr.asFunction< - bool Function( - System_String_t, - System_String_Array_t, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_DateOnly_TryParseExact_3( - System_String_t s, - System_String_Array_t formats, - System_IFormatProvider_t provider, - int style, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateOnly_TryParseExact_3( - s, - formats, - provider, - style, - result, - outException, - ); - } - - late final _System_DateOnly_TryParseExact_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>( - 'System_DateOnly_TryParseExact_3'); - late final _System_DateOnly_TryParseExact_3 = - _System_DateOnly_TryParseExact_3Ptr.asFunction< - bool Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - System_String_t System_DateOnly_ToLongDateString( - System_DateOnly_t self, - ffi.Pointer outException, - ) { - return _System_DateOnly_ToLongDateString( - self, - outException, - ); - } - - late final _System_DateOnly_ToLongDateStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_DateOnly_t, ffi.Pointer)>>( - 'System_DateOnly_ToLongDateString'); - late final _System_DateOnly_ToLongDateString = - _System_DateOnly_ToLongDateStringPtr.asFunction< - System_String_t Function( - System_DateOnly_t, ffi.Pointer)>(); - - System_String_t System_DateOnly_ToShortDateString( - System_DateOnly_t self, - ffi.Pointer outException, - ) { - return _System_DateOnly_ToShortDateString( - self, - outException, - ); - } - - late final _System_DateOnly_ToShortDateStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_DateOnly_t, ffi.Pointer)>>( - 'System_DateOnly_ToShortDateString'); - late final _System_DateOnly_ToShortDateString = - _System_DateOnly_ToShortDateStringPtr.asFunction< - System_String_t Function( - System_DateOnly_t, ffi.Pointer)>(); - - System_String_t System_DateOnly_ToString( - System_DateOnly_t self, - ffi.Pointer outException, - ) { - return _System_DateOnly_ToString( - self, - outException, - ); - } - - late final _System_DateOnly_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_DateOnly_t, - ffi.Pointer)>>('System_DateOnly_ToString'); - late final _System_DateOnly_ToString = - _System_DateOnly_ToStringPtr.asFunction< - System_String_t Function( - System_DateOnly_t, ffi.Pointer)>(); - - System_String_t System_DateOnly_ToString_1( - System_DateOnly_t self, - System_String_t format, - ffi.Pointer outException, - ) { - return _System_DateOnly_ToString_1( - self, - format, - outException, - ); - } - - late final _System_DateOnly_ToString_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_DateOnly_t, System_String_t, - ffi.Pointer)>>('System_DateOnly_ToString_1'); - late final _System_DateOnly_ToString_1 = - _System_DateOnly_ToString_1Ptr.asFunction< - System_String_t Function(System_DateOnly_t, System_String_t, - ffi.Pointer)>(); - - System_String_t System_DateOnly_ToString_2( - System_DateOnly_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_DateOnly_ToString_2( - self, - provider, - outException, - ); - } - - late final _System_DateOnly_ToString_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_DateOnly_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_DateOnly_ToString_2'); - late final _System_DateOnly_ToString_2 = - _System_DateOnly_ToString_2Ptr.asFunction< - System_String_t Function(System_DateOnly_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - System_String_t System_DateOnly_ToString_3( - System_DateOnly_t self, - System_String_t format, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_DateOnly_ToString_3( - self, - format, - provider, - outException, - ); - } - - late final _System_DateOnly_ToString_3Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_DateOnly_t, - System_String_t, - System_IFormatProvider_t, - ffi.Pointer)>>('System_DateOnly_ToString_3'); - late final _System_DateOnly_ToString_3 = - _System_DateOnly_ToString_3Ptr.asFunction< - System_String_t Function(System_DateOnly_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_Parse_2( - System_String_t s, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_DateOnly_Parse_2( - s, - provider, - outException, - ); - } - - late final _System_DateOnly_Parse_2Ptr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_DateOnly_Parse_2'); - late final _System_DateOnly_Parse_2 = _System_DateOnly_Parse_2Ptr.asFunction< - System_DateOnly_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - bool System_DateOnly_TryParse_2( - System_String_t s, - System_IFormatProvider_t provider, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateOnly_TryParse_2( - s, - provider, - result, - outException, - ); - } - - late final _System_DateOnly_TryParse_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>>('System_DateOnly_TryParse_2'); - late final _System_DateOnly_TryParse_2 = - _System_DateOnly_TryParse_2Ptr.asFunction< - bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_Create( - int year, - int month, - int day, - ffi.Pointer outException, - ) { - return _System_DateOnly_Create( - year, - month, - day, - outException, - ); - } - - late final _System_DateOnly_CreatePtr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function(ffi.Int32, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_DateOnly_Create'); - late final _System_DateOnly_Create = _System_DateOnly_CreatePtr.asFunction< - System_DateOnly_t Function( - int, int, int, ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_Create_1( - int year, - int month, - int day, - System_Globalization_Calendar_t calendar, - ffi.Pointer outException, - ) { - return _System_DateOnly_Create_1( - year, - month, - day, - calendar, - outException, - ); - } - - late final _System_DateOnly_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - System_Globalization_Calendar_t, - ffi.Pointer)>>('System_DateOnly_Create_1'); - late final _System_DateOnly_Create_1 = - _System_DateOnly_Create_1Ptr.asFunction< - System_DateOnly_t Function( - int, - int, - int, - System_Globalization_Calendar_t, - ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_MinValue_Get( - ffi.Pointer outException, - ) { - return _System_DateOnly_MinValue_Get( - outException, - ); - } - - late final _System_DateOnly_MinValue_GetPtr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function(ffi.Pointer)>>( - 'System_DateOnly_MinValue_Get'); - late final _System_DateOnly_MinValue_Get = - _System_DateOnly_MinValue_GetPtr.asFunction< - System_DateOnly_t Function(ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_MaxValue_Get( - ffi.Pointer outException, - ) { - return _System_DateOnly_MaxValue_Get( - outException, - ); - } - - late final _System_DateOnly_MaxValue_GetPtr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function(ffi.Pointer)>>( - 'System_DateOnly_MaxValue_Get'); - late final _System_DateOnly_MaxValue_Get = - _System_DateOnly_MaxValue_GetPtr.asFunction< - System_DateOnly_t Function(ffi.Pointer)>(); - - int System_DateOnly_Year_Get( - System_DateOnly_t self, - ffi.Pointer outException, - ) { - return _System_DateOnly_Year_Get( - self, - outException, - ); - } - - late final _System_DateOnly_Year_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateOnly_t, - ffi.Pointer)>>('System_DateOnly_Year_Get'); - late final _System_DateOnly_Year_Get = - _System_DateOnly_Year_GetPtr.asFunction< - int Function(System_DateOnly_t, ffi.Pointer)>(); - - int System_DateOnly_Month_Get( - System_DateOnly_t self, - ffi.Pointer outException, - ) { - return _System_DateOnly_Month_Get( - self, - outException, - ); - } - - late final _System_DateOnly_Month_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateOnly_t, - ffi.Pointer)>>('System_DateOnly_Month_Get'); - late final _System_DateOnly_Month_Get = - _System_DateOnly_Month_GetPtr.asFunction< - int Function(System_DateOnly_t, ffi.Pointer)>(); - - int System_DateOnly_Day_Get( - System_DateOnly_t self, - ffi.Pointer outException, - ) { - return _System_DateOnly_Day_Get( - self, - outException, - ); - } - - late final _System_DateOnly_Day_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateOnly_t, - ffi.Pointer)>>('System_DateOnly_Day_Get'); - late final _System_DateOnly_Day_Get = _System_DateOnly_Day_GetPtr.asFunction< - int Function(System_DateOnly_t, ffi.Pointer)>(); - - int System_DateOnly_DayOfWeek_Get( - System_DateOnly_t self, - ffi.Pointer outException, - ) { - return _System_DateOnly_DayOfWeek_Get( - self, - outException, - ); - } - - late final _System_DateOnly_DayOfWeek_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateOnly_t, ffi.Pointer)>>( - 'System_DateOnly_DayOfWeek_Get'); - late final _System_DateOnly_DayOfWeek_Get = - _System_DateOnly_DayOfWeek_GetPtr.asFunction< - int Function(System_DateOnly_t, ffi.Pointer)>(); - - int System_DateOnly_DayOfYear_Get( - System_DateOnly_t self, - ffi.Pointer outException, - ) { - return _System_DateOnly_DayOfYear_Get( - self, - outException, - ); - } - - late final _System_DateOnly_DayOfYear_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateOnly_t, ffi.Pointer)>>( - 'System_DateOnly_DayOfYear_Get'); - late final _System_DateOnly_DayOfYear_Get = - _System_DateOnly_DayOfYear_GetPtr.asFunction< - int Function(System_DateOnly_t, ffi.Pointer)>(); - - int System_DateOnly_DayNumber_Get( - System_DateOnly_t self, - ffi.Pointer outException, - ) { - return _System_DateOnly_DayNumber_Get( - self, - outException, - ); - } - - late final _System_DateOnly_DayNumber_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateOnly_t, ffi.Pointer)>>( - 'System_DateOnly_DayNumber_Get'); - late final _System_DateOnly_DayNumber_Get = - _System_DateOnly_DayNumber_GetPtr.asFunction< - int Function(System_DateOnly_t, ffi.Pointer)>(); - - System_DateOnly_t System_DateOnly_Create_2( - ffi.Pointer outException, - ) { - return _System_DateOnly_Create_2( - outException, - ); - } - - late final _System_DateOnly_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_DateOnly_t Function( - ffi.Pointer)>>('System_DateOnly_Create_2'); - late final _System_DateOnly_Create_2 = - _System_DateOnly_Create_2Ptr.asFunction< - System_DateOnly_t Function(ffi.Pointer)>(); - - System_Type_t System_DateOnly_TypeOf() { - return _System_DateOnly_TypeOf(); - } - - late final _System_DateOnly_TypeOfPtr = - _lookup>( - 'System_DateOnly_TypeOf'); - late final _System_DateOnly_TypeOf = - _System_DateOnly_TypeOfPtr.asFunction(); - - void System_DateOnly_Destroy( - System_DateOnly_t self, - ) { - return _System_DateOnly_Destroy( - self, - ); - } - - late final _System_DateOnly_DestroyPtr = - _lookup>( - 'System_DateOnly_Destroy'); - late final _System_DateOnly_Destroy = _System_DateOnly_DestroyPtr.asFunction< - void Function(System_DateOnly_t)>(); - - System_TimeOnly_t System_TimeOnly_Add( - System_TimeOnly_t self, - System_TimeSpan_t value, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Add( - self, - value, - outException, - ); - } - - late final _System_TimeOnly_AddPtr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(System_TimeOnly_t, System_TimeSpan_t, - ffi.Pointer)>>('System_TimeOnly_Add'); - late final _System_TimeOnly_Add = _System_TimeOnly_AddPtr.asFunction< - System_TimeOnly_t Function(System_TimeOnly_t, System_TimeSpan_t, - ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_Add_1( - System_TimeOnly_t self, - System_TimeSpan_t value, - ffi.Pointer wrappedDays, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Add_1( - self, - value, - wrappedDays, - outException, - ); - } - - late final _System_TimeOnly_Add_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function( - System_TimeOnly_t, - System_TimeSpan_t, - ffi.Pointer, - ffi.Pointer)>>('System_TimeOnly_Add_1'); - late final _System_TimeOnly_Add_1 = _System_TimeOnly_Add_1Ptr.asFunction< - System_TimeOnly_t Function(System_TimeOnly_t, System_TimeSpan_t, - ffi.Pointer, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_AddHours( - System_TimeOnly_t self, - double value, - ffi.Pointer outException, - ) { - return _System_TimeOnly_AddHours( - self, - value, - outException, - ); - } - - late final _System_TimeOnly_AddHoursPtr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(System_TimeOnly_t, ffi.Double, - ffi.Pointer)>>('System_TimeOnly_AddHours'); - late final _System_TimeOnly_AddHours = - _System_TimeOnly_AddHoursPtr.asFunction< - System_TimeOnly_t Function( - System_TimeOnly_t, double, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_AddHours_1( - System_TimeOnly_t self, - double value, - ffi.Pointer wrappedDays, - ffi.Pointer outException, - ) { - return _System_TimeOnly_AddHours_1( - self, - value, - wrappedDays, - outException, - ); - } - - late final _System_TimeOnly_AddHours_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function( - System_TimeOnly_t, - ffi.Double, - ffi.Pointer, - ffi.Pointer)>>('System_TimeOnly_AddHours_1'); - late final _System_TimeOnly_AddHours_1 = - _System_TimeOnly_AddHours_1Ptr.asFunction< - System_TimeOnly_t Function(System_TimeOnly_t, double, - ffi.Pointer, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_AddMinutes( - System_TimeOnly_t self, - double value, - ffi.Pointer outException, - ) { - return _System_TimeOnly_AddMinutes( - self, - value, - outException, - ); - } - - late final _System_TimeOnly_AddMinutesPtr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(System_TimeOnly_t, ffi.Double, - ffi.Pointer)>>('System_TimeOnly_AddMinutes'); - late final _System_TimeOnly_AddMinutes = - _System_TimeOnly_AddMinutesPtr.asFunction< - System_TimeOnly_t Function( - System_TimeOnly_t, double, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_AddMinutes_1( - System_TimeOnly_t self, - double value, - ffi.Pointer wrappedDays, - ffi.Pointer outException, - ) { - return _System_TimeOnly_AddMinutes_1( - self, - value, - wrappedDays, - outException, - ); - } - - late final _System_TimeOnly_AddMinutes_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(System_TimeOnly_t, ffi.Double, - ffi.Pointer, ffi.Pointer)>>( - 'System_TimeOnly_AddMinutes_1'); - late final _System_TimeOnly_AddMinutes_1 = - _System_TimeOnly_AddMinutes_1Ptr.asFunction< - System_TimeOnly_t Function(System_TimeOnly_t, double, - ffi.Pointer, ffi.Pointer)>(); - - bool System_TimeOnly_IsBetween( - System_TimeOnly_t self, - System_TimeOnly_t start, - System_TimeOnly_t end, - ffi.Pointer outException, - ) { - return _System_TimeOnly_IsBetween( - self, - start, - end, - outException, - ); - } - - late final _System_TimeOnly_IsBetweenPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_TimeOnly_t, - System_TimeOnly_t, - System_TimeOnly_t, - ffi.Pointer)>>('System_TimeOnly_IsBetween'); - late final _System_TimeOnly_IsBetween = - _System_TimeOnly_IsBetweenPtr.asFunction< - bool Function(System_TimeOnly_t, System_TimeOnly_t, System_TimeOnly_t, - ffi.Pointer)>(); - - void System_TimeOnly_Deconstruct( - System_TimeOnly_t self, - ffi.Pointer hour, - ffi.Pointer minute, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Deconstruct( - self, - hour, - minute, - outException, - ); - } - - late final _System_TimeOnly_DeconstructPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_TimeOnly_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('System_TimeOnly_Deconstruct'); - late final _System_TimeOnly_Deconstruct = - _System_TimeOnly_DeconstructPtr.asFunction< - void Function(System_TimeOnly_t, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - void System_TimeOnly_Deconstruct_1( - System_TimeOnly_t self, - ffi.Pointer hour, - ffi.Pointer minute, - ffi.Pointer second, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Deconstruct_1( - self, - hour, - minute, - second, - outException, - ); - } - - late final _System_TimeOnly_Deconstruct_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_TimeOnly_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeOnly_Deconstruct_1'); - late final _System_TimeOnly_Deconstruct_1 = - _System_TimeOnly_Deconstruct_1Ptr.asFunction< - void Function( - System_TimeOnly_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - void System_TimeOnly_Deconstruct_2( - System_TimeOnly_t self, - ffi.Pointer hour, - ffi.Pointer minute, - ffi.Pointer second, - ffi.Pointer millisecond, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Deconstruct_2( - self, - hour, - minute, - second, - millisecond, - outException, - ); - } - - late final _System_TimeOnly_Deconstruct_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_TimeOnly_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeOnly_Deconstruct_2'); - late final _System_TimeOnly_Deconstruct_2 = - _System_TimeOnly_Deconstruct_2Ptr.asFunction< - void Function( - System_TimeOnly_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - void System_TimeOnly_Deconstruct_3( - System_TimeOnly_t self, - ffi.Pointer hour, - ffi.Pointer minute, - ffi.Pointer second, - ffi.Pointer millisecond, - ffi.Pointer microsecond, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Deconstruct_3( - self, - hour, - minute, - second, - millisecond, - microsecond, - outException, - ); - } - - late final _System_TimeOnly_Deconstruct_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_TimeOnly_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeOnly_Deconstruct_3'); - late final _System_TimeOnly_Deconstruct_3 = - _System_TimeOnly_Deconstruct_3Ptr.asFunction< - void Function( - System_TimeOnly_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_FromTimeSpan( - System_TimeSpan_t timeSpan, - ffi.Pointer outException, - ) { - return _System_TimeOnly_FromTimeSpan( - timeSpan, - outException, - ); - } - - late final _System_TimeOnly_FromTimeSpanPtr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function( - System_TimeSpan_t, ffi.Pointer)>>( - 'System_TimeOnly_FromTimeSpan'); - late final _System_TimeOnly_FromTimeSpan = - _System_TimeOnly_FromTimeSpanPtr.asFunction< - System_TimeOnly_t Function( - System_TimeSpan_t, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_FromDateTime( - System_DateTime_t dateTime, - ffi.Pointer outException, - ) { - return _System_TimeOnly_FromDateTime( - dateTime, - outException, - ); - } - - late final _System_TimeOnly_FromDateTimePtr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_TimeOnly_FromDateTime'); - late final _System_TimeOnly_FromDateTime = - _System_TimeOnly_FromDateTimePtr.asFunction< - System_TimeOnly_t Function( - System_DateTime_t, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeOnly_ToTimeSpan( - System_TimeOnly_t self, - ffi.Pointer outException, - ) { - return _System_TimeOnly_ToTimeSpan( - self, - outException, - ); - } - - late final _System_TimeOnly_ToTimeSpanPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_TimeOnly_t, - ffi.Pointer)>>('System_TimeOnly_ToTimeSpan'); - late final _System_TimeOnly_ToTimeSpan = - _System_TimeOnly_ToTimeSpanPtr.asFunction< - System_TimeSpan_t Function( - System_TimeOnly_t, ffi.Pointer)>(); - - int System_TimeOnly_CompareTo( - System_TimeOnly_t self, - System_TimeOnly_t value, - ffi.Pointer outException, - ) { - return _System_TimeOnly_CompareTo( - self, - value, - outException, - ); - } - - late final _System_TimeOnly_CompareToPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeOnly_t, System_TimeOnly_t, - ffi.Pointer)>>('System_TimeOnly_CompareTo'); - late final _System_TimeOnly_CompareTo = - _System_TimeOnly_CompareToPtr.asFunction< - int Function(System_TimeOnly_t, System_TimeOnly_t, - ffi.Pointer)>(); - - int System_TimeOnly_CompareTo_1( - System_TimeOnly_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_TimeOnly_CompareTo_1( - self, - value, - outException, - ); - } - - late final _System_TimeOnly_CompareTo_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeOnly_t, System_Object_t, - ffi.Pointer)>>('System_TimeOnly_CompareTo_1'); - late final _System_TimeOnly_CompareTo_1 = - _System_TimeOnly_CompareTo_1Ptr.asFunction< - int Function(System_TimeOnly_t, System_Object_t, - ffi.Pointer)>(); - - bool System_TimeOnly_Equals( - System_TimeOnly_t self, - System_TimeOnly_t value, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Equals( - self, - value, - outException, - ); - } - - late final _System_TimeOnly_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeOnly_t, System_TimeOnly_t, - ffi.Pointer)>>('System_TimeOnly_Equals'); - late final _System_TimeOnly_Equals = _System_TimeOnly_EqualsPtr.asFunction< - bool Function(System_TimeOnly_t, System_TimeOnly_t, - ffi.Pointer)>(); - - bool System_TimeOnly_Equals_1( - System_TimeOnly_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Equals_1( - self, - value, - outException, - ); - } - - late final _System_TimeOnly_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeOnly_t, System_Object_t, - ffi.Pointer)>>('System_TimeOnly_Equals_1'); - late final _System_TimeOnly_Equals_1 = - _System_TimeOnly_Equals_1Ptr.asFunction< - bool Function(System_TimeOnly_t, System_Object_t, - ffi.Pointer)>(); - - int System_TimeOnly_GetHashCode( - System_TimeOnly_t self, - ffi.Pointer outException, - ) { - return _System_TimeOnly_GetHashCode( - self, - outException, - ); - } - - late final _System_TimeOnly_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeOnly_t, - ffi.Pointer)>>('System_TimeOnly_GetHashCode'); - late final _System_TimeOnly_GetHashCode = - _System_TimeOnly_GetHashCodePtr.asFunction< - int Function(System_TimeOnly_t, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_Parse( - System_String_t s, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Parse( - s, - outException, - ); - } - - late final _System_TimeOnly_ParsePtr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(System_String_t, - ffi.Pointer)>>('System_TimeOnly_Parse'); - late final _System_TimeOnly_Parse = _System_TimeOnly_ParsePtr.asFunction< - System_TimeOnly_t Function( - System_String_t, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_Parse_1( - System_String_t s, - System_IFormatProvider_t provider, - int style, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Parse_1( - s, - provider, - style, - outException, - ); - } - - late final _System_TimeOnly_Parse_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function( - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>('System_TimeOnly_Parse_1'); - late final _System_TimeOnly_Parse_1 = _System_TimeOnly_Parse_1Ptr.asFunction< - System_TimeOnly_t Function(System_String_t, System_IFormatProvider_t, int, - ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_ParseExact( - System_String_t s, - System_String_t format, - ffi.Pointer outException, - ) { - return _System_TimeOnly_ParseExact( - s, - format, - outException, - ); - } - - late final _System_TimeOnly_ParseExactPtr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(System_String_t, System_String_t, - ffi.Pointer)>>('System_TimeOnly_ParseExact'); - late final _System_TimeOnly_ParseExact = - _System_TimeOnly_ParseExactPtr.asFunction< - System_TimeOnly_t Function(System_String_t, System_String_t, - ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_ParseExact_1( - System_String_t s, - System_String_t format, - System_IFormatProvider_t provider, - int style, - ffi.Pointer outException, - ) { - return _System_TimeOnly_ParseExact_1( - s, - format, - provider, - style, - outException, - ); - } - - late final _System_TimeOnly_ParseExact_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_TimeOnly_ParseExact_1'); - late final _System_TimeOnly_ParseExact_1 = - _System_TimeOnly_ParseExact_1Ptr.asFunction< - System_TimeOnly_t Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_ParseExact_2( - System_String_t s, - System_String_Array_t formats, - ffi.Pointer outException, - ) { - return _System_TimeOnly_ParseExact_2( - s, - formats, - outException, - ); - } - - late final _System_TimeOnly_ParseExact_2Ptr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(System_String_t, System_String_Array_t, - ffi.Pointer)>>( - 'System_TimeOnly_ParseExact_2'); - late final _System_TimeOnly_ParseExact_2 = - _System_TimeOnly_ParseExact_2Ptr.asFunction< - System_TimeOnly_t Function(System_String_t, System_String_Array_t, - ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_ParseExact_3( - System_String_t s, - System_String_Array_t formats, - System_IFormatProvider_t provider, - int style, - ffi.Pointer outException, - ) { - return _System_TimeOnly_ParseExact_3( - s, - formats, - provider, - style, - outException, - ); - } - - late final _System_TimeOnly_ParseExact_3Ptr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_TimeOnly_ParseExact_3'); - late final _System_TimeOnly_ParseExact_3 = - _System_TimeOnly_ParseExact_3Ptr.asFunction< - System_TimeOnly_t Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - int, - ffi.Pointer)>(); - - bool System_TimeOnly_TryParse( - System_String_t s, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_TimeOnly_TryParse( - s, - result, - outException, - ); - } - - late final _System_TimeOnly_TryParsePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>>('System_TimeOnly_TryParse'); - late final _System_TimeOnly_TryParse = - _System_TimeOnly_TryParsePtr.asFunction< - bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>(); - - bool System_TimeOnly_TryParse_1( - System_String_t s, - System_IFormatProvider_t provider, - int style, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_TimeOnly_TryParse_1( - s, - provider, - style, - result, - outException, - ); - } - - late final _System_TimeOnly_TryParse_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>('System_TimeOnly_TryParse_1'); - late final _System_TimeOnly_TryParse_1 = - _System_TimeOnly_TryParse_1Ptr.asFunction< - bool Function( - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_TimeOnly_TryParseExact( - System_String_t s, - System_String_t format, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_TimeOnly_TryParseExact( - s, - format, - result, - outException, - ); - } - - late final _System_TimeOnly_TryParseExactPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_t, - ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeOnly_TryParseExact'); - late final _System_TimeOnly_TryParseExact = - _System_TimeOnly_TryParseExactPtr.asFunction< - bool Function( - System_String_t, - System_String_t, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_TimeOnly_TryParseExact_1( - System_String_t s, - System_String_t format, - System_IFormatProvider_t provider, - int style, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_TimeOnly_TryParseExact_1( - s, - format, - provider, - style, - result, - outException, - ); - } - - late final _System_TimeOnly_TryParseExact_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeOnly_TryParseExact_1'); - late final _System_TimeOnly_TryParseExact_1 = - _System_TimeOnly_TryParseExact_1Ptr.asFunction< - bool Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_TimeOnly_TryParseExact_2( - System_String_t s, - System_String_Array_t formats, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_TimeOnly_TryParseExact_2( - s, - formats, - result, - outException, - ); - } - - late final _System_TimeOnly_TryParseExact_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_Array_t, - ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeOnly_TryParseExact_2'); - late final _System_TimeOnly_TryParseExact_2 = - _System_TimeOnly_TryParseExact_2Ptr.asFunction< - bool Function( - System_String_t, - System_String_Array_t, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_TimeOnly_TryParseExact_3( - System_String_t s, - System_String_Array_t formats, - System_IFormatProvider_t provider, - int style, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_TimeOnly_TryParseExact_3( - s, - formats, - provider, - style, - result, - outException, - ); - } - - late final _System_TimeOnly_TryParseExact_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeOnly_TryParseExact_3'); - late final _System_TimeOnly_TryParseExact_3 = - _System_TimeOnly_TryParseExact_3Ptr.asFunction< - bool Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - System_String_t System_TimeOnly_ToLongTimeString( - System_TimeOnly_t self, - ffi.Pointer outException, - ) { - return _System_TimeOnly_ToLongTimeString( - self, - outException, - ); - } - - late final _System_TimeOnly_ToLongTimeStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_TimeOnly_t, ffi.Pointer)>>( - 'System_TimeOnly_ToLongTimeString'); - late final _System_TimeOnly_ToLongTimeString = - _System_TimeOnly_ToLongTimeStringPtr.asFunction< - System_String_t Function( - System_TimeOnly_t, ffi.Pointer)>(); - - System_String_t System_TimeOnly_ToShortTimeString( - System_TimeOnly_t self, - ffi.Pointer outException, - ) { - return _System_TimeOnly_ToShortTimeString( - self, - outException, - ); - } - - late final _System_TimeOnly_ToShortTimeStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_TimeOnly_t, ffi.Pointer)>>( - 'System_TimeOnly_ToShortTimeString'); - late final _System_TimeOnly_ToShortTimeString = - _System_TimeOnly_ToShortTimeStringPtr.asFunction< - System_String_t Function( - System_TimeOnly_t, ffi.Pointer)>(); - - System_String_t System_TimeOnly_ToString( - System_TimeOnly_t self, - ffi.Pointer outException, - ) { - return _System_TimeOnly_ToString( - self, - outException, - ); - } - - late final _System_TimeOnly_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_TimeOnly_t, - ffi.Pointer)>>('System_TimeOnly_ToString'); - late final _System_TimeOnly_ToString = - _System_TimeOnly_ToStringPtr.asFunction< - System_String_t Function( - System_TimeOnly_t, ffi.Pointer)>(); - - System_String_t System_TimeOnly_ToString_1( - System_TimeOnly_t self, - System_String_t format, - ffi.Pointer outException, - ) { - return _System_TimeOnly_ToString_1( - self, - format, - outException, - ); - } - - late final _System_TimeOnly_ToString_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_TimeOnly_t, System_String_t, - ffi.Pointer)>>('System_TimeOnly_ToString_1'); - late final _System_TimeOnly_ToString_1 = - _System_TimeOnly_ToString_1Ptr.asFunction< - System_String_t Function(System_TimeOnly_t, System_String_t, - ffi.Pointer)>(); - - System_String_t System_TimeOnly_ToString_2( - System_TimeOnly_t self, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_TimeOnly_ToString_2( - self, - provider, - outException, - ); - } - - late final _System_TimeOnly_ToString_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_TimeOnly_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_TimeOnly_ToString_2'); - late final _System_TimeOnly_ToString_2 = - _System_TimeOnly_ToString_2Ptr.asFunction< - System_String_t Function(System_TimeOnly_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - System_String_t System_TimeOnly_ToString_3( - System_TimeOnly_t self, - System_String_t format, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_TimeOnly_ToString_3( - self, - format, - provider, - outException, - ); - } - - late final _System_TimeOnly_ToString_3Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_TimeOnly_t, - System_String_t, - System_IFormatProvider_t, - ffi.Pointer)>>('System_TimeOnly_ToString_3'); - late final _System_TimeOnly_ToString_3 = - _System_TimeOnly_ToString_3Ptr.asFunction< - System_String_t Function(System_TimeOnly_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_Parse_2( - System_String_t s, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Parse_2( - s, - provider, - outException, - ); - } - - late final _System_TimeOnly_Parse_2Ptr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_TimeOnly_Parse_2'); - late final _System_TimeOnly_Parse_2 = _System_TimeOnly_Parse_2Ptr.asFunction< - System_TimeOnly_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - bool System_TimeOnly_TryParse_2( - System_String_t s, - System_IFormatProvider_t provider, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_TimeOnly_TryParse_2( - s, - provider, - result, - outException, - ); - } - - late final _System_TimeOnly_TryParse_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>>('System_TimeOnly_TryParse_2'); - late final _System_TimeOnly_TryParse_2 = - _System_TimeOnly_TryParse_2Ptr.asFunction< - bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_Create( - int hour, - int minute, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Create( - hour, - minute, - outException, - ); - } - - late final _System_TimeOnly_CreatePtr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_TimeOnly_Create'); - late final _System_TimeOnly_Create = _System_TimeOnly_CreatePtr.asFunction< - System_TimeOnly_t Function(int, int, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_Create_1( - int hour, - int minute, - int second, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Create_1( - hour, - minute, - second, - outException, - ); - } - - late final _System_TimeOnly_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(ffi.Int32, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_TimeOnly_Create_1'); - late final _System_TimeOnly_Create_1 = - _System_TimeOnly_Create_1Ptr.asFunction< - System_TimeOnly_t Function( - int, int, int, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_Create_2( - int hour, - int minute, - int second, - int millisecond, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Create_2( - hour, - minute, - second, - millisecond, - outException, - ); - } - - late final _System_TimeOnly_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(ffi.Int32, ffi.Int32, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_TimeOnly_Create_2'); - late final _System_TimeOnly_Create_2 = - _System_TimeOnly_Create_2Ptr.asFunction< - System_TimeOnly_t Function( - int, int, int, int, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_Create_3( - int hour, - int minute, - int second, - int millisecond, - int microsecond, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Create_3( - hour, - minute, - second, - millisecond, - microsecond, - outException, - ); - } - - late final _System_TimeOnly_Create_3Ptr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_TimeOnly_Create_3'); - late final _System_TimeOnly_Create_3 = - _System_TimeOnly_Create_3Ptr.asFunction< - System_TimeOnly_t Function( - int, int, int, int, int, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_Create_4( - int ticks, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Create_4( - ticks, - outException, - ); - } - - late final _System_TimeOnly_Create_4Ptr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(ffi.Int64, - ffi.Pointer)>>('System_TimeOnly_Create_4'); - late final _System_TimeOnly_Create_4 = - _System_TimeOnly_Create_4Ptr.asFunction< - System_TimeOnly_t Function(int, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_MinValue_Get( - ffi.Pointer outException, - ) { - return _System_TimeOnly_MinValue_Get( - outException, - ); - } - - late final _System_TimeOnly_MinValue_GetPtr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(ffi.Pointer)>>( - 'System_TimeOnly_MinValue_Get'); - late final _System_TimeOnly_MinValue_Get = - _System_TimeOnly_MinValue_GetPtr.asFunction< - System_TimeOnly_t Function(ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_MaxValue_Get( - ffi.Pointer outException, - ) { - return _System_TimeOnly_MaxValue_Get( - outException, - ); - } - - late final _System_TimeOnly_MaxValue_GetPtr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function(ffi.Pointer)>>( - 'System_TimeOnly_MaxValue_Get'); - late final _System_TimeOnly_MaxValue_Get = - _System_TimeOnly_MaxValue_GetPtr.asFunction< - System_TimeOnly_t Function(ffi.Pointer)>(); - - int System_TimeOnly_Hour_Get( - System_TimeOnly_t self, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Hour_Get( - self, - outException, - ); - } - - late final _System_TimeOnly_Hour_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeOnly_t, - ffi.Pointer)>>('System_TimeOnly_Hour_Get'); - late final _System_TimeOnly_Hour_Get = - _System_TimeOnly_Hour_GetPtr.asFunction< - int Function(System_TimeOnly_t, ffi.Pointer)>(); - - int System_TimeOnly_Minute_Get( - System_TimeOnly_t self, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Minute_Get( - self, - outException, - ); - } - - late final _System_TimeOnly_Minute_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeOnly_t, - ffi.Pointer)>>('System_TimeOnly_Minute_Get'); - late final _System_TimeOnly_Minute_Get = - _System_TimeOnly_Minute_GetPtr.asFunction< - int Function(System_TimeOnly_t, ffi.Pointer)>(); - - int System_TimeOnly_Second_Get( - System_TimeOnly_t self, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Second_Get( - self, - outException, - ); - } - - late final _System_TimeOnly_Second_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeOnly_t, - ffi.Pointer)>>('System_TimeOnly_Second_Get'); - late final _System_TimeOnly_Second_Get = - _System_TimeOnly_Second_GetPtr.asFunction< - int Function(System_TimeOnly_t, ffi.Pointer)>(); - - int System_TimeOnly_Millisecond_Get( - System_TimeOnly_t self, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Millisecond_Get( - self, - outException, - ); - } - - late final _System_TimeOnly_Millisecond_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_TimeOnly_t, ffi.Pointer)>>( - 'System_TimeOnly_Millisecond_Get'); - late final _System_TimeOnly_Millisecond_Get = - _System_TimeOnly_Millisecond_GetPtr.asFunction< - int Function(System_TimeOnly_t, ffi.Pointer)>(); - - int System_TimeOnly_Microsecond_Get( - System_TimeOnly_t self, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Microsecond_Get( - self, - outException, - ); - } - - late final _System_TimeOnly_Microsecond_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_TimeOnly_t, ffi.Pointer)>>( - 'System_TimeOnly_Microsecond_Get'); - late final _System_TimeOnly_Microsecond_Get = - _System_TimeOnly_Microsecond_GetPtr.asFunction< - int Function(System_TimeOnly_t, ffi.Pointer)>(); - - int System_TimeOnly_Nanosecond_Get( - System_TimeOnly_t self, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Nanosecond_Get( - self, - outException, - ); - } - - late final _System_TimeOnly_Nanosecond_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_TimeOnly_t, ffi.Pointer)>>( - 'System_TimeOnly_Nanosecond_Get'); - late final _System_TimeOnly_Nanosecond_Get = - _System_TimeOnly_Nanosecond_GetPtr.asFunction< - int Function(System_TimeOnly_t, ffi.Pointer)>(); - - int System_TimeOnly_Ticks_Get( - System_TimeOnly_t self, - ffi.Pointer outException, - ) { - return _System_TimeOnly_Ticks_Get( - self, - outException, - ); - } - - late final _System_TimeOnly_Ticks_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_TimeOnly_t, - ffi.Pointer)>>('System_TimeOnly_Ticks_Get'); - late final _System_TimeOnly_Ticks_Get = - _System_TimeOnly_Ticks_GetPtr.asFunction< - int Function(System_TimeOnly_t, ffi.Pointer)>(); - - System_TimeOnly_t System_TimeOnly_Create_5( - ffi.Pointer outException, - ) { - return _System_TimeOnly_Create_5( - outException, - ); - } - - late final _System_TimeOnly_Create_5Ptr = _lookup< - ffi.NativeFunction< - System_TimeOnly_t Function( - ffi.Pointer)>>('System_TimeOnly_Create_5'); - late final _System_TimeOnly_Create_5 = - _System_TimeOnly_Create_5Ptr.asFunction< - System_TimeOnly_t Function(ffi.Pointer)>(); - - System_Type_t System_TimeOnly_TypeOf() { - return _System_TimeOnly_TypeOf(); - } - - late final _System_TimeOnly_TypeOfPtr = - _lookup>( - 'System_TimeOnly_TypeOf'); - late final _System_TimeOnly_TypeOf = - _System_TimeOnly_TypeOfPtr.asFunction(); - - void System_TimeOnly_Destroy( - System_TimeOnly_t self, - ) { - return _System_TimeOnly_Destroy( - self, - ); - } - - late final _System_TimeOnly_DestroyPtr = - _lookup>( - 'System_TimeOnly_Destroy'); - late final _System_TimeOnly_Destroy = _System_TimeOnly_DestroyPtr.asFunction< - void Function(System_TimeOnly_t)>(); - - System_Object_t System_Globalization_Calendar_Clone( - System_Globalization_Calendar_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_Clone( - self, - outException, - ); - } - - late final _System_Globalization_Calendar_ClonePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Globalization_Calendar_t, - ffi.Pointer)>>( - 'System_Globalization_Calendar_Clone'); - late final _System_Globalization_Calendar_Clone = - _System_Globalization_Calendar_ClonePtr.asFunction< - System_Object_t Function(System_Globalization_Calendar_t, - ffi.Pointer)>(); - - System_Globalization_Calendar_t System_Globalization_Calendar_ReadOnly( - System_Globalization_Calendar_t calendar, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_ReadOnly( - calendar, - outException, - ); - } - - late final _System_Globalization_Calendar_ReadOnlyPtr = _lookup< - ffi.NativeFunction< - System_Globalization_Calendar_t Function( - System_Globalization_Calendar_t, - ffi.Pointer)>>( - 'System_Globalization_Calendar_ReadOnly'); - late final _System_Globalization_Calendar_ReadOnly = - _System_Globalization_Calendar_ReadOnlyPtr.asFunction< - System_Globalization_Calendar_t Function( - System_Globalization_Calendar_t, - ffi.Pointer)>(); - - System_DateTime_t System_Globalization_Calendar_AddMilliseconds( - System_Globalization_Calendar_t self, - System_DateTime_t time, - double milliseconds, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_AddMilliseconds( - self, - time, - milliseconds, - outException, - ); - } - - late final _System_Globalization_Calendar_AddMillisecondsPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_Globalization_Calendar_t, - System_DateTime_t, - ffi.Double, - ffi.Pointer)>>( - 'System_Globalization_Calendar_AddMilliseconds'); - late final _System_Globalization_Calendar_AddMilliseconds = - _System_Globalization_Calendar_AddMillisecondsPtr.asFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, - System_DateTime_t, double, ffi.Pointer)>(); - - System_DateTime_t System_Globalization_Calendar_AddDays( - System_Globalization_Calendar_t self, - System_DateTime_t time, - int days, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_AddDays( - self, - time, - days, - outException, - ); - } - - late final _System_Globalization_Calendar_AddDaysPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_Globalization_Calendar_t, - System_DateTime_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_AddDays'); - late final _System_Globalization_Calendar_AddDays = - _System_Globalization_Calendar_AddDaysPtr.asFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, - System_DateTime_t, int, ffi.Pointer)>(); - - System_DateTime_t System_Globalization_Calendar_AddHours( - System_Globalization_Calendar_t self, - System_DateTime_t time, - int hours, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_AddHours( - self, - time, - hours, - outException, - ); - } - - late final _System_Globalization_Calendar_AddHoursPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_Globalization_Calendar_t, - System_DateTime_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_AddHours'); - late final _System_Globalization_Calendar_AddHours = - _System_Globalization_Calendar_AddHoursPtr.asFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, - System_DateTime_t, int, ffi.Pointer)>(); - - System_DateTime_t System_Globalization_Calendar_AddMinutes( - System_Globalization_Calendar_t self, - System_DateTime_t time, - int minutes, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_AddMinutes( - self, - time, - minutes, - outException, - ); - } - - late final _System_Globalization_Calendar_AddMinutesPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_Globalization_Calendar_t, - System_DateTime_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_AddMinutes'); - late final _System_Globalization_Calendar_AddMinutes = - _System_Globalization_Calendar_AddMinutesPtr.asFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, - System_DateTime_t, int, ffi.Pointer)>(); - - System_DateTime_t System_Globalization_Calendar_AddMonths( - System_Globalization_Calendar_t self, - System_DateTime_t time, - int months, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_AddMonths( - self, - time, - months, - outException, - ); - } - - late final _System_Globalization_Calendar_AddMonthsPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_Globalization_Calendar_t, - System_DateTime_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_AddMonths'); - late final _System_Globalization_Calendar_AddMonths = - _System_Globalization_Calendar_AddMonthsPtr.asFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, - System_DateTime_t, int, ffi.Pointer)>(); - - System_DateTime_t System_Globalization_Calendar_AddSeconds( - System_Globalization_Calendar_t self, - System_DateTime_t time, - int seconds, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_AddSeconds( - self, - time, - seconds, - outException, - ); - } - - late final _System_Globalization_Calendar_AddSecondsPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_Globalization_Calendar_t, - System_DateTime_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_AddSeconds'); - late final _System_Globalization_Calendar_AddSeconds = - _System_Globalization_Calendar_AddSecondsPtr.asFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, - System_DateTime_t, int, ffi.Pointer)>(); - - System_DateTime_t System_Globalization_Calendar_AddWeeks( - System_Globalization_Calendar_t self, - System_DateTime_t time, - int weeks, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_AddWeeks( - self, - time, - weeks, - outException, - ); - } - - late final _System_Globalization_Calendar_AddWeeksPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_Globalization_Calendar_t, - System_DateTime_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_AddWeeks'); - late final _System_Globalization_Calendar_AddWeeks = - _System_Globalization_Calendar_AddWeeksPtr.asFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, - System_DateTime_t, int, ffi.Pointer)>(); - - System_DateTime_t System_Globalization_Calendar_AddYears( - System_Globalization_Calendar_t self, - System_DateTime_t time, - int years, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_AddYears( - self, - time, - years, - outException, - ); - } - - late final _System_Globalization_Calendar_AddYearsPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_Globalization_Calendar_t, - System_DateTime_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_AddYears'); - late final _System_Globalization_Calendar_AddYears = - _System_Globalization_Calendar_AddYearsPtr.asFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, - System_DateTime_t, int, ffi.Pointer)>(); - - int System_Globalization_Calendar_GetDayOfMonth( - System_Globalization_Calendar_t self, - System_DateTime_t time, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetDayOfMonth( - self, - time, - outException, - ); - } - - late final _System_Globalization_Calendar_GetDayOfMonthPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, - System_DateTime_t, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetDayOfMonth'); - late final _System_Globalization_Calendar_GetDayOfMonth = - _System_Globalization_Calendar_GetDayOfMonthPtr.asFunction< - int Function(System_Globalization_Calendar_t, System_DateTime_t, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetDayOfWeek( - System_Globalization_Calendar_t self, - System_DateTime_t time, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetDayOfWeek( - self, - time, - outException, - ); - } - - late final _System_Globalization_Calendar_GetDayOfWeekPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, - System_DateTime_t, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetDayOfWeek'); - late final _System_Globalization_Calendar_GetDayOfWeek = - _System_Globalization_Calendar_GetDayOfWeekPtr.asFunction< - int Function(System_Globalization_Calendar_t, System_DateTime_t, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetDayOfYear( - System_Globalization_Calendar_t self, - System_DateTime_t time, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetDayOfYear( - self, - time, - outException, - ); - } - - late final _System_Globalization_Calendar_GetDayOfYearPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, - System_DateTime_t, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetDayOfYear'); - late final _System_Globalization_Calendar_GetDayOfYear = - _System_Globalization_Calendar_GetDayOfYearPtr.asFunction< - int Function(System_Globalization_Calendar_t, System_DateTime_t, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetDaysInMonth( - System_Globalization_Calendar_t self, - int year, - int month, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetDaysInMonth( - self, - year, - month, - outException, - ); - } - - late final _System_Globalization_Calendar_GetDaysInMonthPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetDaysInMonth'); - late final _System_Globalization_Calendar_GetDaysInMonth = - _System_Globalization_Calendar_GetDaysInMonthPtr.asFunction< - int Function(System_Globalization_Calendar_t, int, int, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetDaysInMonth_1( - System_Globalization_Calendar_t self, - int year, - int month, - int era, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetDaysInMonth_1( - self, - year, - month, - era, - outException, - ); - } - - late final _System_Globalization_Calendar_GetDaysInMonth_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Int32, ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetDaysInMonth_1'); - late final _System_Globalization_Calendar_GetDaysInMonth_1 = - _System_Globalization_Calendar_GetDaysInMonth_1Ptr.asFunction< - int Function(System_Globalization_Calendar_t, int, int, int, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetDaysInYear( - System_Globalization_Calendar_t self, - int year, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetDaysInYear( - self, - year, - outException, - ); - } - - late final _System_Globalization_Calendar_GetDaysInYearPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_GetDaysInYear'); - late final _System_Globalization_Calendar_GetDaysInYear = - _System_Globalization_Calendar_GetDaysInYearPtr.asFunction< - int Function(System_Globalization_Calendar_t, int, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetDaysInYear_1( - System_Globalization_Calendar_t self, - int year, - int era, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetDaysInYear_1( - self, - year, - era, - outException, - ); - } - - late final _System_Globalization_Calendar_GetDaysInYear_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetDaysInYear_1'); - late final _System_Globalization_Calendar_GetDaysInYear_1 = - _System_Globalization_Calendar_GetDaysInYear_1Ptr.asFunction< - int Function(System_Globalization_Calendar_t, int, int, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetEra( - System_Globalization_Calendar_t self, - System_DateTime_t time, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetEra( - self, - time, - outException, - ); - } - - late final _System_Globalization_Calendar_GetEraPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, - System_DateTime_t, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetEra'); - late final _System_Globalization_Calendar_GetEra = - _System_Globalization_Calendar_GetEraPtr.asFunction< - int Function(System_Globalization_Calendar_t, System_DateTime_t, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetHour( - System_Globalization_Calendar_t self, - System_DateTime_t time, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetHour( - self, - time, - outException, - ); - } - - late final _System_Globalization_Calendar_GetHourPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, - System_DateTime_t, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetHour'); - late final _System_Globalization_Calendar_GetHour = - _System_Globalization_Calendar_GetHourPtr.asFunction< - int Function(System_Globalization_Calendar_t, System_DateTime_t, - ffi.Pointer)>(); - - double System_Globalization_Calendar_GetMilliseconds( - System_Globalization_Calendar_t self, - System_DateTime_t time, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetMilliseconds( - self, - time, - outException, - ); - } - - late final _System_Globalization_Calendar_GetMillisecondsPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(System_Globalization_Calendar_t, - System_DateTime_t, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetMilliseconds'); - late final _System_Globalization_Calendar_GetMilliseconds = - _System_Globalization_Calendar_GetMillisecondsPtr.asFunction< - double Function(System_Globalization_Calendar_t, System_DateTime_t, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetMinute( - System_Globalization_Calendar_t self, - System_DateTime_t time, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetMinute( - self, - time, - outException, - ); - } - - late final _System_Globalization_Calendar_GetMinutePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, - System_DateTime_t, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetMinute'); - late final _System_Globalization_Calendar_GetMinute = - _System_Globalization_Calendar_GetMinutePtr.asFunction< - int Function(System_Globalization_Calendar_t, System_DateTime_t, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetMonth( - System_Globalization_Calendar_t self, - System_DateTime_t time, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetMonth( - self, - time, - outException, - ); - } - - late final _System_Globalization_Calendar_GetMonthPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, - System_DateTime_t, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetMonth'); - late final _System_Globalization_Calendar_GetMonth = - _System_Globalization_Calendar_GetMonthPtr.asFunction< - int Function(System_Globalization_Calendar_t, System_DateTime_t, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetMonthsInYear( - System_Globalization_Calendar_t self, - int year, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetMonthsInYear( - self, - year, - outException, - ); - } - - late final _System_Globalization_Calendar_GetMonthsInYearPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_GetMonthsInYear'); - late final _System_Globalization_Calendar_GetMonthsInYear = - _System_Globalization_Calendar_GetMonthsInYearPtr.asFunction< - int Function(System_Globalization_Calendar_t, int, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetMonthsInYear_1( - System_Globalization_Calendar_t self, - int year, - int era, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetMonthsInYear_1( - self, - year, - era, - outException, - ); - } - - late final _System_Globalization_Calendar_GetMonthsInYear_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetMonthsInYear_1'); - late final _System_Globalization_Calendar_GetMonthsInYear_1 = - _System_Globalization_Calendar_GetMonthsInYear_1Ptr.asFunction< - int Function(System_Globalization_Calendar_t, int, int, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetSecond( - System_Globalization_Calendar_t self, - System_DateTime_t time, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetSecond( - self, - time, - outException, - ); - } - - late final _System_Globalization_Calendar_GetSecondPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, - System_DateTime_t, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetSecond'); - late final _System_Globalization_Calendar_GetSecond = - _System_Globalization_Calendar_GetSecondPtr.asFunction< - int Function(System_Globalization_Calendar_t, System_DateTime_t, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetWeekOfYear( - System_Globalization_Calendar_t self, - System_DateTime_t time, - int rule, - int firstDayOfWeek, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetWeekOfYear( - self, - time, - rule, - firstDayOfWeek, - outException, - ); - } - - late final _System_Globalization_Calendar_GetWeekOfYearPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_Calendar_t, - System_DateTime_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_GetWeekOfYear'); - late final _System_Globalization_Calendar_GetWeekOfYear = - _System_Globalization_Calendar_GetWeekOfYearPtr.asFunction< - int Function(System_Globalization_Calendar_t, System_DateTime_t, int, - int, ffi.Pointer)>(); - - int System_Globalization_Calendar_GetYear( - System_Globalization_Calendar_t self, - System_DateTime_t time, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetYear( - self, - time, - outException, - ); - } - - late final _System_Globalization_Calendar_GetYearPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, - System_DateTime_t, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetYear'); - late final _System_Globalization_Calendar_GetYear = - _System_Globalization_Calendar_GetYearPtr.asFunction< - int Function(System_Globalization_Calendar_t, System_DateTime_t, - ffi.Pointer)>(); - - bool System_Globalization_Calendar_IsLeapDay( - System_Globalization_Calendar_t self, - int year, - int month, - int day, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_IsLeapDay( - self, - year, - month, - day, - outException, - ); - } - - late final _System_Globalization_Calendar_IsLeapDayPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Int32, ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_Calendar_IsLeapDay'); - late final _System_Globalization_Calendar_IsLeapDay = - _System_Globalization_Calendar_IsLeapDayPtr.asFunction< - bool Function(System_Globalization_Calendar_t, int, int, int, - ffi.Pointer)>(); - - bool System_Globalization_Calendar_IsLeapDay_1( - System_Globalization_Calendar_t self, - int year, - int month, - int day, - int era, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_IsLeapDay_1( - self, - year, - month, - day, - era, - outException, - ); - } - - late final _System_Globalization_Calendar_IsLeapDay_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Globalization_Calendar_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_IsLeapDay_1'); - late final _System_Globalization_Calendar_IsLeapDay_1 = - _System_Globalization_Calendar_IsLeapDay_1Ptr.asFunction< - bool Function(System_Globalization_Calendar_t, int, int, int, int, - ffi.Pointer)>(); - - bool System_Globalization_Calendar_IsLeapMonth( - System_Globalization_Calendar_t self, - int year, - int month, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_IsLeapMonth( - self, - year, - month, - outException, - ); - } - - late final _System_Globalization_Calendar_IsLeapMonthPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_Calendar_IsLeapMonth'); - late final _System_Globalization_Calendar_IsLeapMonth = - _System_Globalization_Calendar_IsLeapMonthPtr.asFunction< - bool Function(System_Globalization_Calendar_t, int, int, - ffi.Pointer)>(); - - bool System_Globalization_Calendar_IsLeapMonth_1( - System_Globalization_Calendar_t self, - int year, - int month, - int era, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_IsLeapMonth_1( - self, - year, - month, - era, - outException, - ); - } - - late final _System_Globalization_Calendar_IsLeapMonth_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Int32, ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_Calendar_IsLeapMonth_1'); - late final _System_Globalization_Calendar_IsLeapMonth_1 = - _System_Globalization_Calendar_IsLeapMonth_1Ptr.asFunction< - bool Function(System_Globalization_Calendar_t, int, int, int, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetLeapMonth( - System_Globalization_Calendar_t self, - int year, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetLeapMonth( - self, - year, - outException, - ); - } - - late final _System_Globalization_Calendar_GetLeapMonthPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_GetLeapMonth'); - late final _System_Globalization_Calendar_GetLeapMonth = - _System_Globalization_Calendar_GetLeapMonthPtr.asFunction< - int Function(System_Globalization_Calendar_t, int, - ffi.Pointer)>(); - - int System_Globalization_Calendar_GetLeapMonth_1( - System_Globalization_Calendar_t self, - int year, - int era, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_GetLeapMonth_1( - self, - year, - era, - outException, - ); - } - - late final _System_Globalization_Calendar_GetLeapMonth_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_Calendar_GetLeapMonth_1'); - late final _System_Globalization_Calendar_GetLeapMonth_1 = - _System_Globalization_Calendar_GetLeapMonth_1Ptr.asFunction< - int Function(System_Globalization_Calendar_t, int, int, - ffi.Pointer)>(); - - bool System_Globalization_Calendar_IsLeapYear( - System_Globalization_Calendar_t self, - int year, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_IsLeapYear( - self, - year, - outException, - ); - } - - late final _System_Globalization_Calendar_IsLeapYearPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_IsLeapYear'); - late final _System_Globalization_Calendar_IsLeapYear = - _System_Globalization_Calendar_IsLeapYearPtr.asFunction< - bool Function(System_Globalization_Calendar_t, int, - ffi.Pointer)>(); - - bool System_Globalization_Calendar_IsLeapYear_1( - System_Globalization_Calendar_t self, - int year, - int era, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_IsLeapYear_1( - self, - year, - era, - outException, - ); - } - - late final _System_Globalization_Calendar_IsLeapYear_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_Calendar_IsLeapYear_1'); - late final _System_Globalization_Calendar_IsLeapYear_1 = - _System_Globalization_Calendar_IsLeapYear_1Ptr.asFunction< - bool Function(System_Globalization_Calendar_t, int, int, - ffi.Pointer)>(); - - System_DateTime_t System_Globalization_Calendar_ToDateTime( - System_Globalization_Calendar_t self, - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_ToDateTime( - self, - year, - month, - day, - hour, - minute, - second, - millisecond, - outException, - ); - } - - late final _System_Globalization_Calendar_ToDateTimePtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_Globalization_Calendar_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_ToDateTime'); - late final _System_Globalization_Calendar_ToDateTime = - _System_Globalization_Calendar_ToDateTimePtr.asFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, int, int, - int, int, int, int, int, ffi.Pointer)>(); - - System_DateTime_t System_Globalization_Calendar_ToDateTime_1( - System_Globalization_Calendar_t self, - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - int era, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_ToDateTime_1( - self, - year, - month, - day, - hour, - minute, - second, - millisecond, - era, - outException, - ); - } - - late final _System_Globalization_Calendar_ToDateTime_1Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_Globalization_Calendar_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_ToDateTime_1'); - late final _System_Globalization_Calendar_ToDateTime_1 = - _System_Globalization_Calendar_ToDateTime_1Ptr.asFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, int, int, - int, int, int, int, int, int, ffi.Pointer)>(); - - int System_Globalization_Calendar_ToFourDigitYear( - System_Globalization_Calendar_t self, - int year, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_ToFourDigitYear( - self, - year, - outException, - ); - } - - late final _System_Globalization_Calendar_ToFourDigitYearPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_ToFourDigitYear'); - late final _System_Globalization_Calendar_ToFourDigitYear = - _System_Globalization_Calendar_ToFourDigitYearPtr.asFunction< - int Function(System_Globalization_Calendar_t, int, - ffi.Pointer)>(); - - System_DateTime_t System_Globalization_Calendar_MinSupportedDateTime_Get( - System_Globalization_Calendar_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_MinSupportedDateTime_Get( - self, - outException, - ); - } - - late final _System_Globalization_Calendar_MinSupportedDateTime_GetPtr = - _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, - ffi.Pointer)>>( - 'System_Globalization_Calendar_MinSupportedDateTime_Get'); - late final _System_Globalization_Calendar_MinSupportedDateTime_Get = - _System_Globalization_Calendar_MinSupportedDateTime_GetPtr.asFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, - ffi.Pointer)>(); - - System_DateTime_t System_Globalization_Calendar_MaxSupportedDateTime_Get( - System_Globalization_Calendar_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_MaxSupportedDateTime_Get( - self, - outException, - ); - } - - late final _System_Globalization_Calendar_MaxSupportedDateTime_GetPtr = - _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, - ffi.Pointer)>>( - 'System_Globalization_Calendar_MaxSupportedDateTime_Get'); - late final _System_Globalization_Calendar_MaxSupportedDateTime_Get = - _System_Globalization_Calendar_MaxSupportedDateTime_GetPtr.asFunction< - System_DateTime_t Function(System_Globalization_Calendar_t, - ffi.Pointer)>(); - - int System_Globalization_Calendar_AlgorithmType_Get( - System_Globalization_Calendar_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_AlgorithmType_Get( - self, - outException, - ); - } - - late final _System_Globalization_Calendar_AlgorithmType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, - ffi.Pointer)>>( - 'System_Globalization_Calendar_AlgorithmType_Get'); - late final _System_Globalization_Calendar_AlgorithmType_Get = - _System_Globalization_Calendar_AlgorithmType_GetPtr.asFunction< - int Function(System_Globalization_Calendar_t, - ffi.Pointer)>(); - - bool System_Globalization_Calendar_IsReadOnly_Get( - System_Globalization_Calendar_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_IsReadOnly_Get( - self, - outException, - ); - } - - late final _System_Globalization_Calendar_IsReadOnly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_Calendar_t, - ffi.Pointer)>>( - 'System_Globalization_Calendar_IsReadOnly_Get'); - late final _System_Globalization_Calendar_IsReadOnly_Get = - _System_Globalization_Calendar_IsReadOnly_GetPtr.asFunction< - bool Function(System_Globalization_Calendar_t, - ffi.Pointer)>(); - - System_Int32_Array_t System_Globalization_Calendar_Eras_Get( - System_Globalization_Calendar_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_Eras_Get( - self, - outException, - ); - } - - late final _System_Globalization_Calendar_Eras_GetPtr = _lookup< - ffi.NativeFunction< - System_Int32_Array_t Function(System_Globalization_Calendar_t, - ffi.Pointer)>>( - 'System_Globalization_Calendar_Eras_Get'); - late final _System_Globalization_Calendar_Eras_Get = - _System_Globalization_Calendar_Eras_GetPtr.asFunction< - System_Int32_Array_t Function(System_Globalization_Calendar_t, - ffi.Pointer)>(); - - int System_Globalization_Calendar_TwoDigitYearMax_Get( - System_Globalization_Calendar_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_TwoDigitYearMax_Get( - self, - outException, - ); - } - - late final _System_Globalization_Calendar_TwoDigitYearMax_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_Calendar_t, - ffi.Pointer)>>( - 'System_Globalization_Calendar_TwoDigitYearMax_Get'); - late final _System_Globalization_Calendar_TwoDigitYearMax_Get = - _System_Globalization_Calendar_TwoDigitYearMax_GetPtr.asFunction< - int Function(System_Globalization_Calendar_t, - ffi.Pointer)>(); - - void System_Globalization_Calendar_TwoDigitYearMax_Set( - System_Globalization_Calendar_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_Calendar_TwoDigitYearMax_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_Calendar_TwoDigitYearMax_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_Calendar_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_Calendar_TwoDigitYearMax_Set'); - late final _System_Globalization_Calendar_TwoDigitYearMax_Set = - _System_Globalization_Calendar_TwoDigitYearMax_SetPtr.asFunction< - void Function(System_Globalization_Calendar_t, int, - ffi.Pointer)>(); - - int System_Globalization_Calendar_CurrentEra_Get() { - return _System_Globalization_Calendar_CurrentEra_Get(); - } - - late final _System_Globalization_Calendar_CurrentEra_GetPtr = - _lookup>( - 'System_Globalization_Calendar_CurrentEra_Get'); - late final _System_Globalization_Calendar_CurrentEra_Get = - _System_Globalization_Calendar_CurrentEra_GetPtr.asFunction< - int Function()>(); - - System_Type_t System_Globalization_Calendar_TypeOf() { - return _System_Globalization_Calendar_TypeOf(); - } - - late final _System_Globalization_Calendar_TypeOfPtr = - _lookup>( - 'System_Globalization_Calendar_TypeOf'); - late final _System_Globalization_Calendar_TypeOf = - _System_Globalization_Calendar_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Globalization_Calendar_Destroy( - System_Globalization_Calendar_t self, - ) { - return _System_Globalization_Calendar_Destroy( - self, - ); - } - - late final _System_Globalization_Calendar_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Globalization_Calendar_Destroy'); - late final _System_Globalization_Calendar_Destroy = - _System_Globalization_Calendar_DestroyPtr.asFunction< - void Function(System_Globalization_Calendar_t)>(); - - System_Object_t System_Runtime_Serialization_IFormatterConverter_Convert( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - System_Type_t type, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_Convert( - self, - value, - type, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ConvertPtr = - _lookup< - ffi - .NativeFunction< - System_Object_t Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - System_Type_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_Convert'); - late final _System_Runtime_Serialization_IFormatterConverter_Convert = - _System_Runtime_Serialization_IFormatterConverter_ConvertPtr.asFunction< - System_Object_t Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - System_Type_t, - ffi.Pointer)>(); - - System_Object_t System_Runtime_Serialization_IFormatterConverter_Convert_1( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - int typeCode, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_Convert_1( - self, - value, - typeCode, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_Convert_1Ptr = - _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_Convert_1'); - late final _System_Runtime_Serialization_IFormatterConverter_Convert_1 = - _System_Runtime_Serialization_IFormatterConverter_Convert_1Ptr.asFunction< - System_Object_t Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - int, - ffi.Pointer)>(); - - bool System_Runtime_Serialization_IFormatterConverter_ToBoolean( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToBoolean( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToBooleanPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToBoolean'); - late final _System_Runtime_Serialization_IFormatterConverter_ToBoolean = - _System_Runtime_Serialization_IFormatterConverter_ToBooleanPtr.asFunction< - bool Function(System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_IFormatterConverter_ToChar( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToChar( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToCharPtr = - _lookup< - ffi.NativeFunction< - ffi.WChar Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToChar'); - late final _System_Runtime_Serialization_IFormatterConverter_ToChar = - _System_Runtime_Serialization_IFormatterConverter_ToCharPtr.asFunction< - int Function(System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_IFormatterConverter_ToSByte( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToSByte( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToSBytePtr = - _lookup< - ffi - .NativeFunction< - ffi.Int8 Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToSByte'); - late final _System_Runtime_Serialization_IFormatterConverter_ToSByte = - _System_Runtime_Serialization_IFormatterConverter_ToSBytePtr.asFunction< - int Function(System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_IFormatterConverter_ToByte( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToByte( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToBytePtr = - _lookup< - ffi.NativeFunction< - ffi.Uint8 Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToByte'); - late final _System_Runtime_Serialization_IFormatterConverter_ToByte = - _System_Runtime_Serialization_IFormatterConverter_ToBytePtr.asFunction< - int Function(System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_IFormatterConverter_ToInt16( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToInt16( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToInt16Ptr = - _lookup< - ffi - .NativeFunction< - ffi.Int16 Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToInt16'); - late final _System_Runtime_Serialization_IFormatterConverter_ToInt16 = - _System_Runtime_Serialization_IFormatterConverter_ToInt16Ptr.asFunction< - int Function(System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_IFormatterConverter_ToUInt16( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToUInt16( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToUInt16Ptr = - _lookup< - ffi.NativeFunction< - ffi.Uint16 Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToUInt16'); - late final _System_Runtime_Serialization_IFormatterConverter_ToUInt16 = - _System_Runtime_Serialization_IFormatterConverter_ToUInt16Ptr.asFunction< - int Function(System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_IFormatterConverter_ToInt32( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToInt32( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToInt32Ptr = - _lookup< - ffi - .NativeFunction< - ffi.Int32 Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToInt32'); - late final _System_Runtime_Serialization_IFormatterConverter_ToInt32 = - _System_Runtime_Serialization_IFormatterConverter_ToInt32Ptr.asFunction< - int Function(System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_IFormatterConverter_ToUInt32( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToUInt32( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToUInt32Ptr = - _lookup< - ffi.NativeFunction< - ffi.Uint32 Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToUInt32'); - late final _System_Runtime_Serialization_IFormatterConverter_ToUInt32 = - _System_Runtime_Serialization_IFormatterConverter_ToUInt32Ptr.asFunction< - int Function(System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_IFormatterConverter_ToInt64( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToInt64( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToInt64Ptr = - _lookup< - ffi - .NativeFunction< - ffi.Int64 Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToInt64'); - late final _System_Runtime_Serialization_IFormatterConverter_ToInt64 = - _System_Runtime_Serialization_IFormatterConverter_ToInt64Ptr.asFunction< - int Function(System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_IFormatterConverter_ToUInt64( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToUInt64( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToUInt64Ptr = - _lookup< - ffi.NativeFunction< - ffi.Uint64 Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToUInt64'); - late final _System_Runtime_Serialization_IFormatterConverter_ToUInt64 = - _System_Runtime_Serialization_IFormatterConverter_ToUInt64Ptr.asFunction< - int Function(System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, ffi.Pointer)>(); - - double System_Runtime_Serialization_IFormatterConverter_ToSingle( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToSingle( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToSinglePtr = - _lookup< - ffi.NativeFunction< - ffi.Float Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToSingle'); - late final _System_Runtime_Serialization_IFormatterConverter_ToSingle = - _System_Runtime_Serialization_IFormatterConverter_ToSinglePtr.asFunction< - double Function(System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, ffi.Pointer)>(); - - double System_Runtime_Serialization_IFormatterConverter_ToDouble( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToDouble( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToDoublePtr = - _lookup< - ffi.NativeFunction< - ffi.Double Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToDouble'); - late final _System_Runtime_Serialization_IFormatterConverter_ToDouble = - _System_Runtime_Serialization_IFormatterConverter_ToDoublePtr.asFunction< - double Function(System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, ffi.Pointer)>(); - - System_Decimal_t System_Runtime_Serialization_IFormatterConverter_ToDecimal( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToDecimal( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToDecimalPtr = - _lookup< - ffi.NativeFunction< - System_Decimal_t Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToDecimal'); - late final _System_Runtime_Serialization_IFormatterConverter_ToDecimal = - _System_Runtime_Serialization_IFormatterConverter_ToDecimalPtr.asFunction< - System_Decimal_t Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>(); - - System_DateTime_t System_Runtime_Serialization_IFormatterConverter_ToDateTime( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToDateTime( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToDateTimePtr = - _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToDateTime'); - late final _System_Runtime_Serialization_IFormatterConverter_ToDateTime = - _System_Runtime_Serialization_IFormatterConverter_ToDateTimePtr - .asFunction< - System_DateTime_t Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>(); - - System_String_t System_Runtime_Serialization_IFormatterConverter_ToString( - System_Runtime_Serialization_IFormatterConverter_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IFormatterConverter_ToString( - self, - value, - outException, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_ToStringPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IFormatterConverter_ToString'); - late final _System_Runtime_Serialization_IFormatterConverter_ToString = - _System_Runtime_Serialization_IFormatterConverter_ToStringPtr.asFunction< - System_String_t Function( - System_Runtime_Serialization_IFormatterConverter_t, - System_Object_t, - ffi.Pointer)>(); - - System_Type_t System_Runtime_Serialization_IFormatterConverter_TypeOf() { - return _System_Runtime_Serialization_IFormatterConverter_TypeOf(); - } - - late final _System_Runtime_Serialization_IFormatterConverter_TypeOfPtr = - _lookup>( - 'System_Runtime_Serialization_IFormatterConverter_TypeOf'); - late final _System_Runtime_Serialization_IFormatterConverter_TypeOf = - _System_Runtime_Serialization_IFormatterConverter_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Runtime_Serialization_IFormatterConverter_Destroy( - System_Runtime_Serialization_IFormatterConverter_t self, - ) { - return _System_Runtime_Serialization_IFormatterConverter_Destroy( - self, - ); - } - - late final _System_Runtime_Serialization_IFormatterConverter_DestroyPtr = - _lookup< - ffi - .NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_IFormatterConverter_t)>>( - 'System_Runtime_Serialization_IFormatterConverter_Destroy'); - late final _System_Runtime_Serialization_IFormatterConverter_Destroy = - _System_Runtime_Serialization_IFormatterConverter_DestroyPtr.asFunction< - void Function(System_Runtime_Serialization_IFormatterConverter_t)>(); - - bool System_Runtime_Serialization_StreamingContext_Equals( - System_Runtime_Serialization_StreamingContext_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_StreamingContext_Equals( - self, - obj, - outException, - ); - } - - late final _System_Runtime_Serialization_StreamingContext_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Runtime_Serialization_StreamingContext_t, - System_Object_t, ffi.Pointer)>>( - 'System_Runtime_Serialization_StreamingContext_Equals'); - late final _System_Runtime_Serialization_StreamingContext_Equals = - _System_Runtime_Serialization_StreamingContext_EqualsPtr.asFunction< - bool Function(System_Runtime_Serialization_StreamingContext_t, - System_Object_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_StreamingContext_GetHashCode( - System_Runtime_Serialization_StreamingContext_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_StreamingContext_GetHashCode( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_StreamingContext_GetHashCodePtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_StreamingContext_GetHashCode'); - late final _System_Runtime_Serialization_StreamingContext_GetHashCode = - _System_Runtime_Serialization_StreamingContext_GetHashCodePtr.asFunction< - int Function(System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - System_Runtime_Serialization_StreamingContext_t - System_Runtime_Serialization_StreamingContext_Create( - int state, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_StreamingContext_Create( - state, - outException, - ); - } - - late final _System_Runtime_Serialization_StreamingContext_CreatePtr = _lookup< - ffi.NativeFunction< - System_Runtime_Serialization_StreamingContext_t Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_Serialization_StreamingContext_Create'); - late final _System_Runtime_Serialization_StreamingContext_Create = - _System_Runtime_Serialization_StreamingContext_CreatePtr.asFunction< - System_Runtime_Serialization_StreamingContext_t Function( - int, ffi.Pointer)>(); - - System_Runtime_Serialization_StreamingContext_t - System_Runtime_Serialization_StreamingContext_Create_1( - int state, - System_Object_t additional, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_StreamingContext_Create_1( - state, - additional, - outException, - ); - } - - late final _System_Runtime_Serialization_StreamingContext_Create_1Ptr = - _lookup< - ffi.NativeFunction< - System_Runtime_Serialization_StreamingContext_t Function( - ffi.Int32, - System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_StreamingContext_Create_1'); - late final _System_Runtime_Serialization_StreamingContext_Create_1 = - _System_Runtime_Serialization_StreamingContext_Create_1Ptr.asFunction< - System_Runtime_Serialization_StreamingContext_t Function( - int, System_Object_t, ffi.Pointer)>(); - - int System_Runtime_Serialization_StreamingContext_State_Get( - System_Runtime_Serialization_StreamingContext_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_StreamingContext_State_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_StreamingContext_State_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_StreamingContext_State_Get'); - late final _System_Runtime_Serialization_StreamingContext_State_Get = - _System_Runtime_Serialization_StreamingContext_State_GetPtr.asFunction< - int Function(System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - System_Object_t System_Runtime_Serialization_StreamingContext_Context_Get( - System_Runtime_Serialization_StreamingContext_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_StreamingContext_Context_Get( - self, - outException, - ); - } - - late final _System_Runtime_Serialization_StreamingContext_Context_GetPtr = - _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_StreamingContext_Context_Get'); - late final _System_Runtime_Serialization_StreamingContext_Context_Get = - _System_Runtime_Serialization_StreamingContext_Context_GetPtr.asFunction< - System_Object_t Function( - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - System_Runtime_Serialization_StreamingContext_t - System_Runtime_Serialization_StreamingContext_Create_2( - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_StreamingContext_Create_2( - outException, - ); - } - - late final _System_Runtime_Serialization_StreamingContext_Create_2Ptr = - _lookup< - ffi.NativeFunction< - System_Runtime_Serialization_StreamingContext_t Function( - ffi.Pointer)>>( - 'System_Runtime_Serialization_StreamingContext_Create_2'); - late final _System_Runtime_Serialization_StreamingContext_Create_2 = - _System_Runtime_Serialization_StreamingContext_Create_2Ptr.asFunction< - System_Runtime_Serialization_StreamingContext_t Function( - ffi.Pointer)>(); - - System_Type_t System_Runtime_Serialization_StreamingContext_TypeOf() { - return _System_Runtime_Serialization_StreamingContext_TypeOf(); - } - - late final _System_Runtime_Serialization_StreamingContext_TypeOfPtr = - _lookup>( - 'System_Runtime_Serialization_StreamingContext_TypeOf'); - late final _System_Runtime_Serialization_StreamingContext_TypeOf = - _System_Runtime_Serialization_StreamingContext_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Runtime_Serialization_StreamingContext_Destroy( - System_Runtime_Serialization_StreamingContext_t self, - ) { - return _System_Runtime_Serialization_StreamingContext_Destroy( - self, - ); - } - - late final _System_Runtime_Serialization_StreamingContext_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_StreamingContext_t)>>( - 'System_Runtime_Serialization_StreamingContext_Destroy'); - late final _System_Runtime_Serialization_StreamingContext_Destroy = - _System_Runtime_Serialization_StreamingContext_DestroyPtr.asFunction< - void Function(System_Runtime_Serialization_StreamingContext_t)>(); - - System_Object_t System_Reflection_AssemblyName_Clone( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_Clone( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_ClonePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_Clone'); - late final _System_Reflection_AssemblyName_Clone = - _System_Reflection_AssemblyName_ClonePtr.asFunction< - System_Object_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - System_Reflection_AssemblyName_t - System_Reflection_AssemblyName_GetAssemblyName( - System_String_t assemblyFile, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_GetAssemblyName( - assemblyFile, - outException, - ); - } - - late final _System_Reflection_AssemblyName_GetAssemblyNamePtr = _lookup< - ffi.NativeFunction< - System_Reflection_AssemblyName_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Reflection_AssemblyName_GetAssemblyName'); - late final _System_Reflection_AssemblyName_GetAssemblyName = - _System_Reflection_AssemblyName_GetAssemblyNamePtr.asFunction< - System_Reflection_AssemblyName_t Function( - System_String_t, ffi.Pointer)>(); - - System_Byte_Array_t System_Reflection_AssemblyName_GetPublicKey( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_GetPublicKey( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_GetPublicKeyPtr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_GetPublicKey'); - late final _System_Reflection_AssemblyName_GetPublicKey = - _System_Reflection_AssemblyName_GetPublicKeyPtr.asFunction< - System_Byte_Array_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_SetPublicKey( - System_Reflection_AssemblyName_t self, - System_Byte_Array_t publicKey, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_SetPublicKey( - self, - publicKey, - outException, - ); - } - - late final _System_Reflection_AssemblyName_SetPublicKeyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_AssemblyName_t, - System_Byte_Array_t, ffi.Pointer)>>( - 'System_Reflection_AssemblyName_SetPublicKey'); - late final _System_Reflection_AssemblyName_SetPublicKey = - _System_Reflection_AssemblyName_SetPublicKeyPtr.asFunction< - void Function(System_Reflection_AssemblyName_t, System_Byte_Array_t, - ffi.Pointer)>(); - - System_Byte_Array_t System_Reflection_AssemblyName_GetPublicKeyToken( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_GetPublicKeyToken( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_GetPublicKeyTokenPtr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_GetPublicKeyToken'); - late final _System_Reflection_AssemblyName_GetPublicKeyToken = - _System_Reflection_AssemblyName_GetPublicKeyTokenPtr.asFunction< - System_Byte_Array_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_SetPublicKeyToken( - System_Reflection_AssemblyName_t self, - System_Byte_Array_t publicKeyToken, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_SetPublicKeyToken( - self, - publicKeyToken, - outException, - ); - } - - late final _System_Reflection_AssemblyName_SetPublicKeyTokenPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_AssemblyName_t, - System_Byte_Array_t, ffi.Pointer)>>( - 'System_Reflection_AssemblyName_SetPublicKeyToken'); - late final _System_Reflection_AssemblyName_SetPublicKeyToken = - _System_Reflection_AssemblyName_SetPublicKeyTokenPtr.asFunction< - void Function(System_Reflection_AssemblyName_t, System_Byte_Array_t, - ffi.Pointer)>(); - - System_String_t System_Reflection_AssemblyName_ToString( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_ToString( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_ToString'); - late final _System_Reflection_AssemblyName_ToString = - _System_Reflection_AssemblyName_ToStringPtr.asFunction< - System_String_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_GetObjectData( - System_Reflection_AssemblyName_t self, - System_Runtime_Serialization_SerializationInfo_t info, - System_Runtime_Serialization_StreamingContext_t context, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_GetObjectData( - self, - info, - context, - outException, - ); - } - - late final _System_Reflection_AssemblyName_GetObjectDataPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_AssemblyName_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_GetObjectData'); - late final _System_Reflection_AssemblyName_GetObjectData = - _System_Reflection_AssemblyName_GetObjectDataPtr.asFunction< - void Function( - System_Reflection_AssemblyName_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_OnDeserialization( - System_Reflection_AssemblyName_t self, - System_Object_t sender, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_OnDeserialization( - self, - sender, - outException, - ); - } - - late final _System_Reflection_AssemblyName_OnDeserializationPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_AssemblyName_t, - System_Object_t, ffi.Pointer)>>( - 'System_Reflection_AssemblyName_OnDeserialization'); - late final _System_Reflection_AssemblyName_OnDeserialization = - _System_Reflection_AssemblyName_OnDeserializationPtr.asFunction< - void Function(System_Reflection_AssemblyName_t, System_Object_t, - ffi.Pointer)>(); - - bool System_Reflection_AssemblyName_ReferenceMatchesDefinition( - System_Reflection_AssemblyName_t reference, - System_Reflection_AssemblyName_t definition, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_ReferenceMatchesDefinition( - reference, - definition, - outException, - ); - } - - late final _System_Reflection_AssemblyName_ReferenceMatchesDefinitionPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Reflection_AssemblyName_t, - System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_ReferenceMatchesDefinition'); - late final _System_Reflection_AssemblyName_ReferenceMatchesDefinition = - _System_Reflection_AssemblyName_ReferenceMatchesDefinitionPtr.asFunction< - bool Function( - System_Reflection_AssemblyName_t, - System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - System_Reflection_AssemblyName_t System_Reflection_AssemblyName_Create( - System_String_t assemblyName, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_Create( - assemblyName, - outException, - ); - } - - late final _System_Reflection_AssemblyName_CreatePtr = _lookup< - ffi.NativeFunction< - System_Reflection_AssemblyName_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Reflection_AssemblyName_Create'); - late final _System_Reflection_AssemblyName_Create = - _System_Reflection_AssemblyName_CreatePtr.asFunction< - System_Reflection_AssemblyName_t Function( - System_String_t, ffi.Pointer)>(); - - System_Reflection_AssemblyName_t System_Reflection_AssemblyName_Create_1( - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_Create_1( - outException, - ); - } - - late final _System_Reflection_AssemblyName_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_AssemblyName_t Function( - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_Create_1'); - late final _System_Reflection_AssemblyName_Create_1 = - _System_Reflection_AssemblyName_Create_1Ptr.asFunction< - System_Reflection_AssemblyName_t Function( - ffi.Pointer)>(); - - System_String_t System_Reflection_AssemblyName_Name_Get( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_Name_Get( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_Name_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_Name_Get'); - late final _System_Reflection_AssemblyName_Name_Get = - _System_Reflection_AssemblyName_Name_GetPtr.asFunction< - System_String_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_Name_Set( - System_Reflection_AssemblyName_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_Name_Set( - self, - value, - outException, - ); - } - - late final _System_Reflection_AssemblyName_Name_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_AssemblyName_t, - System_String_t, ffi.Pointer)>>( - 'System_Reflection_AssemblyName_Name_Set'); - late final _System_Reflection_AssemblyName_Name_Set = - _System_Reflection_AssemblyName_Name_SetPtr.asFunction< - void Function(System_Reflection_AssemblyName_t, System_String_t, - ffi.Pointer)>(); - - System_Version_t System_Reflection_AssemblyName_Version_Get( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_Version_Get( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_Version_GetPtr = _lookup< - ffi.NativeFunction< - System_Version_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_Version_Get'); - late final _System_Reflection_AssemblyName_Version_Get = - _System_Reflection_AssemblyName_Version_GetPtr.asFunction< - System_Version_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_Version_Set( - System_Reflection_AssemblyName_t self, - System_Version_t value, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_Version_Set( - self, - value, - outException, - ); - } - - late final _System_Reflection_AssemblyName_Version_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_AssemblyName_t, - System_Version_t, ffi.Pointer)>>( - 'System_Reflection_AssemblyName_Version_Set'); - late final _System_Reflection_AssemblyName_Version_Set = - _System_Reflection_AssemblyName_Version_SetPtr.asFunction< - void Function(System_Reflection_AssemblyName_t, System_Version_t, - ffi.Pointer)>(); - - System_Globalization_CultureInfo_t - System_Reflection_AssemblyName_CultureInfo_Get( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_CultureInfo_Get( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_CultureInfo_GetPtr = _lookup< - ffi.NativeFunction< - System_Globalization_CultureInfo_t Function( - System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_CultureInfo_Get'); - late final _System_Reflection_AssemblyName_CultureInfo_Get = - _System_Reflection_AssemblyName_CultureInfo_GetPtr.asFunction< - System_Globalization_CultureInfo_t Function( - System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_CultureInfo_Set( - System_Reflection_AssemblyName_t self, - System_Globalization_CultureInfo_t value, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_CultureInfo_Set( - self, - value, - outException, - ); - } - - late final _System_Reflection_AssemblyName_CultureInfo_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_AssemblyName_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_CultureInfo_Set'); - late final _System_Reflection_AssemblyName_CultureInfo_Set = - _System_Reflection_AssemblyName_CultureInfo_SetPtr.asFunction< - void Function( - System_Reflection_AssemblyName_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_String_t System_Reflection_AssemblyName_CultureName_Get( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_CultureName_Get( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_CultureName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_CultureName_Get'); - late final _System_Reflection_AssemblyName_CultureName_Get = - _System_Reflection_AssemblyName_CultureName_GetPtr.asFunction< - System_String_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_CultureName_Set( - System_Reflection_AssemblyName_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_CultureName_Set( - self, - value, - outException, - ); - } - - late final _System_Reflection_AssemblyName_CultureName_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_AssemblyName_t, - System_String_t, ffi.Pointer)>>( - 'System_Reflection_AssemblyName_CultureName_Set'); - late final _System_Reflection_AssemblyName_CultureName_Set = - _System_Reflection_AssemblyName_CultureName_SetPtr.asFunction< - void Function(System_Reflection_AssemblyName_t, System_String_t, - ffi.Pointer)>(); - - System_String_t System_Reflection_AssemblyName_CodeBase_Get( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_CodeBase_Get( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_CodeBase_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_CodeBase_Get'); - late final _System_Reflection_AssemblyName_CodeBase_Get = - _System_Reflection_AssemblyName_CodeBase_GetPtr.asFunction< - System_String_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_CodeBase_Set( - System_Reflection_AssemblyName_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_CodeBase_Set( - self, - value, - outException, - ); - } - - late final _System_Reflection_AssemblyName_CodeBase_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_AssemblyName_t, - System_String_t, ffi.Pointer)>>( - 'System_Reflection_AssemblyName_CodeBase_Set'); - late final _System_Reflection_AssemblyName_CodeBase_Set = - _System_Reflection_AssemblyName_CodeBase_SetPtr.asFunction< - void Function(System_Reflection_AssemblyName_t, System_String_t, - ffi.Pointer)>(); - - System_String_t System_Reflection_AssemblyName_EscapedCodeBase_Get( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_EscapedCodeBase_Get( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_EscapedCodeBase_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_EscapedCodeBase_Get'); - late final _System_Reflection_AssemblyName_EscapedCodeBase_Get = - _System_Reflection_AssemblyName_EscapedCodeBase_GetPtr.asFunction< - System_String_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - int System_Reflection_AssemblyName_ProcessorArchitecture_Get( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_ProcessorArchitecture_Get( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_ProcessorArchitecture_GetPtr = - _lookup< - ffi - .NativeFunction< - ffi.Int32 Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_ProcessorArchitecture_Get'); - late final _System_Reflection_AssemblyName_ProcessorArchitecture_Get = - _System_Reflection_AssemblyName_ProcessorArchitecture_GetPtr.asFunction< - int Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_ProcessorArchitecture_Set( - System_Reflection_AssemblyName_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_ProcessorArchitecture_Set( - self, - value, - outException, - ); - } - - late final _System_Reflection_AssemblyName_ProcessorArchitecture_SetPtr = - _lookup< - ffi - .NativeFunction< - ffi.Void Function(System_Reflection_AssemblyName_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_ProcessorArchitecture_Set'); - late final _System_Reflection_AssemblyName_ProcessorArchitecture_Set = - _System_Reflection_AssemblyName_ProcessorArchitecture_SetPtr.asFunction< - void Function(System_Reflection_AssemblyName_t, int, - ffi.Pointer)>(); - - int System_Reflection_AssemblyName_ContentType_Get( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_ContentType_Get( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_ContentType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_ContentType_Get'); - late final _System_Reflection_AssemblyName_ContentType_Get = - _System_Reflection_AssemblyName_ContentType_GetPtr.asFunction< - int Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_ContentType_Set( - System_Reflection_AssemblyName_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_ContentType_Set( - self, - value, - outException, - ); - } - - late final _System_Reflection_AssemblyName_ContentType_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_AssemblyName_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_ContentType_Set'); - late final _System_Reflection_AssemblyName_ContentType_Set = - _System_Reflection_AssemblyName_ContentType_SetPtr.asFunction< - void Function(System_Reflection_AssemblyName_t, int, - ffi.Pointer)>(); - - int System_Reflection_AssemblyName_Flags_Get( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_Flags_Get( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_Flags_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_Flags_Get'); - late final _System_Reflection_AssemblyName_Flags_Get = - _System_Reflection_AssemblyName_Flags_GetPtr.asFunction< - int Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_Flags_Set( - System_Reflection_AssemblyName_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_Flags_Set( - self, - value, - outException, - ); - } - - late final _System_Reflection_AssemblyName_Flags_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_AssemblyName_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_Flags_Set'); - late final _System_Reflection_AssemblyName_Flags_Set = - _System_Reflection_AssemblyName_Flags_SetPtr.asFunction< - void Function(System_Reflection_AssemblyName_t, int, - ffi.Pointer)>(); - - int System_Reflection_AssemblyName_HashAlgorithm_Get( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_HashAlgorithm_Get( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_HashAlgorithm_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_HashAlgorithm_Get'); - late final _System_Reflection_AssemblyName_HashAlgorithm_Get = - _System_Reflection_AssemblyName_HashAlgorithm_GetPtr.asFunction< - int Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_HashAlgorithm_Set( - System_Reflection_AssemblyName_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_HashAlgorithm_Set( - self, - value, - outException, - ); - } - - late final _System_Reflection_AssemblyName_HashAlgorithm_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_AssemblyName_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_HashAlgorithm_Set'); - late final _System_Reflection_AssemblyName_HashAlgorithm_Set = - _System_Reflection_AssemblyName_HashAlgorithm_SetPtr.asFunction< - void Function(System_Reflection_AssemblyName_t, int, - ffi.Pointer)>(); - - int System_Reflection_AssemblyName_VersionCompatibility_Get( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_VersionCompatibility_Get( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_VersionCompatibility_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_VersionCompatibility_Get'); - late final _System_Reflection_AssemblyName_VersionCompatibility_Get = - _System_Reflection_AssemblyName_VersionCompatibility_GetPtr.asFunction< - int Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_VersionCompatibility_Set( - System_Reflection_AssemblyName_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_VersionCompatibility_Set( - self, - value, - outException, - ); - } - - late final _System_Reflection_AssemblyName_VersionCompatibility_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_AssemblyName_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_VersionCompatibility_Set'); - late final _System_Reflection_AssemblyName_VersionCompatibility_Set = - _System_Reflection_AssemblyName_VersionCompatibility_SetPtr.asFunction< - void Function(System_Reflection_AssemblyName_t, int, - ffi.Pointer)>(); - - System_Reflection_StrongNameKeyPair_t - System_Reflection_AssemblyName_KeyPair_Get( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_KeyPair_Get( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_KeyPair_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_StrongNameKeyPair_t Function( - System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_KeyPair_Get'); - late final _System_Reflection_AssemblyName_KeyPair_Get = - _System_Reflection_AssemblyName_KeyPair_GetPtr.asFunction< - System_Reflection_StrongNameKeyPair_t Function( - System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - void System_Reflection_AssemblyName_KeyPair_Set( - System_Reflection_AssemblyName_t self, - System_Reflection_StrongNameKeyPair_t value, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_KeyPair_Set( - self, - value, - outException, - ); - } - - late final _System_Reflection_AssemblyName_KeyPair_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_AssemblyName_t, - System_Reflection_StrongNameKeyPair_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_KeyPair_Set'); - late final _System_Reflection_AssemblyName_KeyPair_Set = - _System_Reflection_AssemblyName_KeyPair_SetPtr.asFunction< - void Function( - System_Reflection_AssemblyName_t, - System_Reflection_StrongNameKeyPair_t, - ffi.Pointer)>(); - - System_String_t System_Reflection_AssemblyName_FullName_Get( - System_Reflection_AssemblyName_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_AssemblyName_FullName_Get( - self, - outException, - ); - } - - late final _System_Reflection_AssemblyName_FullName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>>( - 'System_Reflection_AssemblyName_FullName_Get'); - late final _System_Reflection_AssemblyName_FullName_Get = - _System_Reflection_AssemblyName_FullName_GetPtr.asFunction< - System_String_t Function(System_Reflection_AssemblyName_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_AssemblyName_TypeOf() { - return _System_Reflection_AssemblyName_TypeOf(); - } - - late final _System_Reflection_AssemblyName_TypeOfPtr = - _lookup>( - 'System_Reflection_AssemblyName_TypeOf'); - late final _System_Reflection_AssemblyName_TypeOf = - _System_Reflection_AssemblyName_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_AssemblyName_Destroy( - System_Reflection_AssemblyName_t self, - ) { - return _System_Reflection_AssemblyName_Destroy( - self, - ); - } - - late final _System_Reflection_AssemblyName_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Reflection_AssemblyName_Destroy'); - late final _System_Reflection_AssemblyName_Destroy = - _System_Reflection_AssemblyName_DestroyPtr.asFunction< - void Function(System_Reflection_AssemblyName_t)>(); - - System_Object_t System_Version_Clone( - System_Version_t self, - ffi.Pointer outException, - ) { - return _System_Version_Clone( - self, - outException, - ); - } - - late final _System_Version_ClonePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Version_t, - ffi.Pointer)>>('System_Version_Clone'); - late final _System_Version_Clone = _System_Version_ClonePtr.asFunction< - System_Object_t Function( - System_Version_t, ffi.Pointer)>(); - - int System_Version_CompareTo( - System_Version_t self, - System_Object_t version, - ffi.Pointer outException, - ) { - return _System_Version_CompareTo( - self, - version, - outException, - ); - } - - late final _System_Version_CompareToPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Version_t, System_Object_t, - ffi.Pointer)>>('System_Version_CompareTo'); - late final _System_Version_CompareTo = - _System_Version_CompareToPtr.asFunction< - int Function(System_Version_t, System_Object_t, - ffi.Pointer)>(); - - int System_Version_CompareTo_1( - System_Version_t self, - System_Version_t value, - ffi.Pointer outException, - ) { - return _System_Version_CompareTo_1( - self, - value, - outException, - ); - } - - late final _System_Version_CompareTo_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Version_t, System_Version_t, - ffi.Pointer)>>('System_Version_CompareTo_1'); - late final _System_Version_CompareTo_1 = - _System_Version_CompareTo_1Ptr.asFunction< - int Function(System_Version_t, System_Version_t, - ffi.Pointer)>(); - - bool System_Version_Equals( - System_Version_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Version_Equals( - self, - obj, - outException, - ); - } - - late final _System_Version_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Version_t, System_Object_t, - ffi.Pointer)>>('System_Version_Equals'); - late final _System_Version_Equals = _System_Version_EqualsPtr.asFunction< - bool Function(System_Version_t, System_Object_t, - ffi.Pointer)>(); - - bool System_Version_Equals_1( - System_Version_t self, - System_Version_t obj, - ffi.Pointer outException, - ) { - return _System_Version_Equals_1( - self, - obj, - outException, - ); - } - - late final _System_Version_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Version_t, System_Version_t, - ffi.Pointer)>>('System_Version_Equals_1'); - late final _System_Version_Equals_1 = _System_Version_Equals_1Ptr.asFunction< - bool Function(System_Version_t, System_Version_t, - ffi.Pointer)>(); - - int System_Version_GetHashCode( - System_Version_t self, - ffi.Pointer outException, - ) { - return _System_Version_GetHashCode( - self, - outException, - ); - } - - late final _System_Version_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Version_t, - ffi.Pointer)>>('System_Version_GetHashCode'); - late final _System_Version_GetHashCode = - _System_Version_GetHashCodePtr.asFunction< - int Function(System_Version_t, ffi.Pointer)>(); - - System_String_t System_Version_ToString( - System_Version_t self, - ffi.Pointer outException, - ) { - return _System_Version_ToString( - self, - outException, - ); - } - - late final _System_Version_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Version_t, - ffi.Pointer)>>('System_Version_ToString'); - late final _System_Version_ToString = _System_Version_ToStringPtr.asFunction< - System_String_t Function( - System_Version_t, ffi.Pointer)>(); - - System_String_t System_Version_ToString_1( - System_Version_t self, - int fieldCount, - ffi.Pointer outException, - ) { - return _System_Version_ToString_1( - self, - fieldCount, - outException, - ); - } - - late final _System_Version_ToString_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Version_t, ffi.Int32, - ffi.Pointer)>>('System_Version_ToString_1'); - late final _System_Version_ToString_1 = - _System_Version_ToString_1Ptr.asFunction< - System_String_t Function( - System_Version_t, int, ffi.Pointer)>(); - - System_Version_t System_Version_Parse( - System_String_t input, - ffi.Pointer outException, - ) { - return _System_Version_Parse( - input, - outException, - ); - } - - late final _System_Version_ParsePtr = _lookup< - ffi.NativeFunction< - System_Version_t Function(System_String_t, - ffi.Pointer)>>('System_Version_Parse'); - late final _System_Version_Parse = _System_Version_ParsePtr.asFunction< - System_Version_t Function( - System_String_t, ffi.Pointer)>(); - - bool System_Version_TryParse( - System_String_t input, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_Version_TryParse( - input, - result, - outException, - ); - } - - late final _System_Version_TryParsePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>>('System_Version_TryParse'); - late final _System_Version_TryParse = _System_Version_TryParsePtr.asFunction< - bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>(); - - System_Version_t System_Version_Create( - int major, - int minor, - int build, - int revision, - ffi.Pointer outException, - ) { - return _System_Version_Create( - major, - minor, - build, - revision, - outException, - ); - } - - late final _System_Version_CreatePtr = _lookup< - ffi.NativeFunction< - System_Version_t Function(ffi.Int32, ffi.Int32, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_Version_Create'); - late final _System_Version_Create = _System_Version_CreatePtr.asFunction< - System_Version_t Function( - int, int, int, int, ffi.Pointer)>(); - - System_Version_t System_Version_Create_1( - int major, - int minor, - int build, - ffi.Pointer outException, - ) { - return _System_Version_Create_1( - major, - minor, - build, - outException, - ); - } - - late final _System_Version_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Version_t Function(ffi.Int32, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_Version_Create_1'); - late final _System_Version_Create_1 = _System_Version_Create_1Ptr.asFunction< - System_Version_t Function( - int, int, int, ffi.Pointer)>(); - - System_Version_t System_Version_Create_2( - int major, - int minor, - ffi.Pointer outException, - ) { - return _System_Version_Create_2( - major, - minor, - outException, - ); - } - - late final _System_Version_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_Version_t Function(ffi.Int32, ffi.Int32, - ffi.Pointer)>>('System_Version_Create_2'); - late final _System_Version_Create_2 = _System_Version_Create_2Ptr.asFunction< - System_Version_t Function(int, int, ffi.Pointer)>(); - - System_Version_t System_Version_Create_3( - System_String_t version, - ffi.Pointer outException, - ) { - return _System_Version_Create_3( - version, - outException, - ); - } - - late final _System_Version_Create_3Ptr = _lookup< - ffi.NativeFunction< - System_Version_t Function(System_String_t, - ffi.Pointer)>>('System_Version_Create_3'); - late final _System_Version_Create_3 = _System_Version_Create_3Ptr.asFunction< - System_Version_t Function( - System_String_t, ffi.Pointer)>(); - - System_Version_t System_Version_Create_4( - ffi.Pointer outException, - ) { - return _System_Version_Create_4( - outException, - ); - } - - late final _System_Version_Create_4Ptr = _lookup< - ffi.NativeFunction< - System_Version_t Function( - ffi.Pointer)>>('System_Version_Create_4'); - late final _System_Version_Create_4 = _System_Version_Create_4Ptr.asFunction< - System_Version_t Function(ffi.Pointer)>(); - - int System_Version_Major_Get( - System_Version_t self, - ffi.Pointer outException, - ) { - return _System_Version_Major_Get( - self, - outException, - ); - } - - late final _System_Version_Major_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Version_t, - ffi.Pointer)>>('System_Version_Major_Get'); - late final _System_Version_Major_Get = - _System_Version_Major_GetPtr.asFunction< - int Function(System_Version_t, ffi.Pointer)>(); - - int System_Version_Minor_Get( - System_Version_t self, - ffi.Pointer outException, - ) { - return _System_Version_Minor_Get( - self, - outException, - ); - } - - late final _System_Version_Minor_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Version_t, - ffi.Pointer)>>('System_Version_Minor_Get'); - late final _System_Version_Minor_Get = - _System_Version_Minor_GetPtr.asFunction< - int Function(System_Version_t, ffi.Pointer)>(); - - int System_Version_Build_Get( - System_Version_t self, - ffi.Pointer outException, - ) { - return _System_Version_Build_Get( - self, - outException, - ); - } - - late final _System_Version_Build_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Version_t, - ffi.Pointer)>>('System_Version_Build_Get'); - late final _System_Version_Build_Get = - _System_Version_Build_GetPtr.asFunction< - int Function(System_Version_t, ffi.Pointer)>(); - - int System_Version_Revision_Get( - System_Version_t self, - ffi.Pointer outException, - ) { - return _System_Version_Revision_Get( - self, - outException, - ); - } - - late final _System_Version_Revision_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Version_t, - ffi.Pointer)>>('System_Version_Revision_Get'); - late final _System_Version_Revision_Get = - _System_Version_Revision_GetPtr.asFunction< - int Function(System_Version_t, ffi.Pointer)>(); - - int System_Version_MajorRevision_Get( - System_Version_t self, - ffi.Pointer outException, - ) { - return _System_Version_MajorRevision_Get( - self, - outException, - ); - } - - late final _System_Version_MajorRevision_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int16 Function( - System_Version_t, ffi.Pointer)>>( - 'System_Version_MajorRevision_Get'); - late final _System_Version_MajorRevision_Get = - _System_Version_MajorRevision_GetPtr.asFunction< - int Function(System_Version_t, ffi.Pointer)>(); - - int System_Version_MinorRevision_Get( - System_Version_t self, - ffi.Pointer outException, - ) { - return _System_Version_MinorRevision_Get( - self, - outException, - ); - } - - late final _System_Version_MinorRevision_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int16 Function( - System_Version_t, ffi.Pointer)>>( - 'System_Version_MinorRevision_Get'); - late final _System_Version_MinorRevision_Get = - _System_Version_MinorRevision_GetPtr.asFunction< - int Function(System_Version_t, ffi.Pointer)>(); - - System_Type_t System_Version_TypeOf() { - return _System_Version_TypeOf(); - } - - late final _System_Version_TypeOfPtr = - _lookup>( - 'System_Version_TypeOf'); - late final _System_Version_TypeOf = - _System_Version_TypeOfPtr.asFunction(); - - void System_Version_Destroy( - System_Version_t self, - ) { - return _System_Version_Destroy( - self, - ); - } - - late final _System_Version_DestroyPtr = - _lookup>( - 'System_Version_Destroy'); - late final _System_Version_Destroy = - _System_Version_DestroyPtr.asFunction(); - - System_Reflection_StrongNameKeyPair_t - System_Reflection_StrongNameKeyPair_Create( - System_IO_FileStream_t keyPairFile, - ffi.Pointer outException, - ) { - return _System_Reflection_StrongNameKeyPair_Create( - keyPairFile, - outException, - ); - } - - late final _System_Reflection_StrongNameKeyPair_CreatePtr = _lookup< - ffi.NativeFunction< - System_Reflection_StrongNameKeyPair_t Function( - System_IO_FileStream_t, ffi.Pointer)>>( - 'System_Reflection_StrongNameKeyPair_Create'); - late final _System_Reflection_StrongNameKeyPair_Create = - _System_Reflection_StrongNameKeyPair_CreatePtr.asFunction< - System_Reflection_StrongNameKeyPair_t Function( - System_IO_FileStream_t, ffi.Pointer)>(); - - System_Reflection_StrongNameKeyPair_t - System_Reflection_StrongNameKeyPair_Create_1( - System_Byte_Array_t keyPairArray, - ffi.Pointer outException, - ) { - return _System_Reflection_StrongNameKeyPair_Create_1( - keyPairArray, - outException, - ); - } - - late final _System_Reflection_StrongNameKeyPair_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_StrongNameKeyPair_t Function( - System_Byte_Array_t, ffi.Pointer)>>( - 'System_Reflection_StrongNameKeyPair_Create_1'); - late final _System_Reflection_StrongNameKeyPair_Create_1 = - _System_Reflection_StrongNameKeyPair_Create_1Ptr.asFunction< - System_Reflection_StrongNameKeyPair_t Function( - System_Byte_Array_t, ffi.Pointer)>(); - - System_Reflection_StrongNameKeyPair_t - System_Reflection_StrongNameKeyPair_Create_2( - System_String_t keyPairContainer, - ffi.Pointer outException, - ) { - return _System_Reflection_StrongNameKeyPair_Create_2( - keyPairContainer, - outException, - ); - } - - late final _System_Reflection_StrongNameKeyPair_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_StrongNameKeyPair_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Reflection_StrongNameKeyPair_Create_2'); - late final _System_Reflection_StrongNameKeyPair_Create_2 = - _System_Reflection_StrongNameKeyPair_Create_2Ptr.asFunction< - System_Reflection_StrongNameKeyPair_t Function( - System_String_t, ffi.Pointer)>(); - - System_Byte_Array_t System_Reflection_StrongNameKeyPair_PublicKey_Get( - System_Reflection_StrongNameKeyPair_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_StrongNameKeyPair_PublicKey_Get( - self, - outException, - ); - } - - late final _System_Reflection_StrongNameKeyPair_PublicKey_GetPtr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function( - System_Reflection_StrongNameKeyPair_t, - ffi.Pointer)>>( - 'System_Reflection_StrongNameKeyPair_PublicKey_Get'); - late final _System_Reflection_StrongNameKeyPair_PublicKey_Get = - _System_Reflection_StrongNameKeyPair_PublicKey_GetPtr.asFunction< - System_Byte_Array_t Function(System_Reflection_StrongNameKeyPair_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_StrongNameKeyPair_TypeOf() { - return _System_Reflection_StrongNameKeyPair_TypeOf(); - } - - late final _System_Reflection_StrongNameKeyPair_TypeOfPtr = - _lookup>( - 'System_Reflection_StrongNameKeyPair_TypeOf'); - late final _System_Reflection_StrongNameKeyPair_TypeOf = - _System_Reflection_StrongNameKeyPair_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_StrongNameKeyPair_Destroy( - System_Reflection_StrongNameKeyPair_t self, - ) { - return _System_Reflection_StrongNameKeyPair_Destroy( - self, - ); - } - - late final _System_Reflection_StrongNameKeyPair_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_StrongNameKeyPair_t)>>( - 'System_Reflection_StrongNameKeyPair_Destroy'); - late final _System_Reflection_StrongNameKeyPair_Destroy = - _System_Reflection_StrongNameKeyPair_DestroyPtr.asFunction< - void Function(System_Reflection_StrongNameKeyPair_t)>(); - - void System_IO_FileStream_Lock( - System_IO_FileStream_t self, - int position, - int length, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Lock( - self, - position, - length, - outException, - ); - } - - late final _System_IO_FileStream_LockPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_FileStream_t, ffi.Int64, ffi.Int64, - ffi.Pointer)>>('System_IO_FileStream_Lock'); - late final _System_IO_FileStream_Lock = - _System_IO_FileStream_LockPtr.asFunction< - void Function(System_IO_FileStream_t, int, int, - ffi.Pointer)>(); - - void System_IO_FileStream_Unlock( - System_IO_FileStream_t self, - int position, - int length, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Unlock( - self, - position, - length, - outException, - ); - } - - late final _System_IO_FileStream_UnlockPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_FileStream_t, ffi.Int64, ffi.Int64, - ffi.Pointer)>>('System_IO_FileStream_Unlock'); - late final _System_IO_FileStream_Unlock = - _System_IO_FileStream_UnlockPtr.asFunction< - void Function(System_IO_FileStream_t, int, int, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_IO_FileStream_FlushAsync( - System_IO_FileStream_t self, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_FlushAsync( - self, - cancellationToken, - outException, - ); - } - - late final _System_IO_FileStream_FlushAsyncPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_IO_FileStream_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_IO_FileStream_FlushAsync'); - late final _System_IO_FileStream_FlushAsync = - _System_IO_FileStream_FlushAsyncPtr.asFunction< - System_Threading_Tasks_Task_t Function( - System_IO_FileStream_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - int System_IO_FileStream_Read( - System_IO_FileStream_t self, - System_Byte_Array_t buffer, - int offset, - int count, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Read( - self, - buffer, - offset, - count, - outException, - ); - } - - late final _System_IO_FileStream_ReadPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_IO_FileStream_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_IO_FileStream_Read'); - late final _System_IO_FileStream_Read = - _System_IO_FileStream_ReadPtr.asFunction< - int Function(System_IO_FileStream_t, System_Byte_Array_t, int, int, - ffi.Pointer)>(); - - void System_IO_FileStream_Write( - System_IO_FileStream_t self, - System_Byte_Array_t buffer, - int offset, - int count, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Write( - self, - buffer, - offset, - count, - outException, - ); - } - - late final _System_IO_FileStream_WritePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_IO_FileStream_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_IO_FileStream_Write'); - late final _System_IO_FileStream_Write = - _System_IO_FileStream_WritePtr.asFunction< - void Function(System_IO_FileStream_t, System_Byte_Array_t, int, int, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_IO_FileStream_WriteAsync( - System_IO_FileStream_t self, - System_Byte_Array_t buffer, - int offset, - int count, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_WriteAsync( - self, - buffer, - offset, - count, - cancellationToken, - outException, - ); - } - - late final _System_IO_FileStream_WriteAsyncPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_IO_FileStream_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_IO_FileStream_WriteAsync'); - late final _System_IO_FileStream_WriteAsync = - _System_IO_FileStream_WriteAsyncPtr.asFunction< - System_Threading_Tasks_Task_t Function( - System_IO_FileStream_t, - System_Byte_Array_t, - int, - int, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - void System_IO_FileStream_Flush_1( - System_IO_FileStream_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Flush_1( - self, - outException, - ); - } - - late final _System_IO_FileStream_Flush_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_IO_FileStream_t, ffi.Pointer)>>( - 'System_IO_FileStream_Flush_1'); - late final _System_IO_FileStream_Flush_1 = - _System_IO_FileStream_Flush_1Ptr.asFunction< - void Function( - System_IO_FileStream_t, ffi.Pointer)>(); - - void System_IO_FileStream_Flush_2( - System_IO_FileStream_t self, - bool flushToDisk, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Flush_2( - self, - flushToDisk, - outException, - ); - } - - late final _System_IO_FileStream_Flush_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_FileStream_t, ffi.Bool, - ffi.Pointer)>>( - 'System_IO_FileStream_Flush_2'); - late final _System_IO_FileStream_Flush_2 = - _System_IO_FileStream_Flush_2Ptr.asFunction< - void Function( - System_IO_FileStream_t, bool, ffi.Pointer)>(); - - void System_IO_FileStream_SetLength( - System_IO_FileStream_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_SetLength( - self, - value, - outException, - ); - } - - late final _System_IO_FileStream_SetLengthPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_FileStream_t, ffi.Int64, - ffi.Pointer)>>( - 'System_IO_FileStream_SetLength'); - late final _System_IO_FileStream_SetLength = - _System_IO_FileStream_SetLengthPtr.asFunction< - void Function( - System_IO_FileStream_t, int, ffi.Pointer)>(); - - int System_IO_FileStream_ReadByte( - System_IO_FileStream_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_ReadByte( - self, - outException, - ); - } - - late final _System_IO_FileStream_ReadBytePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_IO_FileStream_t, ffi.Pointer)>>( - 'System_IO_FileStream_ReadByte'); - late final _System_IO_FileStream_ReadByte = - _System_IO_FileStream_ReadBytePtr.asFunction< - int Function( - System_IO_FileStream_t, ffi.Pointer)>(); - - void System_IO_FileStream_WriteByte( - System_IO_FileStream_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_WriteByte( - self, - value, - outException, - ); - } - - late final _System_IO_FileStream_WriteBytePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_FileStream_t, ffi.Uint8, - ffi.Pointer)>>( - 'System_IO_FileStream_WriteByte'); - late final _System_IO_FileStream_WriteByte = - _System_IO_FileStream_WriteBytePtr.asFunction< - void Function( - System_IO_FileStream_t, int, ffi.Pointer)>(); - - System_Threading_Tasks_ValueTask_t System_IO_FileStream_DisposeAsync( - System_IO_FileStream_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_DisposeAsync( - self, - outException, - ); - } - - late final _System_IO_FileStream_DisposeAsyncPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_ValueTask_t Function( - System_IO_FileStream_t, ffi.Pointer)>>( - 'System_IO_FileStream_DisposeAsync'); - late final _System_IO_FileStream_DisposeAsync = - _System_IO_FileStream_DisposeAsyncPtr.asFunction< - System_Threading_Tasks_ValueTask_t Function( - System_IO_FileStream_t, ffi.Pointer)>(); - - void System_IO_FileStream_CopyTo( - System_IO_FileStream_t self, - System_IO_Stream_t destination, - int bufferSize, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_CopyTo( - self, - destination, - bufferSize, - outException, - ); - } - - late final _System_IO_FileStream_CopyToPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_IO_FileStream_t, - System_IO_Stream_t, - ffi.Int32, - ffi.Pointer)>>('System_IO_FileStream_CopyTo'); - late final _System_IO_FileStream_CopyTo = - _System_IO_FileStream_CopyToPtr.asFunction< - void Function(System_IO_FileStream_t, System_IO_Stream_t, int, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_IO_FileStream_CopyToAsync( - System_IO_FileStream_t self, - System_IO_Stream_t destination, - int bufferSize, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_CopyToAsync( - self, - destination, - bufferSize, - cancellationToken, - outException, - ); - } - - late final _System_IO_FileStream_CopyToAsyncPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_IO_FileStream_t, - System_IO_Stream_t, - ffi.Int32, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_IO_FileStream_CopyToAsync'); - late final _System_IO_FileStream_CopyToAsync = - _System_IO_FileStream_CopyToAsyncPtr.asFunction< - System_Threading_Tasks_Task_t Function( - System_IO_FileStream_t, - System_IO_Stream_t, - int, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_IAsyncResult_t System_IO_FileStream_BeginRead( - System_IO_FileStream_t self, - System_Byte_Array_t buffer, - int offset, - int count, - System_AsyncCallback_t callback, - System_Object_t state, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_BeginRead( - self, - buffer, - offset, - count, - callback, - state, - outException, - ); - } - - late final _System_IO_FileStream_BeginReadPtr = _lookup< - ffi.NativeFunction< - System_IAsyncResult_t Function( - System_IO_FileStream_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - System_AsyncCallback_t, - System_Object_t, - ffi.Pointer)>>( - 'System_IO_FileStream_BeginRead'); - late final _System_IO_FileStream_BeginRead = - _System_IO_FileStream_BeginReadPtr.asFunction< - System_IAsyncResult_t Function( - System_IO_FileStream_t, - System_Byte_Array_t, - int, - int, - System_AsyncCallback_t, - System_Object_t, - ffi.Pointer)>(); - - int System_IO_FileStream_EndRead( - System_IO_FileStream_t self, - System_IAsyncResult_t asyncResult, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_EndRead( - self, - asyncResult, - outException, - ); - } - - late final _System_IO_FileStream_EndReadPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_IO_FileStream_t, System_IAsyncResult_t, - ffi.Pointer)>>( - 'System_IO_FileStream_EndRead'); - late final _System_IO_FileStream_EndRead = - _System_IO_FileStream_EndReadPtr.asFunction< - int Function(System_IO_FileStream_t, System_IAsyncResult_t, - ffi.Pointer)>(); - - System_IAsyncResult_t System_IO_FileStream_BeginWrite( - System_IO_FileStream_t self, - System_Byte_Array_t buffer, - int offset, - int count, - System_AsyncCallback_t callback, - System_Object_t state, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_BeginWrite( - self, - buffer, - offset, - count, - callback, - state, - outException, - ); - } - - late final _System_IO_FileStream_BeginWritePtr = _lookup< - ffi.NativeFunction< - System_IAsyncResult_t Function( - System_IO_FileStream_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - System_AsyncCallback_t, - System_Object_t, - ffi.Pointer)>>( - 'System_IO_FileStream_BeginWrite'); - late final _System_IO_FileStream_BeginWrite = - _System_IO_FileStream_BeginWritePtr.asFunction< - System_IAsyncResult_t Function( - System_IO_FileStream_t, - System_Byte_Array_t, - int, - int, - System_AsyncCallback_t, - System_Object_t, - ffi.Pointer)>(); - - void System_IO_FileStream_EndWrite( - System_IO_FileStream_t self, - System_IAsyncResult_t asyncResult, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_EndWrite( - self, - asyncResult, - outException, - ); - } - - late final _System_IO_FileStream_EndWritePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_FileStream_t, System_IAsyncResult_t, - ffi.Pointer)>>( - 'System_IO_FileStream_EndWrite'); - late final _System_IO_FileStream_EndWrite = - _System_IO_FileStream_EndWritePtr.asFunction< - void Function(System_IO_FileStream_t, System_IAsyncResult_t, - ffi.Pointer)>(); - - int System_IO_FileStream_Seek( - System_IO_FileStream_t self, - int offset, - int origin, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Seek( - self, - offset, - origin, - outException, - ); - } - - late final _System_IO_FileStream_SeekPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_IO_FileStream_t, ffi.Int64, ffi.Int32, - ffi.Pointer)>>('System_IO_FileStream_Seek'); - late final _System_IO_FileStream_Seek = - _System_IO_FileStream_SeekPtr.asFunction< - int Function(System_IO_FileStream_t, int, int, - ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create( - int handle, - int access, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create( - handle, - access, - outException, - ); - } - - late final _System_IO_FileStream_CreatePtr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function(ffi.Long, ffi.Int32, - ffi.Pointer)>>('System_IO_FileStream_Create'); - late final _System_IO_FileStream_Create = - _System_IO_FileStream_CreatePtr.asFunction< - System_IO_FileStream_t Function( - int, int, ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create_1( - int handle, - int access, - bool ownsHandle, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create_1( - handle, - access, - ownsHandle, - outException, - ); - } - - late final _System_IO_FileStream_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function(ffi.Long, ffi.Int32, ffi.Bool, - ffi.Pointer)>>( - 'System_IO_FileStream_Create_1'); - late final _System_IO_FileStream_Create_1 = - _System_IO_FileStream_Create_1Ptr.asFunction< - System_IO_FileStream_t Function( - int, int, bool, ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create_2( - int handle, - int access, - bool ownsHandle, - int bufferSize, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create_2( - handle, - access, - ownsHandle, - bufferSize, - outException, - ); - } - - late final _System_IO_FileStream_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function(ffi.Long, ffi.Int32, ffi.Bool, - ffi.Int32, ffi.Pointer)>>( - 'System_IO_FileStream_Create_2'); - late final _System_IO_FileStream_Create_2 = - _System_IO_FileStream_Create_2Ptr.asFunction< - System_IO_FileStream_t Function( - int, int, bool, int, ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create_3( - int handle, - int access, - bool ownsHandle, - int bufferSize, - bool isAsync, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create_3( - handle, - access, - ownsHandle, - bufferSize, - isAsync, - outException, - ); - } - - late final _System_IO_FileStream_Create_3Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function(ffi.Long, ffi.Int32, ffi.Bool, - ffi.Int32, ffi.Bool, ffi.Pointer)>>( - 'System_IO_FileStream_Create_3'); - late final _System_IO_FileStream_Create_3 = - _System_IO_FileStream_Create_3Ptr.asFunction< - System_IO_FileStream_t Function( - int, int, bool, int, bool, ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create_4( - Microsoft_Win32_SafeHandles_SafeFileHandle_t handle, - int access, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create_4( - handle, - access, - outException, - ); - } - - late final _System_IO_FileStream_Create_4Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function( - Microsoft_Win32_SafeHandles_SafeFileHandle_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_IO_FileStream_Create_4'); - late final _System_IO_FileStream_Create_4 = - _System_IO_FileStream_Create_4Ptr.asFunction< - System_IO_FileStream_t Function( - Microsoft_Win32_SafeHandles_SafeFileHandle_t, - int, - ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create_5( - Microsoft_Win32_SafeHandles_SafeFileHandle_t handle, - int access, - int bufferSize, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create_5( - handle, - access, - bufferSize, - outException, - ); - } - - late final _System_IO_FileStream_Create_5Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function( - Microsoft_Win32_SafeHandles_SafeFileHandle_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_IO_FileStream_Create_5'); - late final _System_IO_FileStream_Create_5 = - _System_IO_FileStream_Create_5Ptr.asFunction< - System_IO_FileStream_t Function( - Microsoft_Win32_SafeHandles_SafeFileHandle_t, - int, - int, - ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create_6( - Microsoft_Win32_SafeHandles_SafeFileHandle_t handle, - int access, - int bufferSize, - bool isAsync, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create_6( - handle, - access, - bufferSize, - isAsync, - outException, - ); - } - - late final _System_IO_FileStream_Create_6Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function( - Microsoft_Win32_SafeHandles_SafeFileHandle_t, - ffi.Int32, - ffi.Int32, - ffi.Bool, - ffi.Pointer)>>( - 'System_IO_FileStream_Create_6'); - late final _System_IO_FileStream_Create_6 = - _System_IO_FileStream_Create_6Ptr.asFunction< - System_IO_FileStream_t Function( - Microsoft_Win32_SafeHandles_SafeFileHandle_t, - int, - int, - bool, - ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create_7( - System_String_t path, - int mode, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create_7( - path, - mode, - outException, - ); - } - - late final _System_IO_FileStream_Create_7Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function(System_String_t, ffi.Int32, - ffi.Pointer)>>( - 'System_IO_FileStream_Create_7'); - late final _System_IO_FileStream_Create_7 = - _System_IO_FileStream_Create_7Ptr.asFunction< - System_IO_FileStream_t Function( - System_String_t, int, ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create_8( - System_String_t path, - int mode, - int access, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create_8( - path, - mode, - access, - outException, - ); - } - - late final _System_IO_FileStream_Create_8Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function(System_String_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_IO_FileStream_Create_8'); - late final _System_IO_FileStream_Create_8 = - _System_IO_FileStream_Create_8Ptr.asFunction< - System_IO_FileStream_t Function( - System_String_t, int, int, ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create_9( - System_String_t path, - int mode, - int access, - int share, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create_9( - path, - mode, - access, - share, - outException, - ); - } - - late final _System_IO_FileStream_Create_9Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function(System_String_t, ffi.Int32, - ffi.Int32, ffi.Int32, ffi.Pointer)>>( - 'System_IO_FileStream_Create_9'); - late final _System_IO_FileStream_Create_9 = - _System_IO_FileStream_Create_9Ptr.asFunction< - System_IO_FileStream_t Function(System_String_t, int, int, int, - ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create_10( - System_String_t path, - int mode, - int access, - int share, - int bufferSize, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create_10( - path, - mode, - access, - share, - bufferSize, - outException, - ); - } - - late final _System_IO_FileStream_Create_10Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function( - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_IO_FileStream_Create_10'); - late final _System_IO_FileStream_Create_10 = - _System_IO_FileStream_Create_10Ptr.asFunction< - System_IO_FileStream_t Function(System_String_t, int, int, int, int, - ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create_11( - System_String_t path, - int mode, - int access, - int share, - int bufferSize, - bool useAsync, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create_11( - path, - mode, - access, - share, - bufferSize, - useAsync, - outException, - ); - } - - late final _System_IO_FileStream_Create_11Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function( - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Bool, - ffi.Pointer)>>( - 'System_IO_FileStream_Create_11'); - late final _System_IO_FileStream_Create_11 = - _System_IO_FileStream_Create_11Ptr.asFunction< - System_IO_FileStream_t Function(System_String_t, int, int, int, int, - bool, ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create_12( - System_String_t path, - int mode, - int access, - int share, - int bufferSize, - int options, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create_12( - path, - mode, - access, - share, - bufferSize, - options, - outException, - ); - } - - late final _System_IO_FileStream_Create_12Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function( - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_IO_FileStream_Create_12'); - late final _System_IO_FileStream_Create_12 = - _System_IO_FileStream_Create_12Ptr.asFunction< - System_IO_FileStream_t Function(System_String_t, int, int, int, int, - int, ffi.Pointer)>(); - - System_IO_FileStream_t System_IO_FileStream_Create_13( - System_String_t path, - System_IO_FileStreamOptions_t options, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Create_13( - path, - options, - outException, - ); - } - - late final _System_IO_FileStream_Create_13Ptr = _lookup< - ffi.NativeFunction< - System_IO_FileStream_t Function( - System_String_t, - System_IO_FileStreamOptions_t, - ffi.Pointer)>>( - 'System_IO_FileStream_Create_13'); - late final _System_IO_FileStream_Create_13 = - _System_IO_FileStream_Create_13Ptr.asFunction< - System_IO_FileStream_t Function( - System_String_t, - System_IO_FileStreamOptions_t, - ffi.Pointer)>(); - - int System_IO_FileStream_Handle_Get( - System_IO_FileStream_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Handle_Get( - self, - outException, - ); - } - - late final _System_IO_FileStream_Handle_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - System_IO_FileStream_t, ffi.Pointer)>>( - 'System_IO_FileStream_Handle_Get'); - late final _System_IO_FileStream_Handle_Get = - _System_IO_FileStream_Handle_GetPtr.asFunction< - int Function( - System_IO_FileStream_t, ffi.Pointer)>(); - - bool System_IO_FileStream_CanRead_Get( - System_IO_FileStream_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_CanRead_Get( - self, - outException, - ); - } - - late final _System_IO_FileStream_CanRead_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_IO_FileStream_t, ffi.Pointer)>>( - 'System_IO_FileStream_CanRead_Get'); - late final _System_IO_FileStream_CanRead_Get = - _System_IO_FileStream_CanRead_GetPtr.asFunction< - bool Function( - System_IO_FileStream_t, ffi.Pointer)>(); - - bool System_IO_FileStream_CanWrite_Get( - System_IO_FileStream_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_CanWrite_Get( - self, - outException, - ); - } - - late final _System_IO_FileStream_CanWrite_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_IO_FileStream_t, ffi.Pointer)>>( - 'System_IO_FileStream_CanWrite_Get'); - late final _System_IO_FileStream_CanWrite_Get = - _System_IO_FileStream_CanWrite_GetPtr.asFunction< - bool Function( - System_IO_FileStream_t, ffi.Pointer)>(); - - Microsoft_Win32_SafeHandles_SafeFileHandle_t - System_IO_FileStream_SafeFileHandle_Get( - System_IO_FileStream_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_SafeFileHandle_Get( - self, - outException, - ); - } - - late final _System_IO_FileStream_SafeFileHandle_GetPtr = _lookup< - ffi.NativeFunction< - Microsoft_Win32_SafeHandles_SafeFileHandle_t Function( - System_IO_FileStream_t, ffi.Pointer)>>( - 'System_IO_FileStream_SafeFileHandle_Get'); - late final _System_IO_FileStream_SafeFileHandle_Get = - _System_IO_FileStream_SafeFileHandle_GetPtr.asFunction< - Microsoft_Win32_SafeHandles_SafeFileHandle_t Function( - System_IO_FileStream_t, ffi.Pointer)>(); - - System_String_t System_IO_FileStream_Name_Get( - System_IO_FileStream_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Name_Get( - self, - outException, - ); - } - - late final _System_IO_FileStream_Name_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_IO_FileStream_t, ffi.Pointer)>>( - 'System_IO_FileStream_Name_Get'); - late final _System_IO_FileStream_Name_Get = - _System_IO_FileStream_Name_GetPtr.asFunction< - System_String_t Function( - System_IO_FileStream_t, ffi.Pointer)>(); - - bool System_IO_FileStream_IsAsync_Get( - System_IO_FileStream_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_IsAsync_Get( - self, - outException, - ); - } - - late final _System_IO_FileStream_IsAsync_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_IO_FileStream_t, ffi.Pointer)>>( - 'System_IO_FileStream_IsAsync_Get'); - late final _System_IO_FileStream_IsAsync_Get = - _System_IO_FileStream_IsAsync_GetPtr.asFunction< - bool Function( - System_IO_FileStream_t, ffi.Pointer)>(); - - int System_IO_FileStream_Length_Get( - System_IO_FileStream_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Length_Get( - self, - outException, - ); - } - - late final _System_IO_FileStream_Length_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - System_IO_FileStream_t, ffi.Pointer)>>( - 'System_IO_FileStream_Length_Get'); - late final _System_IO_FileStream_Length_Get = - _System_IO_FileStream_Length_GetPtr.asFunction< - int Function( - System_IO_FileStream_t, ffi.Pointer)>(); - - int System_IO_FileStream_Position_Get( - System_IO_FileStream_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Position_Get( - self, - outException, - ); - } - - late final _System_IO_FileStream_Position_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - System_IO_FileStream_t, ffi.Pointer)>>( - 'System_IO_FileStream_Position_Get'); - late final _System_IO_FileStream_Position_Get = - _System_IO_FileStream_Position_GetPtr.asFunction< - int Function( - System_IO_FileStream_t, ffi.Pointer)>(); - - void System_IO_FileStream_Position_Set( - System_IO_FileStream_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_Position_Set( - self, - value, - outException, - ); - } - - late final _System_IO_FileStream_Position_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_FileStream_t, ffi.Int64, - ffi.Pointer)>>( - 'System_IO_FileStream_Position_Set'); - late final _System_IO_FileStream_Position_Set = - _System_IO_FileStream_Position_SetPtr.asFunction< - void Function( - System_IO_FileStream_t, int, ffi.Pointer)>(); - - bool System_IO_FileStream_CanSeek_Get( - System_IO_FileStream_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStream_CanSeek_Get( - self, - outException, - ); - } - - late final _System_IO_FileStream_CanSeek_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_IO_FileStream_t, ffi.Pointer)>>( - 'System_IO_FileStream_CanSeek_Get'); - late final _System_IO_FileStream_CanSeek_Get = - _System_IO_FileStream_CanSeek_GetPtr.asFunction< - bool Function( - System_IO_FileStream_t, ffi.Pointer)>(); - - System_Type_t System_IO_FileStream_TypeOf() { - return _System_IO_FileStream_TypeOf(); - } - - late final _System_IO_FileStream_TypeOfPtr = - _lookup>( - 'System_IO_FileStream_TypeOf'); - late final _System_IO_FileStream_TypeOf = - _System_IO_FileStream_TypeOfPtr.asFunction(); - - void System_IO_FileStream_Destroy( - System_IO_FileStream_t self, - ) { - return _System_IO_FileStream_Destroy( - self, - ); - } - - late final _System_IO_FileStream_DestroyPtr = - _lookup>( - 'System_IO_FileStream_Destroy'); - late final _System_IO_FileStream_Destroy = _System_IO_FileStream_DestroyPtr - .asFunction(); - - void System_IO_Stream_CopyTo( - System_IO_Stream_t self, - System_IO_Stream_t destination, - ffi.Pointer outException, - ) { - return _System_IO_Stream_CopyTo( - self, - destination, - outException, - ); - } - - late final _System_IO_Stream_CopyToPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_Stream_t, System_IO_Stream_t, - ffi.Pointer)>>('System_IO_Stream_CopyTo'); - late final _System_IO_Stream_CopyTo = _System_IO_Stream_CopyToPtr.asFunction< - void Function(System_IO_Stream_t, System_IO_Stream_t, - ffi.Pointer)>(); - - void System_IO_Stream_CopyTo_1( - System_IO_Stream_t self, - System_IO_Stream_t destination, - int bufferSize, - ffi.Pointer outException, - ) { - return _System_IO_Stream_CopyTo_1( - self, - destination, - bufferSize, - outException, - ); - } - - late final _System_IO_Stream_CopyTo_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_Stream_t, System_IO_Stream_t, ffi.Int32, - ffi.Pointer)>>('System_IO_Stream_CopyTo_1'); - late final _System_IO_Stream_CopyTo_1 = - _System_IO_Stream_CopyTo_1Ptr.asFunction< - void Function(System_IO_Stream_t, System_IO_Stream_t, int, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_IO_Stream_CopyToAsync( - System_IO_Stream_t self, - System_IO_Stream_t destination, - ffi.Pointer outException, - ) { - return _System_IO_Stream_CopyToAsync( - self, - destination, - outException, - ); - } - - late final _System_IO_Stream_CopyToAsyncPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function(System_IO_Stream_t, - System_IO_Stream_t, ffi.Pointer)>>( - 'System_IO_Stream_CopyToAsync'); - late final _System_IO_Stream_CopyToAsync = - _System_IO_Stream_CopyToAsyncPtr.asFunction< - System_Threading_Tasks_Task_t Function(System_IO_Stream_t, - System_IO_Stream_t, ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_IO_Stream_CopyToAsync_1( - System_IO_Stream_t self, - System_IO_Stream_t destination, - int bufferSize, - ffi.Pointer outException, - ) { - return _System_IO_Stream_CopyToAsync_1( - self, - destination, - bufferSize, - outException, - ); - } - - late final _System_IO_Stream_CopyToAsync_1Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_IO_Stream_t, - System_IO_Stream_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_IO_Stream_CopyToAsync_1'); - late final _System_IO_Stream_CopyToAsync_1 = - _System_IO_Stream_CopyToAsync_1Ptr.asFunction< - System_Threading_Tasks_Task_t Function(System_IO_Stream_t, - System_IO_Stream_t, int, ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_IO_Stream_CopyToAsync_2( - System_IO_Stream_t self, - System_IO_Stream_t destination, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_IO_Stream_CopyToAsync_2( - self, - destination, - cancellationToken, - outException, - ); - } - - late final _System_IO_Stream_CopyToAsync_2Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_IO_Stream_t, - System_IO_Stream_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_IO_Stream_CopyToAsync_2'); - late final _System_IO_Stream_CopyToAsync_2 = - _System_IO_Stream_CopyToAsync_2Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_IO_Stream_t, - System_IO_Stream_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_IO_Stream_CopyToAsync_3( - System_IO_Stream_t self, - System_IO_Stream_t destination, - int bufferSize, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_IO_Stream_CopyToAsync_3( - self, - destination, - bufferSize, - cancellationToken, - outException, - ); - } - - late final _System_IO_Stream_CopyToAsync_3Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_IO_Stream_t, - System_IO_Stream_t, - ffi.Int32, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_IO_Stream_CopyToAsync_3'); - late final _System_IO_Stream_CopyToAsync_3 = - _System_IO_Stream_CopyToAsync_3Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_IO_Stream_t, - System_IO_Stream_t, - int, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - void System_IO_Stream_Dispose( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_Dispose( - self, - outException, - ); - } - - late final _System_IO_Stream_DisposePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_Stream_t, - ffi.Pointer)>>('System_IO_Stream_Dispose'); - late final _System_IO_Stream_Dispose = - _System_IO_Stream_DisposePtr.asFunction< - void Function(System_IO_Stream_t, ffi.Pointer)>(); - - void System_IO_Stream_Close( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_Close( - self, - outException, - ); - } - - late final _System_IO_Stream_ClosePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_Stream_t, - ffi.Pointer)>>('System_IO_Stream_Close'); - late final _System_IO_Stream_Close = _System_IO_Stream_ClosePtr.asFunction< - void Function(System_IO_Stream_t, ffi.Pointer)>(); - - System_Threading_Tasks_ValueTask_t System_IO_Stream_DisposeAsync( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_DisposeAsync( - self, - outException, - ); - } - - late final _System_IO_Stream_DisposeAsyncPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_ValueTask_t Function( - System_IO_Stream_t, ffi.Pointer)>>( - 'System_IO_Stream_DisposeAsync'); - late final _System_IO_Stream_DisposeAsync = - _System_IO_Stream_DisposeAsyncPtr.asFunction< - System_Threading_Tasks_ValueTask_t Function( - System_IO_Stream_t, ffi.Pointer)>(); - - void System_IO_Stream_Flush( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_Flush( - self, - outException, - ); - } - - late final _System_IO_Stream_FlushPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_Stream_t, - ffi.Pointer)>>('System_IO_Stream_Flush'); - late final _System_IO_Stream_Flush = _System_IO_Stream_FlushPtr.asFunction< - void Function(System_IO_Stream_t, ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_IO_Stream_FlushAsync( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_FlushAsync( - self, - outException, - ); - } - - late final _System_IO_Stream_FlushAsyncPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function(System_IO_Stream_t, - ffi.Pointer)>>('System_IO_Stream_FlushAsync'); - late final _System_IO_Stream_FlushAsync = - _System_IO_Stream_FlushAsyncPtr.asFunction< - System_Threading_Tasks_Task_t Function( - System_IO_Stream_t, ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_IO_Stream_FlushAsync_1( - System_IO_Stream_t self, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_IO_Stream_FlushAsync_1( - self, - cancellationToken, - outException, - ); - } - - late final _System_IO_Stream_FlushAsync_1Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_IO_Stream_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_IO_Stream_FlushAsync_1'); - late final _System_IO_Stream_FlushAsync_1 = - _System_IO_Stream_FlushAsync_1Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_IO_Stream_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_IAsyncResult_t System_IO_Stream_BeginRead( - System_IO_Stream_t self, - System_Byte_Array_t buffer, - int offset, - int count, - System_AsyncCallback_t callback, - System_Object_t state, - ffi.Pointer outException, - ) { - return _System_IO_Stream_BeginRead( - self, - buffer, - offset, - count, - callback, - state, - outException, - ); - } - - late final _System_IO_Stream_BeginReadPtr = _lookup< - ffi.NativeFunction< - System_IAsyncResult_t Function( - System_IO_Stream_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - System_AsyncCallback_t, - System_Object_t, - ffi.Pointer)>>('System_IO_Stream_BeginRead'); - late final _System_IO_Stream_BeginRead = - _System_IO_Stream_BeginReadPtr.asFunction< - System_IAsyncResult_t Function( - System_IO_Stream_t, - System_Byte_Array_t, - int, - int, - System_AsyncCallback_t, - System_Object_t, - ffi.Pointer)>(); - - int System_IO_Stream_EndRead( - System_IO_Stream_t self, - System_IAsyncResult_t asyncResult, - ffi.Pointer outException, - ) { - return _System_IO_Stream_EndRead( - self, - asyncResult, - outException, - ); - } - - late final _System_IO_Stream_EndReadPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_IO_Stream_t, System_IAsyncResult_t, - ffi.Pointer)>>('System_IO_Stream_EndRead'); - late final _System_IO_Stream_EndRead = - _System_IO_Stream_EndReadPtr.asFunction< - int Function(System_IO_Stream_t, System_IAsyncResult_t, - ffi.Pointer)>(); - - System_Threading_Tasks_ValueTask_t System_IO_Stream_ReadExactlyAsync( - System_IO_Stream_t self, - System_Byte_Array_t buffer, - int offset, - int count, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_IO_Stream_ReadExactlyAsync( - self, - buffer, - offset, - count, - cancellationToken, - outException, - ); - } - - late final _System_IO_Stream_ReadExactlyAsyncPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_ValueTask_t Function( - System_IO_Stream_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_IO_Stream_ReadExactlyAsync'); - late final _System_IO_Stream_ReadExactlyAsync = - _System_IO_Stream_ReadExactlyAsyncPtr.asFunction< - System_Threading_Tasks_ValueTask_t Function( - System_IO_Stream_t, - System_Byte_Array_t, - int, - int, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_IAsyncResult_t System_IO_Stream_BeginWrite( - System_IO_Stream_t self, - System_Byte_Array_t buffer, - int offset, - int count, - System_AsyncCallback_t callback, - System_Object_t state, - ffi.Pointer outException, - ) { - return _System_IO_Stream_BeginWrite( - self, - buffer, - offset, - count, - callback, - state, - outException, - ); - } - - late final _System_IO_Stream_BeginWritePtr = _lookup< - ffi.NativeFunction< - System_IAsyncResult_t Function( - System_IO_Stream_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - System_AsyncCallback_t, - System_Object_t, - ffi.Pointer)>>('System_IO_Stream_BeginWrite'); - late final _System_IO_Stream_BeginWrite = - _System_IO_Stream_BeginWritePtr.asFunction< - System_IAsyncResult_t Function( - System_IO_Stream_t, - System_Byte_Array_t, - int, - int, - System_AsyncCallback_t, - System_Object_t, - ffi.Pointer)>(); - - void System_IO_Stream_EndWrite( - System_IO_Stream_t self, - System_IAsyncResult_t asyncResult, - ffi.Pointer outException, - ) { - return _System_IO_Stream_EndWrite( - self, - asyncResult, - outException, - ); - } - - late final _System_IO_Stream_EndWritePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_Stream_t, System_IAsyncResult_t, - ffi.Pointer)>>('System_IO_Stream_EndWrite'); - late final _System_IO_Stream_EndWrite = - _System_IO_Stream_EndWritePtr.asFunction< - void Function(System_IO_Stream_t, System_IAsyncResult_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_IO_Stream_WriteAsync( - System_IO_Stream_t self, - System_Byte_Array_t buffer, - int offset, - int count, - ffi.Pointer outException, - ) { - return _System_IO_Stream_WriteAsync( - self, - buffer, - offset, - count, - outException, - ); - } - - late final _System_IO_Stream_WriteAsyncPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_IO_Stream_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_IO_Stream_WriteAsync'); - late final _System_IO_Stream_WriteAsync = - _System_IO_Stream_WriteAsyncPtr.asFunction< - System_Threading_Tasks_Task_t Function( - System_IO_Stream_t, - System_Byte_Array_t, - int, - int, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_IO_Stream_WriteAsync_1( - System_IO_Stream_t self, - System_Byte_Array_t buffer, - int offset, - int count, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_IO_Stream_WriteAsync_1( - self, - buffer, - offset, - count, - cancellationToken, - outException, - ); - } - - late final _System_IO_Stream_WriteAsync_1Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_IO_Stream_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_IO_Stream_WriteAsync_1'); - late final _System_IO_Stream_WriteAsync_1 = - _System_IO_Stream_WriteAsync_1Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_IO_Stream_t, - System_Byte_Array_t, - int, - int, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - int System_IO_Stream_Seek( - System_IO_Stream_t self, - int offset, - int origin, - ffi.Pointer outException, - ) { - return _System_IO_Stream_Seek( - self, - offset, - origin, - outException, - ); - } - - late final _System_IO_Stream_SeekPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_IO_Stream_t, ffi.Int64, ffi.Int32, - ffi.Pointer)>>('System_IO_Stream_Seek'); - late final _System_IO_Stream_Seek = _System_IO_Stream_SeekPtr.asFunction< - int Function( - System_IO_Stream_t, int, int, ffi.Pointer)>(); - - void System_IO_Stream_SetLength( - System_IO_Stream_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_Stream_SetLength( - self, - value, - outException, - ); - } - - late final _System_IO_Stream_SetLengthPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_Stream_t, ffi.Int64, - ffi.Pointer)>>('System_IO_Stream_SetLength'); - late final _System_IO_Stream_SetLength = - _System_IO_Stream_SetLengthPtr.asFunction< - void Function( - System_IO_Stream_t, int, ffi.Pointer)>(); - - int System_IO_Stream_Read_1( - System_IO_Stream_t self, - System_Byte_Array_t buffer, - int offset, - int count, - ffi.Pointer outException, - ) { - return _System_IO_Stream_Read_1( - self, - buffer, - offset, - count, - outException, - ); - } - - late final _System_IO_Stream_Read_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_IO_Stream_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_IO_Stream_Read_1'); - late final _System_IO_Stream_Read_1 = _System_IO_Stream_Read_1Ptr.asFunction< - int Function(System_IO_Stream_t, System_Byte_Array_t, int, int, - ffi.Pointer)>(); - - int System_IO_Stream_ReadByte( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_ReadByte( - self, - outException, - ); - } - - late final _System_IO_Stream_ReadBytePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_IO_Stream_t, - ffi.Pointer)>>('System_IO_Stream_ReadByte'); - late final _System_IO_Stream_ReadByte = - _System_IO_Stream_ReadBytePtr.asFunction< - int Function(System_IO_Stream_t, ffi.Pointer)>(); - - void System_IO_Stream_ReadExactly_1( - System_IO_Stream_t self, - System_Byte_Array_t buffer, - int offset, - int count, - ffi.Pointer outException, - ) { - return _System_IO_Stream_ReadExactly_1( - self, - buffer, - offset, - count, - outException, - ); - } - - late final _System_IO_Stream_ReadExactly_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_Stream_t, System_Byte_Array_t, - ffi.Int32, ffi.Int32, ffi.Pointer)>>( - 'System_IO_Stream_ReadExactly_1'); - late final _System_IO_Stream_ReadExactly_1 = - _System_IO_Stream_ReadExactly_1Ptr.asFunction< - void Function(System_IO_Stream_t, System_Byte_Array_t, int, int, - ffi.Pointer)>(); - - void System_IO_Stream_Write_1( - System_IO_Stream_t self, - System_Byte_Array_t buffer, - int offset, - int count, - ffi.Pointer outException, - ) { - return _System_IO_Stream_Write_1( - self, - buffer, - offset, - count, - outException, - ); - } - - late final _System_IO_Stream_Write_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_IO_Stream_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('System_IO_Stream_Write_1'); - late final _System_IO_Stream_Write_1 = - _System_IO_Stream_Write_1Ptr.asFunction< - void Function(System_IO_Stream_t, System_Byte_Array_t, int, int, - ffi.Pointer)>(); - - void System_IO_Stream_WriteByte( - System_IO_Stream_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_Stream_WriteByte( - self, - value, - outException, - ); - } - - late final _System_IO_Stream_WriteBytePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_Stream_t, ffi.Uint8, - ffi.Pointer)>>('System_IO_Stream_WriteByte'); - late final _System_IO_Stream_WriteByte = - _System_IO_Stream_WriteBytePtr.asFunction< - void Function( - System_IO_Stream_t, int, ffi.Pointer)>(); - - System_IO_Stream_t System_IO_Stream_Synchronized( - System_IO_Stream_t stream, - ffi.Pointer outException, - ) { - return _System_IO_Stream_Synchronized( - stream, - outException, - ); - } - - late final _System_IO_Stream_SynchronizedPtr = _lookup< - ffi.NativeFunction< - System_IO_Stream_t Function( - System_IO_Stream_t, ffi.Pointer)>>( - 'System_IO_Stream_Synchronized'); - late final _System_IO_Stream_Synchronized = - _System_IO_Stream_SynchronizedPtr.asFunction< - System_IO_Stream_t Function( - System_IO_Stream_t, ffi.Pointer)>(); - - bool System_IO_Stream_CanRead_Get( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_CanRead_Get( - self, - outException, - ); - } - - late final _System_IO_Stream_CanRead_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_IO_Stream_t, ffi.Pointer)>>( - 'System_IO_Stream_CanRead_Get'); - late final _System_IO_Stream_CanRead_Get = - _System_IO_Stream_CanRead_GetPtr.asFunction< - bool Function(System_IO_Stream_t, ffi.Pointer)>(); - - bool System_IO_Stream_CanWrite_Get( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_CanWrite_Get( - self, - outException, - ); - } - - late final _System_IO_Stream_CanWrite_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_IO_Stream_t, ffi.Pointer)>>( - 'System_IO_Stream_CanWrite_Get'); - late final _System_IO_Stream_CanWrite_Get = - _System_IO_Stream_CanWrite_GetPtr.asFunction< - bool Function(System_IO_Stream_t, ffi.Pointer)>(); - - bool System_IO_Stream_CanSeek_Get( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_CanSeek_Get( - self, - outException, - ); - } - - late final _System_IO_Stream_CanSeek_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_IO_Stream_t, ffi.Pointer)>>( - 'System_IO_Stream_CanSeek_Get'); - late final _System_IO_Stream_CanSeek_Get = - _System_IO_Stream_CanSeek_GetPtr.asFunction< - bool Function(System_IO_Stream_t, ffi.Pointer)>(); - - bool System_IO_Stream_CanTimeout_Get( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_CanTimeout_Get( - self, - outException, - ); - } - - late final _System_IO_Stream_CanTimeout_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_IO_Stream_t, ffi.Pointer)>>( - 'System_IO_Stream_CanTimeout_Get'); - late final _System_IO_Stream_CanTimeout_Get = - _System_IO_Stream_CanTimeout_GetPtr.asFunction< - bool Function(System_IO_Stream_t, ffi.Pointer)>(); - - int System_IO_Stream_Length_Get( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_Length_Get( - self, - outException, - ); - } - - late final _System_IO_Stream_Length_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_IO_Stream_t, - ffi.Pointer)>>('System_IO_Stream_Length_Get'); - late final _System_IO_Stream_Length_Get = - _System_IO_Stream_Length_GetPtr.asFunction< - int Function(System_IO_Stream_t, ffi.Pointer)>(); - - int System_IO_Stream_Position_Get( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_Position_Get( - self, - outException, - ); - } - - late final _System_IO_Stream_Position_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - System_IO_Stream_t, ffi.Pointer)>>( - 'System_IO_Stream_Position_Get'); - late final _System_IO_Stream_Position_Get = - _System_IO_Stream_Position_GetPtr.asFunction< - int Function(System_IO_Stream_t, ffi.Pointer)>(); - - void System_IO_Stream_Position_Set( - System_IO_Stream_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_Stream_Position_Set( - self, - value, - outException, - ); - } - - late final _System_IO_Stream_Position_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_Stream_t, ffi.Int64, - ffi.Pointer)>>( - 'System_IO_Stream_Position_Set'); - late final _System_IO_Stream_Position_Set = - _System_IO_Stream_Position_SetPtr.asFunction< - void Function( - System_IO_Stream_t, int, ffi.Pointer)>(); - - int System_IO_Stream_ReadTimeout_Get( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_ReadTimeout_Get( - self, - outException, - ); - } - - late final _System_IO_Stream_ReadTimeout_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_IO_Stream_t, ffi.Pointer)>>( - 'System_IO_Stream_ReadTimeout_Get'); - late final _System_IO_Stream_ReadTimeout_Get = - _System_IO_Stream_ReadTimeout_GetPtr.asFunction< - int Function(System_IO_Stream_t, ffi.Pointer)>(); - - void System_IO_Stream_ReadTimeout_Set( - System_IO_Stream_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_Stream_ReadTimeout_Set( - self, - value, - outException, - ); - } - - late final _System_IO_Stream_ReadTimeout_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_Stream_t, ffi.Int32, - ffi.Pointer)>>( - 'System_IO_Stream_ReadTimeout_Set'); - late final _System_IO_Stream_ReadTimeout_Set = - _System_IO_Stream_ReadTimeout_SetPtr.asFunction< - void Function( - System_IO_Stream_t, int, ffi.Pointer)>(); - - int System_IO_Stream_WriteTimeout_Get( - System_IO_Stream_t self, - ffi.Pointer outException, - ) { - return _System_IO_Stream_WriteTimeout_Get( - self, - outException, - ); - } - - late final _System_IO_Stream_WriteTimeout_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_IO_Stream_t, ffi.Pointer)>>( - 'System_IO_Stream_WriteTimeout_Get'); - late final _System_IO_Stream_WriteTimeout_Get = - _System_IO_Stream_WriteTimeout_GetPtr.asFunction< - int Function(System_IO_Stream_t, ffi.Pointer)>(); - - void System_IO_Stream_WriteTimeout_Set( - System_IO_Stream_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_Stream_WriteTimeout_Set( - self, - value, - outException, - ); - } - - late final _System_IO_Stream_WriteTimeout_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_Stream_t, ffi.Int32, - ffi.Pointer)>>( - 'System_IO_Stream_WriteTimeout_Set'); - late final _System_IO_Stream_WriteTimeout_Set = - _System_IO_Stream_WriteTimeout_SetPtr.asFunction< - void Function( - System_IO_Stream_t, int, ffi.Pointer)>(); - - System_IO_Stream_t System_IO_Stream_Null_Get() { - return _System_IO_Stream_Null_Get(); - } - - late final _System_IO_Stream_Null_GetPtr = - _lookup>( - 'System_IO_Stream_Null_Get'); - late final _System_IO_Stream_Null_Get = - _System_IO_Stream_Null_GetPtr.asFunction(); - - System_Type_t System_IO_Stream_TypeOf() { - return _System_IO_Stream_TypeOf(); - } - - late final _System_IO_Stream_TypeOfPtr = - _lookup>( - 'System_IO_Stream_TypeOf'); - late final _System_IO_Stream_TypeOf = - _System_IO_Stream_TypeOfPtr.asFunction(); - - void System_IO_Stream_Destroy( - System_IO_Stream_t self, - ) { - return _System_IO_Stream_Destroy( - self, - ); - } - - late final _System_IO_Stream_DestroyPtr = - _lookup>( - 'System_IO_Stream_Destroy'); - late final _System_IO_Stream_Destroy = _System_IO_Stream_DestroyPtr - .asFunction(); - - System_Object_t System_MarshalByRefObject_GetLifetimeService( - System_MarshalByRefObject_t self, - ffi.Pointer outException, - ) { - return _System_MarshalByRefObject_GetLifetimeService( - self, - outException, - ); - } - - late final _System_MarshalByRefObject_GetLifetimeServicePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_MarshalByRefObject_t, - ffi.Pointer)>>( - 'System_MarshalByRefObject_GetLifetimeService'); - late final _System_MarshalByRefObject_GetLifetimeService = - _System_MarshalByRefObject_GetLifetimeServicePtr.asFunction< - System_Object_t Function( - System_MarshalByRefObject_t, ffi.Pointer)>(); - - System_Object_t System_MarshalByRefObject_InitializeLifetimeService( - System_MarshalByRefObject_t self, - ffi.Pointer outException, - ) { - return _System_MarshalByRefObject_InitializeLifetimeService( - self, - outException, - ); - } - - late final _System_MarshalByRefObject_InitializeLifetimeServicePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_MarshalByRefObject_t, - ffi.Pointer)>>( - 'System_MarshalByRefObject_InitializeLifetimeService'); - late final _System_MarshalByRefObject_InitializeLifetimeService = - _System_MarshalByRefObject_InitializeLifetimeServicePtr.asFunction< - System_Object_t Function( - System_MarshalByRefObject_t, ffi.Pointer)>(); - - System_Type_t System_MarshalByRefObject_TypeOf() { - return _System_MarshalByRefObject_TypeOf(); - } - - late final _System_MarshalByRefObject_TypeOfPtr = - _lookup>( - 'System_MarshalByRefObject_TypeOf'); - late final _System_MarshalByRefObject_TypeOf = - _System_MarshalByRefObject_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_MarshalByRefObject_Destroy( - System_MarshalByRefObject_t self, - ) { - return _System_MarshalByRefObject_Destroy( - self, - ); - } - - late final _System_MarshalByRefObject_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_MarshalByRefObject_Destroy'); - late final _System_MarshalByRefObject_Destroy = - _System_MarshalByRefObject_DestroyPtr.asFunction< - void Function(System_MarshalByRefObject_t)>(); - - void System_IDisposable_Dispose( - System_IDisposable_t self, - ffi.Pointer outException, - ) { - return _System_IDisposable_Dispose( - self, - outException, - ); - } - - late final _System_IDisposable_DisposePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IDisposable_t, - ffi.Pointer)>>('System_IDisposable_Dispose'); - late final _System_IDisposable_Dispose = - _System_IDisposable_DisposePtr.asFunction< - void Function( - System_IDisposable_t, ffi.Pointer)>(); - - System_Type_t System_IDisposable_TypeOf() { - return _System_IDisposable_TypeOf(); - } - - late final _System_IDisposable_TypeOfPtr = - _lookup>( - 'System_IDisposable_TypeOf'); - late final _System_IDisposable_TypeOf = - _System_IDisposable_TypeOfPtr.asFunction(); - - void System_IDisposable_Destroy( - System_IDisposable_t self, - ) { - return _System_IDisposable_Destroy( - self, - ); - } - - late final _System_IDisposable_DestroyPtr = - _lookup>( - 'System_IDisposable_Destroy'); - late final _System_IDisposable_Destroy = _System_IDisposable_DestroyPtr - .asFunction(); - - System_Threading_Tasks_ValueTask_t System_IAsyncDisposable_DisposeAsync( - System_IAsyncDisposable_t self, - ffi.Pointer outException, - ) { - return _System_IAsyncDisposable_DisposeAsync( - self, - outException, - ); - } - - late final _System_IAsyncDisposable_DisposeAsyncPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_ValueTask_t Function( - System_IAsyncDisposable_t, ffi.Pointer)>>( - 'System_IAsyncDisposable_DisposeAsync'); - late final _System_IAsyncDisposable_DisposeAsync = - _System_IAsyncDisposable_DisposeAsyncPtr.asFunction< - System_Threading_Tasks_ValueTask_t Function( - System_IAsyncDisposable_t, ffi.Pointer)>(); - - System_Type_t System_IAsyncDisposable_TypeOf() { - return _System_IAsyncDisposable_TypeOf(); - } - - late final _System_IAsyncDisposable_TypeOfPtr = - _lookup>( - 'System_IAsyncDisposable_TypeOf'); - late final _System_IAsyncDisposable_TypeOf = - _System_IAsyncDisposable_TypeOfPtr.asFunction(); - - void System_IAsyncDisposable_Destroy( - System_IAsyncDisposable_t self, - ) { - return _System_IAsyncDisposable_Destroy( - self, - ); - } - - late final _System_IAsyncDisposable_DestroyPtr = - _lookup>( - 'System_IAsyncDisposable_Destroy'); - late final _System_IAsyncDisposable_Destroy = - _System_IAsyncDisposable_DestroyPtr.asFunction< - void Function(System_IAsyncDisposable_t)>(); - - System_Threading_Tasks_ValueTask_t - System_Threading_Tasks_ValueTask_FromCanceled( - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_FromCanceled( - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_FromCanceledPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_ValueTask_t Function( - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_FromCanceled'); - late final _System_Threading_Tasks_ValueTask_FromCanceled = - _System_Threading_Tasks_ValueTask_FromCanceledPtr.asFunction< - System_Threading_Tasks_ValueTask_t Function( - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_ValueTask_t - System_Threading_Tasks_ValueTask_FromException( - System_Exception_t exception, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_FromException( - exception, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_FromExceptionPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_ValueTask_t Function( - System_Exception_t, ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_FromException'); - late final _System_Threading_Tasks_ValueTask_FromException = - _System_Threading_Tasks_ValueTask_FromExceptionPtr.asFunction< - System_Threading_Tasks_ValueTask_t Function( - System_Exception_t, ffi.Pointer)>(); - - int System_Threading_Tasks_ValueTask_GetHashCode( - System_Threading_Tasks_ValueTask_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_GetHashCode( - self, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_GetHashCode'); - late final _System_Threading_Tasks_ValueTask_GetHashCode = - _System_Threading_Tasks_ValueTask_GetHashCodePtr.asFunction< - int Function(System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_ValueTask_Equals( - System_Threading_Tasks_ValueTask_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_Equals( - self, - obj, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_Tasks_ValueTask_t, - System_Object_t, ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_Equals'); - late final _System_Threading_Tasks_ValueTask_Equals = - _System_Threading_Tasks_ValueTask_EqualsPtr.asFunction< - bool Function(System_Threading_Tasks_ValueTask_t, System_Object_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_ValueTask_Equals_1( - System_Threading_Tasks_ValueTask_t self, - System_Threading_Tasks_ValueTask_t other, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_Equals_1( - self, - other, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Threading_Tasks_ValueTask_t, - System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_Equals_1'); - late final _System_Threading_Tasks_ValueTask_Equals_1 = - _System_Threading_Tasks_ValueTask_Equals_1Ptr.asFunction< - bool Function( - System_Threading_Tasks_ValueTask_t, - System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_ValueTask_AsTask( - System_Threading_Tasks_ValueTask_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_AsTask( - self, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_AsTaskPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_AsTask'); - late final _System_Threading_Tasks_ValueTask_AsTask = - _System_Threading_Tasks_ValueTask_AsTaskPtr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>(); - - System_Threading_Tasks_ValueTask_t System_Threading_Tasks_ValueTask_Preserve( - System_Threading_Tasks_ValueTask_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_Preserve( - self, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_PreservePtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_ValueTask_t Function( - System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_Preserve'); - late final _System_Threading_Tasks_ValueTask_Preserve = - _System_Threading_Tasks_ValueTask_PreservePtr.asFunction< - System_Threading_Tasks_ValueTask_t Function( - System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_ValueTaskAwaiter_t - System_Threading_Tasks_ValueTask_GetAwaiter( - System_Threading_Tasks_ValueTask_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_GetAwaiter( - self, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_GetAwaiterPtr = _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_ValueTaskAwaiter_t Function( - System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_GetAwaiter'); - late final _System_Threading_Tasks_ValueTask_GetAwaiter = - _System_Threading_Tasks_ValueTask_GetAwaiterPtr.asFunction< - System_Runtime_CompilerServices_ValueTaskAwaiter_t Function( - System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t - System_Threading_Tasks_ValueTask_ConfigureAwait( - System_Threading_Tasks_ValueTask_t self, - bool continueOnCapturedContext, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_ConfigureAwait( - self, - continueOnCapturedContext, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_ConfigureAwaitPtr = _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t Function( - System_Threading_Tasks_ValueTask_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_ConfigureAwait'); - late final _System_Threading_Tasks_ValueTask_ConfigureAwait = - _System_Threading_Tasks_ValueTask_ConfigureAwaitPtr.asFunction< - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t Function( - System_Threading_Tasks_ValueTask_t, - bool, - ffi.Pointer)>(); - - System_Threading_Tasks_ValueTask_t System_Threading_Tasks_ValueTask_Create( - System_Threading_Tasks_Task_t task, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_Create( - task, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_CreatePtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_ValueTask_t Function( - System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_Create'); - late final _System_Threading_Tasks_ValueTask_Create = - _System_Threading_Tasks_ValueTask_CreatePtr.asFunction< - System_Threading_Tasks_ValueTask_t Function( - System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - System_Threading_Tasks_ValueTask_t System_Threading_Tasks_ValueTask_Create_1( - System_Threading_Tasks_Sources_IValueTaskSource_t source, - int token, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_Create_1( - source, - token, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_ValueTask_t Function( - System_Threading_Tasks_Sources_IValueTaskSource_t, - ffi.Int16, - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_Create_1'); - late final _System_Threading_Tasks_ValueTask_Create_1 = - _System_Threading_Tasks_ValueTask_Create_1Ptr.asFunction< - System_Threading_Tasks_ValueTask_t Function( - System_Threading_Tasks_Sources_IValueTaskSource_t, - int, - ffi.Pointer)>(); - - System_Threading_Tasks_ValueTask_t - System_Threading_Tasks_ValueTask_CompletedTask_Get( - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_CompletedTask_Get( - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_CompletedTask_GetPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_ValueTask_t Function( - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_CompletedTask_Get'); - late final _System_Threading_Tasks_ValueTask_CompletedTask_Get = - _System_Threading_Tasks_ValueTask_CompletedTask_GetPtr.asFunction< - System_Threading_Tasks_ValueTask_t Function( - ffi.Pointer)>(); - - bool System_Threading_Tasks_ValueTask_IsCompleted_Get( - System_Threading_Tasks_ValueTask_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_IsCompleted_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_IsCompleted_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_IsCompleted_Get'); - late final _System_Threading_Tasks_ValueTask_IsCompleted_Get = - _System_Threading_Tasks_ValueTask_IsCompleted_GetPtr.asFunction< - bool Function(System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_ValueTask_IsCompletedSuccessfully_Get( - System_Threading_Tasks_ValueTask_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_IsCompletedSuccessfully_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_IsCompletedSuccessfully_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_IsCompletedSuccessfully_Get'); - late final _System_Threading_Tasks_ValueTask_IsCompletedSuccessfully_Get = - _System_Threading_Tasks_ValueTask_IsCompletedSuccessfully_GetPtr - .asFunction< - bool Function(System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_ValueTask_IsFaulted_Get( - System_Threading_Tasks_ValueTask_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_IsFaulted_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_IsFaulted_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_IsFaulted_Get'); - late final _System_Threading_Tasks_ValueTask_IsFaulted_Get = - _System_Threading_Tasks_ValueTask_IsFaulted_GetPtr.asFunction< - bool Function(System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_ValueTask_IsCanceled_Get( - System_Threading_Tasks_ValueTask_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_IsCanceled_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_IsCanceled_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_IsCanceled_Get'); - late final _System_Threading_Tasks_ValueTask_IsCanceled_Get = - _System_Threading_Tasks_ValueTask_IsCanceled_GetPtr.asFunction< - bool Function(System_Threading_Tasks_ValueTask_t, - ffi.Pointer)>(); - - System_Threading_Tasks_ValueTask_t System_Threading_Tasks_ValueTask_Create_2( - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_ValueTask_Create_2( - outException, - ); - } - - late final _System_Threading_Tasks_ValueTask_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_ValueTask_t Function( - ffi.Pointer)>>( - 'System_Threading_Tasks_ValueTask_Create_2'); - late final _System_Threading_Tasks_ValueTask_Create_2 = - _System_Threading_Tasks_ValueTask_Create_2Ptr.asFunction< - System_Threading_Tasks_ValueTask_t Function( - ffi.Pointer)>(); - - System_Type_t System_Threading_Tasks_ValueTask_TypeOf() { - return _System_Threading_Tasks_ValueTask_TypeOf(); - } - - late final _System_Threading_Tasks_ValueTask_TypeOfPtr = - _lookup>( - 'System_Threading_Tasks_ValueTask_TypeOf'); - late final _System_Threading_Tasks_ValueTask_TypeOf = - _System_Threading_Tasks_ValueTask_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Threading_Tasks_ValueTask_Destroy( - System_Threading_Tasks_ValueTask_t self, - ) { - return _System_Threading_Tasks_ValueTask_Destroy( - self, - ); - } - - late final _System_Threading_Tasks_ValueTask_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_Tasks_ValueTask_t)>>( - 'System_Threading_Tasks_ValueTask_Destroy'); - late final _System_Threading_Tasks_ValueTask_Destroy = - _System_Threading_Tasks_ValueTask_DestroyPtr.asFunction< - void Function(System_Threading_Tasks_ValueTask_t)>(); - - System_Threading_CancellationTokenRegistration_t - System_Threading_CancellationToken_Register( - System_Threading_CancellationToken_t self, - System_Action_t callback, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationToken_Register( - self, - callback, - outException, - ); - } - - late final _System_Threading_CancellationToken_RegisterPtr = _lookup< - ffi.NativeFunction< - System_Threading_CancellationTokenRegistration_t Function( - System_Threading_CancellationToken_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Threading_CancellationToken_Register'); - late final _System_Threading_CancellationToken_Register = - _System_Threading_CancellationToken_RegisterPtr.asFunction< - System_Threading_CancellationTokenRegistration_t Function( - System_Threading_CancellationToken_t, - System_Action_t, - ffi.Pointer)>(); - - System_Threading_CancellationTokenRegistration_t - System_Threading_CancellationToken_Register_1( - System_Threading_CancellationToken_t self, - System_Action_t callback, - bool useSynchronizationContext, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationToken_Register_1( - self, - callback, - useSynchronizationContext, - outException, - ); - } - - late final _System_Threading_CancellationToken_Register_1Ptr = _lookup< - ffi.NativeFunction< - System_Threading_CancellationTokenRegistration_t Function( - System_Threading_CancellationToken_t, - System_Action_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Threading_CancellationToken_Register_1'); - late final _System_Threading_CancellationToken_Register_1 = - _System_Threading_CancellationToken_Register_1Ptr.asFunction< - System_Threading_CancellationTokenRegistration_t Function( - System_Threading_CancellationToken_t, - System_Action_t, - bool, - ffi.Pointer)>(); - - bool System_Threading_CancellationToken_Equals( - System_Threading_CancellationToken_t self, - System_Threading_CancellationToken_t other, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationToken_Equals( - self, - other, - outException, - ); - } - - late final _System_Threading_CancellationToken_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Threading_CancellationToken_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_CancellationToken_Equals'); - late final _System_Threading_CancellationToken_Equals = - _System_Threading_CancellationToken_EqualsPtr.asFunction< - bool Function( - System_Threading_CancellationToken_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - bool System_Threading_CancellationToken_Equals_1( - System_Threading_CancellationToken_t self, - System_Object_t other, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationToken_Equals_1( - self, - other, - outException, - ); - } - - late final _System_Threading_CancellationToken_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_CancellationToken_t, - System_Object_t, ffi.Pointer)>>( - 'System_Threading_CancellationToken_Equals_1'); - late final _System_Threading_CancellationToken_Equals_1 = - _System_Threading_CancellationToken_Equals_1Ptr.asFunction< - bool Function(System_Threading_CancellationToken_t, System_Object_t, - ffi.Pointer)>(); - - int System_Threading_CancellationToken_GetHashCode( - System_Threading_CancellationToken_t self, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationToken_GetHashCode( - self, - outException, - ); - } - - late final _System_Threading_CancellationToken_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_CancellationToken_GetHashCode'); - late final _System_Threading_CancellationToken_GetHashCode = - _System_Threading_CancellationToken_GetHashCodePtr.asFunction< - int Function(System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - void System_Threading_CancellationToken_ThrowIfCancellationRequested( - System_Threading_CancellationToken_t self, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationToken_ThrowIfCancellationRequested( - self, - outException, - ); - } - - late final _System_Threading_CancellationToken_ThrowIfCancellationRequestedPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_CancellationToken_ThrowIfCancellationRequested'); - late final _System_Threading_CancellationToken_ThrowIfCancellationRequested = - _System_Threading_CancellationToken_ThrowIfCancellationRequestedPtr - .asFunction< - void Function(System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_CancellationToken_t - System_Threading_CancellationToken_Create( - bool canceled, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationToken_Create( - canceled, - outException, - ); - } - - late final _System_Threading_CancellationToken_CreatePtr = _lookup< - ffi.NativeFunction< - System_Threading_CancellationToken_t Function( - ffi.Bool, ffi.Pointer)>>( - 'System_Threading_CancellationToken_Create'); - late final _System_Threading_CancellationToken_Create = - _System_Threading_CancellationToken_CreatePtr.asFunction< - System_Threading_CancellationToken_t Function( - bool, ffi.Pointer)>(); - - System_Threading_CancellationToken_t - System_Threading_CancellationToken_None_Get( - ffi.Pointer outException, - ) { - return _System_Threading_CancellationToken_None_Get( - outException, - ); - } - - late final _System_Threading_CancellationToken_None_GetPtr = _lookup< - ffi.NativeFunction< - System_Threading_CancellationToken_t Function( - ffi.Pointer)>>( - 'System_Threading_CancellationToken_None_Get'); - late final _System_Threading_CancellationToken_None_Get = - _System_Threading_CancellationToken_None_GetPtr.asFunction< - System_Threading_CancellationToken_t Function( - ffi.Pointer)>(); - - bool System_Threading_CancellationToken_IsCancellationRequested_Get( - System_Threading_CancellationToken_t self, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationToken_IsCancellationRequested_Get( - self, - outException, - ); - } - - late final _System_Threading_CancellationToken_IsCancellationRequested_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_CancellationToken_IsCancellationRequested_Get'); - late final _System_Threading_CancellationToken_IsCancellationRequested_Get = - _System_Threading_CancellationToken_IsCancellationRequested_GetPtr - .asFunction< - bool Function(System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - bool System_Threading_CancellationToken_CanBeCanceled_Get( - System_Threading_CancellationToken_t self, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationToken_CanBeCanceled_Get( - self, - outException, - ); - } - - late final _System_Threading_CancellationToken_CanBeCanceled_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_CancellationToken_CanBeCanceled_Get'); - late final _System_Threading_CancellationToken_CanBeCanceled_Get = - _System_Threading_CancellationToken_CanBeCanceled_GetPtr.asFunction< - bool Function(System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_WaitHandle_t - System_Threading_CancellationToken_WaitHandle_Get( - System_Threading_CancellationToken_t self, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationToken_WaitHandle_Get( - self, - outException, - ); - } - - late final _System_Threading_CancellationToken_WaitHandle_GetPtr = _lookup< - ffi.NativeFunction< - System_Threading_WaitHandle_t Function( - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_CancellationToken_WaitHandle_Get'); - late final _System_Threading_CancellationToken_WaitHandle_Get = - _System_Threading_CancellationToken_WaitHandle_GetPtr.asFunction< - System_Threading_WaitHandle_t Function( - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_CancellationToken_t - System_Threading_CancellationToken_Create_1( - ffi.Pointer outException, - ) { - return _System_Threading_CancellationToken_Create_1( - outException, - ); - } - - late final _System_Threading_CancellationToken_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Threading_CancellationToken_t Function( - ffi.Pointer)>>( - 'System_Threading_CancellationToken_Create_1'); - late final _System_Threading_CancellationToken_Create_1 = - _System_Threading_CancellationToken_Create_1Ptr.asFunction< - System_Threading_CancellationToken_t Function( - ffi.Pointer)>(); - - System_Type_t System_Threading_CancellationToken_TypeOf() { - return _System_Threading_CancellationToken_TypeOf(); - } - - late final _System_Threading_CancellationToken_TypeOfPtr = - _lookup>( - 'System_Threading_CancellationToken_TypeOf'); - late final _System_Threading_CancellationToken_TypeOf = - _System_Threading_CancellationToken_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Threading_CancellationToken_Destroy( - System_Threading_CancellationToken_t self, - ) { - return _System_Threading_CancellationToken_Destroy( - self, - ); - } - - late final _System_Threading_CancellationToken_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_CancellationToken_t)>>( - 'System_Threading_CancellationToken_Destroy'); - late final _System_Threading_CancellationToken_Destroy = - _System_Threading_CancellationToken_DestroyPtr.asFunction< - void Function(System_Threading_CancellationToken_t)>(); - - void System_Threading_WaitHandle_Close( - System_Threading_WaitHandle_t self, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_Close( - self, - outException, - ); - } - - late final _System_Threading_WaitHandle_ClosePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_WaitHandle_t, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_Close'); - late final _System_Threading_WaitHandle_Close = - _System_Threading_WaitHandle_ClosePtr.asFunction< - void Function(System_Threading_WaitHandle_t, - ffi.Pointer)>(); - - void System_Threading_WaitHandle_Dispose( - System_Threading_WaitHandle_t self, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_Dispose( - self, - outException, - ); - } - - late final _System_Threading_WaitHandle_DisposePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_WaitHandle_t, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_Dispose'); - late final _System_Threading_WaitHandle_Dispose = - _System_Threading_WaitHandle_DisposePtr.asFunction< - void Function(System_Threading_WaitHandle_t, - ffi.Pointer)>(); - - bool System_Threading_WaitHandle_WaitOne( - System_Threading_WaitHandle_t self, - int millisecondsTimeout, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitOne( - self, - millisecondsTimeout, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitOnePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_WaitHandle_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitOne'); - late final _System_Threading_WaitHandle_WaitOne = - _System_Threading_WaitHandle_WaitOnePtr.asFunction< - bool Function(System_Threading_WaitHandle_t, int, - ffi.Pointer)>(); - - bool System_Threading_WaitHandle_WaitOne_1( - System_Threading_WaitHandle_t self, - System_TimeSpan_t timeout, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitOne_1( - self, - timeout, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitOne_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_WaitHandle_t, - System_TimeSpan_t, ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitOne_1'); - late final _System_Threading_WaitHandle_WaitOne_1 = - _System_Threading_WaitHandle_WaitOne_1Ptr.asFunction< - bool Function(System_Threading_WaitHandle_t, System_TimeSpan_t, - ffi.Pointer)>(); - - bool System_Threading_WaitHandle_WaitOne_2( - System_Threading_WaitHandle_t self, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitOne_2( - self, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitOne_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_WaitHandle_t, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitOne_2'); - late final _System_Threading_WaitHandle_WaitOne_2 = - _System_Threading_WaitHandle_WaitOne_2Ptr.asFunction< - bool Function(System_Threading_WaitHandle_t, - ffi.Pointer)>(); - - bool System_Threading_WaitHandle_WaitOne_3( - System_Threading_WaitHandle_t self, - int millisecondsTimeout, - bool exitContext, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitOne_3( - self, - millisecondsTimeout, - exitContext, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitOne_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_WaitHandle_t, ffi.Int32, - ffi.Bool, ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitOne_3'); - late final _System_Threading_WaitHandle_WaitOne_3 = - _System_Threading_WaitHandle_WaitOne_3Ptr.asFunction< - bool Function(System_Threading_WaitHandle_t, int, bool, - ffi.Pointer)>(); - - bool System_Threading_WaitHandle_WaitOne_4( - System_Threading_WaitHandle_t self, - System_TimeSpan_t timeout, - bool exitContext, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitOne_4( - self, - timeout, - exitContext, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitOne_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Threading_WaitHandle_t, - System_TimeSpan_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitOne_4'); - late final _System_Threading_WaitHandle_WaitOne_4 = - _System_Threading_WaitHandle_WaitOne_4Ptr.asFunction< - bool Function(System_Threading_WaitHandle_t, System_TimeSpan_t, bool, - ffi.Pointer)>(); - - bool System_Threading_WaitHandle_WaitAll( - System_Threading_WaitHandle_Array_t waitHandles, - int millisecondsTimeout, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitAll( - waitHandles, - millisecondsTimeout, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitAllPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_WaitHandle_Array_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitAll'); - late final _System_Threading_WaitHandle_WaitAll = - _System_Threading_WaitHandle_WaitAllPtr.asFunction< - bool Function(System_Threading_WaitHandle_Array_t, int, - ffi.Pointer)>(); - - bool System_Threading_WaitHandle_WaitAll_1( - System_Threading_WaitHandle_Array_t waitHandles, - System_TimeSpan_t timeout, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitAll_1( - waitHandles, - timeout, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitAll_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_WaitHandle_Array_t, - System_TimeSpan_t, ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitAll_1'); - late final _System_Threading_WaitHandle_WaitAll_1 = - _System_Threading_WaitHandle_WaitAll_1Ptr.asFunction< - bool Function(System_Threading_WaitHandle_Array_t, System_TimeSpan_t, - ffi.Pointer)>(); - - bool System_Threading_WaitHandle_WaitAll_2( - System_Threading_WaitHandle_Array_t waitHandles, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitAll_2( - waitHandles, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitAll_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_WaitHandle_Array_t, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitAll_2'); - late final _System_Threading_WaitHandle_WaitAll_2 = - _System_Threading_WaitHandle_WaitAll_2Ptr.asFunction< - bool Function(System_Threading_WaitHandle_Array_t, - ffi.Pointer)>(); - - bool System_Threading_WaitHandle_WaitAll_3( - System_Threading_WaitHandle_Array_t waitHandles, - int millisecondsTimeout, - bool exitContext, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitAll_3( - waitHandles, - millisecondsTimeout, - exitContext, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitAll_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_WaitHandle_Array_t, ffi.Int32, - ffi.Bool, ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitAll_3'); - late final _System_Threading_WaitHandle_WaitAll_3 = - _System_Threading_WaitHandle_WaitAll_3Ptr.asFunction< - bool Function(System_Threading_WaitHandle_Array_t, int, bool, - ffi.Pointer)>(); - - bool System_Threading_WaitHandle_WaitAll_4( - System_Threading_WaitHandle_Array_t waitHandles, - System_TimeSpan_t timeout, - bool exitContext, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitAll_4( - waitHandles, - timeout, - exitContext, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitAll_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Threading_WaitHandle_Array_t, - System_TimeSpan_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitAll_4'); - late final _System_Threading_WaitHandle_WaitAll_4 = - _System_Threading_WaitHandle_WaitAll_4Ptr.asFunction< - bool Function(System_Threading_WaitHandle_Array_t, System_TimeSpan_t, - bool, ffi.Pointer)>(); - - int System_Threading_WaitHandle_WaitAny( - System_Threading_WaitHandle_Array_t waitHandles, - int millisecondsTimeout, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitAny( - waitHandles, - millisecondsTimeout, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitAnyPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_WaitHandle_Array_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitAny'); - late final _System_Threading_WaitHandle_WaitAny = - _System_Threading_WaitHandle_WaitAnyPtr.asFunction< - int Function(System_Threading_WaitHandle_Array_t, int, - ffi.Pointer)>(); - - int System_Threading_WaitHandle_WaitAny_1( - System_Threading_WaitHandle_Array_t waitHandles, - System_TimeSpan_t timeout, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitAny_1( - waitHandles, - timeout, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitAny_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_WaitHandle_Array_t, - System_TimeSpan_t, ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitAny_1'); - late final _System_Threading_WaitHandle_WaitAny_1 = - _System_Threading_WaitHandle_WaitAny_1Ptr.asFunction< - int Function(System_Threading_WaitHandle_Array_t, System_TimeSpan_t, - ffi.Pointer)>(); - - int System_Threading_WaitHandle_WaitAny_2( - System_Threading_WaitHandle_Array_t waitHandles, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitAny_2( - waitHandles, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitAny_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_WaitHandle_Array_t, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitAny_2'); - late final _System_Threading_WaitHandle_WaitAny_2 = - _System_Threading_WaitHandle_WaitAny_2Ptr.asFunction< - int Function(System_Threading_WaitHandle_Array_t, - ffi.Pointer)>(); - - int System_Threading_WaitHandle_WaitAny_3( - System_Threading_WaitHandle_Array_t waitHandles, - int millisecondsTimeout, - bool exitContext, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitAny_3( - waitHandles, - millisecondsTimeout, - exitContext, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitAny_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_WaitHandle_Array_t, ffi.Int32, - ffi.Bool, ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitAny_3'); - late final _System_Threading_WaitHandle_WaitAny_3 = - _System_Threading_WaitHandle_WaitAny_3Ptr.asFunction< - int Function(System_Threading_WaitHandle_Array_t, int, bool, - ffi.Pointer)>(); - - int System_Threading_WaitHandle_WaitAny_4( - System_Threading_WaitHandle_Array_t waitHandles, - System_TimeSpan_t timeout, - bool exitContext, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_WaitAny_4( - waitHandles, - timeout, - exitContext, - outException, - ); - } - - late final _System_Threading_WaitHandle_WaitAny_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Threading_WaitHandle_Array_t, - System_TimeSpan_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_WaitAny_4'); - late final _System_Threading_WaitHandle_WaitAny_4 = - _System_Threading_WaitHandle_WaitAny_4Ptr.asFunction< - int Function(System_Threading_WaitHandle_Array_t, System_TimeSpan_t, - bool, ffi.Pointer)>(); - - bool System_Threading_WaitHandle_SignalAndWait( - System_Threading_WaitHandle_t toSignal, - System_Threading_WaitHandle_t toWaitOn, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_SignalAndWait( - toSignal, - toWaitOn, - outException, - ); - } - - late final _System_Threading_WaitHandle_SignalAndWaitPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Threading_WaitHandle_t, - System_Threading_WaitHandle_t, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_SignalAndWait'); - late final _System_Threading_WaitHandle_SignalAndWait = - _System_Threading_WaitHandle_SignalAndWaitPtr.asFunction< - bool Function( - System_Threading_WaitHandle_t, - System_Threading_WaitHandle_t, - ffi.Pointer)>(); - - bool System_Threading_WaitHandle_SignalAndWait_1( - System_Threading_WaitHandle_t toSignal, - System_Threading_WaitHandle_t toWaitOn, - System_TimeSpan_t timeout, - bool exitContext, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_SignalAndWait_1( - toSignal, - toWaitOn, - timeout, - exitContext, - outException, - ); - } - - late final _System_Threading_WaitHandle_SignalAndWait_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Threading_WaitHandle_t, - System_Threading_WaitHandle_t, - System_TimeSpan_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_SignalAndWait_1'); - late final _System_Threading_WaitHandle_SignalAndWait_1 = - _System_Threading_WaitHandle_SignalAndWait_1Ptr.asFunction< - bool Function( - System_Threading_WaitHandle_t, - System_Threading_WaitHandle_t, - System_TimeSpan_t, - bool, - ffi.Pointer)>(); - - bool System_Threading_WaitHandle_SignalAndWait_2( - System_Threading_WaitHandle_t toSignal, - System_Threading_WaitHandle_t toWaitOn, - int millisecondsTimeout, - bool exitContext, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_SignalAndWait_2( - toSignal, - toWaitOn, - millisecondsTimeout, - exitContext, - outException, - ); - } - - late final _System_Threading_WaitHandle_SignalAndWait_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Threading_WaitHandle_t, - System_Threading_WaitHandle_t, - ffi.Int32, - ffi.Bool, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_SignalAndWait_2'); - late final _System_Threading_WaitHandle_SignalAndWait_2 = - _System_Threading_WaitHandle_SignalAndWait_2Ptr.asFunction< - bool Function( - System_Threading_WaitHandle_t, - System_Threading_WaitHandle_t, - int, - bool, - ffi.Pointer)>(); - - int System_Threading_WaitHandle_Handle_Get( - System_Threading_WaitHandle_t self, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_Handle_Get( - self, - outException, - ); - } - - late final _System_Threading_WaitHandle_Handle_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Threading_WaitHandle_t, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_Handle_Get'); - late final _System_Threading_WaitHandle_Handle_Get = - _System_Threading_WaitHandle_Handle_GetPtr.asFunction< - int Function(System_Threading_WaitHandle_t, - ffi.Pointer)>(); - - void System_Threading_WaitHandle_Handle_Set( - System_Threading_WaitHandle_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_Handle_Set( - self, - value, - outException, - ); - } - - late final _System_Threading_WaitHandle_Handle_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_WaitHandle_t, ffi.Long, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_Handle_Set'); - late final _System_Threading_WaitHandle_Handle_Set = - _System_Threading_WaitHandle_Handle_SetPtr.asFunction< - void Function(System_Threading_WaitHandle_t, int, - ffi.Pointer)>(); - - Microsoft_Win32_SafeHandles_SafeWaitHandle_t - System_Threading_WaitHandle_SafeWaitHandle_Get( - System_Threading_WaitHandle_t self, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_SafeWaitHandle_Get( - self, - outException, - ); - } - - late final _System_Threading_WaitHandle_SafeWaitHandle_GetPtr = _lookup< - ffi.NativeFunction< - Microsoft_Win32_SafeHandles_SafeWaitHandle_t Function( - System_Threading_WaitHandle_t, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_SafeWaitHandle_Get'); - late final _System_Threading_WaitHandle_SafeWaitHandle_Get = - _System_Threading_WaitHandle_SafeWaitHandle_GetPtr.asFunction< - Microsoft_Win32_SafeHandles_SafeWaitHandle_t Function( - System_Threading_WaitHandle_t, - ffi.Pointer)>(); - - void System_Threading_WaitHandle_SafeWaitHandle_Set( - System_Threading_WaitHandle_t self, - Microsoft_Win32_SafeHandles_SafeWaitHandle_t value, - ffi.Pointer outException, - ) { - return _System_Threading_WaitHandle_SafeWaitHandle_Set( - self, - value, - outException, - ); - } - - late final _System_Threading_WaitHandle_SafeWaitHandle_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Threading_WaitHandle_t, - Microsoft_Win32_SafeHandles_SafeWaitHandle_t, - ffi.Pointer)>>( - 'System_Threading_WaitHandle_SafeWaitHandle_Set'); - late final _System_Threading_WaitHandle_SafeWaitHandle_Set = - _System_Threading_WaitHandle_SafeWaitHandle_SetPtr.asFunction< - void Function( - System_Threading_WaitHandle_t, - Microsoft_Win32_SafeHandles_SafeWaitHandle_t, - ffi.Pointer)>(); - - int System_Threading_WaitHandle_WaitTimeout_Get() { - return _System_Threading_WaitHandle_WaitTimeout_Get(); - } - - late final _System_Threading_WaitHandle_WaitTimeout_GetPtr = - _lookup>( - 'System_Threading_WaitHandle_WaitTimeout_Get'); - late final _System_Threading_WaitHandle_WaitTimeout_Get = - _System_Threading_WaitHandle_WaitTimeout_GetPtr.asFunction< - int Function()>(); - - System_Type_t System_Threading_WaitHandle_TypeOf() { - return _System_Threading_WaitHandle_TypeOf(); - } - - late final _System_Threading_WaitHandle_TypeOfPtr = - _lookup>( - 'System_Threading_WaitHandle_TypeOf'); - late final _System_Threading_WaitHandle_TypeOf = - _System_Threading_WaitHandle_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Threading_WaitHandle_Destroy( - System_Threading_WaitHandle_t self, - ) { - return _System_Threading_WaitHandle_Destroy( - self, - ); - } - - late final _System_Threading_WaitHandle_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_Threading_WaitHandle_Destroy'); - late final _System_Threading_WaitHandle_Destroy = - _System_Threading_WaitHandle_DestroyPtr.asFunction< - void Function(System_Threading_WaitHandle_t)>(); - - System_Type_t System_IntPtr_TypeOf() { - return _System_IntPtr_TypeOf(); - } - - late final _System_IntPtr_TypeOfPtr = - _lookup>( - 'System_IntPtr_TypeOf'); - late final _System_IntPtr_TypeOf = - _System_IntPtr_TypeOfPtr.asFunction(); - - Microsoft_Win32_SafeHandles_SafeWaitHandle_t - Microsoft_Win32_SafeHandles_SafeWaitHandle_Create( - ffi.Pointer outException, - ) { - return _Microsoft_Win32_SafeHandles_SafeWaitHandle_Create( - outException, - ); - } - - late final _Microsoft_Win32_SafeHandles_SafeWaitHandle_CreatePtr = _lookup< - ffi.NativeFunction< - Microsoft_Win32_SafeHandles_SafeWaitHandle_t Function( - ffi.Pointer)>>( - 'Microsoft_Win32_SafeHandles_SafeWaitHandle_Create'); - late final _Microsoft_Win32_SafeHandles_SafeWaitHandle_Create = - _Microsoft_Win32_SafeHandles_SafeWaitHandle_CreatePtr.asFunction< - Microsoft_Win32_SafeHandles_SafeWaitHandle_t Function( - ffi.Pointer)>(); - - Microsoft_Win32_SafeHandles_SafeWaitHandle_t - Microsoft_Win32_SafeHandles_SafeWaitHandle_Create_1( - int existingHandle, - bool ownsHandle, - ffi.Pointer outException, - ) { - return _Microsoft_Win32_SafeHandles_SafeWaitHandle_Create_1( - existingHandle, - ownsHandle, - outException, - ); - } - - late final _Microsoft_Win32_SafeHandles_SafeWaitHandle_Create_1Ptr = _lookup< - ffi.NativeFunction< - Microsoft_Win32_SafeHandles_SafeWaitHandle_t Function( - ffi.Long, ffi.Bool, ffi.Pointer)>>( - 'Microsoft_Win32_SafeHandles_SafeWaitHandle_Create_1'); - late final _Microsoft_Win32_SafeHandles_SafeWaitHandle_Create_1 = - _Microsoft_Win32_SafeHandles_SafeWaitHandle_Create_1Ptr.asFunction< - Microsoft_Win32_SafeHandles_SafeWaitHandle_t Function( - int, bool, ffi.Pointer)>(); - - System_Type_t Microsoft_Win32_SafeHandles_SafeWaitHandle_TypeOf() { - return _Microsoft_Win32_SafeHandles_SafeWaitHandle_TypeOf(); - } - - late final _Microsoft_Win32_SafeHandles_SafeWaitHandle_TypeOfPtr = - _lookup>( - 'Microsoft_Win32_SafeHandles_SafeWaitHandle_TypeOf'); - late final _Microsoft_Win32_SafeHandles_SafeWaitHandle_TypeOf = - _Microsoft_Win32_SafeHandles_SafeWaitHandle_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void Microsoft_Win32_SafeHandles_SafeWaitHandle_Destroy( - Microsoft_Win32_SafeHandles_SafeWaitHandle_t self, - ) { - return _Microsoft_Win32_SafeHandles_SafeWaitHandle_Destroy( - self, - ); - } - - late final _Microsoft_Win32_SafeHandles_SafeWaitHandle_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(Microsoft_Win32_SafeHandles_SafeWaitHandle_t)>>( - 'Microsoft_Win32_SafeHandles_SafeWaitHandle_Destroy'); - late final _Microsoft_Win32_SafeHandles_SafeWaitHandle_Destroy = - _Microsoft_Win32_SafeHandles_SafeWaitHandle_DestroyPtr.asFunction< - void Function(Microsoft_Win32_SafeHandles_SafeWaitHandle_t)>(); - - bool - Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_IsInvalid_Get( - Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_t self, - ffi.Pointer outException, - ) { - return _Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_IsInvalid_Get( - self, - outException, - ); - } - - late final _Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_IsInvalid_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_t, - ffi.Pointer)>>( - 'Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_IsInvalid_Get'); - late final _Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_IsInvalid_Get = - _Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_IsInvalid_GetPtr - .asFunction< - bool Function( - Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_t, - ffi.Pointer)>(); - - System_Type_t - Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_TypeOf() { - return _Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_TypeOf(); - } - - late final _Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_TypeOfPtr = - _lookup>( - 'Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_TypeOf'); - late final _Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_TypeOf = - _Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_TypeOfPtr - .asFunction(); - - void Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_Destroy( - Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_t self, - ) { - return _Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_Destroy( - self, - ); - } - - late final _Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_t)>>( - 'Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_Destroy'); - late final _Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_Destroy = - _Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_DestroyPtr - .asFunction< - void Function( - Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_t)>(); - - int System_Runtime_InteropServices_SafeHandle_DangerousGetHandle( - System_Runtime_InteropServices_SafeHandle_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_SafeHandle_DangerousGetHandle( - self, - outException, - ); - } - - late final _System_Runtime_InteropServices_SafeHandle_DangerousGetHandlePtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_SafeHandle_DangerousGetHandle'); - late final _System_Runtime_InteropServices_SafeHandle_DangerousGetHandle = - _System_Runtime_InteropServices_SafeHandle_DangerousGetHandlePtr - .asFunction< - int Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_SafeHandle_Close( - System_Runtime_InteropServices_SafeHandle_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_SafeHandle_Close( - self, - outException, - ); - } - - late final _System_Runtime_InteropServices_SafeHandle_ClosePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_SafeHandle_Close'); - late final _System_Runtime_InteropServices_SafeHandle_Close = - _System_Runtime_InteropServices_SafeHandle_ClosePtr.asFunction< - void Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_SafeHandle_Dispose( - System_Runtime_InteropServices_SafeHandle_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_SafeHandle_Dispose( - self, - outException, - ); - } - - late final _System_Runtime_InteropServices_SafeHandle_DisposePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_SafeHandle_Dispose'); - late final _System_Runtime_InteropServices_SafeHandle_Dispose = - _System_Runtime_InteropServices_SafeHandle_DisposePtr.asFunction< - void Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_SafeHandle_SetHandleAsInvalid( - System_Runtime_InteropServices_SafeHandle_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_SafeHandle_SetHandleAsInvalid( - self, - outException, - ); - } - - late final _System_Runtime_InteropServices_SafeHandle_SetHandleAsInvalidPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_SafeHandle_SetHandleAsInvalid'); - late final _System_Runtime_InteropServices_SafeHandle_SetHandleAsInvalid = - _System_Runtime_InteropServices_SafeHandle_SetHandleAsInvalidPtr - .asFunction< - void Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_SafeHandle_DangerousAddRef( - System_Runtime_InteropServices_SafeHandle_t self, - ffi.Pointer success, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_SafeHandle_DangerousAddRef( - self, - success, - outException, - ); - } - - late final _System_Runtime_InteropServices_SafeHandle_DangerousAddRefPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer, ffi.Pointer)>>( - 'System_Runtime_InteropServices_SafeHandle_DangerousAddRef'); - late final _System_Runtime_InteropServices_SafeHandle_DangerousAddRef = - _System_Runtime_InteropServices_SafeHandle_DangerousAddRefPtr.asFunction< - void Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer, ffi.Pointer)>(); - - void System_Runtime_InteropServices_SafeHandle_DangerousRelease( - System_Runtime_InteropServices_SafeHandle_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_SafeHandle_DangerousRelease( - self, - outException, - ); - } - - late final _System_Runtime_InteropServices_SafeHandle_DangerousReleasePtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_SafeHandle_DangerousRelease'); - late final _System_Runtime_InteropServices_SafeHandle_DangerousRelease = - _System_Runtime_InteropServices_SafeHandle_DangerousReleasePtr.asFunction< - void Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>(); - - bool System_Runtime_InteropServices_SafeHandle_IsClosed_Get( - System_Runtime_InteropServices_SafeHandle_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_SafeHandle_IsClosed_Get( - self, - outException, - ); - } - - late final _System_Runtime_InteropServices_SafeHandle_IsClosed_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_SafeHandle_IsClosed_Get'); - late final _System_Runtime_InteropServices_SafeHandle_IsClosed_Get = - _System_Runtime_InteropServices_SafeHandle_IsClosed_GetPtr.asFunction< - bool Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>(); - - bool System_Runtime_InteropServices_SafeHandle_IsInvalid_Get( - System_Runtime_InteropServices_SafeHandle_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_SafeHandle_IsInvalid_Get( - self, - outException, - ); - } - - late final _System_Runtime_InteropServices_SafeHandle_IsInvalid_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_SafeHandle_IsInvalid_Get'); - late final _System_Runtime_InteropServices_SafeHandle_IsInvalid_Get = - _System_Runtime_InteropServices_SafeHandle_IsInvalid_GetPtr.asFunction< - bool Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Pointer)>(); - - System_Type_t System_Runtime_InteropServices_SafeHandle_TypeOf() { - return _System_Runtime_InteropServices_SafeHandle_TypeOf(); - } - - late final _System_Runtime_InteropServices_SafeHandle_TypeOfPtr = - _lookup>( - 'System_Runtime_InteropServices_SafeHandle_TypeOf'); - late final _System_Runtime_InteropServices_SafeHandle_TypeOf = - _System_Runtime_InteropServices_SafeHandle_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Runtime_InteropServices_SafeHandle_Destroy( - System_Runtime_InteropServices_SafeHandle_t self, - ) { - return _System_Runtime_InteropServices_SafeHandle_Destroy( - self, - ); - } - - late final _System_Runtime_InteropServices_SafeHandle_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Runtime_InteropServices_SafeHandle_t)>>( - 'System_Runtime_InteropServices_SafeHandle_Destroy'); - late final _System_Runtime_InteropServices_SafeHandle_Destroy = - _System_Runtime_InteropServices_SafeHandle_DestroyPtr.asFunction< - void Function(System_Runtime_InteropServices_SafeHandle_t)>(); - - System_Type_t - System_Runtime_ConstrainedExecution_CriticalFinalizerObject_TypeOf() { - return _System_Runtime_ConstrainedExecution_CriticalFinalizerObject_TypeOf(); - } - - late final _System_Runtime_ConstrainedExecution_CriticalFinalizerObject_TypeOfPtr = - _lookup>( - 'System_Runtime_ConstrainedExecution_CriticalFinalizerObject_TypeOf'); - late final _System_Runtime_ConstrainedExecution_CriticalFinalizerObject_TypeOf = - _System_Runtime_ConstrainedExecution_CriticalFinalizerObject_TypeOfPtr - .asFunction(); - - void System_Runtime_ConstrainedExecution_CriticalFinalizerObject_Destroy( - System_Runtime_ConstrainedExecution_CriticalFinalizerObject_t self, - ) { - return _System_Runtime_ConstrainedExecution_CriticalFinalizerObject_Destroy( - self, - ); - } - - late final _System_Runtime_ConstrainedExecution_CriticalFinalizerObject_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_ConstrainedExecution_CriticalFinalizerObject_t)>>( - 'System_Runtime_ConstrainedExecution_CriticalFinalizerObject_Destroy'); - late final _System_Runtime_ConstrainedExecution_CriticalFinalizerObject_Destroy = - _System_Runtime_ConstrainedExecution_CriticalFinalizerObject_DestroyPtr - .asFunction< - void Function( - System_Runtime_ConstrainedExecution_CriticalFinalizerObject_t)>(); - - void System_Threading_CancellationTokenRegistration_Dispose( - System_Threading_CancellationTokenRegistration_t self, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationTokenRegistration_Dispose( - self, - outException, - ); - } - - late final _System_Threading_CancellationTokenRegistration_DisposePtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Threading_CancellationTokenRegistration_t, - ffi.Pointer)>>( - 'System_Threading_CancellationTokenRegistration_Dispose'); - late final _System_Threading_CancellationTokenRegistration_Dispose = - _System_Threading_CancellationTokenRegistration_DisposePtr.asFunction< - void Function(System_Threading_CancellationTokenRegistration_t, - ffi.Pointer)>(); - - System_Threading_Tasks_ValueTask_t - System_Threading_CancellationTokenRegistration_DisposeAsync( - System_Threading_CancellationTokenRegistration_t self, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationTokenRegistration_DisposeAsync( - self, - outException, - ); - } - - late final _System_Threading_CancellationTokenRegistration_DisposeAsyncPtr = - _lookup< - ffi.NativeFunction< - System_Threading_Tasks_ValueTask_t Function( - System_Threading_CancellationTokenRegistration_t, - ffi.Pointer)>>( - 'System_Threading_CancellationTokenRegistration_DisposeAsync'); - late final _System_Threading_CancellationTokenRegistration_DisposeAsync = - _System_Threading_CancellationTokenRegistration_DisposeAsyncPtr - .asFunction< - System_Threading_Tasks_ValueTask_t Function( - System_Threading_CancellationTokenRegistration_t, - ffi.Pointer)>(); - - bool System_Threading_CancellationTokenRegistration_Unregister( - System_Threading_CancellationTokenRegistration_t self, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationTokenRegistration_Unregister( - self, - outException, - ); - } - - late final _System_Threading_CancellationTokenRegistration_UnregisterPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Threading_CancellationTokenRegistration_t, - ffi.Pointer)>>( - 'System_Threading_CancellationTokenRegistration_Unregister'); - late final _System_Threading_CancellationTokenRegistration_Unregister = - _System_Threading_CancellationTokenRegistration_UnregisterPtr.asFunction< - bool Function(System_Threading_CancellationTokenRegistration_t, - ffi.Pointer)>(); - - bool System_Threading_CancellationTokenRegistration_Equals( - System_Threading_CancellationTokenRegistration_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationTokenRegistration_Equals( - self, - obj, - outException, - ); - } - - late final _System_Threading_CancellationTokenRegistration_EqualsPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Threading_CancellationTokenRegistration_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Threading_CancellationTokenRegistration_Equals'); - late final _System_Threading_CancellationTokenRegistration_Equals = - _System_Threading_CancellationTokenRegistration_EqualsPtr.asFunction< - bool Function(System_Threading_CancellationTokenRegistration_t, - System_Object_t, ffi.Pointer)>(); - - bool System_Threading_CancellationTokenRegistration_Equals_1( - System_Threading_CancellationTokenRegistration_t self, - System_Threading_CancellationTokenRegistration_t other, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationTokenRegistration_Equals_1( - self, - other, - outException, - ); - } - - late final _System_Threading_CancellationTokenRegistration_Equals_1Ptr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Threading_CancellationTokenRegistration_t, - System_Threading_CancellationTokenRegistration_t, - ffi.Pointer)>>( - 'System_Threading_CancellationTokenRegistration_Equals_1'); - late final _System_Threading_CancellationTokenRegistration_Equals_1 = - _System_Threading_CancellationTokenRegistration_Equals_1Ptr.asFunction< - bool Function( - System_Threading_CancellationTokenRegistration_t, - System_Threading_CancellationTokenRegistration_t, - ffi.Pointer)>(); - - int System_Threading_CancellationTokenRegistration_GetHashCode( - System_Threading_CancellationTokenRegistration_t self, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationTokenRegistration_GetHashCode( - self, - outException, - ); - } - - late final _System_Threading_CancellationTokenRegistration_GetHashCodePtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Threading_CancellationTokenRegistration_t, - ffi.Pointer)>>( - 'System_Threading_CancellationTokenRegistration_GetHashCode'); - late final _System_Threading_CancellationTokenRegistration_GetHashCode = - _System_Threading_CancellationTokenRegistration_GetHashCodePtr.asFunction< - int Function(System_Threading_CancellationTokenRegistration_t, - ffi.Pointer)>(); - - System_Threading_CancellationToken_t - System_Threading_CancellationTokenRegistration_Token_Get( - System_Threading_CancellationTokenRegistration_t self, - ffi.Pointer outException, - ) { - return _System_Threading_CancellationTokenRegistration_Token_Get( - self, - outException, - ); - } - - late final _System_Threading_CancellationTokenRegistration_Token_GetPtr = - _lookup< - ffi - .NativeFunction< - System_Threading_CancellationToken_t Function( - System_Threading_CancellationTokenRegistration_t, - ffi.Pointer)>>( - 'System_Threading_CancellationTokenRegistration_Token_Get'); - late final _System_Threading_CancellationTokenRegistration_Token_Get = - _System_Threading_CancellationTokenRegistration_Token_GetPtr.asFunction< - System_Threading_CancellationToken_t Function( - System_Threading_CancellationTokenRegistration_t, - ffi.Pointer)>(); - - System_Threading_CancellationTokenRegistration_t - System_Threading_CancellationTokenRegistration_Create( - ffi.Pointer outException, - ) { - return _System_Threading_CancellationTokenRegistration_Create( - outException, - ); - } - - late final _System_Threading_CancellationTokenRegistration_CreatePtr = - _lookup< - ffi.NativeFunction< - System_Threading_CancellationTokenRegistration_t Function( - ffi.Pointer)>>( - 'System_Threading_CancellationTokenRegistration_Create'); - late final _System_Threading_CancellationTokenRegistration_Create = - _System_Threading_CancellationTokenRegistration_CreatePtr.asFunction< - System_Threading_CancellationTokenRegistration_t Function( - ffi.Pointer)>(); - - System_Type_t System_Threading_CancellationTokenRegistration_TypeOf() { - return _System_Threading_CancellationTokenRegistration_TypeOf(); - } - - late final _System_Threading_CancellationTokenRegistration_TypeOfPtr = - _lookup>( - 'System_Threading_CancellationTokenRegistration_TypeOf'); - late final _System_Threading_CancellationTokenRegistration_TypeOf = - _System_Threading_CancellationTokenRegistration_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Threading_CancellationTokenRegistration_Destroy( - System_Threading_CancellationTokenRegistration_t self, - ) { - return _System_Threading_CancellationTokenRegistration_Destroy( - self, - ); - } - - late final _System_Threading_CancellationTokenRegistration_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Threading_CancellationTokenRegistration_t)>>( - 'System_Threading_CancellationTokenRegistration_Destroy'); - late final _System_Threading_CancellationTokenRegistration_Destroy = - _System_Threading_CancellationTokenRegistration_DestroyPtr.asFunction< - void Function(System_Threading_CancellationTokenRegistration_t)>(); - - System_Exception_t System_Exception_GetBaseException( - System_Exception_t self, - ffi.Pointer outException, - ) { - return _System_Exception_GetBaseException( - self, - outException, - ); - } - - late final _System_Exception_GetBaseExceptionPtr = _lookup< - ffi.NativeFunction< - System_Exception_t Function( - System_Exception_t, ffi.Pointer)>>( - 'System_Exception_GetBaseException'); - late final _System_Exception_GetBaseException = - _System_Exception_GetBaseExceptionPtr.asFunction< - System_Exception_t Function( - System_Exception_t, ffi.Pointer)>(); - - void System_Exception_GetObjectData( - System_Exception_t self, - System_Runtime_Serialization_SerializationInfo_t info, - System_Runtime_Serialization_StreamingContext_t context, - ffi.Pointer outException, - ) { - return _System_Exception_GetObjectData( - self, - info, - context, - outException, - ); - } - - late final _System_Exception_GetObjectDataPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Exception_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_Exception_GetObjectData'); - late final _System_Exception_GetObjectData = - _System_Exception_GetObjectDataPtr.asFunction< - void Function( - System_Exception_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - System_String_t System_Exception_ToString( - System_Exception_t self, - ffi.Pointer outException, - ) { - return _System_Exception_ToString( - self, - outException, - ); - } - - late final _System_Exception_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Exception_t, - ffi.Pointer)>>('System_Exception_ToString'); - late final _System_Exception_ToString = - _System_Exception_ToStringPtr.asFunction< - System_String_t Function( - System_Exception_t, ffi.Pointer)>(); - - System_Type_t System_Exception_GetType( - System_Exception_t self, - ffi.Pointer outException, - ) { - return _System_Exception_GetType( - self, - outException, - ); - } - - late final _System_Exception_GetTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Exception_t, - ffi.Pointer)>>('System_Exception_GetType'); - late final _System_Exception_GetType = - _System_Exception_GetTypePtr.asFunction< - System_Type_t Function( - System_Exception_t, ffi.Pointer)>(); - - System_Exception_t System_Exception_Create( - ffi.Pointer outException, - ) { - return _System_Exception_Create( - outException, - ); - } - - late final _System_Exception_CreatePtr = _lookup< - ffi.NativeFunction< - System_Exception_t Function( - ffi.Pointer)>>('System_Exception_Create'); - late final _System_Exception_Create = _System_Exception_CreatePtr.asFunction< - System_Exception_t Function(ffi.Pointer)>(); - - System_Exception_t System_Exception_Create_1( - System_String_t message, - ffi.Pointer outException, - ) { - return _System_Exception_Create_1( - message, - outException, - ); - } - - late final _System_Exception_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Exception_t Function(System_String_t, - ffi.Pointer)>>('System_Exception_Create_1'); - late final _System_Exception_Create_1 = - _System_Exception_Create_1Ptr.asFunction< - System_Exception_t Function( - System_String_t, ffi.Pointer)>(); - - System_Exception_t System_Exception_Create_2( - System_String_t message, - System_Exception_t innerException, - ffi.Pointer outException, - ) { - return _System_Exception_Create_2( - message, - innerException, - outException, - ); - } - - late final _System_Exception_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_Exception_t Function(System_String_t, System_Exception_t, - ffi.Pointer)>>('System_Exception_Create_2'); - late final _System_Exception_Create_2 = - _System_Exception_Create_2Ptr.asFunction< - System_Exception_t Function(System_String_t, System_Exception_t, - ffi.Pointer)>(); - - System_Reflection_MethodBase_t System_Exception_TargetSite_Get( - System_Exception_t self, - ffi.Pointer outException, - ) { - return _System_Exception_TargetSite_Get( - self, - outException, - ); - } - - late final _System_Exception_TargetSite_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodBase_t Function( - System_Exception_t, ffi.Pointer)>>( - 'System_Exception_TargetSite_Get'); - late final _System_Exception_TargetSite_Get = - _System_Exception_TargetSite_GetPtr.asFunction< - System_Reflection_MethodBase_t Function( - System_Exception_t, ffi.Pointer)>(); - - System_String_t System_Exception_Message_Get( - System_Exception_t self, - ffi.Pointer outException, - ) { - return _System_Exception_Message_Get( - self, - outException, - ); - } - - late final _System_Exception_Message_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Exception_t, ffi.Pointer)>>( - 'System_Exception_Message_Get'); - late final _System_Exception_Message_Get = - _System_Exception_Message_GetPtr.asFunction< - System_String_t Function( - System_Exception_t, ffi.Pointer)>(); - - System_Collections_IDictionary_t System_Exception_Data_Get( - System_Exception_t self, - ffi.Pointer outException, - ) { - return _System_Exception_Data_Get( - self, - outException, - ); - } - - late final _System_Exception_Data_GetPtr = _lookup< - ffi.NativeFunction< - System_Collections_IDictionary_t Function(System_Exception_t, - ffi.Pointer)>>('System_Exception_Data_Get'); - late final _System_Exception_Data_Get = - _System_Exception_Data_GetPtr.asFunction< - System_Collections_IDictionary_t Function( - System_Exception_t, ffi.Pointer)>(); - - System_Exception_t System_Exception_InnerException_Get( - System_Exception_t self, - ffi.Pointer outException, - ) { - return _System_Exception_InnerException_Get( - self, - outException, - ); - } - - late final _System_Exception_InnerException_GetPtr = _lookup< - ffi.NativeFunction< - System_Exception_t Function( - System_Exception_t, ffi.Pointer)>>( - 'System_Exception_InnerException_Get'); - late final _System_Exception_InnerException_Get = - _System_Exception_InnerException_GetPtr.asFunction< - System_Exception_t Function( - System_Exception_t, ffi.Pointer)>(); - - System_String_t System_Exception_HelpLink_Get( - System_Exception_t self, - ffi.Pointer outException, - ) { - return _System_Exception_HelpLink_Get( - self, - outException, - ); - } - - late final _System_Exception_HelpLink_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Exception_t, ffi.Pointer)>>( - 'System_Exception_HelpLink_Get'); - late final _System_Exception_HelpLink_Get = - _System_Exception_HelpLink_GetPtr.asFunction< - System_String_t Function( - System_Exception_t, ffi.Pointer)>(); - - void System_Exception_HelpLink_Set( - System_Exception_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Exception_HelpLink_Set( - self, - value, - outException, - ); - } - - late final _System_Exception_HelpLink_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Exception_t, System_String_t, - ffi.Pointer)>>( - 'System_Exception_HelpLink_Set'); - late final _System_Exception_HelpLink_Set = - _System_Exception_HelpLink_SetPtr.asFunction< - void Function(System_Exception_t, System_String_t, - ffi.Pointer)>(); - - System_String_t System_Exception_Source_Get( - System_Exception_t self, - ffi.Pointer outException, - ) { - return _System_Exception_Source_Get( - self, - outException, - ); - } - - late final _System_Exception_Source_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Exception_t, - ffi.Pointer)>>('System_Exception_Source_Get'); - late final _System_Exception_Source_Get = - _System_Exception_Source_GetPtr.asFunction< - System_String_t Function( - System_Exception_t, ffi.Pointer)>(); - - void System_Exception_Source_Set( - System_Exception_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Exception_Source_Set( - self, - value, - outException, - ); - } - - late final _System_Exception_Source_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Exception_t, System_String_t, - ffi.Pointer)>>('System_Exception_Source_Set'); - late final _System_Exception_Source_Set = - _System_Exception_Source_SetPtr.asFunction< - void Function(System_Exception_t, System_String_t, - ffi.Pointer)>(); - - int System_Exception_HResult_Get( - System_Exception_t self, - ffi.Pointer outException, - ) { - return _System_Exception_HResult_Get( - self, - outException, - ); - } - - late final _System_Exception_HResult_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Exception_t, ffi.Pointer)>>( - 'System_Exception_HResult_Get'); - late final _System_Exception_HResult_Get = - _System_Exception_HResult_GetPtr.asFunction< - int Function(System_Exception_t, ffi.Pointer)>(); - - void System_Exception_HResult_Set( - System_Exception_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Exception_HResult_Set( - self, - value, - outException, - ); - } - - late final _System_Exception_HResult_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Exception_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Exception_HResult_Set'); - late final _System_Exception_HResult_Set = - _System_Exception_HResult_SetPtr.asFunction< - void Function( - System_Exception_t, int, ffi.Pointer)>(); - - System_String_t System_Exception_StackTrace_Get( - System_Exception_t self, - ffi.Pointer outException, - ) { - return _System_Exception_StackTrace_Get( - self, - outException, - ); - } - - late final _System_Exception_StackTrace_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Exception_t, ffi.Pointer)>>( - 'System_Exception_StackTrace_Get'); - late final _System_Exception_StackTrace_Get = - _System_Exception_StackTrace_GetPtr.asFunction< - System_String_t Function( - System_Exception_t, ffi.Pointer)>(); - - System_Type_t System_Exception_TypeOf() { - return _System_Exception_TypeOf(); - } - - late final _System_Exception_TypeOfPtr = - _lookup>( - 'System_Exception_TypeOf'); - late final _System_Exception_TypeOf = - _System_Exception_TypeOfPtr.asFunction(); - - void System_Exception_Destroy( - System_Exception_t self, - ) { - return _System_Exception_Destroy( - self, - ); - } - - late final _System_Exception_DestroyPtr = - _lookup>( - 'System_Exception_Destroy'); - late final _System_Exception_Destroy = _System_Exception_DestroyPtr - .asFunction(); - - System_Reflection_MethodBase_t - System_Reflection_MethodBase_GetMethodFromHandle( - System_RuntimeMethodHandle_t handle, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_GetMethodFromHandle( - handle, - outException, - ); - } - - late final _System_Reflection_MethodBase_GetMethodFromHandlePtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodBase_t Function( - System_RuntimeMethodHandle_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_GetMethodFromHandle'); - late final _System_Reflection_MethodBase_GetMethodFromHandle = - _System_Reflection_MethodBase_GetMethodFromHandlePtr.asFunction< - System_Reflection_MethodBase_t Function( - System_RuntimeMethodHandle_t, ffi.Pointer)>(); - - System_Reflection_MethodBase_t - System_Reflection_MethodBase_GetMethodFromHandle_1( - System_RuntimeMethodHandle_t handle, - System_RuntimeTypeHandle_t declaringType, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_GetMethodFromHandle_1( - handle, - declaringType, - outException, - ); - } - - late final _System_Reflection_MethodBase_GetMethodFromHandle_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodBase_t Function( - System_RuntimeMethodHandle_t, - System_RuntimeTypeHandle_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_GetMethodFromHandle_1'); - late final _System_Reflection_MethodBase_GetMethodFromHandle_1 = - _System_Reflection_MethodBase_GetMethodFromHandle_1Ptr.asFunction< - System_Reflection_MethodBase_t Function(System_RuntimeMethodHandle_t, - System_RuntimeTypeHandle_t, ffi.Pointer)>(); - - System_Reflection_MethodBase_t System_Reflection_MethodBase_GetCurrentMethod( - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_GetCurrentMethod( - outException, - ); - } - - late final _System_Reflection_MethodBase_GetCurrentMethodPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodBase_t Function( - ffi.Pointer)>>( - 'System_Reflection_MethodBase_GetCurrentMethod'); - late final _System_Reflection_MethodBase_GetCurrentMethod = - _System_Reflection_MethodBase_GetCurrentMethodPtr.asFunction< - System_Reflection_MethodBase_t Function( - ffi.Pointer)>(); - - System_Reflection_ParameterInfo_Array_t - System_Reflection_MethodBase_GetParameters( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_GetParameters( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_GetParametersPtr = _lookup< - ffi.NativeFunction< - System_Reflection_ParameterInfo_Array_t Function( - System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_GetParameters'); - late final _System_Reflection_MethodBase_GetParameters = - _System_Reflection_MethodBase_GetParametersPtr.asFunction< - System_Reflection_ParameterInfo_Array_t Function( - System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - int System_Reflection_MethodBase_GetMethodImplementationFlags( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_GetMethodImplementationFlags( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_GetMethodImplementationFlagsPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_GetMethodImplementationFlags'); - late final _System_Reflection_MethodBase_GetMethodImplementationFlags = - _System_Reflection_MethodBase_GetMethodImplementationFlagsPtr.asFunction< - int Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - System_Reflection_MethodBody_t System_Reflection_MethodBase_GetMethodBody( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_GetMethodBody( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_GetMethodBodyPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodBody_t Function( - System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_GetMethodBody'); - late final _System_Reflection_MethodBase_GetMethodBody = - _System_Reflection_MethodBase_GetMethodBodyPtr.asFunction< - System_Reflection_MethodBody_t Function( - System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - System_Type_Array_t System_Reflection_MethodBase_GetGenericArguments( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_GetGenericArguments( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_GetGenericArgumentsPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_GetGenericArguments'); - late final _System_Reflection_MethodBase_GetGenericArguments = - _System_Reflection_MethodBase_GetGenericArgumentsPtr.asFunction< - System_Type_Array_t Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - System_Object_t System_Reflection_MethodBase_Invoke( - System_Reflection_MethodBase_t self, - System_Object_t obj, - System_Object_Array_t parameters, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_Invoke( - self, - obj, - parameters, - outException, - ); - } - - late final _System_Reflection_MethodBase_InvokePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Reflection_MethodBase_t, - System_Object_t, - System_Object_Array_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_Invoke'); - late final _System_Reflection_MethodBase_Invoke = - _System_Reflection_MethodBase_InvokePtr.asFunction< - System_Object_t Function( - System_Reflection_MethodBase_t, - System_Object_t, - System_Object_Array_t, - ffi.Pointer)>(); - - System_Object_t System_Reflection_MethodBase_Invoke_1( - System_Reflection_MethodBase_t self, - System_Object_t obj, - int invokeAttr, - System_Reflection_Binder_t binder, - System_Object_Array_t parameters, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_Invoke_1( - self, - obj, - invokeAttr, - binder, - parameters, - culture, - outException, - ); - } - - late final _System_Reflection_MethodBase_Invoke_1Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Reflection_MethodBase_t, - System_Object_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Object_Array_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_Invoke_1'); - late final _System_Reflection_MethodBase_Invoke_1 = - _System_Reflection_MethodBase_Invoke_1Ptr.asFunction< - System_Object_t Function( - System_Reflection_MethodBase_t, - System_Object_t, - int, - System_Reflection_Binder_t, - System_Object_Array_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_Equals( - System_Reflection_MethodBase_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_Equals( - self, - obj, - outException, - ); - } - - late final _System_Reflection_MethodBase_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, System_Object_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_Equals'); - late final _System_Reflection_MethodBase_Equals = - _System_Reflection_MethodBase_EqualsPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, System_Object_t, - ffi.Pointer)>(); - - int System_Reflection_MethodBase_GetHashCode( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_GetHashCode( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_GetHashCode'); - late final _System_Reflection_MethodBase_GetHashCode = - _System_Reflection_MethodBase_GetHashCodePtr.asFunction< - int Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - int System_Reflection_MethodBase_Attributes_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_Attributes_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_Attributes_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_Attributes_Get'); - late final _System_Reflection_MethodBase_Attributes_Get = - _System_Reflection_MethodBase_Attributes_GetPtr.asFunction< - int Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - int System_Reflection_MethodBase_MethodImplementationFlags_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_MethodImplementationFlags_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_MethodImplementationFlags_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_MethodImplementationFlags_Get'); - late final _System_Reflection_MethodBase_MethodImplementationFlags_Get = - _System_Reflection_MethodBase_MethodImplementationFlags_GetPtr.asFunction< - int Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - int System_Reflection_MethodBase_CallingConvention_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_CallingConvention_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_CallingConvention_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_CallingConvention_Get'); - late final _System_Reflection_MethodBase_CallingConvention_Get = - _System_Reflection_MethodBase_CallingConvention_GetPtr.asFunction< - int Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsAbstract_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsAbstract_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsAbstract_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsAbstract_Get'); - late final _System_Reflection_MethodBase_IsAbstract_Get = - _System_Reflection_MethodBase_IsAbstract_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsConstructor_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsConstructor_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsConstructor_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsConstructor_Get'); - late final _System_Reflection_MethodBase_IsConstructor_Get = - _System_Reflection_MethodBase_IsConstructor_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsFinal_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsFinal_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsFinal_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsFinal_Get'); - late final _System_Reflection_MethodBase_IsFinal_Get = - _System_Reflection_MethodBase_IsFinal_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsHideBySig_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsHideBySig_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsHideBySig_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsHideBySig_Get'); - late final _System_Reflection_MethodBase_IsHideBySig_Get = - _System_Reflection_MethodBase_IsHideBySig_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsSpecialName_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsSpecialName_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsSpecialName_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsSpecialName_Get'); - late final _System_Reflection_MethodBase_IsSpecialName_Get = - _System_Reflection_MethodBase_IsSpecialName_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsStatic_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsStatic_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsStatic_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsStatic_Get'); - late final _System_Reflection_MethodBase_IsStatic_Get = - _System_Reflection_MethodBase_IsStatic_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsVirtual_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsVirtual_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsVirtual_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsVirtual_Get'); - late final _System_Reflection_MethodBase_IsVirtual_Get = - _System_Reflection_MethodBase_IsVirtual_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsAssembly_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsAssembly_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsAssembly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsAssembly_Get'); - late final _System_Reflection_MethodBase_IsAssembly_Get = - _System_Reflection_MethodBase_IsAssembly_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsFamily_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsFamily_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsFamily_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsFamily_Get'); - late final _System_Reflection_MethodBase_IsFamily_Get = - _System_Reflection_MethodBase_IsFamily_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsFamilyAndAssembly_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsFamilyAndAssembly_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsFamilyAndAssembly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsFamilyAndAssembly_Get'); - late final _System_Reflection_MethodBase_IsFamilyAndAssembly_Get = - _System_Reflection_MethodBase_IsFamilyAndAssembly_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsFamilyOrAssembly_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsFamilyOrAssembly_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsFamilyOrAssembly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsFamilyOrAssembly_Get'); - late final _System_Reflection_MethodBase_IsFamilyOrAssembly_Get = - _System_Reflection_MethodBase_IsFamilyOrAssembly_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsPrivate_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsPrivate_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsPrivate_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsPrivate_Get'); - late final _System_Reflection_MethodBase_IsPrivate_Get = - _System_Reflection_MethodBase_IsPrivate_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsPublic_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsPublic_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsPublic_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsPublic_Get'); - late final _System_Reflection_MethodBase_IsPublic_Get = - _System_Reflection_MethodBase_IsPublic_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsConstructedGenericMethod_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsConstructedGenericMethod_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsConstructedGenericMethod_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsConstructedGenericMethod_Get'); - late final _System_Reflection_MethodBase_IsConstructedGenericMethod_Get = - _System_Reflection_MethodBase_IsConstructedGenericMethod_GetPtr - .asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsGenericMethod_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsGenericMethod_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsGenericMethod_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsGenericMethod_Get'); - late final _System_Reflection_MethodBase_IsGenericMethod_Get = - _System_Reflection_MethodBase_IsGenericMethod_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsGenericMethodDefinition_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsGenericMethodDefinition_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsGenericMethodDefinition_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsGenericMethodDefinition_Get'); - late final _System_Reflection_MethodBase_IsGenericMethodDefinition_Get = - _System_Reflection_MethodBase_IsGenericMethodDefinition_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_ContainsGenericParameters_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_ContainsGenericParameters_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_ContainsGenericParameters_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_ContainsGenericParameters_Get'); - late final _System_Reflection_MethodBase_ContainsGenericParameters_Get = - _System_Reflection_MethodBase_ContainsGenericParameters_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - System_RuntimeMethodHandle_t System_Reflection_MethodBase_MethodHandle_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_MethodHandle_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_MethodHandle_GetPtr = _lookup< - ffi.NativeFunction< - System_RuntimeMethodHandle_t Function( - System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_MethodHandle_Get'); - late final _System_Reflection_MethodBase_MethodHandle_Get = - _System_Reflection_MethodBase_MethodHandle_GetPtr.asFunction< - System_RuntimeMethodHandle_t Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsSecurityCritical_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsSecurityCritical_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsSecurityCritical_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsSecurityCritical_Get'); - late final _System_Reflection_MethodBase_IsSecurityCritical_Get = - _System_Reflection_MethodBase_IsSecurityCritical_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsSecuritySafeCritical_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsSecuritySafeCritical_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsSecuritySafeCritical_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsSecuritySafeCritical_Get'); - late final _System_Reflection_MethodBase_IsSecuritySafeCritical_Get = - _System_Reflection_MethodBase_IsSecuritySafeCritical_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBase_IsSecurityTransparent_Get( - System_Reflection_MethodBase_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBase_IsSecurityTransparent_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBase_IsSecurityTransparent_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBase_IsSecurityTransparent_Get'); - late final _System_Reflection_MethodBase_IsSecurityTransparent_Get = - _System_Reflection_MethodBase_IsSecurityTransparent_GetPtr.asFunction< - bool Function(System_Reflection_MethodBase_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_MethodBase_TypeOf() { - return _System_Reflection_MethodBase_TypeOf(); - } - - late final _System_Reflection_MethodBase_TypeOfPtr = - _lookup>( - 'System_Reflection_MethodBase_TypeOf'); - late final _System_Reflection_MethodBase_TypeOf = - _System_Reflection_MethodBase_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_MethodBase_Destroy( - System_Reflection_MethodBase_t self, - ) { - return _System_Reflection_MethodBase_Destroy( - self, - ); - } - - late final _System_Reflection_MethodBase_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Reflection_MethodBase_Destroy'); - late final _System_Reflection_MethodBase_Destroy = - _System_Reflection_MethodBase_DestroyPtr.asFunction< - void Function(System_Reflection_MethodBase_t)>(); - - void System_RuntimeMethodHandle_GetObjectData( - System_RuntimeMethodHandle_t self, - System_Runtime_Serialization_SerializationInfo_t info, - System_Runtime_Serialization_StreamingContext_t context, - ffi.Pointer outException, - ) { - return _System_RuntimeMethodHandle_GetObjectData( - self, - info, - context, - outException, - ); - } - - late final _System_RuntimeMethodHandle_GetObjectDataPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_RuntimeMethodHandle_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_RuntimeMethodHandle_GetObjectData'); - late final _System_RuntimeMethodHandle_GetObjectData = - _System_RuntimeMethodHandle_GetObjectDataPtr.asFunction< - void Function( - System_RuntimeMethodHandle_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - int System_RuntimeMethodHandle_GetHashCode( - System_RuntimeMethodHandle_t self, - ffi.Pointer outException, - ) { - return _System_RuntimeMethodHandle_GetHashCode( - self, - outException, - ); - } - - late final _System_RuntimeMethodHandle_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_RuntimeMethodHandle_t, - ffi.Pointer)>>( - 'System_RuntimeMethodHandle_GetHashCode'); - late final _System_RuntimeMethodHandle_GetHashCode = - _System_RuntimeMethodHandle_GetHashCodePtr.asFunction< - int Function( - System_RuntimeMethodHandle_t, ffi.Pointer)>(); - - bool System_RuntimeMethodHandle_Equals( - System_RuntimeMethodHandle_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_RuntimeMethodHandle_Equals( - self, - obj, - outException, - ); - } - - late final _System_RuntimeMethodHandle_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_RuntimeMethodHandle_t, System_Object_t, - ffi.Pointer)>>( - 'System_RuntimeMethodHandle_Equals'); - late final _System_RuntimeMethodHandle_Equals = - _System_RuntimeMethodHandle_EqualsPtr.asFunction< - bool Function(System_RuntimeMethodHandle_t, System_Object_t, - ffi.Pointer)>(); - - System_RuntimeMethodHandle_t System_RuntimeMethodHandle_FromIntPtr( - int value, - ffi.Pointer outException, - ) { - return _System_RuntimeMethodHandle_FromIntPtr( - value, - outException, - ); - } - - late final _System_RuntimeMethodHandle_FromIntPtrPtr = _lookup< - ffi.NativeFunction< - System_RuntimeMethodHandle_t Function( - ffi.Long, ffi.Pointer)>>( - 'System_RuntimeMethodHandle_FromIntPtr'); - late final _System_RuntimeMethodHandle_FromIntPtr = - _System_RuntimeMethodHandle_FromIntPtrPtr.asFunction< - System_RuntimeMethodHandle_t Function( - int, ffi.Pointer)>(); - - int System_RuntimeMethodHandle_ToIntPtr( - System_RuntimeMethodHandle_t value, - ffi.Pointer outException, - ) { - return _System_RuntimeMethodHandle_ToIntPtr( - value, - outException, - ); - } - - late final _System_RuntimeMethodHandle_ToIntPtrPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function(System_RuntimeMethodHandle_t, - ffi.Pointer)>>( - 'System_RuntimeMethodHandle_ToIntPtr'); - late final _System_RuntimeMethodHandle_ToIntPtr = - _System_RuntimeMethodHandle_ToIntPtrPtr.asFunction< - int Function( - System_RuntimeMethodHandle_t, ffi.Pointer)>(); - - bool System_RuntimeMethodHandle_Equals_1( - System_RuntimeMethodHandle_t self, - System_RuntimeMethodHandle_t handle, - ffi.Pointer outException, - ) { - return _System_RuntimeMethodHandle_Equals_1( - self, - handle, - outException, - ); - } - - late final _System_RuntimeMethodHandle_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_RuntimeMethodHandle_t, - System_RuntimeMethodHandle_t, - ffi.Pointer)>>( - 'System_RuntimeMethodHandle_Equals_1'); - late final _System_RuntimeMethodHandle_Equals_1 = - _System_RuntimeMethodHandle_Equals_1Ptr.asFunction< - bool Function(System_RuntimeMethodHandle_t, - System_RuntimeMethodHandle_t, ffi.Pointer)>(); - - int System_RuntimeMethodHandle_GetFunctionPointer( - System_RuntimeMethodHandle_t self, - ffi.Pointer outException, - ) { - return _System_RuntimeMethodHandle_GetFunctionPointer( - self, - outException, - ); - } - - late final _System_RuntimeMethodHandle_GetFunctionPointerPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function(System_RuntimeMethodHandle_t, - ffi.Pointer)>>( - 'System_RuntimeMethodHandle_GetFunctionPointer'); - late final _System_RuntimeMethodHandle_GetFunctionPointer = - _System_RuntimeMethodHandle_GetFunctionPointerPtr.asFunction< - int Function( - System_RuntimeMethodHandle_t, ffi.Pointer)>(); - - int System_RuntimeMethodHandle_Value_Get( - System_RuntimeMethodHandle_t self, - ffi.Pointer outException, - ) { - return _System_RuntimeMethodHandle_Value_Get( - self, - outException, - ); - } - - late final _System_RuntimeMethodHandle_Value_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function(System_RuntimeMethodHandle_t, - ffi.Pointer)>>( - 'System_RuntimeMethodHandle_Value_Get'); - late final _System_RuntimeMethodHandle_Value_Get = - _System_RuntimeMethodHandle_Value_GetPtr.asFunction< - int Function( - System_RuntimeMethodHandle_t, ffi.Pointer)>(); - - System_RuntimeMethodHandle_t System_RuntimeMethodHandle_Create( - ffi.Pointer outException, - ) { - return _System_RuntimeMethodHandle_Create( - outException, - ); - } - - late final _System_RuntimeMethodHandle_CreatePtr = _lookup< - ffi.NativeFunction< - System_RuntimeMethodHandle_t Function( - ffi.Pointer)>>( - 'System_RuntimeMethodHandle_Create'); - late final _System_RuntimeMethodHandle_Create = - _System_RuntimeMethodHandle_CreatePtr.asFunction< - System_RuntimeMethodHandle_t Function( - ffi.Pointer)>(); - - System_Type_t System_RuntimeMethodHandle_TypeOf() { - return _System_RuntimeMethodHandle_TypeOf(); - } - - late final _System_RuntimeMethodHandle_TypeOfPtr = - _lookup>( - 'System_RuntimeMethodHandle_TypeOf'); - late final _System_RuntimeMethodHandle_TypeOf = - _System_RuntimeMethodHandle_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_RuntimeMethodHandle_Destroy( - System_RuntimeMethodHandle_t self, - ) { - return _System_RuntimeMethodHandle_Destroy( - self, - ); - } - - late final _System_RuntimeMethodHandle_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_RuntimeMethodHandle_Destroy'); - late final _System_RuntimeMethodHandle_Destroy = - _System_RuntimeMethodHandle_DestroyPtr.asFunction< - void Function(System_RuntimeMethodHandle_t)>(); - - System_RuntimeTypeHandle_t System_RuntimeTypeHandle_FromIntPtr( - int value, - ffi.Pointer outException, - ) { - return _System_RuntimeTypeHandle_FromIntPtr( - value, - outException, - ); - } - - late final _System_RuntimeTypeHandle_FromIntPtrPtr = _lookup< - ffi.NativeFunction< - System_RuntimeTypeHandle_t Function( - ffi.Long, ffi.Pointer)>>( - 'System_RuntimeTypeHandle_FromIntPtr'); - late final _System_RuntimeTypeHandle_FromIntPtr = - _System_RuntimeTypeHandle_FromIntPtrPtr.asFunction< - System_RuntimeTypeHandle_t Function( - int, ffi.Pointer)>(); - - int System_RuntimeTypeHandle_ToIntPtr( - System_RuntimeTypeHandle_t value, - ffi.Pointer outException, - ) { - return _System_RuntimeTypeHandle_ToIntPtr( - value, - outException, - ); - } - - late final _System_RuntimeTypeHandle_ToIntPtrPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function(System_RuntimeTypeHandle_t, - ffi.Pointer)>>( - 'System_RuntimeTypeHandle_ToIntPtr'); - late final _System_RuntimeTypeHandle_ToIntPtr = - _System_RuntimeTypeHandle_ToIntPtrPtr.asFunction< - int Function( - System_RuntimeTypeHandle_t, ffi.Pointer)>(); - - int System_RuntimeTypeHandle_GetHashCode( - System_RuntimeTypeHandle_t self, - ffi.Pointer outException, - ) { - return _System_RuntimeTypeHandle_GetHashCode( - self, - outException, - ); - } - - late final _System_RuntimeTypeHandle_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_RuntimeTypeHandle_t, - ffi.Pointer)>>( - 'System_RuntimeTypeHandle_GetHashCode'); - late final _System_RuntimeTypeHandle_GetHashCode = - _System_RuntimeTypeHandle_GetHashCodePtr.asFunction< - int Function( - System_RuntimeTypeHandle_t, ffi.Pointer)>(); - - bool System_RuntimeTypeHandle_Equals( - System_RuntimeTypeHandle_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_RuntimeTypeHandle_Equals( - self, - obj, - outException, - ); - } - - late final _System_RuntimeTypeHandle_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_RuntimeTypeHandle_t, System_Object_t, - ffi.Pointer)>>( - 'System_RuntimeTypeHandle_Equals'); - late final _System_RuntimeTypeHandle_Equals = - _System_RuntimeTypeHandle_EqualsPtr.asFunction< - bool Function(System_RuntimeTypeHandle_t, System_Object_t, - ffi.Pointer)>(); - - bool System_RuntimeTypeHandle_Equals_1( - System_RuntimeTypeHandle_t self, - System_RuntimeTypeHandle_t handle, - ffi.Pointer outException, - ) { - return _System_RuntimeTypeHandle_Equals_1( - self, - handle, - outException, - ); - } - - late final _System_RuntimeTypeHandle_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_RuntimeTypeHandle_t, - System_RuntimeTypeHandle_t, - ffi.Pointer)>>( - 'System_RuntimeTypeHandle_Equals_1'); - late final _System_RuntimeTypeHandle_Equals_1 = - _System_RuntimeTypeHandle_Equals_1Ptr.asFunction< - bool Function(System_RuntimeTypeHandle_t, System_RuntimeTypeHandle_t, - ffi.Pointer)>(); - - System_ModuleHandle_t System_RuntimeTypeHandle_GetModuleHandle( - System_RuntimeTypeHandle_t self, - ffi.Pointer outException, - ) { - return _System_RuntimeTypeHandle_GetModuleHandle( - self, - outException, - ); - } - - late final _System_RuntimeTypeHandle_GetModuleHandlePtr = _lookup< - ffi.NativeFunction< - System_ModuleHandle_t Function(System_RuntimeTypeHandle_t, - ffi.Pointer)>>( - 'System_RuntimeTypeHandle_GetModuleHandle'); - late final _System_RuntimeTypeHandle_GetModuleHandle = - _System_RuntimeTypeHandle_GetModuleHandlePtr.asFunction< - System_ModuleHandle_t Function( - System_RuntimeTypeHandle_t, ffi.Pointer)>(); - - void System_RuntimeTypeHandle_GetObjectData( - System_RuntimeTypeHandle_t self, - System_Runtime_Serialization_SerializationInfo_t info, - System_Runtime_Serialization_StreamingContext_t context, - ffi.Pointer outException, - ) { - return _System_RuntimeTypeHandle_GetObjectData( - self, - info, - context, - outException, - ); - } - - late final _System_RuntimeTypeHandle_GetObjectDataPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_RuntimeTypeHandle_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_RuntimeTypeHandle_GetObjectData'); - late final _System_RuntimeTypeHandle_GetObjectData = - _System_RuntimeTypeHandle_GetObjectDataPtr.asFunction< - void Function( - System_RuntimeTypeHandle_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - int System_RuntimeTypeHandle_Value_Get( - System_RuntimeTypeHandle_t self, - ffi.Pointer outException, - ) { - return _System_RuntimeTypeHandle_Value_Get( - self, - outException, - ); - } - - late final _System_RuntimeTypeHandle_Value_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function(System_RuntimeTypeHandle_t, - ffi.Pointer)>>( - 'System_RuntimeTypeHandle_Value_Get'); - late final _System_RuntimeTypeHandle_Value_Get = - _System_RuntimeTypeHandle_Value_GetPtr.asFunction< - int Function( - System_RuntimeTypeHandle_t, ffi.Pointer)>(); - - System_RuntimeTypeHandle_t System_RuntimeTypeHandle_Create( - ffi.Pointer outException, - ) { - return _System_RuntimeTypeHandle_Create( - outException, - ); - } - - late final _System_RuntimeTypeHandle_CreatePtr = _lookup< - ffi.NativeFunction< - System_RuntimeTypeHandle_t Function( - ffi.Pointer)>>( - 'System_RuntimeTypeHandle_Create'); - late final _System_RuntimeTypeHandle_Create = - _System_RuntimeTypeHandle_CreatePtr.asFunction< - System_RuntimeTypeHandle_t Function( - ffi.Pointer)>(); - - System_Type_t System_RuntimeTypeHandle_TypeOf() { - return _System_RuntimeTypeHandle_TypeOf(); - } - - late final _System_RuntimeTypeHandle_TypeOfPtr = - _lookup>( - 'System_RuntimeTypeHandle_TypeOf'); - late final _System_RuntimeTypeHandle_TypeOf = - _System_RuntimeTypeHandle_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_RuntimeTypeHandle_Destroy( - System_RuntimeTypeHandle_t self, - ) { - return _System_RuntimeTypeHandle_Destroy( - self, - ); - } - - late final _System_RuntimeTypeHandle_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_RuntimeTypeHandle_Destroy'); - late final _System_RuntimeTypeHandle_Destroy = - _System_RuntimeTypeHandle_DestroyPtr.asFunction< - void Function(System_RuntimeTypeHandle_t)>(); - - int System_ModuleHandle_GetHashCode( - System_ModuleHandle_t self, - ffi.Pointer outException, - ) { - return _System_ModuleHandle_GetHashCode( - self, - outException, - ); - } - - late final _System_ModuleHandle_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_ModuleHandle_t, ffi.Pointer)>>( - 'System_ModuleHandle_GetHashCode'); - late final _System_ModuleHandle_GetHashCode = - _System_ModuleHandle_GetHashCodePtr.asFunction< - int Function( - System_ModuleHandle_t, ffi.Pointer)>(); - - bool System_ModuleHandle_Equals( - System_ModuleHandle_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_ModuleHandle_Equals( - self, - obj, - outException, - ); - } - - late final _System_ModuleHandle_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_ModuleHandle_t, System_Object_t, - ffi.Pointer)>>('System_ModuleHandle_Equals'); - late final _System_ModuleHandle_Equals = - _System_ModuleHandle_EqualsPtr.asFunction< - bool Function(System_ModuleHandle_t, System_Object_t, - ffi.Pointer)>(); - - bool System_ModuleHandle_Equals_1( - System_ModuleHandle_t self, - System_ModuleHandle_t handle, - ffi.Pointer outException, - ) { - return _System_ModuleHandle_Equals_1( - self, - handle, - outException, - ); - } - - late final _System_ModuleHandle_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_ModuleHandle_t, System_ModuleHandle_t, - ffi.Pointer)>>( - 'System_ModuleHandle_Equals_1'); - late final _System_ModuleHandle_Equals_1 = - _System_ModuleHandle_Equals_1Ptr.asFunction< - bool Function(System_ModuleHandle_t, System_ModuleHandle_t, - ffi.Pointer)>(); - - System_RuntimeTypeHandle_t - System_ModuleHandle_GetRuntimeTypeHandleFromMetadataToken( - System_ModuleHandle_t self, - int typeToken, - ffi.Pointer outException, - ) { - return _System_ModuleHandle_GetRuntimeTypeHandleFromMetadataToken( - self, - typeToken, - outException, - ); - } - - late final _System_ModuleHandle_GetRuntimeTypeHandleFromMetadataTokenPtr = - _lookup< - ffi.NativeFunction< - System_RuntimeTypeHandle_t Function(System_ModuleHandle_t, - ffi.Int32, ffi.Pointer)>>( - 'System_ModuleHandle_GetRuntimeTypeHandleFromMetadataToken'); - late final _System_ModuleHandle_GetRuntimeTypeHandleFromMetadataToken = - _System_ModuleHandle_GetRuntimeTypeHandleFromMetadataTokenPtr.asFunction< - System_RuntimeTypeHandle_t Function( - System_ModuleHandle_t, int, ffi.Pointer)>(); - - System_RuntimeTypeHandle_t System_ModuleHandle_ResolveTypeHandle( - System_ModuleHandle_t self, - int typeToken, - ffi.Pointer outException, - ) { - return _System_ModuleHandle_ResolveTypeHandle( - self, - typeToken, - outException, - ); - } - - late final _System_ModuleHandle_ResolveTypeHandlePtr = _lookup< - ffi.NativeFunction< - System_RuntimeTypeHandle_t Function(System_ModuleHandle_t, - ffi.Int32, ffi.Pointer)>>( - 'System_ModuleHandle_ResolveTypeHandle'); - late final _System_ModuleHandle_ResolveTypeHandle = - _System_ModuleHandle_ResolveTypeHandlePtr.asFunction< - System_RuntimeTypeHandle_t Function( - System_ModuleHandle_t, int, ffi.Pointer)>(); - - System_RuntimeTypeHandle_t System_ModuleHandle_ResolveTypeHandle_1( - System_ModuleHandle_t self, - int typeToken, - System_RuntimeTypeHandle_Array_t typeInstantiationContext, - System_RuntimeTypeHandle_Array_t methodInstantiationContext, - ffi.Pointer outException, - ) { - return _System_ModuleHandle_ResolveTypeHandle_1( - self, - typeToken, - typeInstantiationContext, - methodInstantiationContext, - outException, - ); - } - - late final _System_ModuleHandle_ResolveTypeHandle_1Ptr = _lookup< - ffi.NativeFunction< - System_RuntimeTypeHandle_t Function( - System_ModuleHandle_t, - ffi.Int32, - System_RuntimeTypeHandle_Array_t, - System_RuntimeTypeHandle_Array_t, - ffi.Pointer)>>( - 'System_ModuleHandle_ResolveTypeHandle_1'); - late final _System_ModuleHandle_ResolveTypeHandle_1 = - _System_ModuleHandle_ResolveTypeHandle_1Ptr.asFunction< - System_RuntimeTypeHandle_t Function( - System_ModuleHandle_t, - int, - System_RuntimeTypeHandle_Array_t, - System_RuntimeTypeHandle_Array_t, - ffi.Pointer)>(); - - System_RuntimeMethodHandle_t - System_ModuleHandle_GetRuntimeMethodHandleFromMetadataToken( - System_ModuleHandle_t self, - int methodToken, - ffi.Pointer outException, - ) { - return _System_ModuleHandle_GetRuntimeMethodHandleFromMetadataToken( - self, - methodToken, - outException, - ); - } - - late final _System_ModuleHandle_GetRuntimeMethodHandleFromMetadataTokenPtr = - _lookup< - ffi.NativeFunction< - System_RuntimeMethodHandle_t Function(System_ModuleHandle_t, - ffi.Int32, ffi.Pointer)>>( - 'System_ModuleHandle_GetRuntimeMethodHandleFromMetadataToken'); - late final _System_ModuleHandle_GetRuntimeMethodHandleFromMetadataToken = - _System_ModuleHandle_GetRuntimeMethodHandleFromMetadataTokenPtr - .asFunction< - System_RuntimeMethodHandle_t Function(System_ModuleHandle_t, int, - ffi.Pointer)>(); - - System_RuntimeMethodHandle_t System_ModuleHandle_ResolveMethodHandle( - System_ModuleHandle_t self, - int methodToken, - ffi.Pointer outException, - ) { - return _System_ModuleHandle_ResolveMethodHandle( - self, - methodToken, - outException, - ); - } - - late final _System_ModuleHandle_ResolveMethodHandlePtr = _lookup< - ffi.NativeFunction< - System_RuntimeMethodHandle_t Function(System_ModuleHandle_t, - ffi.Int32, ffi.Pointer)>>( - 'System_ModuleHandle_ResolveMethodHandle'); - late final _System_ModuleHandle_ResolveMethodHandle = - _System_ModuleHandle_ResolveMethodHandlePtr.asFunction< - System_RuntimeMethodHandle_t Function( - System_ModuleHandle_t, int, ffi.Pointer)>(); - - System_RuntimeMethodHandle_t System_ModuleHandle_ResolveMethodHandle_1( - System_ModuleHandle_t self, - int methodToken, - System_RuntimeTypeHandle_Array_t typeInstantiationContext, - System_RuntimeTypeHandle_Array_t methodInstantiationContext, - ffi.Pointer outException, - ) { - return _System_ModuleHandle_ResolveMethodHandle_1( - self, - methodToken, - typeInstantiationContext, - methodInstantiationContext, - outException, - ); - } - - late final _System_ModuleHandle_ResolveMethodHandle_1Ptr = _lookup< - ffi.NativeFunction< - System_RuntimeMethodHandle_t Function( - System_ModuleHandle_t, - ffi.Int32, - System_RuntimeTypeHandle_Array_t, - System_RuntimeTypeHandle_Array_t, - ffi.Pointer)>>( - 'System_ModuleHandle_ResolveMethodHandle_1'); - late final _System_ModuleHandle_ResolveMethodHandle_1 = - _System_ModuleHandle_ResolveMethodHandle_1Ptr.asFunction< - System_RuntimeMethodHandle_t Function( - System_ModuleHandle_t, - int, - System_RuntimeTypeHandle_Array_t, - System_RuntimeTypeHandle_Array_t, - ffi.Pointer)>(); - - System_RuntimeFieldHandle_t - System_ModuleHandle_GetRuntimeFieldHandleFromMetadataToken( - System_ModuleHandle_t self, - int fieldToken, - ffi.Pointer outException, - ) { - return _System_ModuleHandle_GetRuntimeFieldHandleFromMetadataToken( - self, - fieldToken, - outException, - ); - } - - late final _System_ModuleHandle_GetRuntimeFieldHandleFromMetadataTokenPtr = - _lookup< - ffi.NativeFunction< - System_RuntimeFieldHandle_t Function(System_ModuleHandle_t, - ffi.Int32, ffi.Pointer)>>( - 'System_ModuleHandle_GetRuntimeFieldHandleFromMetadataToken'); - late final _System_ModuleHandle_GetRuntimeFieldHandleFromMetadataToken = - _System_ModuleHandle_GetRuntimeFieldHandleFromMetadataTokenPtr.asFunction< - System_RuntimeFieldHandle_t Function( - System_ModuleHandle_t, int, ffi.Pointer)>(); - - System_RuntimeFieldHandle_t System_ModuleHandle_ResolveFieldHandle( - System_ModuleHandle_t self, - int fieldToken, - ffi.Pointer outException, - ) { - return _System_ModuleHandle_ResolveFieldHandle( - self, - fieldToken, - outException, - ); - } - - late final _System_ModuleHandle_ResolveFieldHandlePtr = _lookup< - ffi.NativeFunction< - System_RuntimeFieldHandle_t Function(System_ModuleHandle_t, - ffi.Int32, ffi.Pointer)>>( - 'System_ModuleHandle_ResolveFieldHandle'); - late final _System_ModuleHandle_ResolveFieldHandle = - _System_ModuleHandle_ResolveFieldHandlePtr.asFunction< - System_RuntimeFieldHandle_t Function( - System_ModuleHandle_t, int, ffi.Pointer)>(); - - System_RuntimeFieldHandle_t System_ModuleHandle_ResolveFieldHandle_1( - System_ModuleHandle_t self, - int fieldToken, - System_RuntimeTypeHandle_Array_t typeInstantiationContext, - System_RuntimeTypeHandle_Array_t methodInstantiationContext, - ffi.Pointer outException, - ) { - return _System_ModuleHandle_ResolveFieldHandle_1( - self, - fieldToken, - typeInstantiationContext, - methodInstantiationContext, - outException, - ); - } - - late final _System_ModuleHandle_ResolveFieldHandle_1Ptr = _lookup< - ffi.NativeFunction< - System_RuntimeFieldHandle_t Function( - System_ModuleHandle_t, - ffi.Int32, - System_RuntimeTypeHandle_Array_t, - System_RuntimeTypeHandle_Array_t, - ffi.Pointer)>>( - 'System_ModuleHandle_ResolveFieldHandle_1'); - late final _System_ModuleHandle_ResolveFieldHandle_1 = - _System_ModuleHandle_ResolveFieldHandle_1Ptr.asFunction< - System_RuntimeFieldHandle_t Function( - System_ModuleHandle_t, - int, - System_RuntimeTypeHandle_Array_t, - System_RuntimeTypeHandle_Array_t, - ffi.Pointer)>(); - - int System_ModuleHandle_MDStreamVersion_Get( - System_ModuleHandle_t self, - ffi.Pointer outException, - ) { - return _System_ModuleHandle_MDStreamVersion_Get( - self, - outException, - ); - } - - late final _System_ModuleHandle_MDStreamVersion_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_ModuleHandle_t, ffi.Pointer)>>( - 'System_ModuleHandle_MDStreamVersion_Get'); - late final _System_ModuleHandle_MDStreamVersion_Get = - _System_ModuleHandle_MDStreamVersion_GetPtr.asFunction< - int Function( - System_ModuleHandle_t, ffi.Pointer)>(); - - System_ModuleHandle_t System_ModuleHandle_EmptyHandle_Get() { - return _System_ModuleHandle_EmptyHandle_Get(); - } - - late final _System_ModuleHandle_EmptyHandle_GetPtr = - _lookup>( - 'System_ModuleHandle_EmptyHandle_Get'); - late final _System_ModuleHandle_EmptyHandle_Get = - _System_ModuleHandle_EmptyHandle_GetPtr.asFunction< - System_ModuleHandle_t Function()>(); - - System_ModuleHandle_t System_ModuleHandle_Create( - ffi.Pointer outException, - ) { - return _System_ModuleHandle_Create( - outException, - ); - } - - late final _System_ModuleHandle_CreatePtr = _lookup< - ffi.NativeFunction< - System_ModuleHandle_t Function( - ffi.Pointer)>>('System_ModuleHandle_Create'); - late final _System_ModuleHandle_Create = - _System_ModuleHandle_CreatePtr.asFunction< - System_ModuleHandle_t Function(ffi.Pointer)>(); - - System_Type_t System_ModuleHandle_TypeOf() { - return _System_ModuleHandle_TypeOf(); - } - - late final _System_ModuleHandle_TypeOfPtr = - _lookup>( - 'System_ModuleHandle_TypeOf'); - late final _System_ModuleHandle_TypeOf = - _System_ModuleHandle_TypeOfPtr.asFunction(); - - void System_ModuleHandle_Destroy( - System_ModuleHandle_t self, - ) { - return _System_ModuleHandle_Destroy( - self, - ); - } - - late final _System_ModuleHandle_DestroyPtr = - _lookup>( - 'System_ModuleHandle_Destroy'); - late final _System_ModuleHandle_Destroy = _System_ModuleHandle_DestroyPtr - .asFunction(); - - int System_RuntimeFieldHandle_GetHashCode( - System_RuntimeFieldHandle_t self, - ffi.Pointer outException, - ) { - return _System_RuntimeFieldHandle_GetHashCode( - self, - outException, - ); - } - - late final _System_RuntimeFieldHandle_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_RuntimeFieldHandle_t, - ffi.Pointer)>>( - 'System_RuntimeFieldHandle_GetHashCode'); - late final _System_RuntimeFieldHandle_GetHashCode = - _System_RuntimeFieldHandle_GetHashCodePtr.asFunction< - int Function( - System_RuntimeFieldHandle_t, ffi.Pointer)>(); - - bool System_RuntimeFieldHandle_Equals( - System_RuntimeFieldHandle_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_RuntimeFieldHandle_Equals( - self, - obj, - outException, - ); - } - - late final _System_RuntimeFieldHandle_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_RuntimeFieldHandle_t, System_Object_t, - ffi.Pointer)>>( - 'System_RuntimeFieldHandle_Equals'); - late final _System_RuntimeFieldHandle_Equals = - _System_RuntimeFieldHandle_EqualsPtr.asFunction< - bool Function(System_RuntimeFieldHandle_t, System_Object_t, - ffi.Pointer)>(); - - bool System_RuntimeFieldHandle_Equals_1( - System_RuntimeFieldHandle_t self, - System_RuntimeFieldHandle_t handle, - ffi.Pointer outException, - ) { - return _System_RuntimeFieldHandle_Equals_1( - self, - handle, - outException, - ); - } - - late final _System_RuntimeFieldHandle_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_RuntimeFieldHandle_t, - System_RuntimeFieldHandle_t, - ffi.Pointer)>>( - 'System_RuntimeFieldHandle_Equals_1'); - late final _System_RuntimeFieldHandle_Equals_1 = - _System_RuntimeFieldHandle_Equals_1Ptr.asFunction< - bool Function(System_RuntimeFieldHandle_t, - System_RuntimeFieldHandle_t, ffi.Pointer)>(); - - System_RuntimeFieldHandle_t System_RuntimeFieldHandle_FromIntPtr( - int value, - ffi.Pointer outException, - ) { - return _System_RuntimeFieldHandle_FromIntPtr( - value, - outException, - ); - } - - late final _System_RuntimeFieldHandle_FromIntPtrPtr = _lookup< - ffi.NativeFunction< - System_RuntimeFieldHandle_t Function( - ffi.Long, ffi.Pointer)>>( - 'System_RuntimeFieldHandle_FromIntPtr'); - late final _System_RuntimeFieldHandle_FromIntPtr = - _System_RuntimeFieldHandle_FromIntPtrPtr.asFunction< - System_RuntimeFieldHandle_t Function( - int, ffi.Pointer)>(); - - int System_RuntimeFieldHandle_ToIntPtr( - System_RuntimeFieldHandle_t value, - ffi.Pointer outException, - ) { - return _System_RuntimeFieldHandle_ToIntPtr( - value, - outException, - ); - } - - late final _System_RuntimeFieldHandle_ToIntPtrPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function(System_RuntimeFieldHandle_t, - ffi.Pointer)>>( - 'System_RuntimeFieldHandle_ToIntPtr'); - late final _System_RuntimeFieldHandle_ToIntPtr = - _System_RuntimeFieldHandle_ToIntPtrPtr.asFunction< - int Function( - System_RuntimeFieldHandle_t, ffi.Pointer)>(); - - void System_RuntimeFieldHandle_GetObjectData( - System_RuntimeFieldHandle_t self, - System_Runtime_Serialization_SerializationInfo_t info, - System_Runtime_Serialization_StreamingContext_t context, - ffi.Pointer outException, - ) { - return _System_RuntimeFieldHandle_GetObjectData( - self, - info, - context, - outException, - ); - } - - late final _System_RuntimeFieldHandle_GetObjectDataPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_RuntimeFieldHandle_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_RuntimeFieldHandle_GetObjectData'); - late final _System_RuntimeFieldHandle_GetObjectData = - _System_RuntimeFieldHandle_GetObjectDataPtr.asFunction< - void Function( - System_RuntimeFieldHandle_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - int System_RuntimeFieldHandle_Value_Get( - System_RuntimeFieldHandle_t self, - ffi.Pointer outException, - ) { - return _System_RuntimeFieldHandle_Value_Get( - self, - outException, - ); - } - - late final _System_RuntimeFieldHandle_Value_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function(System_RuntimeFieldHandle_t, - ffi.Pointer)>>( - 'System_RuntimeFieldHandle_Value_Get'); - late final _System_RuntimeFieldHandle_Value_Get = - _System_RuntimeFieldHandle_Value_GetPtr.asFunction< - int Function( - System_RuntimeFieldHandle_t, ffi.Pointer)>(); - - System_RuntimeFieldHandle_t System_RuntimeFieldHandle_Create( - ffi.Pointer outException, - ) { - return _System_RuntimeFieldHandle_Create( - outException, - ); - } - - late final _System_RuntimeFieldHandle_CreatePtr = _lookup< - ffi.NativeFunction< - System_RuntimeFieldHandle_t Function( - ffi.Pointer)>>( - 'System_RuntimeFieldHandle_Create'); - late final _System_RuntimeFieldHandle_Create = - _System_RuntimeFieldHandle_CreatePtr.asFunction< - System_RuntimeFieldHandle_t Function( - ffi.Pointer)>(); - - System_Type_t System_RuntimeFieldHandle_TypeOf() { - return _System_RuntimeFieldHandle_TypeOf(); - } - - late final _System_RuntimeFieldHandle_TypeOfPtr = - _lookup>( - 'System_RuntimeFieldHandle_TypeOf'); - late final _System_RuntimeFieldHandle_TypeOf = - _System_RuntimeFieldHandle_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_RuntimeFieldHandle_Destroy( - System_RuntimeFieldHandle_t self, - ) { - return _System_RuntimeFieldHandle_Destroy( - self, - ); - } - - late final _System_RuntimeFieldHandle_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_RuntimeFieldHandle_Destroy'); - late final _System_RuntimeFieldHandle_Destroy = - _System_RuntimeFieldHandle_DestroyPtr.asFunction< - void Function(System_RuntimeFieldHandle_t)>(); - - bool System_Reflection_ParameterInfo_IsDefined( - System_Reflection_ParameterInfo_t self, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_IsDefined( - self, - attributeType, - inherit, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_IsDefinedPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_ParameterInfo_t, - System_Type_t, ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_IsDefined'); - late final _System_Reflection_ParameterInfo_IsDefined = - _System_Reflection_ParameterInfo_IsDefinedPtr.asFunction< - bool Function(System_Reflection_ParameterInfo_t, System_Type_t, bool, - ffi.Pointer)>(); - - System_Object_Array_t System_Reflection_ParameterInfo_GetCustomAttributes( - System_Reflection_ParameterInfo_t self, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_GetCustomAttributes( - self, - inherit, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_GetCustomAttributesPtr = _lookup< - ffi.NativeFunction< - System_Object_Array_t Function(System_Reflection_ParameterInfo_t, - ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_GetCustomAttributes'); - late final _System_Reflection_ParameterInfo_GetCustomAttributes = - _System_Reflection_ParameterInfo_GetCustomAttributesPtr.asFunction< - System_Object_Array_t Function(System_Reflection_ParameterInfo_t, - bool, ffi.Pointer)>(); - - System_Object_Array_t System_Reflection_ParameterInfo_GetCustomAttributes_1( - System_Reflection_ParameterInfo_t self, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_GetCustomAttributes_1( - self, - attributeType, - inherit, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_GetCustomAttributes_1Ptr = - _lookup< - ffi.NativeFunction< - System_Object_Array_t Function( - System_Reflection_ParameterInfo_t, - System_Type_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_GetCustomAttributes_1'); - late final _System_Reflection_ParameterInfo_GetCustomAttributes_1 = - _System_Reflection_ParameterInfo_GetCustomAttributes_1Ptr.asFunction< - System_Object_Array_t Function(System_Reflection_ParameterInfo_t, - System_Type_t, bool, ffi.Pointer)>(); - - System_Type_t System_Reflection_ParameterInfo_GetModifiedParameterType( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_GetModifiedParameterType( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_GetModifiedParameterTypePtr = - _lookup< - ffi - .NativeFunction< - System_Type_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_GetModifiedParameterType'); - late final _System_Reflection_ParameterInfo_GetModifiedParameterType = - _System_Reflection_ParameterInfo_GetModifiedParameterTypePtr.asFunction< - System_Type_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - System_Type_Array_t - System_Reflection_ParameterInfo_GetOptionalCustomModifiers( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_GetOptionalCustomModifiers( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_GetOptionalCustomModifiersPtr = - _lookup< - ffi.NativeFunction< - System_Type_Array_t Function( - System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_GetOptionalCustomModifiers'); - late final _System_Reflection_ParameterInfo_GetOptionalCustomModifiers = - _System_Reflection_ParameterInfo_GetOptionalCustomModifiersPtr.asFunction< - System_Type_Array_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - System_Type_Array_t - System_Reflection_ParameterInfo_GetRequiredCustomModifiers( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_GetRequiredCustomModifiers( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_GetRequiredCustomModifiersPtr = - _lookup< - ffi.NativeFunction< - System_Type_Array_t Function( - System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_GetRequiredCustomModifiers'); - late final _System_Reflection_ParameterInfo_GetRequiredCustomModifiers = - _System_Reflection_ParameterInfo_GetRequiredCustomModifiersPtr.asFunction< - System_Type_Array_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - System_Object_t System_Reflection_ParameterInfo_GetRealObject( - System_Reflection_ParameterInfo_t self, - System_Runtime_Serialization_StreamingContext_t context, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_GetRealObject( - self, - context, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_GetRealObjectPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Reflection_ParameterInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_GetRealObject'); - late final _System_Reflection_ParameterInfo_GetRealObject = - _System_Reflection_ParameterInfo_GetRealObjectPtr.asFunction< - System_Object_t Function( - System_Reflection_ParameterInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - System_String_t System_Reflection_ParameterInfo_ToString( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_ToString( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_ToString'); - late final _System_Reflection_ParameterInfo_ToString = - _System_Reflection_ParameterInfo_ToStringPtr.asFunction< - System_String_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - int System_Reflection_ParameterInfo_Attributes_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_Attributes_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_Attributes_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_Attributes_Get'); - late final _System_Reflection_ParameterInfo_Attributes_Get = - _System_Reflection_ParameterInfo_Attributes_GetPtr.asFunction< - int Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - System_Reflection_MemberInfo_t System_Reflection_ParameterInfo_Member_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_Member_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_Member_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberInfo_t Function( - System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_Member_Get'); - late final _System_Reflection_ParameterInfo_Member_Get = - _System_Reflection_ParameterInfo_Member_GetPtr.asFunction< - System_Reflection_MemberInfo_t Function( - System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - System_String_t System_Reflection_ParameterInfo_Name_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_Name_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_Name_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_Name_Get'); - late final _System_Reflection_ParameterInfo_Name_Get = - _System_Reflection_ParameterInfo_Name_GetPtr.asFunction< - System_String_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_ParameterInfo_ParameterType_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_ParameterType_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_ParameterType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_ParameterType_Get'); - late final _System_Reflection_ParameterInfo_ParameterType_Get = - _System_Reflection_ParameterInfo_ParameterType_GetPtr.asFunction< - System_Type_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - int System_Reflection_ParameterInfo_Position_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_Position_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_Position_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_Position_Get'); - late final _System_Reflection_ParameterInfo_Position_Get = - _System_Reflection_ParameterInfo_Position_GetPtr.asFunction< - int Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_ParameterInfo_IsIn_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_IsIn_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_IsIn_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_IsIn_Get'); - late final _System_Reflection_ParameterInfo_IsIn_Get = - _System_Reflection_ParameterInfo_IsIn_GetPtr.asFunction< - bool Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_ParameterInfo_IsLcid_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_IsLcid_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_IsLcid_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_IsLcid_Get'); - late final _System_Reflection_ParameterInfo_IsLcid_Get = - _System_Reflection_ParameterInfo_IsLcid_GetPtr.asFunction< - bool Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_ParameterInfo_IsOptional_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_IsOptional_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_IsOptional_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_IsOptional_Get'); - late final _System_Reflection_ParameterInfo_IsOptional_Get = - _System_Reflection_ParameterInfo_IsOptional_GetPtr.asFunction< - bool Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_ParameterInfo_IsOut_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_IsOut_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_IsOut_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_IsOut_Get'); - late final _System_Reflection_ParameterInfo_IsOut_Get = - _System_Reflection_ParameterInfo_IsOut_GetPtr.asFunction< - bool Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_ParameterInfo_IsRetval_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_IsRetval_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_IsRetval_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_IsRetval_Get'); - late final _System_Reflection_ParameterInfo_IsRetval_Get = - _System_Reflection_ParameterInfo_IsRetval_GetPtr.asFunction< - bool Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - System_Object_t System_Reflection_ParameterInfo_DefaultValue_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_DefaultValue_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_DefaultValue_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_DefaultValue_Get'); - late final _System_Reflection_ParameterInfo_DefaultValue_Get = - _System_Reflection_ParameterInfo_DefaultValue_GetPtr.asFunction< - System_Object_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - System_Object_t System_Reflection_ParameterInfo_RawDefaultValue_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_RawDefaultValue_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_RawDefaultValue_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_RawDefaultValue_Get'); - late final _System_Reflection_ParameterInfo_RawDefaultValue_Get = - _System_Reflection_ParameterInfo_RawDefaultValue_GetPtr.asFunction< - System_Object_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_ParameterInfo_HasDefaultValue_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_HasDefaultValue_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_HasDefaultValue_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_HasDefaultValue_Get'); - late final _System_Reflection_ParameterInfo_HasDefaultValue_Get = - _System_Reflection_ParameterInfo_HasDefaultValue_GetPtr.asFunction< - bool Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - int System_Reflection_ParameterInfo_MetadataToken_Get( - System_Reflection_ParameterInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterInfo_MetadataToken_Get( - self, - outException, - ); - } - - late final _System_Reflection_ParameterInfo_MetadataToken_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ParameterInfo_MetadataToken_Get'); - late final _System_Reflection_ParameterInfo_MetadataToken_Get = - _System_Reflection_ParameterInfo_MetadataToken_GetPtr.asFunction< - int Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_ParameterInfo_TypeOf() { - return _System_Reflection_ParameterInfo_TypeOf(); - } - - late final _System_Reflection_ParameterInfo_TypeOfPtr = - _lookup>( - 'System_Reflection_ParameterInfo_TypeOf'); - late final _System_Reflection_ParameterInfo_TypeOf = - _System_Reflection_ParameterInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_ParameterInfo_Destroy( - System_Reflection_ParameterInfo_t self, - ) { - return _System_Reflection_ParameterInfo_Destroy( - self, - ); - } - - late final _System_Reflection_ParameterInfo_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_ParameterInfo_t)>>( - 'System_Reflection_ParameterInfo_Destroy'); - late final _System_Reflection_ParameterInfo_Destroy = - _System_Reflection_ParameterInfo_DestroyPtr.asFunction< - void Function(System_Reflection_ParameterInfo_t)>(); - - System_Object_t System_Runtime_Serialization_IObjectReference_GetRealObject( - System_Runtime_Serialization_IObjectReference_t self, - System_Runtime_Serialization_StreamingContext_t context, - ffi.Pointer outException, - ) { - return _System_Runtime_Serialization_IObjectReference_GetRealObject( - self, - context, - outException, - ); - } - - late final _System_Runtime_Serialization_IObjectReference_GetRealObjectPtr = - _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Runtime_Serialization_IObjectReference_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_Runtime_Serialization_IObjectReference_GetRealObject'); - late final _System_Runtime_Serialization_IObjectReference_GetRealObject = - _System_Runtime_Serialization_IObjectReference_GetRealObjectPtr - .asFunction< - System_Object_t Function( - System_Runtime_Serialization_IObjectReference_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - System_Type_t System_Runtime_Serialization_IObjectReference_TypeOf() { - return _System_Runtime_Serialization_IObjectReference_TypeOf(); - } - - late final _System_Runtime_Serialization_IObjectReference_TypeOfPtr = - _lookup>( - 'System_Runtime_Serialization_IObjectReference_TypeOf'); - late final _System_Runtime_Serialization_IObjectReference_TypeOf = - _System_Runtime_Serialization_IObjectReference_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Runtime_Serialization_IObjectReference_Destroy( - System_Runtime_Serialization_IObjectReference_t self, - ) { - return _System_Runtime_Serialization_IObjectReference_Destroy( - self, - ); - } - - late final _System_Runtime_Serialization_IObjectReference_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_Serialization_IObjectReference_t)>>( - 'System_Runtime_Serialization_IObjectReference_Destroy'); - late final _System_Runtime_Serialization_IObjectReference_Destroy = - _System_Runtime_Serialization_IObjectReference_DestroyPtr.asFunction< - void Function(System_Runtime_Serialization_IObjectReference_t)>(); - - System_Byte_Array_t System_Reflection_MethodBody_GetILAsByteArray( - System_Reflection_MethodBody_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBody_GetILAsByteArray( - self, - outException, - ); - } - - late final _System_Reflection_MethodBody_GetILAsByteArrayPtr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function(System_Reflection_MethodBody_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBody_GetILAsByteArray'); - late final _System_Reflection_MethodBody_GetILAsByteArray = - _System_Reflection_MethodBody_GetILAsByteArrayPtr.asFunction< - System_Byte_Array_t Function(System_Reflection_MethodBody_t, - ffi.Pointer)>(); - - int System_Reflection_MethodBody_LocalSignatureMetadataToken_Get( - System_Reflection_MethodBody_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBody_LocalSignatureMetadataToken_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBody_LocalSignatureMetadataToken_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_MethodBody_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBody_LocalSignatureMetadataToken_Get'); - late final _System_Reflection_MethodBody_LocalSignatureMetadataToken_Get = - _System_Reflection_MethodBody_LocalSignatureMetadataToken_GetPtr - .asFunction< - int Function(System_Reflection_MethodBody_t, - ffi.Pointer)>(); - - int System_Reflection_MethodBody_MaxStackSize_Get( - System_Reflection_MethodBody_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBody_MaxStackSize_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBody_MaxStackSize_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_MethodBody_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBody_MaxStackSize_Get'); - late final _System_Reflection_MethodBody_MaxStackSize_Get = - _System_Reflection_MethodBody_MaxStackSize_GetPtr.asFunction< - int Function(System_Reflection_MethodBody_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodBody_InitLocals_Get( - System_Reflection_MethodBody_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodBody_InitLocals_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodBody_InitLocals_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodBody_t, - ffi.Pointer)>>( - 'System_Reflection_MethodBody_InitLocals_Get'); - late final _System_Reflection_MethodBody_InitLocals_Get = - _System_Reflection_MethodBody_InitLocals_GetPtr.asFunction< - bool Function(System_Reflection_MethodBody_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_MethodBody_TypeOf() { - return _System_Reflection_MethodBody_TypeOf(); - } - - late final _System_Reflection_MethodBody_TypeOfPtr = - _lookup>( - 'System_Reflection_MethodBody_TypeOf'); - late final _System_Reflection_MethodBody_TypeOf = - _System_Reflection_MethodBody_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_MethodBody_Destroy( - System_Reflection_MethodBody_t self, - ) { - return _System_Reflection_MethodBody_Destroy( - self, - ); - } - - late final _System_Reflection_MethodBody_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Reflection_MethodBody_Destroy'); - late final _System_Reflection_MethodBody_Destroy = - _System_Reflection_MethodBody_DestroyPtr.asFunction< - void Function(System_Reflection_MethodBody_t)>(); - - System_Reflection_FieldInfo_t System_Reflection_Binder_BindToField( - System_Reflection_Binder_t self, - int bindingAttr, - System_Reflection_FieldInfo_Array_t match, - System_Object_t value, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_Reflection_Binder_BindToField( - self, - bindingAttr, - match, - value, - culture, - outException, - ); - } - - late final _System_Reflection_Binder_BindToFieldPtr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_t Function( - System_Reflection_Binder_t, - ffi.Int32, - System_Reflection_FieldInfo_Array_t, - System_Object_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Reflection_Binder_BindToField'); - late final _System_Reflection_Binder_BindToField = - _System_Reflection_Binder_BindToFieldPtr.asFunction< - System_Reflection_FieldInfo_t Function( - System_Reflection_Binder_t, - int, - System_Reflection_FieldInfo_Array_t, - System_Object_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodBase_t System_Reflection_Binder_BindToMethod( - System_Reflection_Binder_t self, - int bindingAttr, - System_Reflection_MethodBase_Array_t match, - ffi.Pointer args, - System_Reflection_ParameterModifier_Array_t modifiers, - System_Globalization_CultureInfo_t culture, - System_String_Array_t names, - ffi.Pointer state, - ffi.Pointer outException, - ) { - return _System_Reflection_Binder_BindToMethod( - self, - bindingAttr, - match, - args, - modifiers, - culture, - names, - state, - outException, - ); - } - - late final _System_Reflection_Binder_BindToMethodPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodBase_t Function( - System_Reflection_Binder_t, - ffi.Int32, - System_Reflection_MethodBase_Array_t, - ffi.Pointer, - System_Reflection_ParameterModifier_Array_t, - System_Globalization_CultureInfo_t, - System_String_Array_t, - ffi.Pointer, - ffi.Pointer)>>( - 'System_Reflection_Binder_BindToMethod'); - late final _System_Reflection_Binder_BindToMethod = - _System_Reflection_Binder_BindToMethodPtr.asFunction< - System_Reflection_MethodBase_t Function( - System_Reflection_Binder_t, - int, - System_Reflection_MethodBase_Array_t, - ffi.Pointer, - System_Reflection_ParameterModifier_Array_t, - System_Globalization_CultureInfo_t, - System_String_Array_t, - ffi.Pointer, - ffi.Pointer)>(); - - System_Object_t System_Reflection_Binder_ChangeType( - System_Reflection_Binder_t self, - System_Object_t value, - System_Type_t type, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_Reflection_Binder_ChangeType( - self, - value, - type, - culture, - outException, - ); - } - - late final _System_Reflection_Binder_ChangeTypePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Reflection_Binder_t, - System_Object_t, - System_Type_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Reflection_Binder_ChangeType'); - late final _System_Reflection_Binder_ChangeType = - _System_Reflection_Binder_ChangeTypePtr.asFunction< - System_Object_t Function( - System_Reflection_Binder_t, - System_Object_t, - System_Type_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - void System_Reflection_Binder_ReorderArgumentArray( - System_Reflection_Binder_t self, - ffi.Pointer args, - System_Object_t state, - ffi.Pointer outException, - ) { - return _System_Reflection_Binder_ReorderArgumentArray( - self, - args, - state, - outException, - ); - } - - late final _System_Reflection_Binder_ReorderArgumentArrayPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_Binder_t, - ffi.Pointer, - System_Object_t, - ffi.Pointer)>>( - 'System_Reflection_Binder_ReorderArgumentArray'); - late final _System_Reflection_Binder_ReorderArgumentArray = - _System_Reflection_Binder_ReorderArgumentArrayPtr.asFunction< - void Function( - System_Reflection_Binder_t, - ffi.Pointer, - System_Object_t, - ffi.Pointer)>(); - - System_Reflection_MethodBase_t System_Reflection_Binder_SelectMethod( - System_Reflection_Binder_t self, - int bindingAttr, - System_Reflection_MethodBase_Array_t match, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Reflection_Binder_SelectMethod( - self, - bindingAttr, - match, - types, - modifiers, - outException, - ); - } - - late final _System_Reflection_Binder_SelectMethodPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodBase_t Function( - System_Reflection_Binder_t, - ffi.Int32, - System_Reflection_MethodBase_Array_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>( - 'System_Reflection_Binder_SelectMethod'); - late final _System_Reflection_Binder_SelectMethod = - _System_Reflection_Binder_SelectMethodPtr.asFunction< - System_Reflection_MethodBase_t Function( - System_Reflection_Binder_t, - int, - System_Reflection_MethodBase_Array_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_PropertyInfo_t System_Reflection_Binder_SelectProperty( - System_Reflection_Binder_t self, - int bindingAttr, - System_Reflection_PropertyInfo_Array_t match, - System_Type_t returnType, - System_Type_Array_t indexes, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Reflection_Binder_SelectProperty( - self, - bindingAttr, - match, - returnType, - indexes, - modifiers, - outException, - ); - } - - late final _System_Reflection_Binder_SelectPropertyPtr = _lookup< - ffi.NativeFunction< - System_Reflection_PropertyInfo_t Function( - System_Reflection_Binder_t, - ffi.Int32, - System_Reflection_PropertyInfo_Array_t, - System_Type_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>( - 'System_Reflection_Binder_SelectProperty'); - late final _System_Reflection_Binder_SelectProperty = - _System_Reflection_Binder_SelectPropertyPtr.asFunction< - System_Reflection_PropertyInfo_t Function( - System_Reflection_Binder_t, - int, - System_Reflection_PropertyInfo_Array_t, - System_Type_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_Binder_TypeOf() { - return _System_Reflection_Binder_TypeOf(); - } - - late final _System_Reflection_Binder_TypeOfPtr = - _lookup>( - 'System_Reflection_Binder_TypeOf'); - late final _System_Reflection_Binder_TypeOf = - _System_Reflection_Binder_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_Binder_Destroy( - System_Reflection_Binder_t self, - ) { - return _System_Reflection_Binder_Destroy( - self, - ); - } - - late final _System_Reflection_Binder_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_Reflection_Binder_Destroy'); - late final _System_Reflection_Binder_Destroy = - _System_Reflection_Binder_DestroyPtr.asFunction< - void Function(System_Reflection_Binder_t)>(); - - System_Reflection_FieldInfo_t System_Reflection_FieldInfo_GetFieldFromHandle( - System_RuntimeFieldHandle_t handle, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_GetFieldFromHandle( - handle, - outException, - ); - } - - late final _System_Reflection_FieldInfo_GetFieldFromHandlePtr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_t Function( - System_RuntimeFieldHandle_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_GetFieldFromHandle'); - late final _System_Reflection_FieldInfo_GetFieldFromHandle = - _System_Reflection_FieldInfo_GetFieldFromHandlePtr.asFunction< - System_Reflection_FieldInfo_t Function( - System_RuntimeFieldHandle_t, ffi.Pointer)>(); - - System_Reflection_FieldInfo_t - System_Reflection_FieldInfo_GetFieldFromHandle_1( - System_RuntimeFieldHandle_t handle, - System_RuntimeTypeHandle_t declaringType, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_GetFieldFromHandle_1( - handle, - declaringType, - outException, - ); - } - - late final _System_Reflection_FieldInfo_GetFieldFromHandle_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_t Function( - System_RuntimeFieldHandle_t, - System_RuntimeTypeHandle_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_GetFieldFromHandle_1'); - late final _System_Reflection_FieldInfo_GetFieldFromHandle_1 = - _System_Reflection_FieldInfo_GetFieldFromHandle_1Ptr.asFunction< - System_Reflection_FieldInfo_t Function(System_RuntimeFieldHandle_t, - System_RuntimeTypeHandle_t, ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_Equals( - System_Reflection_FieldInfo_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_Equals( - self, - obj, - outException, - ); - } - - late final _System_Reflection_FieldInfo_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, System_Object_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_Equals'); - late final _System_Reflection_FieldInfo_Equals = - _System_Reflection_FieldInfo_EqualsPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, System_Object_t, - ffi.Pointer)>(); - - int System_Reflection_FieldInfo_GetHashCode( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_GetHashCode( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_GetHashCode'); - late final _System_Reflection_FieldInfo_GetHashCode = - _System_Reflection_FieldInfo_GetHashCodePtr.asFunction< - int Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - System_Object_t System_Reflection_FieldInfo_GetValue( - System_Reflection_FieldInfo_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_GetValue( - self, - obj, - outException, - ); - } - - late final _System_Reflection_FieldInfo_GetValuePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Reflection_FieldInfo_t, - System_Object_t, ffi.Pointer)>>( - 'System_Reflection_FieldInfo_GetValue'); - late final _System_Reflection_FieldInfo_GetValue = - _System_Reflection_FieldInfo_GetValuePtr.asFunction< - System_Object_t Function(System_Reflection_FieldInfo_t, - System_Object_t, ffi.Pointer)>(); - - void System_Reflection_FieldInfo_SetValue( - System_Reflection_FieldInfo_t self, - System_Object_t obj, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_SetValue( - self, - obj, - value, - outException, - ); - } - - late final _System_Reflection_FieldInfo_SetValuePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_FieldInfo_t, System_Object_t, - System_Object_t, ffi.Pointer)>>( - 'System_Reflection_FieldInfo_SetValue'); - late final _System_Reflection_FieldInfo_SetValue = - _System_Reflection_FieldInfo_SetValuePtr.asFunction< - void Function(System_Reflection_FieldInfo_t, System_Object_t, - System_Object_t, ffi.Pointer)>(); - - void System_Reflection_FieldInfo_SetValue_1( - System_Reflection_FieldInfo_t self, - System_Object_t obj, - System_Object_t value, - int invokeAttr, - System_Reflection_Binder_t binder, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_SetValue_1( - self, - obj, - value, - invokeAttr, - binder, - culture, - outException, - ); - } - - late final _System_Reflection_FieldInfo_SetValue_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_FieldInfo_t, - System_Object_t, - System_Object_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_SetValue_1'); - late final _System_Reflection_FieldInfo_SetValue_1 = - _System_Reflection_FieldInfo_SetValue_1Ptr.asFunction< - void Function( - System_Reflection_FieldInfo_t, - System_Object_t, - System_Object_t, - int, - System_Reflection_Binder_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Object_t System_Reflection_FieldInfo_GetRawConstantValue( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_GetRawConstantValue( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_GetRawConstantValuePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_GetRawConstantValue'); - late final _System_Reflection_FieldInfo_GetRawConstantValue = - _System_Reflection_FieldInfo_GetRawConstantValuePtr.asFunction< - System_Object_t Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_FieldInfo_GetModifiedFieldType( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_GetModifiedFieldType( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_GetModifiedFieldTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_GetModifiedFieldType'); - late final _System_Reflection_FieldInfo_GetModifiedFieldType = - _System_Reflection_FieldInfo_GetModifiedFieldTypePtr.asFunction< - System_Type_t Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - System_Type_Array_t System_Reflection_FieldInfo_GetOptionalCustomModifiers( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_GetOptionalCustomModifiers( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_GetOptionalCustomModifiersPtr = - _lookup< - ffi.NativeFunction< - System_Type_Array_t Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_GetOptionalCustomModifiers'); - late final _System_Reflection_FieldInfo_GetOptionalCustomModifiers = - _System_Reflection_FieldInfo_GetOptionalCustomModifiersPtr.asFunction< - System_Type_Array_t Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - System_Type_Array_t System_Reflection_FieldInfo_GetRequiredCustomModifiers( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_GetRequiredCustomModifiers( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_GetRequiredCustomModifiersPtr = - _lookup< - ffi.NativeFunction< - System_Type_Array_t Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_GetRequiredCustomModifiers'); - late final _System_Reflection_FieldInfo_GetRequiredCustomModifiers = - _System_Reflection_FieldInfo_GetRequiredCustomModifiersPtr.asFunction< - System_Type_Array_t Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - int System_Reflection_FieldInfo_MemberType_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_MemberType_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_MemberType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_MemberType_Get'); - late final _System_Reflection_FieldInfo_MemberType_Get = - _System_Reflection_FieldInfo_MemberType_GetPtr.asFunction< - int Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - int System_Reflection_FieldInfo_Attributes_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_Attributes_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_Attributes_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_Attributes_Get'); - late final _System_Reflection_FieldInfo_Attributes_Get = - _System_Reflection_FieldInfo_Attributes_GetPtr.asFunction< - int Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_FieldInfo_FieldType_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_FieldType_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_FieldType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_FieldType_Get'); - late final _System_Reflection_FieldInfo_FieldType_Get = - _System_Reflection_FieldInfo_FieldType_GetPtr.asFunction< - System_Type_t Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsInitOnly_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsInitOnly_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsInitOnly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsInitOnly_Get'); - late final _System_Reflection_FieldInfo_IsInitOnly_Get = - _System_Reflection_FieldInfo_IsInitOnly_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsLiteral_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsLiteral_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsLiteral_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsLiteral_Get'); - late final _System_Reflection_FieldInfo_IsLiteral_Get = - _System_Reflection_FieldInfo_IsLiteral_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsNotSerialized_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsNotSerialized_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsNotSerialized_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsNotSerialized_Get'); - late final _System_Reflection_FieldInfo_IsNotSerialized_Get = - _System_Reflection_FieldInfo_IsNotSerialized_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsPinvokeImpl_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsPinvokeImpl_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsPinvokeImpl_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsPinvokeImpl_Get'); - late final _System_Reflection_FieldInfo_IsPinvokeImpl_Get = - _System_Reflection_FieldInfo_IsPinvokeImpl_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsSpecialName_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsSpecialName_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsSpecialName_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsSpecialName_Get'); - late final _System_Reflection_FieldInfo_IsSpecialName_Get = - _System_Reflection_FieldInfo_IsSpecialName_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsStatic_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsStatic_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsStatic_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsStatic_Get'); - late final _System_Reflection_FieldInfo_IsStatic_Get = - _System_Reflection_FieldInfo_IsStatic_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsAssembly_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsAssembly_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsAssembly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsAssembly_Get'); - late final _System_Reflection_FieldInfo_IsAssembly_Get = - _System_Reflection_FieldInfo_IsAssembly_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsFamily_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsFamily_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsFamily_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsFamily_Get'); - late final _System_Reflection_FieldInfo_IsFamily_Get = - _System_Reflection_FieldInfo_IsFamily_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsFamilyAndAssembly_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsFamilyAndAssembly_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsFamilyAndAssembly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsFamilyAndAssembly_Get'); - late final _System_Reflection_FieldInfo_IsFamilyAndAssembly_Get = - _System_Reflection_FieldInfo_IsFamilyAndAssembly_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsFamilyOrAssembly_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsFamilyOrAssembly_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsFamilyOrAssembly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsFamilyOrAssembly_Get'); - late final _System_Reflection_FieldInfo_IsFamilyOrAssembly_Get = - _System_Reflection_FieldInfo_IsFamilyOrAssembly_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsPrivate_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsPrivate_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsPrivate_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsPrivate_Get'); - late final _System_Reflection_FieldInfo_IsPrivate_Get = - _System_Reflection_FieldInfo_IsPrivate_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsPublic_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsPublic_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsPublic_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsPublic_Get'); - late final _System_Reflection_FieldInfo_IsPublic_Get = - _System_Reflection_FieldInfo_IsPublic_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsSecurityCritical_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsSecurityCritical_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsSecurityCritical_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsSecurityCritical_Get'); - late final _System_Reflection_FieldInfo_IsSecurityCritical_Get = - _System_Reflection_FieldInfo_IsSecurityCritical_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsSecuritySafeCritical_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsSecuritySafeCritical_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsSecuritySafeCritical_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsSecuritySafeCritical_Get'); - late final _System_Reflection_FieldInfo_IsSecuritySafeCritical_Get = - _System_Reflection_FieldInfo_IsSecuritySafeCritical_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_FieldInfo_IsSecurityTransparent_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_IsSecurityTransparent_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_IsSecurityTransparent_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_IsSecurityTransparent_Get'); - late final _System_Reflection_FieldInfo_IsSecurityTransparent_Get = - _System_Reflection_FieldInfo_IsSecurityTransparent_GetPtr.asFunction< - bool Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - System_RuntimeFieldHandle_t System_Reflection_FieldInfo_FieldHandle_Get( - System_Reflection_FieldInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_FieldInfo_FieldHandle_Get( - self, - outException, - ); - } - - late final _System_Reflection_FieldInfo_FieldHandle_GetPtr = _lookup< - ffi.NativeFunction< - System_RuntimeFieldHandle_t Function( - System_Reflection_FieldInfo_t, - ffi.Pointer)>>( - 'System_Reflection_FieldInfo_FieldHandle_Get'); - late final _System_Reflection_FieldInfo_FieldHandle_Get = - _System_Reflection_FieldInfo_FieldHandle_GetPtr.asFunction< - System_RuntimeFieldHandle_t Function(System_Reflection_FieldInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_FieldInfo_TypeOf() { - return _System_Reflection_FieldInfo_TypeOf(); - } - - late final _System_Reflection_FieldInfo_TypeOfPtr = - _lookup>( - 'System_Reflection_FieldInfo_TypeOf'); - late final _System_Reflection_FieldInfo_TypeOf = - _System_Reflection_FieldInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_FieldInfo_Destroy( - System_Reflection_FieldInfo_t self, - ) { - return _System_Reflection_FieldInfo_Destroy( - self, - ); - } - - late final _System_Reflection_FieldInfo_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_Reflection_FieldInfo_Destroy'); - late final _System_Reflection_FieldInfo_Destroy = - _System_Reflection_FieldInfo_DestroyPtr.asFunction< - void Function(System_Reflection_FieldInfo_t)>(); - - System_Reflection_ParameterModifier_t - System_Reflection_ParameterModifier_Create( - int parameterCount, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterModifier_Create( - parameterCount, - outException, - ); - } - - late final _System_Reflection_ParameterModifier_CreatePtr = _lookup< - ffi.NativeFunction< - System_Reflection_ParameterModifier_t Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Reflection_ParameterModifier_Create'); - late final _System_Reflection_ParameterModifier_Create = - _System_Reflection_ParameterModifier_CreatePtr.asFunction< - System_Reflection_ParameterModifier_t Function( - int, ffi.Pointer)>(); - - bool System_Reflection_ParameterModifier_Item_Get( - System_Reflection_ParameterModifier_t self, - int index, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterModifier_Item_Get( - self, - index, - outException, - ); - } - - late final _System_Reflection_ParameterModifier_Item_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_ParameterModifier_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Reflection_ParameterModifier_Item_Get'); - late final _System_Reflection_ParameterModifier_Item_Get = - _System_Reflection_ParameterModifier_Item_GetPtr.asFunction< - bool Function(System_Reflection_ParameterModifier_t, int, - ffi.Pointer)>(); - - void System_Reflection_ParameterModifier_Item_Set( - System_Reflection_ParameterModifier_t self, - int index, - bool value, - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterModifier_Item_Set( - self, - index, - value, - outException, - ); - } - - late final _System_Reflection_ParameterModifier_Item_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_ParameterModifier_t, - ffi.Int32, ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_ParameterModifier_Item_Set'); - late final _System_Reflection_ParameterModifier_Item_Set = - _System_Reflection_ParameterModifier_Item_SetPtr.asFunction< - void Function(System_Reflection_ParameterModifier_t, int, bool, - ffi.Pointer)>(); - - System_Reflection_ParameterModifier_t - System_Reflection_ParameterModifier_Create_1( - ffi.Pointer outException, - ) { - return _System_Reflection_ParameterModifier_Create_1( - outException, - ); - } - - late final _System_Reflection_ParameterModifier_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_ParameterModifier_t Function( - ffi.Pointer)>>( - 'System_Reflection_ParameterModifier_Create_1'); - late final _System_Reflection_ParameterModifier_Create_1 = - _System_Reflection_ParameterModifier_Create_1Ptr.asFunction< - System_Reflection_ParameterModifier_t Function( - ffi.Pointer)>(); - - System_Type_t System_Reflection_ParameterModifier_TypeOf() { - return _System_Reflection_ParameterModifier_TypeOf(); - } - - late final _System_Reflection_ParameterModifier_TypeOfPtr = - _lookup>( - 'System_Reflection_ParameterModifier_TypeOf'); - late final _System_Reflection_ParameterModifier_TypeOf = - _System_Reflection_ParameterModifier_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_ParameterModifier_Destroy( - System_Reflection_ParameterModifier_t self, - ) { - return _System_Reflection_ParameterModifier_Destroy( - self, - ); - } - - late final _System_Reflection_ParameterModifier_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_ParameterModifier_t)>>( - 'System_Reflection_ParameterModifier_Destroy'); - late final _System_Reflection_ParameterModifier_Destroy = - _System_Reflection_ParameterModifier_DestroyPtr.asFunction< - void Function(System_Reflection_ParameterModifier_t)>(); - - System_Reflection_ParameterInfo_Array_t - System_Reflection_PropertyInfo_GetIndexParameters( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetIndexParameters( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetIndexParametersPtr = _lookup< - ffi.NativeFunction< - System_Reflection_ParameterInfo_Array_t Function( - System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetIndexParameters'); - late final _System_Reflection_PropertyInfo_GetIndexParameters = - _System_Reflection_PropertyInfo_GetIndexParametersPtr.asFunction< - System_Reflection_ParameterInfo_Array_t Function( - System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_Array_t - System_Reflection_PropertyInfo_GetAccessors( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetAccessors( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetAccessorsPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetAccessors'); - late final _System_Reflection_PropertyInfo_GetAccessors = - _System_Reflection_PropertyInfo_GetAccessorsPtr.asFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_Array_t - System_Reflection_PropertyInfo_GetAccessors_1( - System_Reflection_PropertyInfo_t self, - bool nonPublic, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetAccessors_1( - self, - nonPublic, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetAccessors_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_PropertyInfo_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetAccessors_1'); - late final _System_Reflection_PropertyInfo_GetAccessors_1 = - _System_Reflection_PropertyInfo_GetAccessors_1Ptr.asFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_PropertyInfo_t, - bool, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_PropertyInfo_GetGetMethod( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetGetMethod( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetGetMethodPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetGetMethod'); - late final _System_Reflection_PropertyInfo_GetGetMethod = - _System_Reflection_PropertyInfo_GetGetMethodPtr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_PropertyInfo_GetGetMethod_1( - System_Reflection_PropertyInfo_t self, - bool nonPublic, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetGetMethod_1( - self, - nonPublic, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetGetMethod_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_PropertyInfo_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetGetMethod_1'); - late final _System_Reflection_PropertyInfo_GetGetMethod_1 = - _System_Reflection_PropertyInfo_GetGetMethod_1Ptr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_PropertyInfo_t, - bool, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_PropertyInfo_GetSetMethod( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetSetMethod( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetSetMethodPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetSetMethod'); - late final _System_Reflection_PropertyInfo_GetSetMethod = - _System_Reflection_PropertyInfo_GetSetMethodPtr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_PropertyInfo_GetSetMethod_1( - System_Reflection_PropertyInfo_t self, - bool nonPublic, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetSetMethod_1( - self, - nonPublic, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetSetMethod_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_PropertyInfo_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetSetMethod_1'); - late final _System_Reflection_PropertyInfo_GetSetMethod_1 = - _System_Reflection_PropertyInfo_GetSetMethod_1Ptr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_PropertyInfo_t, - bool, - ffi.Pointer)>(); - - System_Type_t System_Reflection_PropertyInfo_GetModifiedPropertyType( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetModifiedPropertyType( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetModifiedPropertyTypePtr = - _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetModifiedPropertyType'); - late final _System_Reflection_PropertyInfo_GetModifiedPropertyType = - _System_Reflection_PropertyInfo_GetModifiedPropertyTypePtr.asFunction< - System_Type_t Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - System_Type_Array_t System_Reflection_PropertyInfo_GetOptionalCustomModifiers( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetOptionalCustomModifiers( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetOptionalCustomModifiersPtr = - _lookup< - ffi.NativeFunction< - System_Type_Array_t Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetOptionalCustomModifiers'); - late final _System_Reflection_PropertyInfo_GetOptionalCustomModifiers = - _System_Reflection_PropertyInfo_GetOptionalCustomModifiersPtr.asFunction< - System_Type_Array_t Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - System_Type_Array_t System_Reflection_PropertyInfo_GetRequiredCustomModifiers( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetRequiredCustomModifiers( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetRequiredCustomModifiersPtr = - _lookup< - ffi.NativeFunction< - System_Type_Array_t Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetRequiredCustomModifiers'); - late final _System_Reflection_PropertyInfo_GetRequiredCustomModifiers = - _System_Reflection_PropertyInfo_GetRequiredCustomModifiersPtr.asFunction< - System_Type_Array_t Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - System_Object_t System_Reflection_PropertyInfo_GetValue( - System_Reflection_PropertyInfo_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetValue( - self, - obj, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetValuePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Reflection_PropertyInfo_t, - System_Object_t, ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetValue'); - late final _System_Reflection_PropertyInfo_GetValue = - _System_Reflection_PropertyInfo_GetValuePtr.asFunction< - System_Object_t Function(System_Reflection_PropertyInfo_t, - System_Object_t, ffi.Pointer)>(); - - System_Object_t System_Reflection_PropertyInfo_GetValue_1( - System_Reflection_PropertyInfo_t self, - System_Object_t obj, - System_Object_Array_t index, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetValue_1( - self, - obj, - index, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetValue_1Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Reflection_PropertyInfo_t, - System_Object_t, - System_Object_Array_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetValue_1'); - late final _System_Reflection_PropertyInfo_GetValue_1 = - _System_Reflection_PropertyInfo_GetValue_1Ptr.asFunction< - System_Object_t Function( - System_Reflection_PropertyInfo_t, - System_Object_t, - System_Object_Array_t, - ffi.Pointer)>(); - - System_Object_t System_Reflection_PropertyInfo_GetValue_2( - System_Reflection_PropertyInfo_t self, - System_Object_t obj, - int invokeAttr, - System_Reflection_Binder_t binder, - System_Object_Array_t index, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetValue_2( - self, - obj, - invokeAttr, - binder, - index, - culture, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetValue_2Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Reflection_PropertyInfo_t, - System_Object_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Object_Array_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetValue_2'); - late final _System_Reflection_PropertyInfo_GetValue_2 = - _System_Reflection_PropertyInfo_GetValue_2Ptr.asFunction< - System_Object_t Function( - System_Reflection_PropertyInfo_t, - System_Object_t, - int, - System_Reflection_Binder_t, - System_Object_Array_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Object_t System_Reflection_PropertyInfo_GetConstantValue( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetConstantValue( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetConstantValuePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetConstantValue'); - late final _System_Reflection_PropertyInfo_GetConstantValue = - _System_Reflection_PropertyInfo_GetConstantValuePtr.asFunction< - System_Object_t Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - System_Object_t System_Reflection_PropertyInfo_GetRawConstantValue( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetRawConstantValue( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetRawConstantValuePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetRawConstantValue'); - late final _System_Reflection_PropertyInfo_GetRawConstantValue = - _System_Reflection_PropertyInfo_GetRawConstantValuePtr.asFunction< - System_Object_t Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - void System_Reflection_PropertyInfo_SetValue( - System_Reflection_PropertyInfo_t self, - System_Object_t obj, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_SetValue( - self, - obj, - value, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_SetValuePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_PropertyInfo_t, - System_Object_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_SetValue'); - late final _System_Reflection_PropertyInfo_SetValue = - _System_Reflection_PropertyInfo_SetValuePtr.asFunction< - void Function(System_Reflection_PropertyInfo_t, System_Object_t, - System_Object_t, ffi.Pointer)>(); - - void System_Reflection_PropertyInfo_SetValue_1( - System_Reflection_PropertyInfo_t self, - System_Object_t obj, - System_Object_t value, - System_Object_Array_t index, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_SetValue_1( - self, - obj, - value, - index, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_SetValue_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_PropertyInfo_t, - System_Object_t, - System_Object_t, - System_Object_Array_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_SetValue_1'); - late final _System_Reflection_PropertyInfo_SetValue_1 = - _System_Reflection_PropertyInfo_SetValue_1Ptr.asFunction< - void Function( - System_Reflection_PropertyInfo_t, - System_Object_t, - System_Object_t, - System_Object_Array_t, - ffi.Pointer)>(); - - void System_Reflection_PropertyInfo_SetValue_2( - System_Reflection_PropertyInfo_t self, - System_Object_t obj, - System_Object_t value, - int invokeAttr, - System_Reflection_Binder_t binder, - System_Object_Array_t index, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_SetValue_2( - self, - obj, - value, - invokeAttr, - binder, - index, - culture, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_SetValue_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_PropertyInfo_t, - System_Object_t, - System_Object_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Object_Array_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_SetValue_2'); - late final _System_Reflection_PropertyInfo_SetValue_2 = - _System_Reflection_PropertyInfo_SetValue_2Ptr.asFunction< - void Function( - System_Reflection_PropertyInfo_t, - System_Object_t, - System_Object_t, - int, - System_Reflection_Binder_t, - System_Object_Array_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_PropertyInfo_Equals( - System_Reflection_PropertyInfo_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_Equals( - self, - obj, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_PropertyInfo_t, - System_Object_t, ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_Equals'); - late final _System_Reflection_PropertyInfo_Equals = - _System_Reflection_PropertyInfo_EqualsPtr.asFunction< - bool Function(System_Reflection_PropertyInfo_t, System_Object_t, - ffi.Pointer)>(); - - int System_Reflection_PropertyInfo_GetHashCode( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetHashCode( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetHashCode'); - late final _System_Reflection_PropertyInfo_GetHashCode = - _System_Reflection_PropertyInfo_GetHashCodePtr.asFunction< - int Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - int System_Reflection_PropertyInfo_MemberType_Get( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_MemberType_Get( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_MemberType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_MemberType_Get'); - late final _System_Reflection_PropertyInfo_MemberType_Get = - _System_Reflection_PropertyInfo_MemberType_GetPtr.asFunction< - int Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_PropertyInfo_PropertyType_Get( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_PropertyType_Get( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_PropertyType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_PropertyType_Get'); - late final _System_Reflection_PropertyInfo_PropertyType_Get = - _System_Reflection_PropertyInfo_PropertyType_GetPtr.asFunction< - System_Type_t Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - int System_Reflection_PropertyInfo_Attributes_Get( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_Attributes_Get( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_Attributes_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_Attributes_Get'); - late final _System_Reflection_PropertyInfo_Attributes_Get = - _System_Reflection_PropertyInfo_Attributes_GetPtr.asFunction< - int Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_PropertyInfo_IsSpecialName_Get( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_IsSpecialName_Get( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_IsSpecialName_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_IsSpecialName_Get'); - late final _System_Reflection_PropertyInfo_IsSpecialName_Get = - _System_Reflection_PropertyInfo_IsSpecialName_GetPtr.asFunction< - bool Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_PropertyInfo_CanRead_Get( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_CanRead_Get( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_CanRead_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_CanRead_Get'); - late final _System_Reflection_PropertyInfo_CanRead_Get = - _System_Reflection_PropertyInfo_CanRead_GetPtr.asFunction< - bool Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_PropertyInfo_CanWrite_Get( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_CanWrite_Get( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_CanWrite_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_CanWrite_Get'); - late final _System_Reflection_PropertyInfo_CanWrite_Get = - _System_Reflection_PropertyInfo_CanWrite_GetPtr.asFunction< - bool Function(System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_PropertyInfo_GetMethod_Get( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_GetMethod_Get( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_GetMethod_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_GetMethod_Get'); - late final _System_Reflection_PropertyInfo_GetMethod_Get = - _System_Reflection_PropertyInfo_GetMethod_GetPtr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_PropertyInfo_SetMethod_Get( - System_Reflection_PropertyInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_PropertyInfo_SetMethod_Get( - self, - outException, - ); - } - - late final _System_Reflection_PropertyInfo_SetMethod_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_PropertyInfo_t, - ffi.Pointer)>>( - 'System_Reflection_PropertyInfo_SetMethod_Get'); - late final _System_Reflection_PropertyInfo_SetMethod_Get = - _System_Reflection_PropertyInfo_SetMethod_GetPtr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_PropertyInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_PropertyInfo_TypeOf() { - return _System_Reflection_PropertyInfo_TypeOf(); - } - - late final _System_Reflection_PropertyInfo_TypeOfPtr = - _lookup>( - 'System_Reflection_PropertyInfo_TypeOf'); - late final _System_Reflection_PropertyInfo_TypeOf = - _System_Reflection_PropertyInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_PropertyInfo_Destroy( - System_Reflection_PropertyInfo_t self, - ) { - return _System_Reflection_PropertyInfo_Destroy( - self, - ); - } - - late final _System_Reflection_PropertyInfo_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Reflection_PropertyInfo_Destroy'); - late final _System_Reflection_PropertyInfo_Destroy = - _System_Reflection_PropertyInfo_DestroyPtr.asFunction< - void Function(System_Reflection_PropertyInfo_t)>(); - - System_Type_Array_t System_Reflection_MethodInfo_GetGenericArguments( - System_Reflection_MethodInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodInfo_GetGenericArguments( - self, - outException, - ); - } - - late final _System_Reflection_MethodInfo_GetGenericArgumentsPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function(System_Reflection_MethodInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MethodInfo_GetGenericArguments'); - late final _System_Reflection_MethodInfo_GetGenericArguments = - _System_Reflection_MethodInfo_GetGenericArgumentsPtr.asFunction< - System_Type_Array_t Function(System_Reflection_MethodInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t - System_Reflection_MethodInfo_GetGenericMethodDefinition( - System_Reflection_MethodInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodInfo_GetGenericMethodDefinition( - self, - outException, - ); - } - - late final _System_Reflection_MethodInfo_GetGenericMethodDefinitionPtr = - _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_MethodInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MethodInfo_GetGenericMethodDefinition'); - late final _System_Reflection_MethodInfo_GetGenericMethodDefinition = - _System_Reflection_MethodInfo_GetGenericMethodDefinitionPtr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_MethodInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_MethodInfo_MakeGenericMethod( - System_Reflection_MethodInfo_t self, - System_Type_Array_t typeArguments, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodInfo_MakeGenericMethod( - self, - typeArguments, - outException, - ); - } - - late final _System_Reflection_MethodInfo_MakeGenericMethodPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_MethodInfo_t, - System_Type_Array_t, - ffi.Pointer)>>( - 'System_Reflection_MethodInfo_MakeGenericMethod'); - late final _System_Reflection_MethodInfo_MakeGenericMethod = - _System_Reflection_MethodInfo_MakeGenericMethodPtr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_MethodInfo_t, - System_Type_Array_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_MethodInfo_GetBaseDefinition( - System_Reflection_MethodInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodInfo_GetBaseDefinition( - self, - outException, - ); - } - - late final _System_Reflection_MethodInfo_GetBaseDefinitionPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_MethodInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MethodInfo_GetBaseDefinition'); - late final _System_Reflection_MethodInfo_GetBaseDefinition = - _System_Reflection_MethodInfo_GetBaseDefinitionPtr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_MethodInfo_t, - ffi.Pointer)>(); - - System_Delegate_t System_Reflection_MethodInfo_CreateDelegate( - System_Reflection_MethodInfo_t self, - System_Type_t delegateType, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodInfo_CreateDelegate( - self, - delegateType, - outException, - ); - } - - late final _System_Reflection_MethodInfo_CreateDelegatePtr = _lookup< - ffi.NativeFunction< - System_Delegate_t Function(System_Reflection_MethodInfo_t, - System_Type_t, ffi.Pointer)>>( - 'System_Reflection_MethodInfo_CreateDelegate'); - late final _System_Reflection_MethodInfo_CreateDelegate = - _System_Reflection_MethodInfo_CreateDelegatePtr.asFunction< - System_Delegate_t Function(System_Reflection_MethodInfo_t, - System_Type_t, ffi.Pointer)>(); - - System_Delegate_t System_Reflection_MethodInfo_CreateDelegate_1( - System_Reflection_MethodInfo_t self, - System_Type_t delegateType, - System_Object_t target, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodInfo_CreateDelegate_1( - self, - delegateType, - target, - outException, - ); - } - - late final _System_Reflection_MethodInfo_CreateDelegate_1Ptr = _lookup< - ffi.NativeFunction< - System_Delegate_t Function( - System_Reflection_MethodInfo_t, - System_Type_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Reflection_MethodInfo_CreateDelegate_1'); - late final _System_Reflection_MethodInfo_CreateDelegate_1 = - _System_Reflection_MethodInfo_CreateDelegate_1Ptr.asFunction< - System_Delegate_t Function( - System_Reflection_MethodInfo_t, - System_Type_t, - System_Object_t, - ffi.Pointer)>(); - - bool System_Reflection_MethodInfo_Equals( - System_Reflection_MethodInfo_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodInfo_Equals( - self, - obj, - outException, - ); - } - - late final _System_Reflection_MethodInfo_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MethodInfo_t, System_Object_t, - ffi.Pointer)>>( - 'System_Reflection_MethodInfo_Equals'); - late final _System_Reflection_MethodInfo_Equals = - _System_Reflection_MethodInfo_EqualsPtr.asFunction< - bool Function(System_Reflection_MethodInfo_t, System_Object_t, - ffi.Pointer)>(); - - int System_Reflection_MethodInfo_GetHashCode( - System_Reflection_MethodInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodInfo_GetHashCode( - self, - outException, - ); - } - - late final _System_Reflection_MethodInfo_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_MethodInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MethodInfo_GetHashCode'); - late final _System_Reflection_MethodInfo_GetHashCode = - _System_Reflection_MethodInfo_GetHashCodePtr.asFunction< - int Function(System_Reflection_MethodInfo_t, - ffi.Pointer)>(); - - int System_Reflection_MethodInfo_MemberType_Get( - System_Reflection_MethodInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodInfo_MemberType_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodInfo_MemberType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_MethodInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MethodInfo_MemberType_Get'); - late final _System_Reflection_MethodInfo_MemberType_Get = - _System_Reflection_MethodInfo_MemberType_GetPtr.asFunction< - int Function(System_Reflection_MethodInfo_t, - ffi.Pointer)>(); - - System_Reflection_ParameterInfo_t - System_Reflection_MethodInfo_ReturnParameter_Get( - System_Reflection_MethodInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodInfo_ReturnParameter_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodInfo_ReturnParameter_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_ParameterInfo_t Function( - System_Reflection_MethodInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MethodInfo_ReturnParameter_Get'); - late final _System_Reflection_MethodInfo_ReturnParameter_Get = - _System_Reflection_MethodInfo_ReturnParameter_GetPtr.asFunction< - System_Reflection_ParameterInfo_t Function( - System_Reflection_MethodInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_MethodInfo_ReturnType_Get( - System_Reflection_MethodInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodInfo_ReturnType_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodInfo_ReturnType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_MethodInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MethodInfo_ReturnType_Get'); - late final _System_Reflection_MethodInfo_ReturnType_Get = - _System_Reflection_MethodInfo_ReturnType_GetPtr.asFunction< - System_Type_t Function(System_Reflection_MethodInfo_t, - ffi.Pointer)>(); - - System_Reflection_ICustomAttributeProvider_t - System_Reflection_MethodInfo_ReturnTypeCustomAttributes_Get( - System_Reflection_MethodInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_MethodInfo_ReturnTypeCustomAttributes_Get( - self, - outException, - ); - } - - late final _System_Reflection_MethodInfo_ReturnTypeCustomAttributes_GetPtr = - _lookup< - ffi.NativeFunction< - System_Reflection_ICustomAttributeProvider_t Function( - System_Reflection_MethodInfo_t, - ffi.Pointer)>>( - 'System_Reflection_MethodInfo_ReturnTypeCustomAttributes_Get'); - late final _System_Reflection_MethodInfo_ReturnTypeCustomAttributes_Get = - _System_Reflection_MethodInfo_ReturnTypeCustomAttributes_GetPtr - .asFunction< - System_Reflection_ICustomAttributeProvider_t Function( - System_Reflection_MethodInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_MethodInfo_TypeOf() { - return _System_Reflection_MethodInfo_TypeOf(); - } - - late final _System_Reflection_MethodInfo_TypeOfPtr = - _lookup>( - 'System_Reflection_MethodInfo_TypeOf'); - late final _System_Reflection_MethodInfo_TypeOf = - _System_Reflection_MethodInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_MethodInfo_Destroy( - System_Reflection_MethodInfo_t self, - ) { - return _System_Reflection_MethodInfo_Destroy( - self, - ); - } - - late final _System_Reflection_MethodInfo_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Reflection_MethodInfo_Destroy'); - late final _System_Reflection_MethodInfo_Destroy = - _System_Reflection_MethodInfo_DestroyPtr.asFunction< - void Function(System_Reflection_MethodInfo_t)>(); - - bool System_Collections_IDictionary_Contains( - System_Collections_IDictionary_t self, - System_Object_t key, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionary_Contains( - self, - key, - outException, - ); - } - - late final _System_Collections_IDictionary_ContainsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Collections_IDictionary_t, - System_Object_t, ffi.Pointer)>>( - 'System_Collections_IDictionary_Contains'); - late final _System_Collections_IDictionary_Contains = - _System_Collections_IDictionary_ContainsPtr.asFunction< - bool Function(System_Collections_IDictionary_t, System_Object_t, - ffi.Pointer)>(); - - void System_Collections_IDictionary_Add( - System_Collections_IDictionary_t self, - System_Object_t key, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionary_Add( - self, - key, - value, - outException, - ); - } - - late final _System_Collections_IDictionary_AddPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Collections_IDictionary_t, - System_Object_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Collections_IDictionary_Add'); - late final _System_Collections_IDictionary_Add = - _System_Collections_IDictionary_AddPtr.asFunction< - void Function(System_Collections_IDictionary_t, System_Object_t, - System_Object_t, ffi.Pointer)>(); - - void System_Collections_IDictionary_Clear( - System_Collections_IDictionary_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionary_Clear( - self, - outException, - ); - } - - late final _System_Collections_IDictionary_ClearPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_IDictionary_t, - ffi.Pointer)>>( - 'System_Collections_IDictionary_Clear'); - late final _System_Collections_IDictionary_Clear = - _System_Collections_IDictionary_ClearPtr.asFunction< - void Function(System_Collections_IDictionary_t, - ffi.Pointer)>(); - - System_Collections_IDictionaryEnumerator_t - System_Collections_IDictionary_GetEnumerator( - System_Collections_IDictionary_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionary_GetEnumerator( - self, - outException, - ); - } - - late final _System_Collections_IDictionary_GetEnumeratorPtr = _lookup< - ffi.NativeFunction< - System_Collections_IDictionaryEnumerator_t Function( - System_Collections_IDictionary_t, - ffi.Pointer)>>( - 'System_Collections_IDictionary_GetEnumerator'); - late final _System_Collections_IDictionary_GetEnumerator = - _System_Collections_IDictionary_GetEnumeratorPtr.asFunction< - System_Collections_IDictionaryEnumerator_t Function( - System_Collections_IDictionary_t, - ffi.Pointer)>(); - - void System_Collections_IDictionary_Remove( - System_Collections_IDictionary_t self, - System_Object_t key, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionary_Remove( - self, - key, - outException, - ); - } - - late final _System_Collections_IDictionary_RemovePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_IDictionary_t, - System_Object_t, ffi.Pointer)>>( - 'System_Collections_IDictionary_Remove'); - late final _System_Collections_IDictionary_Remove = - _System_Collections_IDictionary_RemovePtr.asFunction< - void Function(System_Collections_IDictionary_t, System_Object_t, - ffi.Pointer)>(); - - System_Object_t System_Collections_IDictionary_Item_Get( - System_Collections_IDictionary_t self, - System_Object_t key, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionary_Item_Get( - self, - key, - outException, - ); - } - - late final _System_Collections_IDictionary_Item_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Collections_IDictionary_t, - System_Object_t, ffi.Pointer)>>( - 'System_Collections_IDictionary_Item_Get'); - late final _System_Collections_IDictionary_Item_Get = - _System_Collections_IDictionary_Item_GetPtr.asFunction< - System_Object_t Function(System_Collections_IDictionary_t, - System_Object_t, ffi.Pointer)>(); - - void System_Collections_IDictionary_Item_Set( - System_Collections_IDictionary_t self, - System_Object_t key, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionary_Item_Set( - self, - key, - value, - outException, - ); - } - - late final _System_Collections_IDictionary_Item_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Collections_IDictionary_t, - System_Object_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Collections_IDictionary_Item_Set'); - late final _System_Collections_IDictionary_Item_Set = - _System_Collections_IDictionary_Item_SetPtr.asFunction< - void Function(System_Collections_IDictionary_t, System_Object_t, - System_Object_t, ffi.Pointer)>(); - - System_Collections_ICollection_t System_Collections_IDictionary_Keys_Get( - System_Collections_IDictionary_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionary_Keys_Get( - self, - outException, - ); - } - - late final _System_Collections_IDictionary_Keys_GetPtr = _lookup< - ffi.NativeFunction< - System_Collections_ICollection_t Function( - System_Collections_IDictionary_t, - ffi.Pointer)>>( - 'System_Collections_IDictionary_Keys_Get'); - late final _System_Collections_IDictionary_Keys_Get = - _System_Collections_IDictionary_Keys_GetPtr.asFunction< - System_Collections_ICollection_t Function( - System_Collections_IDictionary_t, - ffi.Pointer)>(); - - System_Collections_ICollection_t System_Collections_IDictionary_Values_Get( - System_Collections_IDictionary_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionary_Values_Get( - self, - outException, - ); - } - - late final _System_Collections_IDictionary_Values_GetPtr = _lookup< - ffi.NativeFunction< - System_Collections_ICollection_t Function( - System_Collections_IDictionary_t, - ffi.Pointer)>>( - 'System_Collections_IDictionary_Values_Get'); - late final _System_Collections_IDictionary_Values_Get = - _System_Collections_IDictionary_Values_GetPtr.asFunction< - System_Collections_ICollection_t Function( - System_Collections_IDictionary_t, - ffi.Pointer)>(); - - bool System_Collections_IDictionary_IsReadOnly_Get( - System_Collections_IDictionary_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionary_IsReadOnly_Get( - self, - outException, - ); - } - - late final _System_Collections_IDictionary_IsReadOnly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Collections_IDictionary_t, - ffi.Pointer)>>( - 'System_Collections_IDictionary_IsReadOnly_Get'); - late final _System_Collections_IDictionary_IsReadOnly_Get = - _System_Collections_IDictionary_IsReadOnly_GetPtr.asFunction< - bool Function(System_Collections_IDictionary_t, - ffi.Pointer)>(); - - bool System_Collections_IDictionary_IsFixedSize_Get( - System_Collections_IDictionary_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionary_IsFixedSize_Get( - self, - outException, - ); - } - - late final _System_Collections_IDictionary_IsFixedSize_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Collections_IDictionary_t, - ffi.Pointer)>>( - 'System_Collections_IDictionary_IsFixedSize_Get'); - late final _System_Collections_IDictionary_IsFixedSize_Get = - _System_Collections_IDictionary_IsFixedSize_GetPtr.asFunction< - bool Function(System_Collections_IDictionary_t, - ffi.Pointer)>(); - - System_Type_t System_Collections_IDictionary_TypeOf() { - return _System_Collections_IDictionary_TypeOf(); - } - - late final _System_Collections_IDictionary_TypeOfPtr = - _lookup>( - 'System_Collections_IDictionary_TypeOf'); - late final _System_Collections_IDictionary_TypeOf = - _System_Collections_IDictionary_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Collections_IDictionary_Destroy( - System_Collections_IDictionary_t self, - ) { - return _System_Collections_IDictionary_Destroy( - self, - ); - } - - late final _System_Collections_IDictionary_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Collections_IDictionary_Destroy'); - late final _System_Collections_IDictionary_Destroy = - _System_Collections_IDictionary_DestroyPtr.asFunction< - void Function(System_Collections_IDictionary_t)>(); - - System_Object_t System_Collections_IDictionaryEnumerator_Key_Get( - System_Collections_IDictionaryEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionaryEnumerator_Key_Get( - self, - outException, - ); - } - - late final _System_Collections_IDictionaryEnumerator_Key_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Collections_IDictionaryEnumerator_t, - ffi.Pointer)>>( - 'System_Collections_IDictionaryEnumerator_Key_Get'); - late final _System_Collections_IDictionaryEnumerator_Key_Get = - _System_Collections_IDictionaryEnumerator_Key_GetPtr.asFunction< - System_Object_t Function(System_Collections_IDictionaryEnumerator_t, - ffi.Pointer)>(); - - System_Object_t System_Collections_IDictionaryEnumerator_Value_Get( - System_Collections_IDictionaryEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionaryEnumerator_Value_Get( - self, - outException, - ); - } - - late final _System_Collections_IDictionaryEnumerator_Value_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Collections_IDictionaryEnumerator_t, - ffi.Pointer)>>( - 'System_Collections_IDictionaryEnumerator_Value_Get'); - late final _System_Collections_IDictionaryEnumerator_Value_Get = - _System_Collections_IDictionaryEnumerator_Value_GetPtr.asFunction< - System_Object_t Function(System_Collections_IDictionaryEnumerator_t, - ffi.Pointer)>(); - - System_Collections_DictionaryEntry_t - System_Collections_IDictionaryEnumerator_Entry_Get( - System_Collections_IDictionaryEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Collections_IDictionaryEnumerator_Entry_Get( - self, - outException, - ); - } - - late final _System_Collections_IDictionaryEnumerator_Entry_GetPtr = _lookup< - ffi.NativeFunction< - System_Collections_DictionaryEntry_t Function( - System_Collections_IDictionaryEnumerator_t, - ffi.Pointer)>>( - 'System_Collections_IDictionaryEnumerator_Entry_Get'); - late final _System_Collections_IDictionaryEnumerator_Entry_Get = - _System_Collections_IDictionaryEnumerator_Entry_GetPtr.asFunction< - System_Collections_DictionaryEntry_t Function( - System_Collections_IDictionaryEnumerator_t, - ffi.Pointer)>(); - - System_Type_t System_Collections_IDictionaryEnumerator_TypeOf() { - return _System_Collections_IDictionaryEnumerator_TypeOf(); - } - - late final _System_Collections_IDictionaryEnumerator_TypeOfPtr = - _lookup>( - 'System_Collections_IDictionaryEnumerator_TypeOf'); - late final _System_Collections_IDictionaryEnumerator_TypeOf = - _System_Collections_IDictionaryEnumerator_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Collections_IDictionaryEnumerator_Destroy( - System_Collections_IDictionaryEnumerator_t self, - ) { - return _System_Collections_IDictionaryEnumerator_Destroy( - self, - ); - } - - late final _System_Collections_IDictionaryEnumerator_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_IDictionaryEnumerator_t)>>( - 'System_Collections_IDictionaryEnumerator_Destroy'); - late final _System_Collections_IDictionaryEnumerator_Destroy = - _System_Collections_IDictionaryEnumerator_DestroyPtr.asFunction< - void Function(System_Collections_IDictionaryEnumerator_t)>(); - - void System_Collections_DictionaryEntry_Deconstruct( - System_Collections_DictionaryEntry_t self, - ffi.Pointer key, - ffi.Pointer value, - ffi.Pointer outException, - ) { - return _System_Collections_DictionaryEntry_Deconstruct( - self, - key, - value, - outException, - ); - } - - late final _System_Collections_DictionaryEntry_DeconstructPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Collections_DictionaryEntry_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>( - 'System_Collections_DictionaryEntry_Deconstruct'); - late final _System_Collections_DictionaryEntry_Deconstruct = - _System_Collections_DictionaryEntry_DeconstructPtr.asFunction< - void Function( - System_Collections_DictionaryEntry_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - System_String_t System_Collections_DictionaryEntry_ToString( - System_Collections_DictionaryEntry_t self, - ffi.Pointer outException, - ) { - return _System_Collections_DictionaryEntry_ToString( - self, - outException, - ); - } - - late final _System_Collections_DictionaryEntry_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Collections_DictionaryEntry_t, - ffi.Pointer)>>( - 'System_Collections_DictionaryEntry_ToString'); - late final _System_Collections_DictionaryEntry_ToString = - _System_Collections_DictionaryEntry_ToStringPtr.asFunction< - System_String_t Function(System_Collections_DictionaryEntry_t, - ffi.Pointer)>(); - - System_Collections_DictionaryEntry_t - System_Collections_DictionaryEntry_Create( - System_Object_t key, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Collections_DictionaryEntry_Create( - key, - value, - outException, - ); - } - - late final _System_Collections_DictionaryEntry_CreatePtr = _lookup< - ffi.NativeFunction< - System_Collections_DictionaryEntry_t Function(System_Object_t, - System_Object_t, ffi.Pointer)>>( - 'System_Collections_DictionaryEntry_Create'); - late final _System_Collections_DictionaryEntry_Create = - _System_Collections_DictionaryEntry_CreatePtr.asFunction< - System_Collections_DictionaryEntry_t Function(System_Object_t, - System_Object_t, ffi.Pointer)>(); - - System_Object_t System_Collections_DictionaryEntry_Key_Get( - System_Collections_DictionaryEntry_t self, - ffi.Pointer outException, - ) { - return _System_Collections_DictionaryEntry_Key_Get( - self, - outException, - ); - } - - late final _System_Collections_DictionaryEntry_Key_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Collections_DictionaryEntry_t, - ffi.Pointer)>>( - 'System_Collections_DictionaryEntry_Key_Get'); - late final _System_Collections_DictionaryEntry_Key_Get = - _System_Collections_DictionaryEntry_Key_GetPtr.asFunction< - System_Object_t Function(System_Collections_DictionaryEntry_t, - ffi.Pointer)>(); - - void System_Collections_DictionaryEntry_Key_Set( - System_Collections_DictionaryEntry_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Collections_DictionaryEntry_Key_Set( - self, - value, - outException, - ); - } - - late final _System_Collections_DictionaryEntry_Key_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_DictionaryEntry_t, - System_Object_t, ffi.Pointer)>>( - 'System_Collections_DictionaryEntry_Key_Set'); - late final _System_Collections_DictionaryEntry_Key_Set = - _System_Collections_DictionaryEntry_Key_SetPtr.asFunction< - void Function(System_Collections_DictionaryEntry_t, System_Object_t, - ffi.Pointer)>(); - - System_Object_t System_Collections_DictionaryEntry_Value_Get( - System_Collections_DictionaryEntry_t self, - ffi.Pointer outException, - ) { - return _System_Collections_DictionaryEntry_Value_Get( - self, - outException, - ); - } - - late final _System_Collections_DictionaryEntry_Value_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Collections_DictionaryEntry_t, - ffi.Pointer)>>( - 'System_Collections_DictionaryEntry_Value_Get'); - late final _System_Collections_DictionaryEntry_Value_Get = - _System_Collections_DictionaryEntry_Value_GetPtr.asFunction< - System_Object_t Function(System_Collections_DictionaryEntry_t, - ffi.Pointer)>(); - - void System_Collections_DictionaryEntry_Value_Set( - System_Collections_DictionaryEntry_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Collections_DictionaryEntry_Value_Set( - self, - value, - outException, - ); - } - - late final _System_Collections_DictionaryEntry_Value_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_DictionaryEntry_t, - System_Object_t, ffi.Pointer)>>( - 'System_Collections_DictionaryEntry_Value_Set'); - late final _System_Collections_DictionaryEntry_Value_Set = - _System_Collections_DictionaryEntry_Value_SetPtr.asFunction< - void Function(System_Collections_DictionaryEntry_t, System_Object_t, - ffi.Pointer)>(); - - System_Collections_DictionaryEntry_t - System_Collections_DictionaryEntry_Create_1( - ffi.Pointer outException, - ) { - return _System_Collections_DictionaryEntry_Create_1( - outException, - ); - } - - late final _System_Collections_DictionaryEntry_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Collections_DictionaryEntry_t Function( - ffi.Pointer)>>( - 'System_Collections_DictionaryEntry_Create_1'); - late final _System_Collections_DictionaryEntry_Create_1 = - _System_Collections_DictionaryEntry_Create_1Ptr.asFunction< - System_Collections_DictionaryEntry_t Function( - ffi.Pointer)>(); - - System_Type_t System_Collections_DictionaryEntry_TypeOf() { - return _System_Collections_DictionaryEntry_TypeOf(); - } - - late final _System_Collections_DictionaryEntry_TypeOfPtr = - _lookup>( - 'System_Collections_DictionaryEntry_TypeOf'); - late final _System_Collections_DictionaryEntry_TypeOf = - _System_Collections_DictionaryEntry_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Collections_DictionaryEntry_Destroy( - System_Collections_DictionaryEntry_t self, - ) { - return _System_Collections_DictionaryEntry_Destroy( - self, - ); - } - - late final _System_Collections_DictionaryEntry_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Collections_DictionaryEntry_t)>>( - 'System_Collections_DictionaryEntry_Destroy'); - late final _System_Collections_DictionaryEntry_Destroy = - _System_Collections_DictionaryEntry_DestroyPtr.asFunction< - void Function(System_Collections_DictionaryEntry_t)>(); - - void System_Threading_Tasks_Task_Start( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Start( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_StartPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Start'); - late final _System_Threading_Tasks_Task_Start = - _System_Threading_Tasks_Task_StartPtr.asFunction< - void Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - void System_Threading_Tasks_Task_Start_1( - System_Threading_Tasks_Task_t self, - System_Threading_Tasks_TaskScheduler_t scheduler, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Start_1( - self, - scheduler, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Start_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Threading_Tasks_Task_t, - System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Start_1'); - late final _System_Threading_Tasks_Task_Start_1 = - _System_Threading_Tasks_Task_Start_1Ptr.asFunction< - void Function( - System_Threading_Tasks_Task_t, - System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>(); - - void System_Threading_Tasks_Task_RunSynchronously( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_RunSynchronously( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_RunSynchronouslyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_RunSynchronously'); - late final _System_Threading_Tasks_Task_RunSynchronously = - _System_Threading_Tasks_Task_RunSynchronouslyPtr.asFunction< - void Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - void System_Threading_Tasks_Task_RunSynchronously_1( - System_Threading_Tasks_Task_t self, - System_Threading_Tasks_TaskScheduler_t scheduler, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_RunSynchronously_1( - self, - scheduler, - outException, - ); - } - - late final _System_Threading_Tasks_Task_RunSynchronously_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Threading_Tasks_Task_t, - System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_RunSynchronously_1'); - late final _System_Threading_Tasks_Task_RunSynchronously_1 = - _System_Threading_Tasks_Task_RunSynchronously_1Ptr.asFunction< - void Function( - System_Threading_Tasks_Task_t, - System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>(); - - void System_Threading_Tasks_Task_Dispose( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Dispose( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_DisposePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Dispose'); - late final _System_Threading_Tasks_Task_Dispose = - _System_Threading_Tasks_Task_DisposePtr.asFunction< - void Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_TaskAwaiter_t - System_Threading_Tasks_Task_GetAwaiter( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_GetAwaiter( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_GetAwaiterPtr = _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_TaskAwaiter_t Function( - System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_GetAwaiter'); - late final _System_Threading_Tasks_Task_GetAwaiter = - _System_Threading_Tasks_Task_GetAwaiterPtr.asFunction< - System_Runtime_CompilerServices_TaskAwaiter_t Function( - System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t - System_Threading_Tasks_Task_ConfigureAwait( - System_Threading_Tasks_Task_t self, - bool continueOnCapturedContext, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_ConfigureAwait( - self, - continueOnCapturedContext, - outException, - ); - } - - late final _System_Threading_Tasks_Task_ConfigureAwaitPtr = _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t Function( - System_Threading_Tasks_Task_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_ConfigureAwait'); - late final _System_Threading_Tasks_Task_ConfigureAwait = - _System_Threading_Tasks_Task_ConfigureAwaitPtr.asFunction< - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t Function( - System_Threading_Tasks_Task_t, - bool, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t - System_Threading_Tasks_Task_ConfigureAwait_1( - System_Threading_Tasks_Task_t self, - int options, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_ConfigureAwait_1( - self, - options, - outException, - ); - } - - late final _System_Threading_Tasks_Task_ConfigureAwait_1Ptr = _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t Function( - System_Threading_Tasks_Task_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_ConfigureAwait_1'); - late final _System_Threading_Tasks_Task_ConfigureAwait_1 = - _System_Threading_Tasks_Task_ConfigureAwait_1Ptr.asFunction< - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t Function( - System_Threading_Tasks_Task_t, - int, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_YieldAwaitable_t - System_Threading_Tasks_Task_Yield( - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Yield( - outException, - ); - } - - late final _System_Threading_Tasks_Task_YieldPtr = _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_YieldAwaitable_t Function( - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Yield'); - late final _System_Threading_Tasks_Task_Yield = - _System_Threading_Tasks_Task_YieldPtr.asFunction< - System_Runtime_CompilerServices_YieldAwaitable_t Function( - ffi.Pointer)>(); - - void System_Threading_Tasks_Task_Wait( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Wait( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Wait'); - late final _System_Threading_Tasks_Task_Wait = - _System_Threading_Tasks_Task_WaitPtr.asFunction< - void Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_Task_Wait_1( - System_Threading_Tasks_Task_t self, - System_TimeSpan_t timeout, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Wait_1( - self, - timeout, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Wait_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_Tasks_Task_t, - System_TimeSpan_t, ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Wait_1'); - late final _System_Threading_Tasks_Task_Wait_1 = - _System_Threading_Tasks_Task_Wait_1Ptr.asFunction< - bool Function(System_Threading_Tasks_Task_t, System_TimeSpan_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_Task_Wait_2( - System_Threading_Tasks_Task_t self, - System_TimeSpan_t timeout, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Wait_2( - self, - timeout, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Wait_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Threading_Tasks_Task_t, - System_TimeSpan_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Wait_2'); - late final _System_Threading_Tasks_Task_Wait_2 = - _System_Threading_Tasks_Task_Wait_2Ptr.asFunction< - bool Function( - System_Threading_Tasks_Task_t, - System_TimeSpan_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - void System_Threading_Tasks_Task_Wait_3( - System_Threading_Tasks_Task_t self, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Wait_3( - self, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Wait_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Threading_Tasks_Task_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Wait_3'); - late final _System_Threading_Tasks_Task_Wait_3 = - _System_Threading_Tasks_Task_Wait_3Ptr.asFunction< - void Function( - System_Threading_Tasks_Task_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_Task_Wait_4( - System_Threading_Tasks_Task_t self, - int millisecondsTimeout, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Wait_4( - self, - millisecondsTimeout, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Wait_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_Tasks_Task_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Wait_4'); - late final _System_Threading_Tasks_Task_Wait_4 = - _System_Threading_Tasks_Task_Wait_4Ptr.asFunction< - bool Function(System_Threading_Tasks_Task_t, int, - ffi.Pointer)>(); - - bool System_Threading_Tasks_Task_Wait_5( - System_Threading_Tasks_Task_t self, - int millisecondsTimeout, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Wait_5( - self, - millisecondsTimeout, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Wait_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Threading_Tasks_Task_t, - ffi.Int32, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Wait_5'); - late final _System_Threading_Tasks_Task_Wait_5 = - _System_Threading_Tasks_Task_Wait_5Ptr.asFunction< - bool Function( - System_Threading_Tasks_Task_t, - int, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_WaitAsync( - System_Threading_Tasks_Task_t self, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAsync( - self, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAsyncPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_Task_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAsync'); - late final _System_Threading_Tasks_Task_WaitAsync = - _System_Threading_Tasks_Task_WaitAsyncPtr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_Task_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_WaitAsync_1( - System_Threading_Tasks_Task_t self, - System_TimeSpan_t timeout, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAsync_1( - self, - timeout, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAsync_1Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_Task_t, - System_TimeSpan_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAsync_1'); - late final _System_Threading_Tasks_Task_WaitAsync_1 = - _System_Threading_Tasks_Task_WaitAsync_1Ptr.asFunction< - System_Threading_Tasks_Task_t Function(System_Threading_Tasks_Task_t, - System_TimeSpan_t, ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_WaitAsync_2( - System_Threading_Tasks_Task_t self, - System_TimeSpan_t timeout, - System_TimeProvider_t timeProvider, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAsync_2( - self, - timeout, - timeProvider, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAsync_2Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_Task_t, - System_TimeSpan_t, - System_TimeProvider_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAsync_2'); - late final _System_Threading_Tasks_Task_WaitAsync_2 = - _System_Threading_Tasks_Task_WaitAsync_2Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_Task_t, - System_TimeSpan_t, - System_TimeProvider_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_WaitAsync_3( - System_Threading_Tasks_Task_t self, - System_TimeSpan_t timeout, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAsync_3( - self, - timeout, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAsync_3Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_Task_t, - System_TimeSpan_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAsync_3'); - late final _System_Threading_Tasks_Task_WaitAsync_3 = - _System_Threading_Tasks_Task_WaitAsync_3Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_Task_t, - System_TimeSpan_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_WaitAsync_4( - System_Threading_Tasks_Task_t self, - System_TimeSpan_t timeout, - System_TimeProvider_t timeProvider, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAsync_4( - self, - timeout, - timeProvider, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAsync_4Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_Task_t, - System_TimeSpan_t, - System_TimeProvider_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAsync_4'); - late final _System_Threading_Tasks_Task_WaitAsync_4 = - _System_Threading_Tasks_Task_WaitAsync_4Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_Task_t, - System_TimeSpan_t, - System_TimeProvider_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - void System_Threading_Tasks_Task_WaitAll( - System_Threading_Tasks_Task_Array_t tasks, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAll( - tasks, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAllPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_Tasks_Task_Array_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAll'); - late final _System_Threading_Tasks_Task_WaitAll = - _System_Threading_Tasks_Task_WaitAllPtr.asFunction< - void Function(System_Threading_Tasks_Task_Array_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_Task_WaitAll_1( - System_Threading_Tasks_Task_Array_t tasks, - System_TimeSpan_t timeout, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAll_1( - tasks, - timeout, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAll_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_Tasks_Task_Array_t, - System_TimeSpan_t, ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAll_1'); - late final _System_Threading_Tasks_Task_WaitAll_1 = - _System_Threading_Tasks_Task_WaitAll_1Ptr.asFunction< - bool Function(System_Threading_Tasks_Task_Array_t, System_TimeSpan_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_Task_WaitAll_2( - System_Threading_Tasks_Task_Array_t tasks, - int millisecondsTimeout, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAll_2( - tasks, - millisecondsTimeout, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAll_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_Tasks_Task_Array_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAll_2'); - late final _System_Threading_Tasks_Task_WaitAll_2 = - _System_Threading_Tasks_Task_WaitAll_2Ptr.asFunction< - bool Function(System_Threading_Tasks_Task_Array_t, int, - ffi.Pointer)>(); - - void System_Threading_Tasks_Task_WaitAll_3( - System_Threading_Tasks_Task_Array_t tasks, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAll_3( - tasks, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAll_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Threading_Tasks_Task_Array_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAll_3'); - late final _System_Threading_Tasks_Task_WaitAll_3 = - _System_Threading_Tasks_Task_WaitAll_3Ptr.asFunction< - void Function( - System_Threading_Tasks_Task_Array_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_Task_WaitAll_4( - System_Threading_Tasks_Task_Array_t tasks, - int millisecondsTimeout, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAll_4( - tasks, - millisecondsTimeout, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAll_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Threading_Tasks_Task_Array_t, - ffi.Int32, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAll_4'); - late final _System_Threading_Tasks_Task_WaitAll_4 = - _System_Threading_Tasks_Task_WaitAll_4Ptr.asFunction< - bool Function( - System_Threading_Tasks_Task_Array_t, - int, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - int System_Threading_Tasks_Task_WaitAny( - System_Threading_Tasks_Task_Array_t tasks, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAny( - tasks, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAnyPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_Tasks_Task_Array_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAny'); - late final _System_Threading_Tasks_Task_WaitAny = - _System_Threading_Tasks_Task_WaitAnyPtr.asFunction< - int Function(System_Threading_Tasks_Task_Array_t, - ffi.Pointer)>(); - - int System_Threading_Tasks_Task_WaitAny_1( - System_Threading_Tasks_Task_Array_t tasks, - System_TimeSpan_t timeout, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAny_1( - tasks, - timeout, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAny_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_Tasks_Task_Array_t, - System_TimeSpan_t, ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAny_1'); - late final _System_Threading_Tasks_Task_WaitAny_1 = - _System_Threading_Tasks_Task_WaitAny_1Ptr.asFunction< - int Function(System_Threading_Tasks_Task_Array_t, System_TimeSpan_t, - ffi.Pointer)>(); - - int System_Threading_Tasks_Task_WaitAny_2( - System_Threading_Tasks_Task_Array_t tasks, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAny_2( - tasks, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAny_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Threading_Tasks_Task_Array_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAny_2'); - late final _System_Threading_Tasks_Task_WaitAny_2 = - _System_Threading_Tasks_Task_WaitAny_2Ptr.asFunction< - int Function( - System_Threading_Tasks_Task_Array_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - int System_Threading_Tasks_Task_WaitAny_3( - System_Threading_Tasks_Task_Array_t tasks, - int millisecondsTimeout, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAny_3( - tasks, - millisecondsTimeout, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAny_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_Tasks_Task_Array_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAny_3'); - late final _System_Threading_Tasks_Task_WaitAny_3 = - _System_Threading_Tasks_Task_WaitAny_3Ptr.asFunction< - int Function(System_Threading_Tasks_Task_Array_t, int, - ffi.Pointer)>(); - - int System_Threading_Tasks_Task_WaitAny_4( - System_Threading_Tasks_Task_Array_t tasks, - int millisecondsTimeout, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WaitAny_4( - tasks, - millisecondsTimeout, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WaitAny_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Threading_Tasks_Task_Array_t, - ffi.Int32, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WaitAny_4'); - late final _System_Threading_Tasks_Task_WaitAny_4 = - _System_Threading_Tasks_Task_WaitAny_4Ptr.asFunction< - int Function( - System_Threading_Tasks_Task_Array_t, - int, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_FromException( - System_Exception_t exception, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_FromException( - exception, - outException, - ); - } - - late final _System_Threading_Tasks_Task_FromExceptionPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Exception_t, ffi.Pointer)>>( - 'System_Threading_Tasks_Task_FromException'); - late final _System_Threading_Tasks_Task_FromException = - _System_Threading_Tasks_Task_FromExceptionPtr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Exception_t, ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_FromCanceled( - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_FromCanceled( - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_FromCanceledPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_FromCanceled'); - late final _System_Threading_Tasks_Task_FromCanceled = - _System_Threading_Tasks_Task_FromCanceledPtr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_Run_1( - System_Action_t action, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Run_1( - action, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Run_1Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Action_t, ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Run_1'); - late final _System_Threading_Tasks_Task_Run_1 = - _System_Threading_Tasks_Task_Run_1Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Action_t, ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_Run_2( - System_Action_t action, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Run_2( - action, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Run_2Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Action_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Run_2'); - late final _System_Threading_Tasks_Task_Run_2 = - _System_Threading_Tasks_Task_Run_2Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Action_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_Delay( - System_TimeSpan_t delay, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Delay( - delay, - outException, - ); - } - - late final _System_Threading_Tasks_Task_DelayPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_TimeSpan_t, ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Delay'); - late final _System_Threading_Tasks_Task_Delay = - _System_Threading_Tasks_Task_DelayPtr.asFunction< - System_Threading_Tasks_Task_t Function( - System_TimeSpan_t, ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_Delay_1( - System_TimeSpan_t delay, - System_TimeProvider_t timeProvider, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Delay_1( - delay, - timeProvider, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Delay_1Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function(System_TimeSpan_t, - System_TimeProvider_t, ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Delay_1'); - late final _System_Threading_Tasks_Task_Delay_1 = - _System_Threading_Tasks_Task_Delay_1Ptr.asFunction< - System_Threading_Tasks_Task_t Function(System_TimeSpan_t, - System_TimeProvider_t, ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_Delay_2( - System_TimeSpan_t delay, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Delay_2( - delay, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Delay_2Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_TimeSpan_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Delay_2'); - late final _System_Threading_Tasks_Task_Delay_2 = - _System_Threading_Tasks_Task_Delay_2Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_TimeSpan_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_Delay_3( - System_TimeSpan_t delay, - System_TimeProvider_t timeProvider, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Delay_3( - delay, - timeProvider, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Delay_3Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_TimeSpan_t, - System_TimeProvider_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Delay_3'); - late final _System_Threading_Tasks_Task_Delay_3 = - _System_Threading_Tasks_Task_Delay_3Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_TimeSpan_t, - System_TimeProvider_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_Delay_4( - int millisecondsDelay, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Delay_4( - millisecondsDelay, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Delay_4Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Delay_4'); - late final _System_Threading_Tasks_Task_Delay_4 = - _System_Threading_Tasks_Task_Delay_4Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - int, ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_Delay_5( - int millisecondsDelay, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Delay_5( - millisecondsDelay, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Delay_5Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - ffi.Int32, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Delay_5'); - late final _System_Threading_Tasks_Task_Delay_5 = - _System_Threading_Tasks_Task_Delay_5Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - int, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_WhenAll( - System_Threading_Tasks_Task_Array_t tasks, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_WhenAll( - tasks, - outException, - ); - } - - late final _System_Threading_Tasks_Task_WhenAllPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_Task_Array_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_WhenAll'); - late final _System_Threading_Tasks_Task_WhenAll = - _System_Threading_Tasks_Task_WhenAllPtr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_Task_Array_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_Create( - System_Action_t action, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Create( - action, - outException, - ); - } - - late final _System_Threading_Tasks_Task_CreatePtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Action_t, ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Create'); - late final _System_Threading_Tasks_Task_Create = - _System_Threading_Tasks_Task_CreatePtr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Action_t, ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_Create_1( - System_Action_t action, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Create_1( - action, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Action_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Create_1'); - late final _System_Threading_Tasks_Task_Create_1 = - _System_Threading_Tasks_Task_Create_1Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Action_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_Create_2( - System_Action_t action, - int creationOptions, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Create_2( - action, - creationOptions, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function(System_Action_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Create_2'); - late final _System_Threading_Tasks_Task_Create_2 = - _System_Threading_Tasks_Task_Create_2Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Action_t, int, ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_Create_3( - System_Action_t action, - System_Threading_CancellationToken_t cancellationToken, - int creationOptions, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Create_3( - action, - cancellationToken, - creationOptions, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Create_3Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Action_t, - System_Threading_CancellationToken_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Create_3'); - late final _System_Threading_Tasks_Task_Create_3 = - _System_Threading_Tasks_Task_Create_3Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Action_t, - System_Threading_CancellationToken_t, - int, - ffi.Pointer)>(); - - int System_Threading_Tasks_Task_Id_Get( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Id_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Id_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Id_Get'); - late final _System_Threading_Tasks_Task_Id_Get = - _System_Threading_Tasks_Task_Id_GetPtr.asFunction< - int Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - System_AggregateException_t System_Threading_Tasks_Task_Exception_Get( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Exception_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Exception_GetPtr = _lookup< - ffi.NativeFunction< - System_AggregateException_t Function( - System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Exception_Get'); - late final _System_Threading_Tasks_Task_Exception_Get = - _System_Threading_Tasks_Task_Exception_GetPtr.asFunction< - System_AggregateException_t Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - int System_Threading_Tasks_Task_Status_Get( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Status_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_Status_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Status_Get'); - late final _System_Threading_Tasks_Task_Status_Get = - _System_Threading_Tasks_Task_Status_GetPtr.asFunction< - int Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_Task_IsCanceled_Get( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_IsCanceled_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_IsCanceled_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_IsCanceled_Get'); - late final _System_Threading_Tasks_Task_IsCanceled_Get = - _System_Threading_Tasks_Task_IsCanceled_GetPtr.asFunction< - bool Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_Task_IsCompleted_Get( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_IsCompleted_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_IsCompleted_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_IsCompleted_Get'); - late final _System_Threading_Tasks_Task_IsCompleted_Get = - _System_Threading_Tasks_Task_IsCompleted_GetPtr.asFunction< - bool Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - bool System_Threading_Tasks_Task_IsCompletedSuccessfully_Get( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_IsCompletedSuccessfully_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_IsCompletedSuccessfully_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_IsCompletedSuccessfully_Get'); - late final _System_Threading_Tasks_Task_IsCompletedSuccessfully_Get = - _System_Threading_Tasks_Task_IsCompletedSuccessfully_GetPtr.asFunction< - bool Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - int System_Threading_Tasks_Task_CreationOptions_Get( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_CreationOptions_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_CreationOptions_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_CreationOptions_Get'); - late final _System_Threading_Tasks_Task_CreationOptions_Get = - _System_Threading_Tasks_Task_CreationOptions_GetPtr.asFunction< - int Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - System_Object_t System_Threading_Tasks_Task_AsyncState_Get( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_AsyncState_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_AsyncState_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_AsyncState_Get'); - late final _System_Threading_Tasks_Task_AsyncState_Get = - _System_Threading_Tasks_Task_AsyncState_GetPtr.asFunction< - System_Object_t Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - System_Threading_Tasks_TaskFactory_t System_Threading_Tasks_Task_Factory_Get( - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_Factory_Get( - outException, - ); - } - - late final _System_Threading_Tasks_Task_Factory_GetPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_TaskFactory_t Function( - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_Factory_Get'); - late final _System_Threading_Tasks_Task_Factory_Get = - _System_Threading_Tasks_Task_Factory_GetPtr.asFunction< - System_Threading_Tasks_TaskFactory_t Function( - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_Task_CompletedTask_Get( - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_CompletedTask_Get( - outException, - ); - } - - late final _System_Threading_Tasks_Task_CompletedTask_GetPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_CompletedTask_Get'); - late final _System_Threading_Tasks_Task_CompletedTask_Get = - _System_Threading_Tasks_Task_CompletedTask_GetPtr.asFunction< - System_Threading_Tasks_Task_t Function( - ffi.Pointer)>(); - - bool System_Threading_Tasks_Task_IsFaulted_Get( - System_Threading_Tasks_Task_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Task_IsFaulted_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_Task_IsFaulted_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_Task_IsFaulted_Get'); - late final _System_Threading_Tasks_Task_IsFaulted_Get = - _System_Threading_Tasks_Task_IsFaulted_GetPtr.asFunction< - bool Function(System_Threading_Tasks_Task_t, - ffi.Pointer)>(); - - System_Type_t System_Threading_Tasks_Task_TypeOf() { - return _System_Threading_Tasks_Task_TypeOf(); - } - - late final _System_Threading_Tasks_Task_TypeOfPtr = - _lookup>( - 'System_Threading_Tasks_Task_TypeOf'); - late final _System_Threading_Tasks_Task_TypeOf = - _System_Threading_Tasks_Task_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Threading_Tasks_Task_Destroy( - System_Threading_Tasks_Task_t self, - ) { - return _System_Threading_Tasks_Task_Destroy( - self, - ); - } - - late final _System_Threading_Tasks_Task_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_Threading_Tasks_Task_Destroy'); - late final _System_Threading_Tasks_Task_Destroy = - _System_Threading_Tasks_Task_DestroyPtr.asFunction< - void Function(System_Threading_Tasks_Task_t)>(); - - bool System_IAsyncResult_IsCompleted_Get( - System_IAsyncResult_t self, - ffi.Pointer outException, - ) { - return _System_IAsyncResult_IsCompleted_Get( - self, - outException, - ); - } - - late final _System_IAsyncResult_IsCompleted_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_IAsyncResult_t, ffi.Pointer)>>( - 'System_IAsyncResult_IsCompleted_Get'); - late final _System_IAsyncResult_IsCompleted_Get = - _System_IAsyncResult_IsCompleted_GetPtr.asFunction< - bool Function( - System_IAsyncResult_t, ffi.Pointer)>(); - - System_Threading_WaitHandle_t System_IAsyncResult_AsyncWaitHandle_Get( - System_IAsyncResult_t self, - ffi.Pointer outException, - ) { - return _System_IAsyncResult_AsyncWaitHandle_Get( - self, - outException, - ); - } - - late final _System_IAsyncResult_AsyncWaitHandle_GetPtr = _lookup< - ffi.NativeFunction< - System_Threading_WaitHandle_t Function( - System_IAsyncResult_t, ffi.Pointer)>>( - 'System_IAsyncResult_AsyncWaitHandle_Get'); - late final _System_IAsyncResult_AsyncWaitHandle_Get = - _System_IAsyncResult_AsyncWaitHandle_GetPtr.asFunction< - System_Threading_WaitHandle_t Function( - System_IAsyncResult_t, ffi.Pointer)>(); - - System_Object_t System_IAsyncResult_AsyncState_Get( - System_IAsyncResult_t self, - ffi.Pointer outException, - ) { - return _System_IAsyncResult_AsyncState_Get( - self, - outException, - ); - } - - late final _System_IAsyncResult_AsyncState_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_IAsyncResult_t, ffi.Pointer)>>( - 'System_IAsyncResult_AsyncState_Get'); - late final _System_IAsyncResult_AsyncState_Get = - _System_IAsyncResult_AsyncState_GetPtr.asFunction< - System_Object_t Function( - System_IAsyncResult_t, ffi.Pointer)>(); - - bool System_IAsyncResult_CompletedSynchronously_Get( - System_IAsyncResult_t self, - ffi.Pointer outException, - ) { - return _System_IAsyncResult_CompletedSynchronously_Get( - self, - outException, - ); - } - - late final _System_IAsyncResult_CompletedSynchronously_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_IAsyncResult_t, ffi.Pointer)>>( - 'System_IAsyncResult_CompletedSynchronously_Get'); - late final _System_IAsyncResult_CompletedSynchronously_Get = - _System_IAsyncResult_CompletedSynchronously_GetPtr.asFunction< - bool Function( - System_IAsyncResult_t, ffi.Pointer)>(); - - System_Type_t System_IAsyncResult_TypeOf() { - return _System_IAsyncResult_TypeOf(); - } - - late final _System_IAsyncResult_TypeOfPtr = - _lookup>( - 'System_IAsyncResult_TypeOf'); - late final _System_IAsyncResult_TypeOf = - _System_IAsyncResult_TypeOfPtr.asFunction(); - - void System_IAsyncResult_Destroy( - System_IAsyncResult_t self, - ) { - return _System_IAsyncResult_Destroy( - self, - ); - } - - late final _System_IAsyncResult_DestroyPtr = - _lookup>( - 'System_IAsyncResult_Destroy'); - late final _System_IAsyncResult_Destroy = _System_IAsyncResult_DestroyPtr - .asFunction(); - - System_Threading_Tasks_TaskScheduler_t - System_Threading_Tasks_TaskScheduler_FromCurrentSynchronizationContext( - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskScheduler_FromCurrentSynchronizationContext( - outException, - ); - } - - late final _System_Threading_Tasks_TaskScheduler_FromCurrentSynchronizationContextPtr = - _lookup< - ffi.NativeFunction< - System_Threading_Tasks_TaskScheduler_t Function( - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskScheduler_FromCurrentSynchronizationContext'); - late final _System_Threading_Tasks_TaskScheduler_FromCurrentSynchronizationContext = - _System_Threading_Tasks_TaskScheduler_FromCurrentSynchronizationContextPtr - .asFunction< - System_Threading_Tasks_TaskScheduler_t Function( - ffi.Pointer)>(); - - int System_Threading_Tasks_TaskScheduler_MaximumConcurrencyLevel_Get( - System_Threading_Tasks_TaskScheduler_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskScheduler_MaximumConcurrencyLevel_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_TaskScheduler_MaximumConcurrencyLevel_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskScheduler_MaximumConcurrencyLevel_Get'); - late final _System_Threading_Tasks_TaskScheduler_MaximumConcurrencyLevel_Get = - _System_Threading_Tasks_TaskScheduler_MaximumConcurrencyLevel_GetPtr - .asFunction< - int Function(System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>(); - - System_Threading_Tasks_TaskScheduler_t - System_Threading_Tasks_TaskScheduler_Default_Get( - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskScheduler_Default_Get( - outException, - ); - } - - late final _System_Threading_Tasks_TaskScheduler_Default_GetPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_TaskScheduler_t Function( - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskScheduler_Default_Get'); - late final _System_Threading_Tasks_TaskScheduler_Default_Get = - _System_Threading_Tasks_TaskScheduler_Default_GetPtr.asFunction< - System_Threading_Tasks_TaskScheduler_t Function( - ffi.Pointer)>(); - - System_Threading_Tasks_TaskScheduler_t - System_Threading_Tasks_TaskScheduler_Current_Get( - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskScheduler_Current_Get( - outException, - ); - } - - late final _System_Threading_Tasks_TaskScheduler_Current_GetPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_TaskScheduler_t Function( - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskScheduler_Current_Get'); - late final _System_Threading_Tasks_TaskScheduler_Current_Get = - _System_Threading_Tasks_TaskScheduler_Current_GetPtr.asFunction< - System_Threading_Tasks_TaskScheduler_t Function( - ffi.Pointer)>(); - - int System_Threading_Tasks_TaskScheduler_Id_Get( - System_Threading_Tasks_TaskScheduler_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskScheduler_Id_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_TaskScheduler_Id_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskScheduler_Id_Get'); - late final _System_Threading_Tasks_TaskScheduler_Id_Get = - _System_Threading_Tasks_TaskScheduler_Id_GetPtr.asFunction< - int Function(System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>(); - - System_Type_t System_Threading_Tasks_TaskScheduler_TypeOf() { - return _System_Threading_Tasks_TaskScheduler_TypeOf(); - } - - late final _System_Threading_Tasks_TaskScheduler_TypeOfPtr = - _lookup>( - 'System_Threading_Tasks_TaskScheduler_TypeOf'); - late final _System_Threading_Tasks_TaskScheduler_TypeOf = - _System_Threading_Tasks_TaskScheduler_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Threading_Tasks_TaskScheduler_Destroy( - System_Threading_Tasks_TaskScheduler_t self, - ) { - return _System_Threading_Tasks_TaskScheduler_Destroy( - self, - ); - } - - late final _System_Threading_Tasks_TaskScheduler_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_Tasks_TaskScheduler_t)>>( - 'System_Threading_Tasks_TaskScheduler_Destroy'); - late final _System_Threading_Tasks_TaskScheduler_Destroy = - _System_Threading_Tasks_TaskScheduler_DestroyPtr.asFunction< - void Function(System_Threading_Tasks_TaskScheduler_t)>(); - - void System_AggregateException_GetObjectData( - System_AggregateException_t self, - System_Runtime_Serialization_SerializationInfo_t info, - System_Runtime_Serialization_StreamingContext_t context, - ffi.Pointer outException, - ) { - return _System_AggregateException_GetObjectData( - self, - info, - context, - outException, - ); - } - - late final _System_AggregateException_GetObjectDataPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_AggregateException_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_AggregateException_GetObjectData'); - late final _System_AggregateException_GetObjectData = - _System_AggregateException_GetObjectDataPtr.asFunction< - void Function( - System_AggregateException_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - System_Exception_t System_AggregateException_GetBaseException( - System_AggregateException_t self, - ffi.Pointer outException, - ) { - return _System_AggregateException_GetBaseException( - self, - outException, - ); - } - - late final _System_AggregateException_GetBaseExceptionPtr = _lookup< - ffi.NativeFunction< - System_Exception_t Function(System_AggregateException_t, - ffi.Pointer)>>( - 'System_AggregateException_GetBaseException'); - late final _System_AggregateException_GetBaseException = - _System_AggregateException_GetBaseExceptionPtr.asFunction< - System_Exception_t Function( - System_AggregateException_t, ffi.Pointer)>(); - - System_AggregateException_t System_AggregateException_Flatten( - System_AggregateException_t self, - ffi.Pointer outException, - ) { - return _System_AggregateException_Flatten( - self, - outException, - ); - } - - late final _System_AggregateException_FlattenPtr = _lookup< - ffi.NativeFunction< - System_AggregateException_t Function(System_AggregateException_t, - ffi.Pointer)>>( - 'System_AggregateException_Flatten'); - late final _System_AggregateException_Flatten = - _System_AggregateException_FlattenPtr.asFunction< - System_AggregateException_t Function( - System_AggregateException_t, ffi.Pointer)>(); - - System_String_t System_AggregateException_ToString( - System_AggregateException_t self, - ffi.Pointer outException, - ) { - return _System_AggregateException_ToString( - self, - outException, - ); - } - - late final _System_AggregateException_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_AggregateException_t, - ffi.Pointer)>>( - 'System_AggregateException_ToString'); - late final _System_AggregateException_ToString = - _System_AggregateException_ToStringPtr.asFunction< - System_String_t Function( - System_AggregateException_t, ffi.Pointer)>(); - - System_AggregateException_t System_AggregateException_Create( - ffi.Pointer outException, - ) { - return _System_AggregateException_Create( - outException, - ); - } - - late final _System_AggregateException_CreatePtr = _lookup< - ffi.NativeFunction< - System_AggregateException_t Function( - ffi.Pointer)>>( - 'System_AggregateException_Create'); - late final _System_AggregateException_Create = - _System_AggregateException_CreatePtr.asFunction< - System_AggregateException_t Function( - ffi.Pointer)>(); - - System_AggregateException_t System_AggregateException_Create_1( - System_String_t message, - ffi.Pointer outException, - ) { - return _System_AggregateException_Create_1( - message, - outException, - ); - } - - late final _System_AggregateException_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_AggregateException_t Function( - System_String_t, ffi.Pointer)>>( - 'System_AggregateException_Create_1'); - late final _System_AggregateException_Create_1 = - _System_AggregateException_Create_1Ptr.asFunction< - System_AggregateException_t Function( - System_String_t, ffi.Pointer)>(); - - System_AggregateException_t System_AggregateException_Create_2( - System_String_t message, - System_Exception_t innerException, - ffi.Pointer outException, - ) { - return _System_AggregateException_Create_2( - message, - innerException, - outException, - ); - } - - late final _System_AggregateException_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_AggregateException_t Function(System_String_t, - System_Exception_t, ffi.Pointer)>>( - 'System_AggregateException_Create_2'); - late final _System_AggregateException_Create_2 = - _System_AggregateException_Create_2Ptr.asFunction< - System_AggregateException_t Function(System_String_t, - System_Exception_t, ffi.Pointer)>(); - - System_AggregateException_t System_AggregateException_Create_3( - System_Exception_Array_t innerExceptions, - ffi.Pointer outException, - ) { - return _System_AggregateException_Create_3( - innerExceptions, - outException, - ); - } - - late final _System_AggregateException_Create_3Ptr = _lookup< - ffi.NativeFunction< - System_AggregateException_t Function( - System_Exception_Array_t, ffi.Pointer)>>( - 'System_AggregateException_Create_3'); - late final _System_AggregateException_Create_3 = - _System_AggregateException_Create_3Ptr.asFunction< - System_AggregateException_t Function( - System_Exception_Array_t, ffi.Pointer)>(); - - System_AggregateException_t System_AggregateException_Create_4( - System_String_t message, - System_Exception_Array_t innerExceptions, - ffi.Pointer outException, - ) { - return _System_AggregateException_Create_4( - message, - innerExceptions, - outException, - ); - } - - late final _System_AggregateException_Create_4Ptr = _lookup< - ffi.NativeFunction< - System_AggregateException_t Function(System_String_t, - System_Exception_Array_t, ffi.Pointer)>>( - 'System_AggregateException_Create_4'); - late final _System_AggregateException_Create_4 = - _System_AggregateException_Create_4Ptr.asFunction< - System_AggregateException_t Function(System_String_t, - System_Exception_Array_t, ffi.Pointer)>(); - - System_String_t System_AggregateException_Message_Get( - System_AggregateException_t self, - ffi.Pointer outException, - ) { - return _System_AggregateException_Message_Get( - self, - outException, - ); - } - - late final _System_AggregateException_Message_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_AggregateException_t, - ffi.Pointer)>>( - 'System_AggregateException_Message_Get'); - late final _System_AggregateException_Message_Get = - _System_AggregateException_Message_GetPtr.asFunction< - System_String_t Function( - System_AggregateException_t, ffi.Pointer)>(); - - System_Type_t System_AggregateException_TypeOf() { - return _System_AggregateException_TypeOf(); - } - - late final _System_AggregateException_TypeOfPtr = - _lookup>( - 'System_AggregateException_TypeOf'); - late final _System_AggregateException_TypeOf = - _System_AggregateException_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_AggregateException_Destroy( - System_AggregateException_t self, - ) { - return _System_AggregateException_Destroy( - self, - ); - } - - late final _System_AggregateException_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_AggregateException_Destroy'); - late final _System_AggregateException_Destroy = - _System_AggregateException_DestroyPtr.asFunction< - void Function(System_AggregateException_t)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_TaskFactory_StartNew( - System_Threading_Tasks_TaskFactory_t self, - System_Action_t action, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskFactory_StartNew( - self, - action, - outException, - ); - } - - late final _System_Threading_Tasks_TaskFactory_StartNewPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_TaskFactory_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskFactory_StartNew'); - late final _System_Threading_Tasks_TaskFactory_StartNew = - _System_Threading_Tasks_TaskFactory_StartNewPtr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_TaskFactory_t, - System_Action_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_TaskFactory_StartNew_1( - System_Threading_Tasks_TaskFactory_t self, - System_Action_t action, - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskFactory_StartNew_1( - self, - action, - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_TaskFactory_StartNew_1Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_TaskFactory_t, - System_Action_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskFactory_StartNew_1'); - late final _System_Threading_Tasks_TaskFactory_StartNew_1 = - _System_Threading_Tasks_TaskFactory_StartNew_1Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_TaskFactory_t, - System_Action_t, - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_TaskFactory_StartNew_2( - System_Threading_Tasks_TaskFactory_t self, - System_Action_t action, - int creationOptions, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskFactory_StartNew_2( - self, - action, - creationOptions, - outException, - ); - } - - late final _System_Threading_Tasks_TaskFactory_StartNew_2Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_TaskFactory_t, - System_Action_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskFactory_StartNew_2'); - late final _System_Threading_Tasks_TaskFactory_StartNew_2 = - _System_Threading_Tasks_TaskFactory_StartNew_2Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_TaskFactory_t, - System_Action_t, - int, - ffi.Pointer)>(); - - System_Threading_Tasks_Task_t System_Threading_Tasks_TaskFactory_StartNew_3( - System_Threading_Tasks_TaskFactory_t self, - System_Action_t action, - System_Threading_CancellationToken_t cancellationToken, - int creationOptions, - System_Threading_Tasks_TaskScheduler_t scheduler, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskFactory_StartNew_3( - self, - action, - cancellationToken, - creationOptions, - scheduler, - outException, - ); - } - - late final _System_Threading_Tasks_TaskFactory_StartNew_3Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_TaskFactory_t, - System_Action_t, - System_Threading_CancellationToken_t, - ffi.Int32, - System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskFactory_StartNew_3'); - late final _System_Threading_Tasks_TaskFactory_StartNew_3 = - _System_Threading_Tasks_TaskFactory_StartNew_3Ptr.asFunction< - System_Threading_Tasks_Task_t Function( - System_Threading_Tasks_TaskFactory_t, - System_Action_t, - System_Threading_CancellationToken_t, - int, - System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>(); - - System_Threading_Tasks_TaskFactory_t - System_Threading_Tasks_TaskFactory_Create( - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskFactory_Create( - outException, - ); - } - - late final _System_Threading_Tasks_TaskFactory_CreatePtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_TaskFactory_t Function( - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskFactory_Create'); - late final _System_Threading_Tasks_TaskFactory_Create = - _System_Threading_Tasks_TaskFactory_CreatePtr.asFunction< - System_Threading_Tasks_TaskFactory_t Function( - ffi.Pointer)>(); - - System_Threading_Tasks_TaskFactory_t - System_Threading_Tasks_TaskFactory_Create_1( - System_Threading_CancellationToken_t cancellationToken, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskFactory_Create_1( - cancellationToken, - outException, - ); - } - - late final _System_Threading_Tasks_TaskFactory_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_TaskFactory_t Function( - System_Threading_CancellationToken_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskFactory_Create_1'); - late final _System_Threading_Tasks_TaskFactory_Create_1 = - _System_Threading_Tasks_TaskFactory_Create_1Ptr.asFunction< - System_Threading_Tasks_TaskFactory_t Function( - System_Threading_CancellationToken_t, - ffi.Pointer)>(); - - System_Threading_Tasks_TaskFactory_t - System_Threading_Tasks_TaskFactory_Create_2( - System_Threading_Tasks_TaskScheduler_t scheduler, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskFactory_Create_2( - scheduler, - outException, - ); - } - - late final _System_Threading_Tasks_TaskFactory_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_TaskFactory_t Function( - System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskFactory_Create_2'); - late final _System_Threading_Tasks_TaskFactory_Create_2 = - _System_Threading_Tasks_TaskFactory_Create_2Ptr.asFunction< - System_Threading_Tasks_TaskFactory_t Function( - System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>(); - - System_Threading_Tasks_TaskFactory_t - System_Threading_Tasks_TaskFactory_Create_3( - int creationOptions, - int continuationOptions, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskFactory_Create_3( - creationOptions, - continuationOptions, - outException, - ); - } - - late final _System_Threading_Tasks_TaskFactory_Create_3Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_TaskFactory_t Function( - ffi.Int32, ffi.Int32, ffi.Pointer)>>( - 'System_Threading_Tasks_TaskFactory_Create_3'); - late final _System_Threading_Tasks_TaskFactory_Create_3 = - _System_Threading_Tasks_TaskFactory_Create_3Ptr.asFunction< - System_Threading_Tasks_TaskFactory_t Function( - int, int, ffi.Pointer)>(); - - System_Threading_Tasks_TaskFactory_t - System_Threading_Tasks_TaskFactory_Create_4( - System_Threading_CancellationToken_t cancellationToken, - int creationOptions, - int continuationOptions, - System_Threading_Tasks_TaskScheduler_t scheduler, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskFactory_Create_4( - cancellationToken, - creationOptions, - continuationOptions, - scheduler, - outException, - ); - } - - late final _System_Threading_Tasks_TaskFactory_Create_4Ptr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_TaskFactory_t Function( - System_Threading_CancellationToken_t, - ffi.Int32, - ffi.Int32, - System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskFactory_Create_4'); - late final _System_Threading_Tasks_TaskFactory_Create_4 = - _System_Threading_Tasks_TaskFactory_Create_4Ptr.asFunction< - System_Threading_Tasks_TaskFactory_t Function( - System_Threading_CancellationToken_t, - int, - int, - System_Threading_Tasks_TaskScheduler_t, - ffi.Pointer)>(); - - System_Threading_CancellationToken_t - System_Threading_Tasks_TaskFactory_CancellationToken_Get( - System_Threading_Tasks_TaskFactory_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskFactory_CancellationToken_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_TaskFactory_CancellationToken_GetPtr = - _lookup< - ffi - .NativeFunction< - System_Threading_CancellationToken_t Function( - System_Threading_Tasks_TaskFactory_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskFactory_CancellationToken_Get'); - late final _System_Threading_Tasks_TaskFactory_CancellationToken_Get = - _System_Threading_Tasks_TaskFactory_CancellationToken_GetPtr.asFunction< - System_Threading_CancellationToken_t Function( - System_Threading_Tasks_TaskFactory_t, - ffi.Pointer)>(); - - System_Threading_Tasks_TaskScheduler_t - System_Threading_Tasks_TaskFactory_Scheduler_Get( - System_Threading_Tasks_TaskFactory_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskFactory_Scheduler_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_TaskFactory_Scheduler_GetPtr = _lookup< - ffi.NativeFunction< - System_Threading_Tasks_TaskScheduler_t Function( - System_Threading_Tasks_TaskFactory_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskFactory_Scheduler_Get'); - late final _System_Threading_Tasks_TaskFactory_Scheduler_Get = - _System_Threading_Tasks_TaskFactory_Scheduler_GetPtr.asFunction< - System_Threading_Tasks_TaskScheduler_t Function( - System_Threading_Tasks_TaskFactory_t, - ffi.Pointer)>(); - - int System_Threading_Tasks_TaskFactory_CreationOptions_Get( - System_Threading_Tasks_TaskFactory_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskFactory_CreationOptions_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_TaskFactory_CreationOptions_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_Tasks_TaskFactory_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskFactory_CreationOptions_Get'); - late final _System_Threading_Tasks_TaskFactory_CreationOptions_Get = - _System_Threading_Tasks_TaskFactory_CreationOptions_GetPtr.asFunction< - int Function(System_Threading_Tasks_TaskFactory_t, - ffi.Pointer)>(); - - int System_Threading_Tasks_TaskFactory_ContinuationOptions_Get( - System_Threading_Tasks_TaskFactory_t self, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_TaskFactory_ContinuationOptions_Get( - self, - outException, - ); - } - - late final _System_Threading_Tasks_TaskFactory_ContinuationOptions_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Threading_Tasks_TaskFactory_t, - ffi.Pointer)>>( - 'System_Threading_Tasks_TaskFactory_ContinuationOptions_Get'); - late final _System_Threading_Tasks_TaskFactory_ContinuationOptions_Get = - _System_Threading_Tasks_TaskFactory_ContinuationOptions_GetPtr.asFunction< - int Function(System_Threading_Tasks_TaskFactory_t, - ffi.Pointer)>(); - - System_Type_t System_Threading_Tasks_TaskFactory_TypeOf() { - return _System_Threading_Tasks_TaskFactory_TypeOf(); - } - - late final _System_Threading_Tasks_TaskFactory_TypeOfPtr = - _lookup>( - 'System_Threading_Tasks_TaskFactory_TypeOf'); - late final _System_Threading_Tasks_TaskFactory_TypeOf = - _System_Threading_Tasks_TaskFactory_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Threading_Tasks_TaskFactory_Destroy( - System_Threading_Tasks_TaskFactory_t self, - ) { - return _System_Threading_Tasks_TaskFactory_Destroy( - self, - ); - } - - late final _System_Threading_Tasks_TaskFactory_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_Tasks_TaskFactory_t)>>( - 'System_Threading_Tasks_TaskFactory_Destroy'); - late final _System_Threading_Tasks_TaskFactory_Destroy = - _System_Threading_Tasks_TaskFactory_DestroyPtr.asFunction< - void Function(System_Threading_Tasks_TaskFactory_t)>(); - - void System_Runtime_CompilerServices_TaskAwaiter_OnCompleted( - System_Runtime_CompilerServices_TaskAwaiter_t self, - System_Action_t continuation, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_TaskAwaiter_OnCompleted( - self, - continuation, - outException, - ); - } - - late final _System_Runtime_CompilerServices_TaskAwaiter_OnCompletedPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_TaskAwaiter_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_TaskAwaiter_OnCompleted'); - late final _System_Runtime_CompilerServices_TaskAwaiter_OnCompleted = - _System_Runtime_CompilerServices_TaskAwaiter_OnCompletedPtr.asFunction< - void Function(System_Runtime_CompilerServices_TaskAwaiter_t, - System_Action_t, ffi.Pointer)>(); - - void System_Runtime_CompilerServices_TaskAwaiter_UnsafeOnCompleted( - System_Runtime_CompilerServices_TaskAwaiter_t self, - System_Action_t continuation, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_TaskAwaiter_UnsafeOnCompleted( - self, - continuation, - outException, - ); - } - - late final _System_Runtime_CompilerServices_TaskAwaiter_UnsafeOnCompletedPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_TaskAwaiter_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_TaskAwaiter_UnsafeOnCompleted'); - late final _System_Runtime_CompilerServices_TaskAwaiter_UnsafeOnCompleted = - _System_Runtime_CompilerServices_TaskAwaiter_UnsafeOnCompletedPtr - .asFunction< - void Function(System_Runtime_CompilerServices_TaskAwaiter_t, - System_Action_t, ffi.Pointer)>(); - - void System_Runtime_CompilerServices_TaskAwaiter_GetResult( - System_Runtime_CompilerServices_TaskAwaiter_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_TaskAwaiter_GetResult( - self, - outException, - ); - } - - late final _System_Runtime_CompilerServices_TaskAwaiter_GetResultPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_TaskAwaiter_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_TaskAwaiter_GetResult'); - late final _System_Runtime_CompilerServices_TaskAwaiter_GetResult = - _System_Runtime_CompilerServices_TaskAwaiter_GetResultPtr.asFunction< - void Function(System_Runtime_CompilerServices_TaskAwaiter_t, - ffi.Pointer)>(); - - bool System_Runtime_CompilerServices_TaskAwaiter_IsCompleted_Get( - System_Runtime_CompilerServices_TaskAwaiter_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_TaskAwaiter_IsCompleted_Get( - self, - outException, - ); - } - - late final _System_Runtime_CompilerServices_TaskAwaiter_IsCompleted_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Runtime_CompilerServices_TaskAwaiter_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_TaskAwaiter_IsCompleted_Get'); - late final _System_Runtime_CompilerServices_TaskAwaiter_IsCompleted_Get = - _System_Runtime_CompilerServices_TaskAwaiter_IsCompleted_GetPtr - .asFunction< - bool Function(System_Runtime_CompilerServices_TaskAwaiter_t, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_TaskAwaiter_t - System_Runtime_CompilerServices_TaskAwaiter_Create( - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_TaskAwaiter_Create( - outException, - ); - } - - late final _System_Runtime_CompilerServices_TaskAwaiter_CreatePtr = _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_TaskAwaiter_t Function( - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_TaskAwaiter_Create'); - late final _System_Runtime_CompilerServices_TaskAwaiter_Create = - _System_Runtime_CompilerServices_TaskAwaiter_CreatePtr.asFunction< - System_Runtime_CompilerServices_TaskAwaiter_t Function( - ffi.Pointer)>(); - - System_Type_t System_Runtime_CompilerServices_TaskAwaiter_TypeOf() { - return _System_Runtime_CompilerServices_TaskAwaiter_TypeOf(); - } - - late final _System_Runtime_CompilerServices_TaskAwaiter_TypeOfPtr = - _lookup>( - 'System_Runtime_CompilerServices_TaskAwaiter_TypeOf'); - late final _System_Runtime_CompilerServices_TaskAwaiter_TypeOf = - _System_Runtime_CompilerServices_TaskAwaiter_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Runtime_CompilerServices_TaskAwaiter_Destroy( - System_Runtime_CompilerServices_TaskAwaiter_t self, - ) { - return _System_Runtime_CompilerServices_TaskAwaiter_Destroy( - self, - ); - } - - late final _System_Runtime_CompilerServices_TaskAwaiter_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_TaskAwaiter_t)>>( - 'System_Runtime_CompilerServices_TaskAwaiter_Destroy'); - late final _System_Runtime_CompilerServices_TaskAwaiter_Destroy = - _System_Runtime_CompilerServices_TaskAwaiter_DestroyPtr.asFunction< - void Function(System_Runtime_CompilerServices_TaskAwaiter_t)>(); - - void - System_Runtime_CompilerServices_ICriticalNotifyCompletion_UnsafeOnCompleted( - System_Runtime_CompilerServices_ICriticalNotifyCompletion_t self, - System_Action_t continuation, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ICriticalNotifyCompletion_UnsafeOnCompleted( - self, - continuation, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ICriticalNotifyCompletion_UnsafeOnCompletedPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ICriticalNotifyCompletion_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ICriticalNotifyCompletion_UnsafeOnCompleted'); - late final _System_Runtime_CompilerServices_ICriticalNotifyCompletion_UnsafeOnCompleted = - _System_Runtime_CompilerServices_ICriticalNotifyCompletion_UnsafeOnCompletedPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_ICriticalNotifyCompletion_t, - System_Action_t, - ffi.Pointer)>(); - - System_Type_t - System_Runtime_CompilerServices_ICriticalNotifyCompletion_TypeOf() { - return _System_Runtime_CompilerServices_ICriticalNotifyCompletion_TypeOf(); - } - - late final _System_Runtime_CompilerServices_ICriticalNotifyCompletion_TypeOfPtr = - _lookup>( - 'System_Runtime_CompilerServices_ICriticalNotifyCompletion_TypeOf'); - late final _System_Runtime_CompilerServices_ICriticalNotifyCompletion_TypeOf = - _System_Runtime_CompilerServices_ICriticalNotifyCompletion_TypeOfPtr - .asFunction(); - - void System_Runtime_CompilerServices_ICriticalNotifyCompletion_Destroy( - System_Runtime_CompilerServices_ICriticalNotifyCompletion_t self, - ) { - return _System_Runtime_CompilerServices_ICriticalNotifyCompletion_Destroy( - self, - ); - } - - late final _System_Runtime_CompilerServices_ICriticalNotifyCompletion_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ICriticalNotifyCompletion_t)>>( - 'System_Runtime_CompilerServices_ICriticalNotifyCompletion_Destroy'); - late final _System_Runtime_CompilerServices_ICriticalNotifyCompletion_Destroy = - _System_Runtime_CompilerServices_ICriticalNotifyCompletion_DestroyPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_ICriticalNotifyCompletion_t)>(); - - void System_Runtime_CompilerServices_INotifyCompletion_OnCompleted( - System_Runtime_CompilerServices_INotifyCompletion_t self, - System_Action_t continuation, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_INotifyCompletion_OnCompleted( - self, - continuation, - outException, - ); - } - - late final _System_Runtime_CompilerServices_INotifyCompletion_OnCompletedPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_INotifyCompletion_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_INotifyCompletion_OnCompleted'); - late final _System_Runtime_CompilerServices_INotifyCompletion_OnCompleted = - _System_Runtime_CompilerServices_INotifyCompletion_OnCompletedPtr - .asFunction< - void Function(System_Runtime_CompilerServices_INotifyCompletion_t, - System_Action_t, ffi.Pointer)>(); - - System_Type_t System_Runtime_CompilerServices_INotifyCompletion_TypeOf() { - return _System_Runtime_CompilerServices_INotifyCompletion_TypeOf(); - } - - late final _System_Runtime_CompilerServices_INotifyCompletion_TypeOfPtr = - _lookup>( - 'System_Runtime_CompilerServices_INotifyCompletion_TypeOf'); - late final _System_Runtime_CompilerServices_INotifyCompletion_TypeOf = - _System_Runtime_CompilerServices_INotifyCompletion_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Runtime_CompilerServices_INotifyCompletion_Destroy( - System_Runtime_CompilerServices_INotifyCompletion_t self, - ) { - return _System_Runtime_CompilerServices_INotifyCompletion_Destroy( - self, - ); - } - - late final _System_Runtime_CompilerServices_INotifyCompletion_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_INotifyCompletion_t)>>( - 'System_Runtime_CompilerServices_INotifyCompletion_Destroy'); - late final _System_Runtime_CompilerServices_INotifyCompletion_Destroy = - _System_Runtime_CompilerServices_INotifyCompletion_DestroyPtr.asFunction< - void Function(System_Runtime_CompilerServices_INotifyCompletion_t)>(); - - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_GetAwaiter( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_GetAwaiter( - self, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_GetAwaiterPtr = - _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredTaskAwaitable_GetAwaiter'); - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_GetAwaiter = - _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_GetAwaiterPtr - .asFunction< - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Create( - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Create( - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_CreatePtr = - _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t - Function(ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Create'); - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Create = - _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_CreatePtr - .asFunction< - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t - Function(ffi.Pointer)>(); - - System_Type_t - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_TypeOf() { - return _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_TypeOf(); - } - - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_TypeOfPtr = - _lookup>( - 'System_Runtime_CompilerServices_ConfiguredTaskAwaitable_TypeOf'); - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_TypeOf = - _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_TypeOfPtr - .asFunction(); - - void System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Destroy( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t self, - ) { - return _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Destroy( - self, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t)>>( - 'System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Destroy'); - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Destroy = - _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_DestroyPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t)>(); - - void - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_OnCompleted( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t - self, - System_Action_t continuation, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_OnCompleted( - self, - continuation, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_OnCompletedPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_OnCompleted'); - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_OnCompleted = - _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_OnCompletedPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t, - System_Action_t, - ffi.Pointer)>(); - - void - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_UnsafeOnCompleted( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t - self, - System_Action_t continuation, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_UnsafeOnCompleted( - self, - continuation, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_UnsafeOnCompletedPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_UnsafeOnCompleted'); - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_UnsafeOnCompleted = - _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_UnsafeOnCompletedPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t, - System_Action_t, - ffi.Pointer)>(); - - void - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_GetResult( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t - self, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_GetResult( - self, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_GetResultPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_GetResult'); - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_GetResult = - _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_GetResultPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t, - ffi.Pointer)>(); - - bool - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_IsCompleted_Get( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t - self, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_IsCompleted_Get( - self, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_IsCompleted_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_IsCompleted_Get'); - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_IsCompleted_Get = - _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_IsCompleted_GetPtr - .asFunction< - bool Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Create( - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Create( - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_CreatePtr = - _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t - Function(ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Create'); - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Create = - _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_CreatePtr - .asFunction< - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t - Function(ffi.Pointer)>(); - - System_Type_t - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_TypeOf() { - return _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_TypeOf(); - } - - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_TypeOfPtr = - _lookup>( - 'System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_TypeOf'); - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_TypeOf = - _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_TypeOfPtr - .asFunction(); - - void - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Destroy( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t - self, - ) { - return _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Destroy( - self, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t)>>( - 'System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Destroy'); - late final _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Destroy = - _System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_DestroyPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t)>(); - - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t - System_Runtime_CompilerServices_YieldAwaitable_GetAwaiter( - System_Runtime_CompilerServices_YieldAwaitable_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_YieldAwaitable_GetAwaiter( - self, - outException, - ); - } - - late final _System_Runtime_CompilerServices_YieldAwaitable_GetAwaiterPtr = - _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t Function( - System_Runtime_CompilerServices_YieldAwaitable_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_YieldAwaitable_GetAwaiter'); - late final _System_Runtime_CompilerServices_YieldAwaitable_GetAwaiter = - _System_Runtime_CompilerServices_YieldAwaitable_GetAwaiterPtr.asFunction< - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t Function( - System_Runtime_CompilerServices_YieldAwaitable_t, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_YieldAwaitable_t - System_Runtime_CompilerServices_YieldAwaitable_Create( - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_YieldAwaitable_Create( - outException, - ); - } - - late final _System_Runtime_CompilerServices_YieldAwaitable_CreatePtr = - _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_YieldAwaitable_t Function( - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_YieldAwaitable_Create'); - late final _System_Runtime_CompilerServices_YieldAwaitable_Create = - _System_Runtime_CompilerServices_YieldAwaitable_CreatePtr.asFunction< - System_Runtime_CompilerServices_YieldAwaitable_t Function( - ffi.Pointer)>(); - - System_Type_t System_Runtime_CompilerServices_YieldAwaitable_TypeOf() { - return _System_Runtime_CompilerServices_YieldAwaitable_TypeOf(); - } - - late final _System_Runtime_CompilerServices_YieldAwaitable_TypeOfPtr = - _lookup>( - 'System_Runtime_CompilerServices_YieldAwaitable_TypeOf'); - late final _System_Runtime_CompilerServices_YieldAwaitable_TypeOf = - _System_Runtime_CompilerServices_YieldAwaitable_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Runtime_CompilerServices_YieldAwaitable_Destroy( - System_Runtime_CompilerServices_YieldAwaitable_t self, - ) { - return _System_Runtime_CompilerServices_YieldAwaitable_Destroy( - self, - ); - } - - late final _System_Runtime_CompilerServices_YieldAwaitable_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_YieldAwaitable_t)>>( - 'System_Runtime_CompilerServices_YieldAwaitable_Destroy'); - late final _System_Runtime_CompilerServices_YieldAwaitable_Destroy = - _System_Runtime_CompilerServices_YieldAwaitable_DestroyPtr.asFunction< - void Function(System_Runtime_CompilerServices_YieldAwaitable_t)>(); - - void System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_OnCompleted( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t self, - System_Action_t continuation, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_OnCompleted( - self, - continuation, - outException, - ); - } - - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_OnCompletedPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_OnCompleted'); - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_OnCompleted = - _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_OnCompletedPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t, - System_Action_t, - ffi.Pointer)>(); - - void - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_UnsafeOnCompleted( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t self, - System_Action_t continuation, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_UnsafeOnCompleted( - self, - continuation, - outException, - ); - } - - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_UnsafeOnCompletedPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_UnsafeOnCompleted'); - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_UnsafeOnCompleted = - _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_UnsafeOnCompletedPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t, - System_Action_t, - ffi.Pointer)>(); - - void System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_GetResult( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_GetResult( - self, - outException, - ); - } - - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_GetResultPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_GetResult'); - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_GetResult = - _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_GetResultPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t, - ffi.Pointer)>(); - - bool - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_IsCompleted_Get( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_IsCompleted_Get( - self, - outException, - ); - } - - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_IsCompleted_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_IsCompleted_Get'); - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_IsCompleted_Get = - _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_IsCompleted_GetPtr - .asFunction< - bool Function( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Create( - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Create( - outException, - ); - } - - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_CreatePtr = - _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t - Function(ffi.Pointer)>>( - 'System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Create'); - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Create = - _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_CreatePtr - .asFunction< - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t - Function(ffi.Pointer)>(); - - System_Type_t - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_TypeOf() { - return _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_TypeOf(); - } - - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_TypeOfPtr = - _lookup>( - 'System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_TypeOf'); - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_TypeOf = - _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_TypeOfPtr - .asFunction(); - - void System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Destroy( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t self, - ) { - return _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Destroy( - self, - ); - } - - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t)>>( - 'System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Destroy'); - late final _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Destroy = - _System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_DestroyPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t)>(); - - System_DateTimeOffset_t System_TimeProvider_GetUtcNow( - System_TimeProvider_t self, - ffi.Pointer outException, - ) { - return _System_TimeProvider_GetUtcNow( - self, - outException, - ); - } - - late final _System_TimeProvider_GetUtcNowPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - System_TimeProvider_t, ffi.Pointer)>>( - 'System_TimeProvider_GetUtcNow'); - late final _System_TimeProvider_GetUtcNow = - _System_TimeProvider_GetUtcNowPtr.asFunction< - System_DateTimeOffset_t Function( - System_TimeProvider_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_TimeProvider_GetLocalNow( - System_TimeProvider_t self, - ffi.Pointer outException, - ) { - return _System_TimeProvider_GetLocalNow( - self, - outException, - ); - } - - late final _System_TimeProvider_GetLocalNowPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - System_TimeProvider_t, ffi.Pointer)>>( - 'System_TimeProvider_GetLocalNow'); - late final _System_TimeProvider_GetLocalNow = - _System_TimeProvider_GetLocalNowPtr.asFunction< - System_DateTimeOffset_t Function( - System_TimeProvider_t, ffi.Pointer)>(); - - int System_TimeProvider_GetTimestamp( - System_TimeProvider_t self, - ffi.Pointer outException, - ) { - return _System_TimeProvider_GetTimestamp( - self, - outException, - ); - } - - late final _System_TimeProvider_GetTimestampPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - System_TimeProvider_t, ffi.Pointer)>>( - 'System_TimeProvider_GetTimestamp'); - late final _System_TimeProvider_GetTimestamp = - _System_TimeProvider_GetTimestampPtr.asFunction< - int Function( - System_TimeProvider_t, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeProvider_GetElapsedTime( - System_TimeProvider_t self, - int startingTimestamp, - int endingTimestamp, - ffi.Pointer outException, - ) { - return _System_TimeProvider_GetElapsedTime( - self, - startingTimestamp, - endingTimestamp, - outException, - ); - } - - late final _System_TimeProvider_GetElapsedTimePtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_TimeProvider_t, ffi.Int64, - ffi.Int64, ffi.Pointer)>>( - 'System_TimeProvider_GetElapsedTime'); - late final _System_TimeProvider_GetElapsedTime = - _System_TimeProvider_GetElapsedTimePtr.asFunction< - System_TimeSpan_t Function(System_TimeProvider_t, int, int, - ffi.Pointer)>(); - - System_TimeSpan_t System_TimeProvider_GetElapsedTime_1( - System_TimeProvider_t self, - int startingTimestamp, - ffi.Pointer outException, - ) { - return _System_TimeProvider_GetElapsedTime_1( - self, - startingTimestamp, - outException, - ); - } - - late final _System_TimeProvider_GetElapsedTime_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_TimeProvider_t, ffi.Int64, - ffi.Pointer)>>( - 'System_TimeProvider_GetElapsedTime_1'); - late final _System_TimeProvider_GetElapsedTime_1 = - _System_TimeProvider_GetElapsedTime_1Ptr.asFunction< - System_TimeSpan_t Function( - System_TimeProvider_t, int, ffi.Pointer)>(); - - System_Threading_ITimer_t System_TimeProvider_CreateTimer( - System_TimeProvider_t self, - System_Threading_TimerCallback_t callback, - System_Object_t state, - System_TimeSpan_t dueTime, - System_TimeSpan_t period, - ffi.Pointer outException, - ) { - return _System_TimeProvider_CreateTimer( - self, - callback, - state, - dueTime, - period, - outException, - ); - } - - late final _System_TimeProvider_CreateTimerPtr = _lookup< - ffi.NativeFunction< - System_Threading_ITimer_t Function( - System_TimeProvider_t, - System_Threading_TimerCallback_t, - System_Object_t, - System_TimeSpan_t, - System_TimeSpan_t, - ffi.Pointer)>>( - 'System_TimeProvider_CreateTimer'); - late final _System_TimeProvider_CreateTimer = - _System_TimeProvider_CreateTimerPtr.asFunction< - System_Threading_ITimer_t Function( - System_TimeProvider_t, - System_Threading_TimerCallback_t, - System_Object_t, - System_TimeSpan_t, - System_TimeSpan_t, - ffi.Pointer)>(); - - System_TimeProvider_t System_TimeProvider_System_Get( - ffi.Pointer outException, - ) { - return _System_TimeProvider_System_Get( - outException, - ); - } - - late final _System_TimeProvider_System_GetPtr = _lookup< - ffi.NativeFunction< - System_TimeProvider_t Function(ffi.Pointer)>>( - 'System_TimeProvider_System_Get'); - late final _System_TimeProvider_System_Get = - _System_TimeProvider_System_GetPtr.asFunction< - System_TimeProvider_t Function(ffi.Pointer)>(); - - System_TimeZoneInfo_t System_TimeProvider_LocalTimeZone_Get( - System_TimeProvider_t self, - ffi.Pointer outException, - ) { - return _System_TimeProvider_LocalTimeZone_Get( - self, - outException, - ); - } - - late final _System_TimeProvider_LocalTimeZone_GetPtr = _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_t Function( - System_TimeProvider_t, ffi.Pointer)>>( - 'System_TimeProvider_LocalTimeZone_Get'); - late final _System_TimeProvider_LocalTimeZone_Get = - _System_TimeProvider_LocalTimeZone_GetPtr.asFunction< - System_TimeZoneInfo_t Function( - System_TimeProvider_t, ffi.Pointer)>(); - - int System_TimeProvider_TimestampFrequency_Get( - System_TimeProvider_t self, - ffi.Pointer outException, - ) { - return _System_TimeProvider_TimestampFrequency_Get( - self, - outException, - ); - } - - late final _System_TimeProvider_TimestampFrequency_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - System_TimeProvider_t, ffi.Pointer)>>( - 'System_TimeProvider_TimestampFrequency_Get'); - late final _System_TimeProvider_TimestampFrequency_Get = - _System_TimeProvider_TimestampFrequency_GetPtr.asFunction< - int Function( - System_TimeProvider_t, ffi.Pointer)>(); - - System_Type_t System_TimeProvider_TypeOf() { - return _System_TimeProvider_TypeOf(); - } - - late final _System_TimeProvider_TypeOfPtr = - _lookup>( - 'System_TimeProvider_TypeOf'); - late final _System_TimeProvider_TypeOf = - _System_TimeProvider_TypeOfPtr.asFunction(); - - void System_TimeProvider_Destroy( - System_TimeProvider_t self, - ) { - return _System_TimeProvider_Destroy( - self, - ); - } - - late final _System_TimeProvider_DestroyPtr = - _lookup>( - 'System_TimeProvider_Destroy'); - late final _System_TimeProvider_Destroy = _System_TimeProvider_DestroyPtr - .asFunction(); - - System_DateTimeOffset_t System_DateTimeOffset_ToOffset( - System_DateTimeOffset_t self, - System_TimeSpan_t offset, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_ToOffset( - self, - offset, - outException, - ); - } - - late final _System_DateTimeOffset_ToOffsetPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - System_TimeSpan_t, ffi.Pointer)>>( - 'System_DateTimeOffset_ToOffset'); - late final _System_DateTimeOffset_ToOffset = - _System_DateTimeOffset_ToOffsetPtr.asFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - System_TimeSpan_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Add( - System_DateTimeOffset_t self, - System_TimeSpan_t timeSpan, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Add( - self, - timeSpan, - outException, - ); - } - - late final _System_DateTimeOffset_AddPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - System_DateTimeOffset_t, - System_TimeSpan_t, - ffi.Pointer)>>('System_DateTimeOffset_Add'); - late final _System_DateTimeOffset_Add = - _System_DateTimeOffset_AddPtr.asFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - System_TimeSpan_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_AddDays( - System_DateTimeOffset_t self, - double days, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_AddDays( - self, - days, - outException, - ); - } - - late final _System_DateTimeOffset_AddDaysPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - ffi.Double, ffi.Pointer)>>( - 'System_DateTimeOffset_AddDays'); - late final _System_DateTimeOffset_AddDays = - _System_DateTimeOffset_AddDaysPtr.asFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, double, - ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_AddHours( - System_DateTimeOffset_t self, - double hours, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_AddHours( - self, - hours, - outException, - ); - } - - late final _System_DateTimeOffset_AddHoursPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - ffi.Double, ffi.Pointer)>>( - 'System_DateTimeOffset_AddHours'); - late final _System_DateTimeOffset_AddHours = - _System_DateTimeOffset_AddHoursPtr.asFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, double, - ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_AddMilliseconds( - System_DateTimeOffset_t self, - double milliseconds, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_AddMilliseconds( - self, - milliseconds, - outException, - ); - } - - late final _System_DateTimeOffset_AddMillisecondsPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - ffi.Double, ffi.Pointer)>>( - 'System_DateTimeOffset_AddMilliseconds'); - late final _System_DateTimeOffset_AddMilliseconds = - _System_DateTimeOffset_AddMillisecondsPtr.asFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, double, - ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_AddMicroseconds( - System_DateTimeOffset_t self, - double microseconds, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_AddMicroseconds( - self, - microseconds, - outException, - ); - } - - late final _System_DateTimeOffset_AddMicrosecondsPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - ffi.Double, ffi.Pointer)>>( - 'System_DateTimeOffset_AddMicroseconds'); - late final _System_DateTimeOffset_AddMicroseconds = - _System_DateTimeOffset_AddMicrosecondsPtr.asFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, double, - ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_AddMinutes( - System_DateTimeOffset_t self, - double minutes, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_AddMinutes( - self, - minutes, - outException, - ); - } - - late final _System_DateTimeOffset_AddMinutesPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - ffi.Double, ffi.Pointer)>>( - 'System_DateTimeOffset_AddMinutes'); - late final _System_DateTimeOffset_AddMinutes = - _System_DateTimeOffset_AddMinutesPtr.asFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, double, - ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_AddMonths( - System_DateTimeOffset_t self, - int months, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_AddMonths( - self, - months, - outException, - ); - } - - late final _System_DateTimeOffset_AddMonthsPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - ffi.Int32, ffi.Pointer)>>( - 'System_DateTimeOffset_AddMonths'); - late final _System_DateTimeOffset_AddMonths = - _System_DateTimeOffset_AddMonthsPtr.asFunction< - System_DateTimeOffset_t Function( - System_DateTimeOffset_t, int, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_AddSeconds( - System_DateTimeOffset_t self, - double seconds, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_AddSeconds( - self, - seconds, - outException, - ); - } - - late final _System_DateTimeOffset_AddSecondsPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - ffi.Double, ffi.Pointer)>>( - 'System_DateTimeOffset_AddSeconds'); - late final _System_DateTimeOffset_AddSeconds = - _System_DateTimeOffset_AddSecondsPtr.asFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, double, - ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_AddTicks( - System_DateTimeOffset_t self, - int ticks, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_AddTicks( - self, - ticks, - outException, - ); - } - - late final _System_DateTimeOffset_AddTicksPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - ffi.Int64, ffi.Pointer)>>( - 'System_DateTimeOffset_AddTicks'); - late final _System_DateTimeOffset_AddTicks = - _System_DateTimeOffset_AddTicksPtr.asFunction< - System_DateTimeOffset_t Function( - System_DateTimeOffset_t, int, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_AddYears( - System_DateTimeOffset_t self, - int years, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_AddYears( - self, - years, - outException, - ); - } - - late final _System_DateTimeOffset_AddYearsPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - ffi.Int32, ffi.Pointer)>>( - 'System_DateTimeOffset_AddYears'); - late final _System_DateTimeOffset_AddYears = - _System_DateTimeOffset_AddYearsPtr.asFunction< - System_DateTimeOffset_t Function( - System_DateTimeOffset_t, int, ffi.Pointer)>(); - - int System_DateTimeOffset_Compare( - System_DateTimeOffset_t first, - System_DateTimeOffset_t second, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Compare( - first, - second, - outException, - ); - } - - late final _System_DateTimeOffset_ComparePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTimeOffset_t, - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Compare'); - late final _System_DateTimeOffset_Compare = - _System_DateTimeOffset_ComparePtr.asFunction< - int Function(System_DateTimeOffset_t, System_DateTimeOffset_t, - ffi.Pointer)>(); - - int System_DateTimeOffset_CompareTo( - System_DateTimeOffset_t self, - System_DateTimeOffset_t other, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_CompareTo( - self, - other, - outException, - ); - } - - late final _System_DateTimeOffset_CompareToPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_DateTimeOffset_t, - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_CompareTo'); - late final _System_DateTimeOffset_CompareTo = - _System_DateTimeOffset_CompareToPtr.asFunction< - int Function(System_DateTimeOffset_t, System_DateTimeOffset_t, - ffi.Pointer)>(); - - bool System_DateTimeOffset_Equals( - System_DateTimeOffset_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Equals( - self, - obj, - outException, - ); - } - - late final _System_DateTimeOffset_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_DateTimeOffset_t, System_Object_t, - ffi.Pointer)>>( - 'System_DateTimeOffset_Equals'); - late final _System_DateTimeOffset_Equals = - _System_DateTimeOffset_EqualsPtr.asFunction< - bool Function(System_DateTimeOffset_t, System_Object_t, - ffi.Pointer)>(); - - bool System_DateTimeOffset_Equals_1( - System_DateTimeOffset_t self, - System_DateTimeOffset_t other, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Equals_1( - self, - other, - outException, - ); - } - - late final _System_DateTimeOffset_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_DateTimeOffset_t, - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Equals_1'); - late final _System_DateTimeOffset_Equals_1 = - _System_DateTimeOffset_Equals_1Ptr.asFunction< - bool Function(System_DateTimeOffset_t, System_DateTimeOffset_t, - ffi.Pointer)>(); - - bool System_DateTimeOffset_EqualsExact( - System_DateTimeOffset_t self, - System_DateTimeOffset_t other, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_EqualsExact( - self, - other, - outException, - ); - } - - late final _System_DateTimeOffset_EqualsExactPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_DateTimeOffset_t, - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_EqualsExact'); - late final _System_DateTimeOffset_EqualsExact = - _System_DateTimeOffset_EqualsExactPtr.asFunction< - bool Function(System_DateTimeOffset_t, System_DateTimeOffset_t, - ffi.Pointer)>(); - - bool System_DateTimeOffset_Equals_2( - System_DateTimeOffset_t first, - System_DateTimeOffset_t second, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Equals_2( - first, - second, - outException, - ); - } - - late final _System_DateTimeOffset_Equals_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_DateTimeOffset_t, - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Equals_2'); - late final _System_DateTimeOffset_Equals_2 = - _System_DateTimeOffset_Equals_2Ptr.asFunction< - bool Function(System_DateTimeOffset_t, System_DateTimeOffset_t, - ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_FromFileTime( - int fileTime, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_FromFileTime( - fileTime, - outException, - ); - } - - late final _System_DateTimeOffset_FromFileTimePtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - ffi.Int64, ffi.Pointer)>>( - 'System_DateTimeOffset_FromFileTime'); - late final _System_DateTimeOffset_FromFileTime = - _System_DateTimeOffset_FromFileTimePtr.asFunction< - System_DateTimeOffset_t Function( - int, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_FromUnixTimeSeconds( - int seconds, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_FromUnixTimeSeconds( - seconds, - outException, - ); - } - - late final _System_DateTimeOffset_FromUnixTimeSecondsPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - ffi.Int64, ffi.Pointer)>>( - 'System_DateTimeOffset_FromUnixTimeSeconds'); - late final _System_DateTimeOffset_FromUnixTimeSeconds = - _System_DateTimeOffset_FromUnixTimeSecondsPtr.asFunction< - System_DateTimeOffset_t Function( - int, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_FromUnixTimeMilliseconds( - int milliseconds, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_FromUnixTimeMilliseconds( - milliseconds, - outException, - ); - } - - late final _System_DateTimeOffset_FromUnixTimeMillisecondsPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - ffi.Int64, ffi.Pointer)>>( - 'System_DateTimeOffset_FromUnixTimeMilliseconds'); - late final _System_DateTimeOffset_FromUnixTimeMilliseconds = - _System_DateTimeOffset_FromUnixTimeMillisecondsPtr.asFunction< - System_DateTimeOffset_t Function( - int, ffi.Pointer)>(); - - int System_DateTimeOffset_GetHashCode( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_GetHashCode( - self, - outException, - ); - } - - late final _System_DateTimeOffset_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_GetHashCode'); - late final _System_DateTimeOffset_GetHashCode = - _System_DateTimeOffset_GetHashCodePtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Parse( - System_String_t input, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Parse( - input, - outException, - ); - } - - late final _System_DateTimeOffset_ParsePtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_String_t, - ffi.Pointer)>>('System_DateTimeOffset_Parse'); - late final _System_DateTimeOffset_Parse = - _System_DateTimeOffset_ParsePtr.asFunction< - System_DateTimeOffset_t Function( - System_String_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Parse_1( - System_String_t input, - System_IFormatProvider_t formatProvider, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Parse_1( - input, - formatProvider, - outException, - ); - } - - late final _System_DateTimeOffset_Parse_1Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_String_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Parse_1'); - late final _System_DateTimeOffset_Parse_1 = - _System_DateTimeOffset_Parse_1Ptr.asFunction< - System_DateTimeOffset_t Function(System_String_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Parse_2( - System_String_t input, - System_IFormatProvider_t formatProvider, - int styles, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Parse_2( - input, - formatProvider, - styles, - outException, - ); - } - - late final _System_DateTimeOffset_Parse_2Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_DateTimeOffset_Parse_2'); - late final _System_DateTimeOffset_Parse_2 = - _System_DateTimeOffset_Parse_2Ptr.asFunction< - System_DateTimeOffset_t Function( - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_ParseExact( - System_String_t input, - System_String_t format, - System_IFormatProvider_t formatProvider, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_ParseExact( - input, - format, - formatProvider, - outException, - ); - } - - late final _System_DateTimeOffset_ParseExactPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_String_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_DateTimeOffset_ParseExact'); - late final _System_DateTimeOffset_ParseExact = - _System_DateTimeOffset_ParseExactPtr.asFunction< - System_DateTimeOffset_t Function(System_String_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_ParseExact_1( - System_String_t input, - System_String_t format, - System_IFormatProvider_t formatProvider, - int styles, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_ParseExact_1( - input, - format, - formatProvider, - styles, - outException, - ); - } - - late final _System_DateTimeOffset_ParseExact_1Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_DateTimeOffset_ParseExact_1'); - late final _System_DateTimeOffset_ParseExact_1 = - _System_DateTimeOffset_ParseExact_1Ptr.asFunction< - System_DateTimeOffset_t Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_ParseExact_2( - System_String_t input, - System_String_Array_t formats, - System_IFormatProvider_t formatProvider, - int styles, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_ParseExact_2( - input, - formats, - formatProvider, - styles, - outException, - ); - } - - late final _System_DateTimeOffset_ParseExact_2Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_DateTimeOffset_ParseExact_2'); - late final _System_DateTimeOffset_ParseExact_2 = - _System_DateTimeOffset_ParseExact_2Ptr.asFunction< - System_DateTimeOffset_t Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - int, - ffi.Pointer)>(); - - System_TimeSpan_t System_DateTimeOffset_Subtract( - System_DateTimeOffset_t self, - System_DateTimeOffset_t value, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Subtract( - self, - value, - outException, - ); - } - - late final _System_DateTimeOffset_SubtractPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_DateTimeOffset_t, - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Subtract'); - late final _System_DateTimeOffset_Subtract = - _System_DateTimeOffset_SubtractPtr.asFunction< - System_TimeSpan_t Function(System_DateTimeOffset_t, - System_DateTimeOffset_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Subtract_1( - System_DateTimeOffset_t self, - System_TimeSpan_t value, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Subtract_1( - self, - value, - outException, - ); - } - - late final _System_DateTimeOffset_Subtract_1Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - System_TimeSpan_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Subtract_1'); - late final _System_DateTimeOffset_Subtract_1 = - _System_DateTimeOffset_Subtract_1Ptr.asFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - System_TimeSpan_t, ffi.Pointer)>(); - - int System_DateTimeOffset_ToFileTime( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_ToFileTime( - self, - outException, - ); - } - - late final _System_DateTimeOffset_ToFileTimePtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_ToFileTime'); - late final _System_DateTimeOffset_ToFileTime = - _System_DateTimeOffset_ToFileTimePtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_ToUnixTimeSeconds( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_ToUnixTimeSeconds( - self, - outException, - ); - } - - late final _System_DateTimeOffset_ToUnixTimeSecondsPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_ToUnixTimeSeconds'); - late final _System_DateTimeOffset_ToUnixTimeSeconds = - _System_DateTimeOffset_ToUnixTimeSecondsPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_ToUnixTimeMilliseconds( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_ToUnixTimeMilliseconds( - self, - outException, - ); - } - - late final _System_DateTimeOffset_ToUnixTimeMillisecondsPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_ToUnixTimeMilliseconds'); - late final _System_DateTimeOffset_ToUnixTimeMilliseconds = - _System_DateTimeOffset_ToUnixTimeMillisecondsPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_ToLocalTime( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_ToLocalTime( - self, - outException, - ); - } - - late final _System_DateTimeOffset_ToLocalTimePtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_ToLocalTime'); - late final _System_DateTimeOffset_ToLocalTime = - _System_DateTimeOffset_ToLocalTimePtr.asFunction< - System_DateTimeOffset_t Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - System_String_t System_DateTimeOffset_ToString( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_ToString( - self, - outException, - ); - } - - late final _System_DateTimeOffset_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_ToString'); - late final _System_DateTimeOffset_ToString = - _System_DateTimeOffset_ToStringPtr.asFunction< - System_String_t Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - System_String_t System_DateTimeOffset_ToString_1( - System_DateTimeOffset_t self, - System_String_t format, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_ToString_1( - self, - format, - outException, - ); - } - - late final _System_DateTimeOffset_ToString_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_DateTimeOffset_t, System_String_t, - ffi.Pointer)>>( - 'System_DateTimeOffset_ToString_1'); - late final _System_DateTimeOffset_ToString_1 = - _System_DateTimeOffset_ToString_1Ptr.asFunction< - System_String_t Function(System_DateTimeOffset_t, System_String_t, - ffi.Pointer)>(); - - System_String_t System_DateTimeOffset_ToString_2( - System_DateTimeOffset_t self, - System_IFormatProvider_t formatProvider, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_ToString_2( - self, - formatProvider, - outException, - ); - } - - late final _System_DateTimeOffset_ToString_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_DateTimeOffset_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_DateTimeOffset_ToString_2'); - late final _System_DateTimeOffset_ToString_2 = - _System_DateTimeOffset_ToString_2Ptr.asFunction< - System_String_t Function(System_DateTimeOffset_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_String_t System_DateTimeOffset_ToString_3( - System_DateTimeOffset_t self, - System_String_t format, - System_IFormatProvider_t formatProvider, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_ToString_3( - self, - format, - formatProvider, - outException, - ); - } - - late final _System_DateTimeOffset_ToString_3Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_DateTimeOffset_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_DateTimeOffset_ToString_3'); - late final _System_DateTimeOffset_ToString_3 = - _System_DateTimeOffset_ToString_3Ptr.asFunction< - System_String_t Function(System_DateTimeOffset_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_ToUniversalTime( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_ToUniversalTime( - self, - outException, - ); - } - - late final _System_DateTimeOffset_ToUniversalTimePtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_ToUniversalTime'); - late final _System_DateTimeOffset_ToUniversalTime = - _System_DateTimeOffset_ToUniversalTimePtr.asFunction< - System_DateTimeOffset_t Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - bool System_DateTimeOffset_TryParse( - System_String_t input, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_TryParse( - input, - result, - outException, - ); - } - - late final _System_DateTimeOffset_TryParsePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - ffi.Pointer, - ffi.Pointer)>>( - 'System_DateTimeOffset_TryParse'); - late final _System_DateTimeOffset_TryParse = - _System_DateTimeOffset_TryParsePtr.asFunction< - bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>(); - - bool System_DateTimeOffset_TryParse_1( - System_String_t input, - System_IFormatProvider_t formatProvider, - int styles, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_TryParse_1( - input, - formatProvider, - styles, - result, - outException, - ); - } - - late final _System_DateTimeOffset_TryParse_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>( - 'System_DateTimeOffset_TryParse_1'); - late final _System_DateTimeOffset_TryParse_1 = - _System_DateTimeOffset_TryParse_1Ptr.asFunction< - bool Function( - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_DateTimeOffset_TryParseExact( - System_String_t input, - System_String_t format, - System_IFormatProvider_t formatProvider, - int styles, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_TryParseExact( - input, - format, - formatProvider, - styles, - result, - outException, - ); - } - - late final _System_DateTimeOffset_TryParseExactPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>( - 'System_DateTimeOffset_TryParseExact'); - late final _System_DateTimeOffset_TryParseExact = - _System_DateTimeOffset_TryParseExactPtr.asFunction< - bool Function( - System_String_t, - System_String_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_DateTimeOffset_TryParseExact_1( - System_String_t input, - System_String_Array_t formats, - System_IFormatProvider_t formatProvider, - int styles, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_TryParseExact_1( - input, - formats, - formatProvider, - styles, - result, - outException, - ); - } - - late final _System_DateTimeOffset_TryParseExact_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>( - 'System_DateTimeOffset_TryParseExact_1'); - late final _System_DateTimeOffset_TryParseExact_1 = - _System_DateTimeOffset_TryParseExact_1Ptr.asFunction< - bool Function( - System_String_t, - System_String_Array_t, - System_IFormatProvider_t, - int, - ffi.Pointer, - ffi.Pointer)>(); - - void System_DateTimeOffset_Deconstruct( - System_DateTimeOffset_t self, - ffi.Pointer date, - ffi.Pointer time, - ffi.Pointer offset, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Deconstruct( - self, - date, - time, - offset, - outException, - ); - } - - late final _System_DateTimeOffset_DeconstructPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_DateTimeOffset_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>( - 'System_DateTimeOffset_Deconstruct'); - late final _System_DateTimeOffset_Deconstruct = - _System_DateTimeOffset_DeconstructPtr.asFunction< - void Function( - System_DateTimeOffset_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - bool System_DateTimeOffset_TryParse_2( - System_String_t s, - System_IFormatProvider_t provider, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_TryParse_2( - s, - provider, - result, - outException, - ); - } - - late final _System_DateTimeOffset_TryParse_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>>( - 'System_DateTimeOffset_TryParse_2'); - late final _System_DateTimeOffset_TryParse_2 = - _System_DateTimeOffset_TryParse_2Ptr.asFunction< - bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Create( - int ticks, - System_TimeSpan_t offset, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Create( - ticks, - offset, - outException, - ); - } - - late final _System_DateTimeOffset_CreatePtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(ffi.Int64, System_TimeSpan_t, - ffi.Pointer)>>( - 'System_DateTimeOffset_Create'); - late final _System_DateTimeOffset_Create = - _System_DateTimeOffset_CreatePtr.asFunction< - System_DateTimeOffset_t Function( - int, System_TimeSpan_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Create_1( - System_DateTime_t dateTime, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Create_1( - dateTime, - outException, - ); - } - - late final _System_DateTimeOffset_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Create_1'); - late final _System_DateTimeOffset_Create_1 = - _System_DateTimeOffset_Create_1Ptr.asFunction< - System_DateTimeOffset_t Function( - System_DateTime_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Create_2( - System_DateTime_t dateTime, - System_TimeSpan_t offset, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Create_2( - dateTime, - offset, - outException, - ); - } - - late final _System_DateTimeOffset_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTime_t, - System_TimeSpan_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Create_2'); - late final _System_DateTimeOffset_Create_2 = - _System_DateTimeOffset_Create_2Ptr.asFunction< - System_DateTimeOffset_t Function(System_DateTime_t, System_TimeSpan_t, - ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Create_3( - System_DateOnly_t date, - System_TimeOnly_t time, - System_TimeSpan_t offset, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Create_3( - date, - time, - offset, - outException, - ); - } - - late final _System_DateTimeOffset_Create_3Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - System_DateOnly_t, - System_TimeOnly_t, - System_TimeSpan_t, - ffi.Pointer)>>( - 'System_DateTimeOffset_Create_3'); - late final _System_DateTimeOffset_Create_3 = - _System_DateTimeOffset_Create_3Ptr.asFunction< - System_DateTimeOffset_t Function(System_DateOnly_t, System_TimeOnly_t, - System_TimeSpan_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Create_4( - int year, - int month, - int day, - int hour, - int minute, - int second, - System_TimeSpan_t offset, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Create_4( - year, - month, - day, - hour, - minute, - second, - offset, - outException, - ); - } - - late final _System_DateTimeOffset_Create_4Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - System_TimeSpan_t, - ffi.Pointer)>>( - 'System_DateTimeOffset_Create_4'); - late final _System_DateTimeOffset_Create_4 = - _System_DateTimeOffset_Create_4Ptr.asFunction< - System_DateTimeOffset_t Function(int, int, int, int, int, int, - System_TimeSpan_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Create_5( - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - System_TimeSpan_t offset, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Create_5( - year, - month, - day, - hour, - minute, - second, - millisecond, - offset, - outException, - ); - } - - late final _System_DateTimeOffset_Create_5Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - System_TimeSpan_t, - ffi.Pointer)>>( - 'System_DateTimeOffset_Create_5'); - late final _System_DateTimeOffset_Create_5 = - _System_DateTimeOffset_Create_5Ptr.asFunction< - System_DateTimeOffset_t Function(int, int, int, int, int, int, int, - System_TimeSpan_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Create_6( - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - System_Globalization_Calendar_t calendar, - System_TimeSpan_t offset, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Create_6( - year, - month, - day, - hour, - minute, - second, - millisecond, - calendar, - offset, - outException, - ); - } - - late final _System_DateTimeOffset_Create_6Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - System_Globalization_Calendar_t, - System_TimeSpan_t, - ffi.Pointer)>>( - 'System_DateTimeOffset_Create_6'); - late final _System_DateTimeOffset_Create_6 = - _System_DateTimeOffset_Create_6Ptr.asFunction< - System_DateTimeOffset_t Function( - int, - int, - int, - int, - int, - int, - int, - System_Globalization_Calendar_t, - System_TimeSpan_t, - ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Create_7( - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - int microsecond, - System_TimeSpan_t offset, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Create_7( - year, - month, - day, - hour, - minute, - second, - millisecond, - microsecond, - offset, - outException, - ); - } - - late final _System_DateTimeOffset_Create_7Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - System_TimeSpan_t, - ffi.Pointer)>>( - 'System_DateTimeOffset_Create_7'); - late final _System_DateTimeOffset_Create_7 = - _System_DateTimeOffset_Create_7Ptr.asFunction< - System_DateTimeOffset_t Function(int, int, int, int, int, int, int, - int, System_TimeSpan_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Create_8( - int year, - int month, - int day, - int hour, - int minute, - int second, - int millisecond, - int microsecond, - System_Globalization_Calendar_t calendar, - System_TimeSpan_t offset, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Create_8( - year, - month, - day, - hour, - minute, - second, - millisecond, - microsecond, - calendar, - offset, - outException, - ); - } - - late final _System_DateTimeOffset_Create_8Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Int32, - System_Globalization_Calendar_t, - System_TimeSpan_t, - ffi.Pointer)>>( - 'System_DateTimeOffset_Create_8'); - late final _System_DateTimeOffset_Create_8 = - _System_DateTimeOffset_Create_8Ptr.asFunction< - System_DateTimeOffset_t Function( - int, - int, - int, - int, - int, - int, - int, - int, - System_Globalization_Calendar_t, - System_TimeSpan_t, - ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_UtcNow_Get( - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_UtcNow_Get( - outException, - ); - } - - late final _System_DateTimeOffset_UtcNow_GetPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - ffi.Pointer)>>( - 'System_DateTimeOffset_UtcNow_Get'); - late final _System_DateTimeOffset_UtcNow_Get = - _System_DateTimeOffset_UtcNow_GetPtr.asFunction< - System_DateTimeOffset_t Function(ffi.Pointer)>(); - - System_DateTime_t System_DateTimeOffset_DateTime_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_DateTime_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_DateTime_GetPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_DateTime_Get'); - late final _System_DateTimeOffset_DateTime_Get = - _System_DateTimeOffset_DateTime_GetPtr.asFunction< - System_DateTime_t Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - System_DateTime_t System_DateTimeOffset_UtcDateTime_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_UtcDateTime_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_UtcDateTime_GetPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_UtcDateTime_Get'); - late final _System_DateTimeOffset_UtcDateTime_Get = - _System_DateTimeOffset_UtcDateTime_GetPtr.asFunction< - System_DateTime_t Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - System_DateTime_t System_DateTimeOffset_LocalDateTime_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_LocalDateTime_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_LocalDateTime_GetPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_LocalDateTime_Get'); - late final _System_DateTimeOffset_LocalDateTime_Get = - _System_DateTimeOffset_LocalDateTime_GetPtr.asFunction< - System_DateTime_t Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - System_DateTime_t System_DateTimeOffset_Date_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Date_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_Date_GetPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Date_Get'); - late final _System_DateTimeOffset_Date_Get = - _System_DateTimeOffset_Date_GetPtr.asFunction< - System_DateTime_t Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_Day_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Day_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_Day_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Day_Get'); - late final _System_DateTimeOffset_Day_Get = - _System_DateTimeOffset_Day_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_DayOfWeek_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_DayOfWeek_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_DayOfWeek_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_DayOfWeek_Get'); - late final _System_DateTimeOffset_DayOfWeek_Get = - _System_DateTimeOffset_DayOfWeek_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_DayOfYear_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_DayOfYear_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_DayOfYear_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_DayOfYear_Get'); - late final _System_DateTimeOffset_DayOfYear_Get = - _System_DateTimeOffset_DayOfYear_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_Hour_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Hour_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_Hour_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Hour_Get'); - late final _System_DateTimeOffset_Hour_Get = - _System_DateTimeOffset_Hour_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_Millisecond_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Millisecond_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_Millisecond_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Millisecond_Get'); - late final _System_DateTimeOffset_Millisecond_Get = - _System_DateTimeOffset_Millisecond_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_Microsecond_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Microsecond_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_Microsecond_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Microsecond_Get'); - late final _System_DateTimeOffset_Microsecond_Get = - _System_DateTimeOffset_Microsecond_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_Nanosecond_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Nanosecond_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_Nanosecond_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Nanosecond_Get'); - late final _System_DateTimeOffset_Nanosecond_Get = - _System_DateTimeOffset_Nanosecond_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_Minute_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Minute_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_Minute_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Minute_Get'); - late final _System_DateTimeOffset_Minute_Get = - _System_DateTimeOffset_Minute_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_Month_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Month_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_Month_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Month_Get'); - late final _System_DateTimeOffset_Month_Get = - _System_DateTimeOffset_Month_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - System_TimeSpan_t System_DateTimeOffset_Offset_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Offset_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_Offset_GetPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Offset_Get'); - late final _System_DateTimeOffset_Offset_Get = - _System_DateTimeOffset_Offset_GetPtr.asFunction< - System_TimeSpan_t Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_TotalOffsetMinutes_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_TotalOffsetMinutes_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_TotalOffsetMinutes_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_TotalOffsetMinutes_Get'); - late final _System_DateTimeOffset_TotalOffsetMinutes_Get = - _System_DateTimeOffset_TotalOffsetMinutes_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_Second_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Second_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_Second_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Second_Get'); - late final _System_DateTimeOffset_Second_Get = - _System_DateTimeOffset_Second_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_Ticks_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Ticks_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_Ticks_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Ticks_Get'); - late final _System_DateTimeOffset_Ticks_Get = - _System_DateTimeOffset_Ticks_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_UtcTicks_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_UtcTicks_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_UtcTicks_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_UtcTicks_Get'); - late final _System_DateTimeOffset_UtcTicks_Get = - _System_DateTimeOffset_UtcTicks_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - System_TimeSpan_t System_DateTimeOffset_TimeOfDay_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_TimeOfDay_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_TimeOfDay_GetPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_TimeOfDay_Get'); - late final _System_DateTimeOffset_TimeOfDay_Get = - _System_DateTimeOffset_TimeOfDay_GetPtr.asFunction< - System_TimeSpan_t Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - int System_DateTimeOffset_Year_Get( - System_DateTimeOffset_t self, - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Year_Get( - self, - outException, - ); - } - - late final _System_DateTimeOffset_Year_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_DateTimeOffset_Year_Get'); - late final _System_DateTimeOffset_Year_Get = - _System_DateTimeOffset_Year_GetPtr.asFunction< - int Function( - System_DateTimeOffset_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_Now_Get( - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Now_Get( - outException, - ); - } - - late final _System_DateTimeOffset_Now_GetPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - ffi.Pointer)>>( - 'System_DateTimeOffset_Now_Get'); - late final _System_DateTimeOffset_Now_Get = - _System_DateTimeOffset_Now_GetPtr.asFunction< - System_DateTimeOffset_t Function(ffi.Pointer)>(); - - System_DateTimeOffset_t System_DateTimeOffset_MinValue_Get() { - return _System_DateTimeOffset_MinValue_Get(); - } - - late final _System_DateTimeOffset_MinValue_GetPtr = - _lookup>( - 'System_DateTimeOffset_MinValue_Get'); - late final _System_DateTimeOffset_MinValue_Get = - _System_DateTimeOffset_MinValue_GetPtr.asFunction< - System_DateTimeOffset_t Function()>(); - - System_DateTimeOffset_t System_DateTimeOffset_MaxValue_Get() { - return _System_DateTimeOffset_MaxValue_Get(); - } - - late final _System_DateTimeOffset_MaxValue_GetPtr = - _lookup>( - 'System_DateTimeOffset_MaxValue_Get'); - late final _System_DateTimeOffset_MaxValue_Get = - _System_DateTimeOffset_MaxValue_GetPtr.asFunction< - System_DateTimeOffset_t Function()>(); - - System_DateTimeOffset_t System_DateTimeOffset_UnixEpoch_Get() { - return _System_DateTimeOffset_UnixEpoch_Get(); - } - - late final _System_DateTimeOffset_UnixEpoch_GetPtr = - _lookup>( - 'System_DateTimeOffset_UnixEpoch_Get'); - late final _System_DateTimeOffset_UnixEpoch_Get = - _System_DateTimeOffset_UnixEpoch_GetPtr.asFunction< - System_DateTimeOffset_t Function()>(); - - System_DateTimeOffset_t System_DateTimeOffset_Create_9( - ffi.Pointer outException, - ) { - return _System_DateTimeOffset_Create_9( - outException, - ); - } - - late final _System_DateTimeOffset_Create_9Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function( - ffi.Pointer)>>( - 'System_DateTimeOffset_Create_9'); - late final _System_DateTimeOffset_Create_9 = - _System_DateTimeOffset_Create_9Ptr.asFunction< - System_DateTimeOffset_t Function(ffi.Pointer)>(); - - System_Type_t System_DateTimeOffset_TypeOf() { - return _System_DateTimeOffset_TypeOf(); - } - - late final _System_DateTimeOffset_TypeOfPtr = - _lookup>( - 'System_DateTimeOffset_TypeOf'); - late final _System_DateTimeOffset_TypeOf = - _System_DateTimeOffset_TypeOfPtr.asFunction(); - - void System_DateTimeOffset_Destroy( - System_DateTimeOffset_t self, - ) { - return _System_DateTimeOffset_Destroy( - self, - ); - } - - late final _System_DateTimeOffset_DestroyPtr = - _lookup>( - 'System_DateTimeOffset_Destroy'); - late final _System_DateTimeOffset_Destroy = _System_DateTimeOffset_DestroyPtr - .asFunction(); - - System_TimeSpan_Array_t System_TimeZoneInfo_GetAmbiguousTimeOffsets( - System_TimeZoneInfo_t self, - System_DateTimeOffset_t dateTimeOffset, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_GetAmbiguousTimeOffsets( - self, - dateTimeOffset, - outException, - ); - } - - late final _System_TimeZoneInfo_GetAmbiguousTimeOffsetsPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_Array_t Function(System_TimeZoneInfo_t, - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_GetAmbiguousTimeOffsets'); - late final _System_TimeZoneInfo_GetAmbiguousTimeOffsets = - _System_TimeZoneInfo_GetAmbiguousTimeOffsetsPtr.asFunction< - System_TimeSpan_Array_t Function(System_TimeZoneInfo_t, - System_DateTimeOffset_t, ffi.Pointer)>(); - - System_TimeSpan_Array_t System_TimeZoneInfo_GetAmbiguousTimeOffsets_1( - System_TimeZoneInfo_t self, - System_DateTime_t dateTime, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_GetAmbiguousTimeOffsets_1( - self, - dateTime, - outException, - ); - } - - late final _System_TimeZoneInfo_GetAmbiguousTimeOffsets_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeSpan_Array_t Function(System_TimeZoneInfo_t, - System_DateTime_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_GetAmbiguousTimeOffsets_1'); - late final _System_TimeZoneInfo_GetAmbiguousTimeOffsets_1 = - _System_TimeZoneInfo_GetAmbiguousTimeOffsets_1Ptr.asFunction< - System_TimeSpan_Array_t Function(System_TimeZoneInfo_t, - System_DateTime_t, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeZoneInfo_GetUtcOffset( - System_TimeZoneInfo_t self, - System_DateTimeOffset_t dateTimeOffset, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_GetUtcOffset( - self, - dateTimeOffset, - outException, - ); - } - - late final _System_TimeZoneInfo_GetUtcOffsetPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_TimeZoneInfo_t, - System_DateTimeOffset_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_GetUtcOffset'); - late final _System_TimeZoneInfo_GetUtcOffset = - _System_TimeZoneInfo_GetUtcOffsetPtr.asFunction< - System_TimeSpan_t Function(System_TimeZoneInfo_t, - System_DateTimeOffset_t, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeZoneInfo_GetUtcOffset_1( - System_TimeZoneInfo_t self, - System_DateTime_t dateTime, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_GetUtcOffset_1( - self, - dateTime, - outException, - ); - } - - late final _System_TimeZoneInfo_GetUtcOffset_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_TimeZoneInfo_t, - System_DateTime_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_GetUtcOffset_1'); - late final _System_TimeZoneInfo_GetUtcOffset_1 = - _System_TimeZoneInfo_GetUtcOffset_1Ptr.asFunction< - System_TimeSpan_t Function(System_TimeZoneInfo_t, System_DateTime_t, - ffi.Pointer)>(); - - bool System_TimeZoneInfo_IsAmbiguousTime( - System_TimeZoneInfo_t self, - System_DateTimeOffset_t dateTimeOffset, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_IsAmbiguousTime( - self, - dateTimeOffset, - outException, - ); - } - - late final _System_TimeZoneInfo_IsAmbiguousTimePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeZoneInfo_t, System_DateTimeOffset_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_IsAmbiguousTime'); - late final _System_TimeZoneInfo_IsAmbiguousTime = - _System_TimeZoneInfo_IsAmbiguousTimePtr.asFunction< - bool Function(System_TimeZoneInfo_t, System_DateTimeOffset_t, - ffi.Pointer)>(); - - bool System_TimeZoneInfo_IsAmbiguousTime_1( - System_TimeZoneInfo_t self, - System_DateTime_t dateTime, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_IsAmbiguousTime_1( - self, - dateTime, - outException, - ); - } - - late final _System_TimeZoneInfo_IsAmbiguousTime_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeZoneInfo_t, System_DateTime_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_IsAmbiguousTime_1'); - late final _System_TimeZoneInfo_IsAmbiguousTime_1 = - _System_TimeZoneInfo_IsAmbiguousTime_1Ptr.asFunction< - bool Function(System_TimeZoneInfo_t, System_DateTime_t, - ffi.Pointer)>(); - - bool System_TimeZoneInfo_IsDaylightSavingTime( - System_TimeZoneInfo_t self, - System_DateTimeOffset_t dateTimeOffset, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_IsDaylightSavingTime( - self, - dateTimeOffset, - outException, - ); - } - - late final _System_TimeZoneInfo_IsDaylightSavingTimePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeZoneInfo_t, System_DateTimeOffset_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_IsDaylightSavingTime'); - late final _System_TimeZoneInfo_IsDaylightSavingTime = - _System_TimeZoneInfo_IsDaylightSavingTimePtr.asFunction< - bool Function(System_TimeZoneInfo_t, System_DateTimeOffset_t, - ffi.Pointer)>(); - - bool System_TimeZoneInfo_IsDaylightSavingTime_1( - System_TimeZoneInfo_t self, - System_DateTime_t dateTime, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_IsDaylightSavingTime_1( - self, - dateTime, - outException, - ); - } - - late final _System_TimeZoneInfo_IsDaylightSavingTime_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeZoneInfo_t, System_DateTime_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_IsDaylightSavingTime_1'); - late final _System_TimeZoneInfo_IsDaylightSavingTime_1 = - _System_TimeZoneInfo_IsDaylightSavingTime_1Ptr.asFunction< - bool Function(System_TimeZoneInfo_t, System_DateTime_t, - ffi.Pointer)>(); - - bool System_TimeZoneInfo_IsInvalidTime( - System_TimeZoneInfo_t self, - System_DateTime_t dateTime, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_IsInvalidTime( - self, - dateTime, - outException, - ); - } - - late final _System_TimeZoneInfo_IsInvalidTimePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeZoneInfo_t, System_DateTime_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_IsInvalidTime'); - late final _System_TimeZoneInfo_IsInvalidTime = - _System_TimeZoneInfo_IsInvalidTimePtr.asFunction< - bool Function(System_TimeZoneInfo_t, System_DateTime_t, - ffi.Pointer)>(); - - void System_TimeZoneInfo_ClearCachedData( - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_ClearCachedData( - outException, - ); - } - - late final _System_TimeZoneInfo_ClearCachedDataPtr = _lookup< - ffi - .NativeFunction)>>( - 'System_TimeZoneInfo_ClearCachedData'); - late final _System_TimeZoneInfo_ClearCachedData = - _System_TimeZoneInfo_ClearCachedDataPtr.asFunction< - void Function(ffi.Pointer)>(); - - System_DateTimeOffset_t System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId( - System_DateTimeOffset_t dateTimeOffset, - System_String_t destinationTimeZoneId, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId( - dateTimeOffset, - destinationTimeZoneId, - outException, - ); - } - - late final _System_TimeZoneInfo_ConvertTimeBySystemTimeZoneIdPtr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - System_String_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId'); - late final _System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId = - _System_TimeZoneInfo_ConvertTimeBySystemTimeZoneIdPtr.asFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - System_String_t, ffi.Pointer)>(); - - System_DateTime_t System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_1( - System_DateTime_t dateTime, - System_String_t destinationTimeZoneId, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_1( - dateTime, - destinationTimeZoneId, - outException, - ); - } - - late final _System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_1Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, System_String_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_1'); - late final _System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_1 = - _System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_1Ptr.asFunction< - System_DateTime_t Function(System_DateTime_t, System_String_t, - ffi.Pointer)>(); - - System_TimeZoneInfo_t System_TimeZoneInfo_FindSystemTimeZoneById( - System_String_t id, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_FindSystemTimeZoneById( - id, - outException, - ); - } - - late final _System_TimeZoneInfo_FindSystemTimeZoneByIdPtr = _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_t Function( - System_String_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_FindSystemTimeZoneById'); - late final _System_TimeZoneInfo_FindSystemTimeZoneById = - _System_TimeZoneInfo_FindSystemTimeZoneByIdPtr.asFunction< - System_TimeZoneInfo_t Function( - System_String_t, ffi.Pointer)>(); - - bool System_TimeZoneInfo_TryFindSystemTimeZoneById( - System_String_t id, - ffi.Pointer timeZoneInfo, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TryFindSystemTimeZoneById( - id, - timeZoneInfo, - outException, - ); - } - - late final _System_TimeZoneInfo_TryFindSystemTimeZoneByIdPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TryFindSystemTimeZoneById'); - late final _System_TimeZoneInfo_TryFindSystemTimeZoneById = - _System_TimeZoneInfo_TryFindSystemTimeZoneByIdPtr.asFunction< - bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>(); - - System_DateTime_t System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_2( - System_DateTime_t dateTime, - System_String_t sourceTimeZoneId, - System_String_t destinationTimeZoneId, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_2( - dateTime, - sourceTimeZoneId, - destinationTimeZoneId, - outException, - ); - } - - late final _System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_2Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, System_String_t, - System_String_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_2'); - late final _System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_2 = - _System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_2Ptr.asFunction< - System_DateTime_t Function(System_DateTime_t, System_String_t, - System_String_t, ffi.Pointer)>(); - - System_DateTimeOffset_t System_TimeZoneInfo_ConvertTime_1( - System_DateTimeOffset_t dateTimeOffset, - System_TimeZoneInfo_t destinationTimeZone, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_ConvertTime_1( - dateTimeOffset, - destinationTimeZone, - outException, - ); - } - - late final _System_TimeZoneInfo_ConvertTime_1Ptr = _lookup< - ffi.NativeFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_ConvertTime_1'); - late final _System_TimeZoneInfo_ConvertTime_1 = - _System_TimeZoneInfo_ConvertTime_1Ptr.asFunction< - System_DateTimeOffset_t Function(System_DateTimeOffset_t, - System_TimeZoneInfo_t, ffi.Pointer)>(); - - System_DateTime_t System_TimeZoneInfo_ConvertTime_2( - System_DateTime_t dateTime, - System_TimeZoneInfo_t destinationTimeZone, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_ConvertTime_2( - dateTime, - destinationTimeZone, - outException, - ); - } - - late final _System_TimeZoneInfo_ConvertTime_2Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_ConvertTime_2'); - late final _System_TimeZoneInfo_ConvertTime_2 = - _System_TimeZoneInfo_ConvertTime_2Ptr.asFunction< - System_DateTime_t Function(System_DateTime_t, System_TimeZoneInfo_t, - ffi.Pointer)>(); - - System_DateTime_t System_TimeZoneInfo_ConvertTime_3( - System_DateTime_t dateTime, - System_TimeZoneInfo_t sourceTimeZone, - System_TimeZoneInfo_t destinationTimeZone, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_ConvertTime_3( - dateTime, - sourceTimeZone, - destinationTimeZone, - outException, - ); - } - - late final _System_TimeZoneInfo_ConvertTime_3Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_DateTime_t, - System_TimeZoneInfo_t, - System_TimeZoneInfo_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_ConvertTime_3'); - late final _System_TimeZoneInfo_ConvertTime_3 = - _System_TimeZoneInfo_ConvertTime_3Ptr.asFunction< - System_DateTime_t Function(System_DateTime_t, System_TimeZoneInfo_t, - System_TimeZoneInfo_t, ffi.Pointer)>(); - - System_DateTime_t System_TimeZoneInfo_ConvertTimeFromUtc( - System_DateTime_t dateTime, - System_TimeZoneInfo_t destinationTimeZone, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_ConvertTimeFromUtc( - dateTime, - destinationTimeZone, - outException, - ); - } - - late final _System_TimeZoneInfo_ConvertTimeFromUtcPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_ConvertTimeFromUtc'); - late final _System_TimeZoneInfo_ConvertTimeFromUtc = - _System_TimeZoneInfo_ConvertTimeFromUtcPtr.asFunction< - System_DateTime_t Function(System_DateTime_t, System_TimeZoneInfo_t, - ffi.Pointer)>(); - - System_DateTime_t System_TimeZoneInfo_ConvertTimeToUtc( - System_DateTime_t dateTime, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_ConvertTimeToUtc( - dateTime, - outException, - ); - } - - late final _System_TimeZoneInfo_ConvertTimeToUtcPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function( - System_DateTime_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_ConvertTimeToUtc'); - late final _System_TimeZoneInfo_ConvertTimeToUtc = - _System_TimeZoneInfo_ConvertTimeToUtcPtr.asFunction< - System_DateTime_t Function( - System_DateTime_t, ffi.Pointer)>(); - - System_DateTime_t System_TimeZoneInfo_ConvertTimeToUtc_1( - System_DateTime_t dateTime, - System_TimeZoneInfo_t sourceTimeZone, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_ConvertTimeToUtc_1( - dateTime, - sourceTimeZone, - outException, - ); - } - - late final _System_TimeZoneInfo_ConvertTimeToUtc_1Ptr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_DateTime_t, - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_ConvertTimeToUtc_1'); - late final _System_TimeZoneInfo_ConvertTimeToUtc_1 = - _System_TimeZoneInfo_ConvertTimeToUtc_1Ptr.asFunction< - System_DateTime_t Function(System_DateTime_t, System_TimeZoneInfo_t, - ffi.Pointer)>(); - - bool System_TimeZoneInfo_Equals( - System_TimeZoneInfo_t self, - System_TimeZoneInfo_t other, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_Equals( - self, - other, - outException, - ); - } - - late final _System_TimeZoneInfo_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeZoneInfo_t, System_TimeZoneInfo_t, - ffi.Pointer)>>('System_TimeZoneInfo_Equals'); - late final _System_TimeZoneInfo_Equals = - _System_TimeZoneInfo_EqualsPtr.asFunction< - bool Function(System_TimeZoneInfo_t, System_TimeZoneInfo_t, - ffi.Pointer)>(); - - bool System_TimeZoneInfo_Equals_1( - System_TimeZoneInfo_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_Equals_1( - self, - obj, - outException, - ); - } - - late final _System_TimeZoneInfo_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeZoneInfo_t, System_Object_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_Equals_1'); - late final _System_TimeZoneInfo_Equals_1 = - _System_TimeZoneInfo_Equals_1Ptr.asFunction< - bool Function(System_TimeZoneInfo_t, System_Object_t, - ffi.Pointer)>(); - - System_TimeZoneInfo_t System_TimeZoneInfo_FromSerializedString( - System_String_t source, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_FromSerializedString( - source, - outException, - ); - } - - late final _System_TimeZoneInfo_FromSerializedStringPtr = _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_t Function( - System_String_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_FromSerializedString'); - late final _System_TimeZoneInfo_FromSerializedString = - _System_TimeZoneInfo_FromSerializedStringPtr.asFunction< - System_TimeZoneInfo_t Function( - System_String_t, ffi.Pointer)>(); - - int System_TimeZoneInfo_GetHashCode( - System_TimeZoneInfo_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_GetHashCode( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_GetHashCode'); - late final _System_TimeZoneInfo_GetHashCode = - _System_TimeZoneInfo_GetHashCodePtr.asFunction< - int Function( - System_TimeZoneInfo_t, ffi.Pointer)>(); - - bool System_TimeZoneInfo_HasSameRules( - System_TimeZoneInfo_t self, - System_TimeZoneInfo_t other, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_HasSameRules( - self, - other, - outException, - ); - } - - late final _System_TimeZoneInfo_HasSameRulesPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeZoneInfo_t, System_TimeZoneInfo_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_HasSameRules'); - late final _System_TimeZoneInfo_HasSameRules = - _System_TimeZoneInfo_HasSameRulesPtr.asFunction< - bool Function(System_TimeZoneInfo_t, System_TimeZoneInfo_t, - ffi.Pointer)>(); - - System_String_t System_TimeZoneInfo_ToSerializedString( - System_TimeZoneInfo_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_ToSerializedString( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_ToSerializedStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_ToSerializedString'); - late final _System_TimeZoneInfo_ToSerializedString = - _System_TimeZoneInfo_ToSerializedStringPtr.asFunction< - System_String_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>(); - - System_String_t System_TimeZoneInfo_ToString( - System_TimeZoneInfo_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_ToString( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_ToString'); - late final _System_TimeZoneInfo_ToString = - _System_TimeZoneInfo_ToStringPtr.asFunction< - System_String_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>(); - - System_TimeZoneInfo_t System_TimeZoneInfo_CreateCustomTimeZone( - System_String_t id, - System_TimeSpan_t baseUtcOffset, - System_String_t displayName, - System_String_t standardDisplayName, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_CreateCustomTimeZone( - id, - baseUtcOffset, - displayName, - standardDisplayName, - outException, - ); - } - - late final _System_TimeZoneInfo_CreateCustomTimeZonePtr = _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_t Function( - System_String_t, - System_TimeSpan_t, - System_String_t, - System_String_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_CreateCustomTimeZone'); - late final _System_TimeZoneInfo_CreateCustomTimeZone = - _System_TimeZoneInfo_CreateCustomTimeZonePtr.asFunction< - System_TimeZoneInfo_t Function( - System_String_t, - System_TimeSpan_t, - System_String_t, - System_String_t, - ffi.Pointer)>(); - - System_TimeZoneInfo_t System_TimeZoneInfo_CreateCustomTimeZone_1( - System_String_t id, - System_TimeSpan_t baseUtcOffset, - System_String_t displayName, - System_String_t standardDisplayName, - System_String_t daylightDisplayName, - System_TimeZoneInfo_AdjustmentRule_Array_t adjustmentRules, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_CreateCustomTimeZone_1( - id, - baseUtcOffset, - displayName, - standardDisplayName, - daylightDisplayName, - adjustmentRules, - outException, - ); - } - - late final _System_TimeZoneInfo_CreateCustomTimeZone_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_t Function( - System_String_t, - System_TimeSpan_t, - System_String_t, - System_String_t, - System_String_t, - System_TimeZoneInfo_AdjustmentRule_Array_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_CreateCustomTimeZone_1'); - late final _System_TimeZoneInfo_CreateCustomTimeZone_1 = - _System_TimeZoneInfo_CreateCustomTimeZone_1Ptr.asFunction< - System_TimeZoneInfo_t Function( - System_String_t, - System_TimeSpan_t, - System_String_t, - System_String_t, - System_String_t, - System_TimeZoneInfo_AdjustmentRule_Array_t, - ffi.Pointer)>(); - - System_TimeZoneInfo_t System_TimeZoneInfo_CreateCustomTimeZone_2( - System_String_t id, - System_TimeSpan_t baseUtcOffset, - System_String_t displayName, - System_String_t standardDisplayName, - System_String_t daylightDisplayName, - System_TimeZoneInfo_AdjustmentRule_Array_t adjustmentRules, - bool disableDaylightSavingTime, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_CreateCustomTimeZone_2( - id, - baseUtcOffset, - displayName, - standardDisplayName, - daylightDisplayName, - adjustmentRules, - disableDaylightSavingTime, - outException, - ); - } - - late final _System_TimeZoneInfo_CreateCustomTimeZone_2Ptr = _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_t Function( - System_String_t, - System_TimeSpan_t, - System_String_t, - System_String_t, - System_String_t, - System_TimeZoneInfo_AdjustmentRule_Array_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_TimeZoneInfo_CreateCustomTimeZone_2'); - late final _System_TimeZoneInfo_CreateCustomTimeZone_2 = - _System_TimeZoneInfo_CreateCustomTimeZone_2Ptr.asFunction< - System_TimeZoneInfo_t Function( - System_String_t, - System_TimeSpan_t, - System_String_t, - System_String_t, - System_String_t, - System_TimeZoneInfo_AdjustmentRule_Array_t, - bool, - ffi.Pointer)>(); - - bool System_TimeZoneInfo_TryConvertIanaIdToWindowsId( - System_String_t ianaId, - ffi.Pointer windowsId, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TryConvertIanaIdToWindowsId( - ianaId, - windowsId, - outException, - ); - } - - late final _System_TimeZoneInfo_TryConvertIanaIdToWindowsIdPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TryConvertIanaIdToWindowsId'); - late final _System_TimeZoneInfo_TryConvertIanaIdToWindowsId = - _System_TimeZoneInfo_TryConvertIanaIdToWindowsIdPtr.asFunction< - bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>(); - - bool System_TimeZoneInfo_TryConvertWindowsIdToIanaId( - System_String_t windowsId, - ffi.Pointer ianaId, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TryConvertWindowsIdToIanaId( - windowsId, - ianaId, - outException, - ); - } - - late final _System_TimeZoneInfo_TryConvertWindowsIdToIanaIdPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TryConvertWindowsIdToIanaId'); - late final _System_TimeZoneInfo_TryConvertWindowsIdToIanaId = - _System_TimeZoneInfo_TryConvertWindowsIdToIanaIdPtr.asFunction< - bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>(); - - bool System_TimeZoneInfo_TryConvertWindowsIdToIanaId_1( - System_String_t windowsId, - System_String_t region, - ffi.Pointer ianaId, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TryConvertWindowsIdToIanaId_1( - windowsId, - region, - ianaId, - outException, - ); - } - - late final _System_TimeZoneInfo_TryConvertWindowsIdToIanaId_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_t, - ffi.Pointer, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TryConvertWindowsIdToIanaId_1'); - late final _System_TimeZoneInfo_TryConvertWindowsIdToIanaId_1 = - _System_TimeZoneInfo_TryConvertWindowsIdToIanaId_1Ptr.asFunction< - bool Function(System_String_t, System_String_t, - ffi.Pointer, ffi.Pointer)>(); - - System_TimeZoneInfo_AdjustmentRule_Array_t - System_TimeZoneInfo_GetAdjustmentRules( - System_TimeZoneInfo_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_GetAdjustmentRules( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_GetAdjustmentRulesPtr = _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_AdjustmentRule_Array_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_GetAdjustmentRules'); - late final _System_TimeZoneInfo_GetAdjustmentRules = - _System_TimeZoneInfo_GetAdjustmentRulesPtr.asFunction< - System_TimeZoneInfo_AdjustmentRule_Array_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>(); - - System_String_t System_TimeZoneInfo_Id_Get( - System_TimeZoneInfo_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_Id_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_Id_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_TimeZoneInfo_t, - ffi.Pointer)>>('System_TimeZoneInfo_Id_Get'); - late final _System_TimeZoneInfo_Id_Get = - _System_TimeZoneInfo_Id_GetPtr.asFunction< - System_String_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>(); - - bool System_TimeZoneInfo_HasIanaId_Get( - System_TimeZoneInfo_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_HasIanaId_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_HasIanaId_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_HasIanaId_Get'); - late final _System_TimeZoneInfo_HasIanaId_Get = - _System_TimeZoneInfo_HasIanaId_GetPtr.asFunction< - bool Function( - System_TimeZoneInfo_t, ffi.Pointer)>(); - - System_String_t System_TimeZoneInfo_DisplayName_Get( - System_TimeZoneInfo_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_DisplayName_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_DisplayName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_DisplayName_Get'); - late final _System_TimeZoneInfo_DisplayName_Get = - _System_TimeZoneInfo_DisplayName_GetPtr.asFunction< - System_String_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>(); - - System_String_t System_TimeZoneInfo_StandardName_Get( - System_TimeZoneInfo_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_StandardName_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_StandardName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_StandardName_Get'); - late final _System_TimeZoneInfo_StandardName_Get = - _System_TimeZoneInfo_StandardName_GetPtr.asFunction< - System_String_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>(); - - System_String_t System_TimeZoneInfo_DaylightName_Get( - System_TimeZoneInfo_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_DaylightName_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_DaylightName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_DaylightName_Get'); - late final _System_TimeZoneInfo_DaylightName_Get = - _System_TimeZoneInfo_DaylightName_GetPtr.asFunction< - System_String_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>(); - - System_TimeSpan_t System_TimeZoneInfo_BaseUtcOffset_Get( - System_TimeZoneInfo_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_BaseUtcOffset_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_BaseUtcOffset_GetPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_BaseUtcOffset_Get'); - late final _System_TimeZoneInfo_BaseUtcOffset_Get = - _System_TimeZoneInfo_BaseUtcOffset_GetPtr.asFunction< - System_TimeSpan_t Function( - System_TimeZoneInfo_t, ffi.Pointer)>(); - - bool System_TimeZoneInfo_SupportsDaylightSavingTime_Get( - System_TimeZoneInfo_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_SupportsDaylightSavingTime_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_SupportsDaylightSavingTime_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_TimeZoneInfo_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_SupportsDaylightSavingTime_Get'); - late final _System_TimeZoneInfo_SupportsDaylightSavingTime_Get = - _System_TimeZoneInfo_SupportsDaylightSavingTime_GetPtr.asFunction< - bool Function( - System_TimeZoneInfo_t, ffi.Pointer)>(); - - System_TimeZoneInfo_t System_TimeZoneInfo_Local_Get( - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_Local_Get( - outException, - ); - } - - late final _System_TimeZoneInfo_Local_GetPtr = _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_t Function(ffi.Pointer)>>( - 'System_TimeZoneInfo_Local_Get'); - late final _System_TimeZoneInfo_Local_Get = - _System_TimeZoneInfo_Local_GetPtr.asFunction< - System_TimeZoneInfo_t Function(ffi.Pointer)>(); - - System_TimeZoneInfo_t System_TimeZoneInfo_Utc_Get( - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_Utc_Get( - outException, - ); - } - - late final _System_TimeZoneInfo_Utc_GetPtr = _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_t Function( - ffi.Pointer)>>('System_TimeZoneInfo_Utc_Get'); - late final _System_TimeZoneInfo_Utc_Get = - _System_TimeZoneInfo_Utc_GetPtr.asFunction< - System_TimeZoneInfo_t Function(ffi.Pointer)>(); - - System_Type_t System_TimeZoneInfo_TypeOf() { - return _System_TimeZoneInfo_TypeOf(); - } - - late final _System_TimeZoneInfo_TypeOfPtr = - _lookup>( - 'System_TimeZoneInfo_TypeOf'); - late final _System_TimeZoneInfo_TypeOf = - _System_TimeZoneInfo_TypeOfPtr.asFunction(); - - void System_TimeZoneInfo_Destroy( - System_TimeZoneInfo_t self, - ) { - return _System_TimeZoneInfo_Destroy( - self, - ); - } - - late final _System_TimeZoneInfo_DestroyPtr = - _lookup>( - 'System_TimeZoneInfo_Destroy'); - late final _System_TimeZoneInfo_Destroy = _System_TimeZoneInfo_DestroyPtr - .asFunction(); - - bool System_TimeZoneInfo_AdjustmentRule_Equals( - System_TimeZoneInfo_AdjustmentRule_t self, - System_TimeZoneInfo_AdjustmentRule_t other, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_AdjustmentRule_Equals( - self, - other, - outException, - ); - } - - late final _System_TimeZoneInfo_AdjustmentRule_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_TimeZoneInfo_AdjustmentRule_t, - System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_AdjustmentRule_Equals'); - late final _System_TimeZoneInfo_AdjustmentRule_Equals = - _System_TimeZoneInfo_AdjustmentRule_EqualsPtr.asFunction< - bool Function( - System_TimeZoneInfo_AdjustmentRule_t, - System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>(); - - bool System_TimeZoneInfo_AdjustmentRule_Equals_1( - System_TimeZoneInfo_AdjustmentRule_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_AdjustmentRule_Equals_1( - self, - obj, - outException, - ); - } - - late final _System_TimeZoneInfo_AdjustmentRule_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeZoneInfo_AdjustmentRule_t, - System_Object_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_AdjustmentRule_Equals_1'); - late final _System_TimeZoneInfo_AdjustmentRule_Equals_1 = - _System_TimeZoneInfo_AdjustmentRule_Equals_1Ptr.asFunction< - bool Function(System_TimeZoneInfo_AdjustmentRule_t, System_Object_t, - ffi.Pointer)>(); - - int System_TimeZoneInfo_AdjustmentRule_GetHashCode( - System_TimeZoneInfo_AdjustmentRule_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_AdjustmentRule_GetHashCode( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_AdjustmentRule_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_AdjustmentRule_GetHashCode'); - late final _System_TimeZoneInfo_AdjustmentRule_GetHashCode = - _System_TimeZoneInfo_AdjustmentRule_GetHashCodePtr.asFunction< - int Function(System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>(); - - System_TimeZoneInfo_AdjustmentRule_t - System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule( - System_DateTime_t dateStart, - System_DateTime_t dateEnd, - System_TimeSpan_t daylightDelta, - System_TimeZoneInfo_TransitionTime_t daylightTransitionStart, - System_TimeZoneInfo_TransitionTime_t daylightTransitionEnd, - System_TimeSpan_t baseUtcOffsetDelta, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule( - dateStart, - dateEnd, - daylightDelta, - daylightTransitionStart, - daylightTransitionEnd, - baseUtcOffsetDelta, - outException, - ); - } - - late final _System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRulePtr = - _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_AdjustmentRule_t Function( - System_DateTime_t, - System_DateTime_t, - System_TimeSpan_t, - System_TimeZoneInfo_TransitionTime_t, - System_TimeZoneInfo_TransitionTime_t, - System_TimeSpan_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule'); - late final _System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule = - _System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRulePtr.asFunction< - System_TimeZoneInfo_AdjustmentRule_t Function( - System_DateTime_t, - System_DateTime_t, - System_TimeSpan_t, - System_TimeZoneInfo_TransitionTime_t, - System_TimeZoneInfo_TransitionTime_t, - System_TimeSpan_t, - ffi.Pointer)>(); - - System_TimeZoneInfo_AdjustmentRule_t - System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule_1( - System_DateTime_t dateStart, - System_DateTime_t dateEnd, - System_TimeSpan_t daylightDelta, - System_TimeZoneInfo_TransitionTime_t daylightTransitionStart, - System_TimeZoneInfo_TransitionTime_t daylightTransitionEnd, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule_1( - dateStart, - dateEnd, - daylightDelta, - daylightTransitionStart, - daylightTransitionEnd, - outException, - ); - } - - late final _System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule_1Ptr = - _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_AdjustmentRule_t Function( - System_DateTime_t, - System_DateTime_t, - System_TimeSpan_t, - System_TimeZoneInfo_TransitionTime_t, - System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule_1'); - late final _System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule_1 = - _System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule_1Ptr.asFunction< - System_TimeZoneInfo_AdjustmentRule_t Function( - System_DateTime_t, - System_DateTime_t, - System_TimeSpan_t, - System_TimeZoneInfo_TransitionTime_t, - System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>(); - - System_DateTime_t System_TimeZoneInfo_AdjustmentRule_DateStart_Get( - System_TimeZoneInfo_AdjustmentRule_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_AdjustmentRule_DateStart_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_AdjustmentRule_DateStart_GetPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_AdjustmentRule_DateStart_Get'); - late final _System_TimeZoneInfo_AdjustmentRule_DateStart_Get = - _System_TimeZoneInfo_AdjustmentRule_DateStart_GetPtr.asFunction< - System_DateTime_t Function(System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>(); - - System_DateTime_t System_TimeZoneInfo_AdjustmentRule_DateEnd_Get( - System_TimeZoneInfo_AdjustmentRule_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_AdjustmentRule_DateEnd_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_AdjustmentRule_DateEnd_GetPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_AdjustmentRule_DateEnd_Get'); - late final _System_TimeZoneInfo_AdjustmentRule_DateEnd_Get = - _System_TimeZoneInfo_AdjustmentRule_DateEnd_GetPtr.asFunction< - System_DateTime_t Function(System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>(); - - System_TimeSpan_t System_TimeZoneInfo_AdjustmentRule_DaylightDelta_Get( - System_TimeZoneInfo_AdjustmentRule_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_AdjustmentRule_DaylightDelta_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_AdjustmentRule_DaylightDelta_GetPtr = _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function(System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_AdjustmentRule_DaylightDelta_Get'); - late final _System_TimeZoneInfo_AdjustmentRule_DaylightDelta_Get = - _System_TimeZoneInfo_AdjustmentRule_DaylightDelta_GetPtr.asFunction< - System_TimeSpan_t Function(System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>(); - - System_TimeZoneInfo_TransitionTime_t - System_TimeZoneInfo_AdjustmentRule_DaylightTransitionStart_Get( - System_TimeZoneInfo_AdjustmentRule_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_AdjustmentRule_DaylightTransitionStart_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_AdjustmentRule_DaylightTransitionStart_GetPtr = - _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_TransitionTime_t Function( - System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_AdjustmentRule_DaylightTransitionStart_Get'); - late final _System_TimeZoneInfo_AdjustmentRule_DaylightTransitionStart_Get = - _System_TimeZoneInfo_AdjustmentRule_DaylightTransitionStart_GetPtr - .asFunction< - System_TimeZoneInfo_TransitionTime_t Function( - System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>(); - - System_TimeZoneInfo_TransitionTime_t - System_TimeZoneInfo_AdjustmentRule_DaylightTransitionEnd_Get( - System_TimeZoneInfo_AdjustmentRule_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_AdjustmentRule_DaylightTransitionEnd_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_AdjustmentRule_DaylightTransitionEnd_GetPtr = - _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_TransitionTime_t Function( - System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_AdjustmentRule_DaylightTransitionEnd_Get'); - late final _System_TimeZoneInfo_AdjustmentRule_DaylightTransitionEnd_Get = - _System_TimeZoneInfo_AdjustmentRule_DaylightTransitionEnd_GetPtr - .asFunction< - System_TimeZoneInfo_TransitionTime_t Function( - System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>(); - - System_TimeSpan_t System_TimeZoneInfo_AdjustmentRule_BaseUtcOffsetDelta_Get( - System_TimeZoneInfo_AdjustmentRule_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_AdjustmentRule_BaseUtcOffsetDelta_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_AdjustmentRule_BaseUtcOffsetDelta_GetPtr = - _lookup< - ffi.NativeFunction< - System_TimeSpan_t Function( - System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_AdjustmentRule_BaseUtcOffsetDelta_Get'); - late final _System_TimeZoneInfo_AdjustmentRule_BaseUtcOffsetDelta_Get = - _System_TimeZoneInfo_AdjustmentRule_BaseUtcOffsetDelta_GetPtr.asFunction< - System_TimeSpan_t Function(System_TimeZoneInfo_AdjustmentRule_t, - ffi.Pointer)>(); - - System_Type_t System_TimeZoneInfo_AdjustmentRule_TypeOf() { - return _System_TimeZoneInfo_AdjustmentRule_TypeOf(); - } - - late final _System_TimeZoneInfo_AdjustmentRule_TypeOfPtr = - _lookup>( - 'System_TimeZoneInfo_AdjustmentRule_TypeOf'); - late final _System_TimeZoneInfo_AdjustmentRule_TypeOf = - _System_TimeZoneInfo_AdjustmentRule_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_TimeZoneInfo_AdjustmentRule_Destroy( - System_TimeZoneInfo_AdjustmentRule_t self, - ) { - return _System_TimeZoneInfo_AdjustmentRule_Destroy( - self, - ); - } - - late final _System_TimeZoneInfo_AdjustmentRule_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_TimeZoneInfo_AdjustmentRule_t)>>( - 'System_TimeZoneInfo_AdjustmentRule_Destroy'); - late final _System_TimeZoneInfo_AdjustmentRule_Destroy = - _System_TimeZoneInfo_AdjustmentRule_DestroyPtr.asFunction< - void Function(System_TimeZoneInfo_AdjustmentRule_t)>(); - - bool System_TimeZoneInfo_TransitionTime_Equals( - System_TimeZoneInfo_TransitionTime_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TransitionTime_Equals( - self, - obj, - outException, - ); - } - - late final _System_TimeZoneInfo_TransitionTime_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeZoneInfo_TransitionTime_t, - System_Object_t, ffi.Pointer)>>( - 'System_TimeZoneInfo_TransitionTime_Equals'); - late final _System_TimeZoneInfo_TransitionTime_Equals = - _System_TimeZoneInfo_TransitionTime_EqualsPtr.asFunction< - bool Function(System_TimeZoneInfo_TransitionTime_t, System_Object_t, - ffi.Pointer)>(); - - bool System_TimeZoneInfo_TransitionTime_Equals_1( - System_TimeZoneInfo_TransitionTime_t self, - System_TimeZoneInfo_TransitionTime_t other, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TransitionTime_Equals_1( - self, - other, - outException, - ); - } - - late final _System_TimeZoneInfo_TransitionTime_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_TimeZoneInfo_TransitionTime_t, - System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TransitionTime_Equals_1'); - late final _System_TimeZoneInfo_TransitionTime_Equals_1 = - _System_TimeZoneInfo_TransitionTime_Equals_1Ptr.asFunction< - bool Function( - System_TimeZoneInfo_TransitionTime_t, - System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>(); - - int System_TimeZoneInfo_TransitionTime_GetHashCode( - System_TimeZoneInfo_TransitionTime_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TransitionTime_GetHashCode( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_TransitionTime_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TransitionTime_GetHashCode'); - late final _System_TimeZoneInfo_TransitionTime_GetHashCode = - _System_TimeZoneInfo_TransitionTime_GetHashCodePtr.asFunction< - int Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>(); - - System_TimeZoneInfo_TransitionTime_t - System_TimeZoneInfo_TransitionTime_CreateFixedDateRule( - System_DateTime_t timeOfDay, - int month, - int day, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TransitionTime_CreateFixedDateRule( - timeOfDay, - month, - day, - outException, - ); - } - - late final _System_TimeZoneInfo_TransitionTime_CreateFixedDateRulePtr = - _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_TransitionTime_t Function( - System_DateTime_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TransitionTime_CreateFixedDateRule'); - late final _System_TimeZoneInfo_TransitionTime_CreateFixedDateRule = - _System_TimeZoneInfo_TransitionTime_CreateFixedDateRulePtr.asFunction< - System_TimeZoneInfo_TransitionTime_t Function( - System_DateTime_t, int, int, ffi.Pointer)>(); - - System_TimeZoneInfo_TransitionTime_t - System_TimeZoneInfo_TransitionTime_CreateFloatingDateRule( - System_DateTime_t timeOfDay, - int month, - int week, - int dayOfWeek, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TransitionTime_CreateFloatingDateRule( - timeOfDay, - month, - week, - dayOfWeek, - outException, - ); - } - - late final _System_TimeZoneInfo_TransitionTime_CreateFloatingDateRulePtr = - _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_TransitionTime_t Function( - System_DateTime_t, - ffi.Int32, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TransitionTime_CreateFloatingDateRule'); - late final _System_TimeZoneInfo_TransitionTime_CreateFloatingDateRule = - _System_TimeZoneInfo_TransitionTime_CreateFloatingDateRulePtr.asFunction< - System_TimeZoneInfo_TransitionTime_t Function(System_DateTime_t, int, - int, int, ffi.Pointer)>(); - - System_DateTime_t System_TimeZoneInfo_TransitionTime_TimeOfDay_Get( - System_TimeZoneInfo_TransitionTime_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TransitionTime_TimeOfDay_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_TransitionTime_TimeOfDay_GetPtr = _lookup< - ffi.NativeFunction< - System_DateTime_t Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TransitionTime_TimeOfDay_Get'); - late final _System_TimeZoneInfo_TransitionTime_TimeOfDay_Get = - _System_TimeZoneInfo_TransitionTime_TimeOfDay_GetPtr.asFunction< - System_DateTime_t Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>(); - - int System_TimeZoneInfo_TransitionTime_Month_Get( - System_TimeZoneInfo_TransitionTime_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TransitionTime_Month_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_TransitionTime_Month_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TransitionTime_Month_Get'); - late final _System_TimeZoneInfo_TransitionTime_Month_Get = - _System_TimeZoneInfo_TransitionTime_Month_GetPtr.asFunction< - int Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>(); - - int System_TimeZoneInfo_TransitionTime_Week_Get( - System_TimeZoneInfo_TransitionTime_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TransitionTime_Week_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_TransitionTime_Week_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TransitionTime_Week_Get'); - late final _System_TimeZoneInfo_TransitionTime_Week_Get = - _System_TimeZoneInfo_TransitionTime_Week_GetPtr.asFunction< - int Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>(); - - int System_TimeZoneInfo_TransitionTime_Day_Get( - System_TimeZoneInfo_TransitionTime_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TransitionTime_Day_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_TransitionTime_Day_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TransitionTime_Day_Get'); - late final _System_TimeZoneInfo_TransitionTime_Day_Get = - _System_TimeZoneInfo_TransitionTime_Day_GetPtr.asFunction< - int Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>(); - - int System_TimeZoneInfo_TransitionTime_DayOfWeek_Get( - System_TimeZoneInfo_TransitionTime_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TransitionTime_DayOfWeek_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_TransitionTime_DayOfWeek_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TransitionTime_DayOfWeek_Get'); - late final _System_TimeZoneInfo_TransitionTime_DayOfWeek_Get = - _System_TimeZoneInfo_TransitionTime_DayOfWeek_GetPtr.asFunction< - int Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>(); - - bool System_TimeZoneInfo_TransitionTime_IsFixedDateRule_Get( - System_TimeZoneInfo_TransitionTime_t self, - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TransitionTime_IsFixedDateRule_Get( - self, - outException, - ); - } - - late final _System_TimeZoneInfo_TransitionTime_IsFixedDateRule_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>>( - 'System_TimeZoneInfo_TransitionTime_IsFixedDateRule_Get'); - late final _System_TimeZoneInfo_TransitionTime_IsFixedDateRule_Get = - _System_TimeZoneInfo_TransitionTime_IsFixedDateRule_GetPtr.asFunction< - bool Function(System_TimeZoneInfo_TransitionTime_t, - ffi.Pointer)>(); - - System_TimeZoneInfo_TransitionTime_t - System_TimeZoneInfo_TransitionTime_Create_1( - ffi.Pointer outException, - ) { - return _System_TimeZoneInfo_TransitionTime_Create_1( - outException, - ); - } - - late final _System_TimeZoneInfo_TransitionTime_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_TimeZoneInfo_TransitionTime_t Function( - ffi.Pointer)>>( - 'System_TimeZoneInfo_TransitionTime_Create_1'); - late final _System_TimeZoneInfo_TransitionTime_Create_1 = - _System_TimeZoneInfo_TransitionTime_Create_1Ptr.asFunction< - System_TimeZoneInfo_TransitionTime_t Function( - ffi.Pointer)>(); - - System_Type_t System_TimeZoneInfo_TransitionTime_TypeOf() { - return _System_TimeZoneInfo_TransitionTime_TypeOf(); - } - - late final _System_TimeZoneInfo_TransitionTime_TypeOfPtr = - _lookup>( - 'System_TimeZoneInfo_TransitionTime_TypeOf'); - late final _System_TimeZoneInfo_TransitionTime_TypeOf = - _System_TimeZoneInfo_TransitionTime_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_TimeZoneInfo_TransitionTime_Destroy( - System_TimeZoneInfo_TransitionTime_t self, - ) { - return _System_TimeZoneInfo_TransitionTime_Destroy( - self, - ); - } - - late final _System_TimeZoneInfo_TransitionTime_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_TimeZoneInfo_TransitionTime_t)>>( - 'System_TimeZoneInfo_TransitionTime_Destroy'); - late final _System_TimeZoneInfo_TransitionTime_Destroy = - _System_TimeZoneInfo_TransitionTime_DestroyPtr.asFunction< - void Function(System_TimeZoneInfo_TransitionTime_t)>(); - - bool System_Threading_ITimer_Change( - System_Threading_ITimer_t self, - System_TimeSpan_t dueTime, - System_TimeSpan_t period, - ffi.Pointer outException, - ) { - return _System_Threading_ITimer_Change( - self, - dueTime, - period, - outException, - ); - } - - late final _System_Threading_ITimer_ChangePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Threading_ITimer_t, System_TimeSpan_t, - System_TimeSpan_t, ffi.Pointer)>>( - 'System_Threading_ITimer_Change'); - late final _System_Threading_ITimer_Change = - _System_Threading_ITimer_ChangePtr.asFunction< - bool Function(System_Threading_ITimer_t, System_TimeSpan_t, - System_TimeSpan_t, ffi.Pointer)>(); - - System_Type_t System_Threading_ITimer_TypeOf() { - return _System_Threading_ITimer_TypeOf(); - } - - late final _System_Threading_ITimer_TypeOfPtr = - _lookup>( - 'System_Threading_ITimer_TypeOf'); - late final _System_Threading_ITimer_TypeOf = - _System_Threading_ITimer_TypeOfPtr.asFunction(); - - void System_Threading_ITimer_Destroy( - System_Threading_ITimer_t self, - ) { - return _System_Threading_ITimer_Destroy( - self, - ); - } - - late final _System_Threading_ITimer_DestroyPtr = - _lookup>( - 'System_Threading_ITimer_Destroy'); - late final _System_Threading_ITimer_Destroy = - _System_Threading_ITimer_DestroyPtr.asFunction< - void Function(System_Threading_ITimer_t)>(); - - void System_Runtime_CompilerServices_ValueTaskAwaiter_GetResult( - System_Runtime_CompilerServices_ValueTaskAwaiter_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ValueTaskAwaiter_GetResult( - self, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_GetResultPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ValueTaskAwaiter_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ValueTaskAwaiter_GetResult'); - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_GetResult = - _System_Runtime_CompilerServices_ValueTaskAwaiter_GetResultPtr.asFunction< - void Function(System_Runtime_CompilerServices_ValueTaskAwaiter_t, - ffi.Pointer)>(); - - void System_Runtime_CompilerServices_ValueTaskAwaiter_OnCompleted( - System_Runtime_CompilerServices_ValueTaskAwaiter_t self, - System_Action_t continuation, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ValueTaskAwaiter_OnCompleted( - self, - continuation, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_OnCompletedPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ValueTaskAwaiter_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ValueTaskAwaiter_OnCompleted'); - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_OnCompleted = - _System_Runtime_CompilerServices_ValueTaskAwaiter_OnCompletedPtr - .asFunction< - void Function(System_Runtime_CompilerServices_ValueTaskAwaiter_t, - System_Action_t, ffi.Pointer)>(); - - void System_Runtime_CompilerServices_ValueTaskAwaiter_UnsafeOnCompleted( - System_Runtime_CompilerServices_ValueTaskAwaiter_t self, - System_Action_t continuation, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ValueTaskAwaiter_UnsafeOnCompleted( - self, - continuation, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_UnsafeOnCompletedPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ValueTaskAwaiter_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ValueTaskAwaiter_UnsafeOnCompleted'); - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_UnsafeOnCompleted = - _System_Runtime_CompilerServices_ValueTaskAwaiter_UnsafeOnCompletedPtr - .asFunction< - void Function(System_Runtime_CompilerServices_ValueTaskAwaiter_t, - System_Action_t, ffi.Pointer)>(); - - bool System_Runtime_CompilerServices_ValueTaskAwaiter_IsCompleted_Get( - System_Runtime_CompilerServices_ValueTaskAwaiter_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ValueTaskAwaiter_IsCompleted_Get( - self, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_IsCompleted_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Runtime_CompilerServices_ValueTaskAwaiter_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ValueTaskAwaiter_IsCompleted_Get'); - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_IsCompleted_Get = - _System_Runtime_CompilerServices_ValueTaskAwaiter_IsCompleted_GetPtr - .asFunction< - bool Function(System_Runtime_CompilerServices_ValueTaskAwaiter_t, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_ValueTaskAwaiter_t - System_Runtime_CompilerServices_ValueTaskAwaiter_Create( - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ValueTaskAwaiter_Create( - outException, - ); - } - - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_CreatePtr = - _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_ValueTaskAwaiter_t Function( - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ValueTaskAwaiter_Create'); - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_Create = - _System_Runtime_CompilerServices_ValueTaskAwaiter_CreatePtr.asFunction< - System_Runtime_CompilerServices_ValueTaskAwaiter_t Function( - ffi.Pointer)>(); - - System_Type_t System_Runtime_CompilerServices_ValueTaskAwaiter_TypeOf() { - return _System_Runtime_CompilerServices_ValueTaskAwaiter_TypeOf(); - } - - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_TypeOfPtr = - _lookup>( - 'System_Runtime_CompilerServices_ValueTaskAwaiter_TypeOf'); - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_TypeOf = - _System_Runtime_CompilerServices_ValueTaskAwaiter_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Runtime_CompilerServices_ValueTaskAwaiter_Destroy( - System_Runtime_CompilerServices_ValueTaskAwaiter_t self, - ) { - return _System_Runtime_CompilerServices_ValueTaskAwaiter_Destroy( - self, - ); - } - - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_DestroyPtr = - _lookup< - ffi - .NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ValueTaskAwaiter_t)>>( - 'System_Runtime_CompilerServices_ValueTaskAwaiter_Destroy'); - late final _System_Runtime_CompilerServices_ValueTaskAwaiter_Destroy = - _System_Runtime_CompilerServices_ValueTaskAwaiter_DestroyPtr.asFunction< - void Function(System_Runtime_CompilerServices_ValueTaskAwaiter_t)>(); - - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_GetAwaiter( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_GetAwaiter( - self, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_GetAwaiterPtr = _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_GetAwaiter'); - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_GetAwaiter = - _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_GetAwaiterPtr - .asFunction< - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Create( - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Create( - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_CreatePtr = - _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t - Function(ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Create'); - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Create = - _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_CreatePtr - .asFunction< - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t - Function(ffi.Pointer)>(); - - System_Type_t - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_TypeOf() { - return _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_TypeOf(); - } - - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_TypeOfPtr = - _lookup>( - 'System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_TypeOf'); - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_TypeOf = - _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_TypeOfPtr - .asFunction(); - - void System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Destroy( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t self, - ) { - return _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Destroy( - self, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t)>>( - 'System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Destroy'); - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Destroy = - _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_DestroyPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t)>(); - - void - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_GetResult( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t - self, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_GetResult( - self, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_GetResultPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_GetResult'); - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_GetResult = - _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_GetResultPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t, - ffi.Pointer)>(); - - void - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_OnCompleted( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t - self, - System_Action_t continuation, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_OnCompleted( - self, - continuation, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_OnCompletedPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_OnCompleted'); - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_OnCompleted = - _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_OnCompletedPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t, - System_Action_t, - ffi.Pointer)>(); - - void - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_UnsafeOnCompleted( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t - self, - System_Action_t continuation, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_UnsafeOnCompleted( - self, - continuation, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_UnsafeOnCompletedPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t, - System_Action_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_UnsafeOnCompleted'); - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_UnsafeOnCompleted = - _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_UnsafeOnCompletedPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t, - System_Action_t, - ffi.Pointer)>(); - - bool - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_IsCompleted_Get( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t - self, - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_IsCompleted_Get( - self, - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_IsCompleted_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t, - ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_IsCompleted_Get'); - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_IsCompleted_Get = - _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_IsCompleted_GetPtr - .asFunction< - bool Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t, - ffi.Pointer)>(); - - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Create( - ffi.Pointer outException, - ) { - return _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Create( - outException, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_CreatePtr = - _lookup< - ffi.NativeFunction< - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t - Function(ffi.Pointer)>>( - 'System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Create'); - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Create = - _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_CreatePtr - .asFunction< - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t - Function(ffi.Pointer)>(); - - System_Type_t - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_TypeOf() { - return _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_TypeOf(); - } - - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_TypeOfPtr = - _lookup>( - 'System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_TypeOf'); - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_TypeOf = - _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_TypeOfPtr - .asFunction(); - - void - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Destroy( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t - self, - ) { - return _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Destroy( - self, - ); - } - - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t)>>( - 'System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Destroy'); - late final _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Destroy = - _System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_DestroyPtr - .asFunction< - void Function( - System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t)>(); - - int System_Threading_Tasks_Sources_IValueTaskSource_GetStatus( - System_Threading_Tasks_Sources_IValueTaskSource_t self, - int token, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Sources_IValueTaskSource_GetStatus( - self, - token, - outException, - ); - } - - late final _System_Threading_Tasks_Sources_IValueTaskSource_GetStatusPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Threading_Tasks_Sources_IValueTaskSource_t, - ffi.Int16, - ffi.Pointer)>>( - 'System_Threading_Tasks_Sources_IValueTaskSource_GetStatus'); - late final _System_Threading_Tasks_Sources_IValueTaskSource_GetStatus = - _System_Threading_Tasks_Sources_IValueTaskSource_GetStatusPtr.asFunction< - int Function(System_Threading_Tasks_Sources_IValueTaskSource_t, int, - ffi.Pointer)>(); - - void System_Threading_Tasks_Sources_IValueTaskSource_GetResult( - System_Threading_Tasks_Sources_IValueTaskSource_t self, - int token, - ffi.Pointer outException, - ) { - return _System_Threading_Tasks_Sources_IValueTaskSource_GetResult( - self, - token, - outException, - ); - } - - late final _System_Threading_Tasks_Sources_IValueTaskSource_GetResultPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Threading_Tasks_Sources_IValueTaskSource_t, - ffi.Int16, - ffi.Pointer)>>( - 'System_Threading_Tasks_Sources_IValueTaskSource_GetResult'); - late final _System_Threading_Tasks_Sources_IValueTaskSource_GetResult = - _System_Threading_Tasks_Sources_IValueTaskSource_GetResultPtr.asFunction< - void Function(System_Threading_Tasks_Sources_IValueTaskSource_t, int, - ffi.Pointer)>(); - - System_Type_t System_Threading_Tasks_Sources_IValueTaskSource_TypeOf() { - return _System_Threading_Tasks_Sources_IValueTaskSource_TypeOf(); - } - - late final _System_Threading_Tasks_Sources_IValueTaskSource_TypeOfPtr = - _lookup>( - 'System_Threading_Tasks_Sources_IValueTaskSource_TypeOf'); - late final _System_Threading_Tasks_Sources_IValueTaskSource_TypeOf = - _System_Threading_Tasks_Sources_IValueTaskSource_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Threading_Tasks_Sources_IValueTaskSource_Destroy( - System_Threading_Tasks_Sources_IValueTaskSource_t self, - ) { - return _System_Threading_Tasks_Sources_IValueTaskSource_Destroy( - self, - ); - } - - late final _System_Threading_Tasks_Sources_IValueTaskSource_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Threading_Tasks_Sources_IValueTaskSource_t)>>( - 'System_Threading_Tasks_Sources_IValueTaskSource_Destroy'); - late final _System_Threading_Tasks_Sources_IValueTaskSource_Destroy = - _System_Threading_Tasks_Sources_IValueTaskSource_DestroyPtr.asFunction< - void Function(System_Threading_Tasks_Sources_IValueTaskSource_t)>(); - - Microsoft_Win32_SafeHandles_SafeFileHandle_t - Microsoft_Win32_SafeHandles_SafeFileHandle_Create( - int preexistingHandle, - bool ownsHandle, - ffi.Pointer outException, - ) { - return _Microsoft_Win32_SafeHandles_SafeFileHandle_Create( - preexistingHandle, - ownsHandle, - outException, - ); - } - - late final _Microsoft_Win32_SafeHandles_SafeFileHandle_CreatePtr = _lookup< - ffi.NativeFunction< - Microsoft_Win32_SafeHandles_SafeFileHandle_t Function( - ffi.Long, ffi.Bool, ffi.Pointer)>>( - 'Microsoft_Win32_SafeHandles_SafeFileHandle_Create'); - late final _Microsoft_Win32_SafeHandles_SafeFileHandle_Create = - _Microsoft_Win32_SafeHandles_SafeFileHandle_CreatePtr.asFunction< - Microsoft_Win32_SafeHandles_SafeFileHandle_t Function( - int, bool, ffi.Pointer)>(); - - Microsoft_Win32_SafeHandles_SafeFileHandle_t - Microsoft_Win32_SafeHandles_SafeFileHandle_Create_1( - ffi.Pointer outException, - ) { - return _Microsoft_Win32_SafeHandles_SafeFileHandle_Create_1( - outException, - ); - } - - late final _Microsoft_Win32_SafeHandles_SafeFileHandle_Create_1Ptr = _lookup< - ffi.NativeFunction< - Microsoft_Win32_SafeHandles_SafeFileHandle_t Function( - ffi.Pointer)>>( - 'Microsoft_Win32_SafeHandles_SafeFileHandle_Create_1'); - late final _Microsoft_Win32_SafeHandles_SafeFileHandle_Create_1 = - _Microsoft_Win32_SafeHandles_SafeFileHandle_Create_1Ptr.asFunction< - Microsoft_Win32_SafeHandles_SafeFileHandle_t Function( - ffi.Pointer)>(); - - bool Microsoft_Win32_SafeHandles_SafeFileHandle_IsAsync_Get( - Microsoft_Win32_SafeHandles_SafeFileHandle_t self, - ffi.Pointer outException, - ) { - return _Microsoft_Win32_SafeHandles_SafeFileHandle_IsAsync_Get( - self, - outException, - ); - } - - late final _Microsoft_Win32_SafeHandles_SafeFileHandle_IsAsync_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - Microsoft_Win32_SafeHandles_SafeFileHandle_t, - ffi.Pointer)>>( - 'Microsoft_Win32_SafeHandles_SafeFileHandle_IsAsync_Get'); - late final _Microsoft_Win32_SafeHandles_SafeFileHandle_IsAsync_Get = - _Microsoft_Win32_SafeHandles_SafeFileHandle_IsAsync_GetPtr.asFunction< - bool Function(Microsoft_Win32_SafeHandles_SafeFileHandle_t, - ffi.Pointer)>(); - - bool Microsoft_Win32_SafeHandles_SafeFileHandle_IsInvalid_Get( - Microsoft_Win32_SafeHandles_SafeFileHandle_t self, - ffi.Pointer outException, - ) { - return _Microsoft_Win32_SafeHandles_SafeFileHandle_IsInvalid_Get( - self, - outException, - ); - } - - late final _Microsoft_Win32_SafeHandles_SafeFileHandle_IsInvalid_GetPtr = - _lookup< - ffi - .NativeFunction< - ffi.Bool Function( - Microsoft_Win32_SafeHandles_SafeFileHandle_t, - ffi.Pointer)>>( - 'Microsoft_Win32_SafeHandles_SafeFileHandle_IsInvalid_Get'); - late final _Microsoft_Win32_SafeHandles_SafeFileHandle_IsInvalid_Get = - _Microsoft_Win32_SafeHandles_SafeFileHandle_IsInvalid_GetPtr.asFunction< - bool Function(Microsoft_Win32_SafeHandles_SafeFileHandle_t, - ffi.Pointer)>(); - - System_Type_t Microsoft_Win32_SafeHandles_SafeFileHandle_TypeOf() { - return _Microsoft_Win32_SafeHandles_SafeFileHandle_TypeOf(); - } - - late final _Microsoft_Win32_SafeHandles_SafeFileHandle_TypeOfPtr = - _lookup>( - 'Microsoft_Win32_SafeHandles_SafeFileHandle_TypeOf'); - late final _Microsoft_Win32_SafeHandles_SafeFileHandle_TypeOf = - _Microsoft_Win32_SafeHandles_SafeFileHandle_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void Microsoft_Win32_SafeHandles_SafeFileHandle_Destroy( - Microsoft_Win32_SafeHandles_SafeFileHandle_t self, - ) { - return _Microsoft_Win32_SafeHandles_SafeFileHandle_Destroy( - self, - ); - } - - late final _Microsoft_Win32_SafeHandles_SafeFileHandle_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(Microsoft_Win32_SafeHandles_SafeFileHandle_t)>>( - 'Microsoft_Win32_SafeHandles_SafeFileHandle_Destroy'); - late final _Microsoft_Win32_SafeHandles_SafeFileHandle_Destroy = - _Microsoft_Win32_SafeHandles_SafeFileHandle_DestroyPtr.asFunction< - void Function(Microsoft_Win32_SafeHandles_SafeFileHandle_t)>(); - - System_IO_FileStreamOptions_t System_IO_FileStreamOptions_Create( - ffi.Pointer outException, - ) { - return _System_IO_FileStreamOptions_Create( - outException, - ); - } - - late final _System_IO_FileStreamOptions_CreatePtr = _lookup< - ffi.NativeFunction< - System_IO_FileStreamOptions_t Function( - ffi.Pointer)>>( - 'System_IO_FileStreamOptions_Create'); - late final _System_IO_FileStreamOptions_Create = - _System_IO_FileStreamOptions_CreatePtr.asFunction< - System_IO_FileStreamOptions_t Function( - ffi.Pointer)>(); - - int System_IO_FileStreamOptions_Mode_Get( - System_IO_FileStreamOptions_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStreamOptions_Mode_Get( - self, - outException, - ); - } - - late final _System_IO_FileStreamOptions_Mode_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_IO_FileStreamOptions_t, - ffi.Pointer)>>( - 'System_IO_FileStreamOptions_Mode_Get'); - late final _System_IO_FileStreamOptions_Mode_Get = - _System_IO_FileStreamOptions_Mode_GetPtr.asFunction< - int Function(System_IO_FileStreamOptions_t, - ffi.Pointer)>(); - - void System_IO_FileStreamOptions_Mode_Set( - System_IO_FileStreamOptions_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_FileStreamOptions_Mode_Set( - self, - value, - outException, - ); - } - - late final _System_IO_FileStreamOptions_Mode_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_FileStreamOptions_t, ffi.Int32, - ffi.Pointer)>>( - 'System_IO_FileStreamOptions_Mode_Set'); - late final _System_IO_FileStreamOptions_Mode_Set = - _System_IO_FileStreamOptions_Mode_SetPtr.asFunction< - void Function(System_IO_FileStreamOptions_t, int, - ffi.Pointer)>(); - - int System_IO_FileStreamOptions_Access_Get( - System_IO_FileStreamOptions_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStreamOptions_Access_Get( - self, - outException, - ); - } - - late final _System_IO_FileStreamOptions_Access_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_IO_FileStreamOptions_t, - ffi.Pointer)>>( - 'System_IO_FileStreamOptions_Access_Get'); - late final _System_IO_FileStreamOptions_Access_Get = - _System_IO_FileStreamOptions_Access_GetPtr.asFunction< - int Function(System_IO_FileStreamOptions_t, - ffi.Pointer)>(); - - void System_IO_FileStreamOptions_Access_Set( - System_IO_FileStreamOptions_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_FileStreamOptions_Access_Set( - self, - value, - outException, - ); - } - - late final _System_IO_FileStreamOptions_Access_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_FileStreamOptions_t, ffi.Int32, - ffi.Pointer)>>( - 'System_IO_FileStreamOptions_Access_Set'); - late final _System_IO_FileStreamOptions_Access_Set = - _System_IO_FileStreamOptions_Access_SetPtr.asFunction< - void Function(System_IO_FileStreamOptions_t, int, - ffi.Pointer)>(); - - int System_IO_FileStreamOptions_Share_Get( - System_IO_FileStreamOptions_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStreamOptions_Share_Get( - self, - outException, - ); - } - - late final _System_IO_FileStreamOptions_Share_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_IO_FileStreamOptions_t, - ffi.Pointer)>>( - 'System_IO_FileStreamOptions_Share_Get'); - late final _System_IO_FileStreamOptions_Share_Get = - _System_IO_FileStreamOptions_Share_GetPtr.asFunction< - int Function(System_IO_FileStreamOptions_t, - ffi.Pointer)>(); - - void System_IO_FileStreamOptions_Share_Set( - System_IO_FileStreamOptions_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_FileStreamOptions_Share_Set( - self, - value, - outException, - ); - } - - late final _System_IO_FileStreamOptions_Share_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_FileStreamOptions_t, ffi.Int32, - ffi.Pointer)>>( - 'System_IO_FileStreamOptions_Share_Set'); - late final _System_IO_FileStreamOptions_Share_Set = - _System_IO_FileStreamOptions_Share_SetPtr.asFunction< - void Function(System_IO_FileStreamOptions_t, int, - ffi.Pointer)>(); - - int System_IO_FileStreamOptions_Options_Get( - System_IO_FileStreamOptions_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStreamOptions_Options_Get( - self, - outException, - ); - } - - late final _System_IO_FileStreamOptions_Options_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_IO_FileStreamOptions_t, - ffi.Pointer)>>( - 'System_IO_FileStreamOptions_Options_Get'); - late final _System_IO_FileStreamOptions_Options_Get = - _System_IO_FileStreamOptions_Options_GetPtr.asFunction< - int Function(System_IO_FileStreamOptions_t, - ffi.Pointer)>(); - - void System_IO_FileStreamOptions_Options_Set( - System_IO_FileStreamOptions_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_FileStreamOptions_Options_Set( - self, - value, - outException, - ); - } - - late final _System_IO_FileStreamOptions_Options_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_FileStreamOptions_t, ffi.Int32, - ffi.Pointer)>>( - 'System_IO_FileStreamOptions_Options_Set'); - late final _System_IO_FileStreamOptions_Options_Set = - _System_IO_FileStreamOptions_Options_SetPtr.asFunction< - void Function(System_IO_FileStreamOptions_t, int, - ffi.Pointer)>(); - - int System_IO_FileStreamOptions_PreallocationSize_Get( - System_IO_FileStreamOptions_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStreamOptions_PreallocationSize_Get( - self, - outException, - ); - } - - late final _System_IO_FileStreamOptions_PreallocationSize_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_IO_FileStreamOptions_t, - ffi.Pointer)>>( - 'System_IO_FileStreamOptions_PreallocationSize_Get'); - late final _System_IO_FileStreamOptions_PreallocationSize_Get = - _System_IO_FileStreamOptions_PreallocationSize_GetPtr.asFunction< - int Function(System_IO_FileStreamOptions_t, - ffi.Pointer)>(); - - void System_IO_FileStreamOptions_PreallocationSize_Set( - System_IO_FileStreamOptions_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_FileStreamOptions_PreallocationSize_Set( - self, - value, - outException, - ); - } - - late final _System_IO_FileStreamOptions_PreallocationSize_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_FileStreamOptions_t, ffi.Int64, - ffi.Pointer)>>( - 'System_IO_FileStreamOptions_PreallocationSize_Set'); - late final _System_IO_FileStreamOptions_PreallocationSize_Set = - _System_IO_FileStreamOptions_PreallocationSize_SetPtr.asFunction< - void Function(System_IO_FileStreamOptions_t, int, - ffi.Pointer)>(); - - int System_IO_FileStreamOptions_BufferSize_Get( - System_IO_FileStreamOptions_t self, - ffi.Pointer outException, - ) { - return _System_IO_FileStreamOptions_BufferSize_Get( - self, - outException, - ); - } - - late final _System_IO_FileStreamOptions_BufferSize_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_IO_FileStreamOptions_t, - ffi.Pointer)>>( - 'System_IO_FileStreamOptions_BufferSize_Get'); - late final _System_IO_FileStreamOptions_BufferSize_Get = - _System_IO_FileStreamOptions_BufferSize_GetPtr.asFunction< - int Function(System_IO_FileStreamOptions_t, - ffi.Pointer)>(); - - void System_IO_FileStreamOptions_BufferSize_Set( - System_IO_FileStreamOptions_t self, - int value, - ffi.Pointer outException, - ) { - return _System_IO_FileStreamOptions_BufferSize_Set( - self, - value, - outException, - ); - } - - late final _System_IO_FileStreamOptions_BufferSize_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IO_FileStreamOptions_t, ffi.Int32, - ffi.Pointer)>>( - 'System_IO_FileStreamOptions_BufferSize_Set'); - late final _System_IO_FileStreamOptions_BufferSize_Set = - _System_IO_FileStreamOptions_BufferSize_SetPtr.asFunction< - void Function(System_IO_FileStreamOptions_t, int, - ffi.Pointer)>(); - - System_Type_t System_IO_FileStreamOptions_TypeOf() { - return _System_IO_FileStreamOptions_TypeOf(); - } - - late final _System_IO_FileStreamOptions_TypeOfPtr = - _lookup>( - 'System_IO_FileStreamOptions_TypeOf'); - late final _System_IO_FileStreamOptions_TypeOf = - _System_IO_FileStreamOptions_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_IO_FileStreamOptions_Destroy( - System_IO_FileStreamOptions_t self, - ) { - return _System_IO_FileStreamOptions_Destroy( - self, - ); - } - - late final _System_IO_FileStreamOptions_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_IO_FileStreamOptions_Destroy'); - late final _System_IO_FileStreamOptions_Destroy = - _System_IO_FileStreamOptions_DestroyPtr.asFunction< - void Function(System_IO_FileStreamOptions_t)>(); - - System_Reflection_ManifestResourceInfo_t - System_Reflection_ManifestResourceInfo_Create( - System_Reflection_Assembly_t containingAssembly, - System_String_t containingFileName, - int resourceLocation, - ffi.Pointer outException, - ) { - return _System_Reflection_ManifestResourceInfo_Create( - containingAssembly, - containingFileName, - resourceLocation, - outException, - ); - } - - late final _System_Reflection_ManifestResourceInfo_CreatePtr = _lookup< - ffi.NativeFunction< - System_Reflection_ManifestResourceInfo_t Function( - System_Reflection_Assembly_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_ManifestResourceInfo_Create'); - late final _System_Reflection_ManifestResourceInfo_Create = - _System_Reflection_ManifestResourceInfo_CreatePtr.asFunction< - System_Reflection_ManifestResourceInfo_t Function( - System_Reflection_Assembly_t, - System_String_t, - int, - ffi.Pointer)>(); - - System_Reflection_Assembly_t - System_Reflection_ManifestResourceInfo_ReferencedAssembly_Get( - System_Reflection_ManifestResourceInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ManifestResourceInfo_ReferencedAssembly_Get( - self, - outException, - ); - } - - late final _System_Reflection_ManifestResourceInfo_ReferencedAssembly_GetPtr = - _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_Reflection_ManifestResourceInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ManifestResourceInfo_ReferencedAssembly_Get'); - late final _System_Reflection_ManifestResourceInfo_ReferencedAssembly_Get = - _System_Reflection_ManifestResourceInfo_ReferencedAssembly_GetPtr - .asFunction< - System_Reflection_Assembly_t Function( - System_Reflection_ManifestResourceInfo_t, - ffi.Pointer)>(); - - System_String_t System_Reflection_ManifestResourceInfo_FileName_Get( - System_Reflection_ManifestResourceInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ManifestResourceInfo_FileName_Get( - self, - outException, - ); - } - - late final _System_Reflection_ManifestResourceInfo_FileName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_ManifestResourceInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ManifestResourceInfo_FileName_Get'); - late final _System_Reflection_ManifestResourceInfo_FileName_Get = - _System_Reflection_ManifestResourceInfo_FileName_GetPtr.asFunction< - System_String_t Function(System_Reflection_ManifestResourceInfo_t, - ffi.Pointer)>(); - - int System_Reflection_ManifestResourceInfo_ResourceLocation_Get( - System_Reflection_ManifestResourceInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ManifestResourceInfo_ResourceLocation_Get( - self, - outException, - ); - } - - late final _System_Reflection_ManifestResourceInfo_ResourceLocation_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_ManifestResourceInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ManifestResourceInfo_ResourceLocation_Get'); - late final _System_Reflection_ManifestResourceInfo_ResourceLocation_Get = - _System_Reflection_ManifestResourceInfo_ResourceLocation_GetPtr - .asFunction< - int Function(System_Reflection_ManifestResourceInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_ManifestResourceInfo_TypeOf() { - return _System_Reflection_ManifestResourceInfo_TypeOf(); - } - - late final _System_Reflection_ManifestResourceInfo_TypeOfPtr = - _lookup>( - 'System_Reflection_ManifestResourceInfo_TypeOf'); - late final _System_Reflection_ManifestResourceInfo_TypeOf = - _System_Reflection_ManifestResourceInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_ManifestResourceInfo_Destroy( - System_Reflection_ManifestResourceInfo_t self, - ) { - return _System_Reflection_ManifestResourceInfo_Destroy( - self, - ); - } - - late final _System_Reflection_ManifestResourceInfo_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_ManifestResourceInfo_t)>>( - 'System_Reflection_ManifestResourceInfo_Destroy'); - late final _System_Reflection_ManifestResourceInfo_Destroy = - _System_Reflection_ManifestResourceInfo_DestroyPtr.asFunction< - void Function(System_Reflection_ManifestResourceInfo_t)>(); - - void System_Reflection_Module_GetPEKind( - System_Reflection_Module_t self, - ffi.Pointer peKind, - ffi.Pointer machine, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetPEKind( - self, - peKind, - machine, - outException, - ); - } - - late final _System_Reflection_Module_GetPEKindPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_Module_t, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>( - 'System_Reflection_Module_GetPEKind'); - late final _System_Reflection_Module_GetPEKind = - _System_Reflection_Module_GetPEKindPtr.asFunction< - void Function(System_Reflection_Module_t, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - bool System_Reflection_Module_IsResource( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_IsResource( - self, - outException, - ); - } - - late final _System_Reflection_Module_IsResourcePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_IsResource'); - late final _System_Reflection_Module_IsResource = - _System_Reflection_Module_IsResourcePtr.asFunction< - bool Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - bool System_Reflection_Module_IsDefined( - System_Reflection_Module_t self, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_IsDefined( - self, - attributeType, - inherit, - outException, - ); - } - - late final _System_Reflection_Module_IsDefinedPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Module_t, System_Type_t, - ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_Module_IsDefined'); - late final _System_Reflection_Module_IsDefined = - _System_Reflection_Module_IsDefinedPtr.asFunction< - bool Function(System_Reflection_Module_t, System_Type_t, bool, - ffi.Pointer)>(); - - System_Object_Array_t System_Reflection_Module_GetCustomAttributes( - System_Reflection_Module_t self, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetCustomAttributes( - self, - inherit, - outException, - ); - } - - late final _System_Reflection_Module_GetCustomAttributesPtr = _lookup< - ffi.NativeFunction< - System_Object_Array_t Function(System_Reflection_Module_t, - ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_Module_GetCustomAttributes'); - late final _System_Reflection_Module_GetCustomAttributes = - _System_Reflection_Module_GetCustomAttributesPtr.asFunction< - System_Object_Array_t Function(System_Reflection_Module_t, bool, - ffi.Pointer)>(); - - System_Object_Array_t System_Reflection_Module_GetCustomAttributes_1( - System_Reflection_Module_t self, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetCustomAttributes_1( - self, - attributeType, - inherit, - outException, - ); - } - - late final _System_Reflection_Module_GetCustomAttributes_1Ptr = _lookup< - ffi.NativeFunction< - System_Object_Array_t Function(System_Reflection_Module_t, - System_Type_t, ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_Module_GetCustomAttributes_1'); - late final _System_Reflection_Module_GetCustomAttributes_1 = - _System_Reflection_Module_GetCustomAttributes_1Ptr.asFunction< - System_Object_Array_t Function(System_Reflection_Module_t, - System_Type_t, bool, ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_Module_GetMethod( - System_Reflection_Module_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetMethod( - self, - name, - outException, - ); - } - - late final _System_Reflection_Module_GetMethodPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_Module_t, - System_String_t, - ffi.Pointer)>>( - 'System_Reflection_Module_GetMethod'); - late final _System_Reflection_Module_GetMethod = - _System_Reflection_Module_GetMethodPtr.asFunction< - System_Reflection_MethodInfo_t Function(System_Reflection_Module_t, - System_String_t, ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_Module_GetMethod_1( - System_Reflection_Module_t self, - System_String_t name, - System_Type_Array_t types, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetMethod_1( - self, - name, - types, - outException, - ); - } - - late final _System_Reflection_Module_GetMethod_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_Module_t, - System_String_t, - System_Type_Array_t, - ffi.Pointer)>>( - 'System_Reflection_Module_GetMethod_1'); - late final _System_Reflection_Module_GetMethod_1 = - _System_Reflection_Module_GetMethod_1Ptr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_Module_t, - System_String_t, - System_Type_Array_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_Module_GetMethod_2( - System_Reflection_Module_t self, - System_String_t name, - int bindingAttr, - System_Reflection_Binder_t binder, - int callConvention, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetMethod_2( - self, - name, - bindingAttr, - binder, - callConvention, - types, - modifiers, - outException, - ); - } - - late final _System_Reflection_Module_GetMethod_2Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_Module_t, - System_String_t, - ffi.Int32, - System_Reflection_Binder_t, - ffi.Int32, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>( - 'System_Reflection_Module_GetMethod_2'); - late final _System_Reflection_Module_GetMethod_2 = - _System_Reflection_Module_GetMethod_2Ptr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_Module_t, - System_String_t, - int, - System_Reflection_Binder_t, - int, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_Array_t System_Reflection_Module_GetMethods( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetMethods( - self, - outException, - ); - } - - late final _System_Reflection_Module_GetMethodsPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_GetMethods'); - late final _System_Reflection_Module_GetMethods = - _System_Reflection_Module_GetMethodsPtr.asFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - System_Reflection_MethodInfo_Array_t System_Reflection_Module_GetMethods_1( - System_Reflection_Module_t self, - int bindingFlags, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetMethods_1( - self, - bindingFlags, - outException, - ); - } - - late final _System_Reflection_Module_GetMethods_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_Module_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_Module_GetMethods_1'); - late final _System_Reflection_Module_GetMethods_1 = - _System_Reflection_Module_GetMethods_1Ptr.asFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_Module_t, - int, - ffi.Pointer)>(); - - System_Reflection_FieldInfo_t System_Reflection_Module_GetField( - System_Reflection_Module_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetField( - self, - name, - outException, - ); - } - - late final _System_Reflection_Module_GetFieldPtr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_t Function(System_Reflection_Module_t, - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Module_GetField'); - late final _System_Reflection_Module_GetField = - _System_Reflection_Module_GetFieldPtr.asFunction< - System_Reflection_FieldInfo_t Function(System_Reflection_Module_t, - System_String_t, ffi.Pointer)>(); - - System_Reflection_FieldInfo_t System_Reflection_Module_GetField_1( - System_Reflection_Module_t self, - System_String_t name, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetField_1( - self, - name, - bindingAttr, - outException, - ); - } - - late final _System_Reflection_Module_GetField_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_t Function( - System_Reflection_Module_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_Module_GetField_1'); - late final _System_Reflection_Module_GetField_1 = - _System_Reflection_Module_GetField_1Ptr.asFunction< - System_Reflection_FieldInfo_t Function(System_Reflection_Module_t, - System_String_t, int, ffi.Pointer)>(); - - System_Reflection_FieldInfo_Array_t System_Reflection_Module_GetFields( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetFields( - self, - outException, - ); - } - - late final _System_Reflection_Module_GetFieldsPtr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_Array_t Function( - System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_GetFields'); - late final _System_Reflection_Module_GetFields = - _System_Reflection_Module_GetFieldsPtr.asFunction< - System_Reflection_FieldInfo_Array_t Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - System_Reflection_FieldInfo_Array_t System_Reflection_Module_GetFields_1( - System_Reflection_Module_t self, - int bindingFlags, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetFields_1( - self, - bindingFlags, - outException, - ); - } - - late final _System_Reflection_Module_GetFields_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_Array_t Function( - System_Reflection_Module_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_Module_GetFields_1'); - late final _System_Reflection_Module_GetFields_1 = - _System_Reflection_Module_GetFields_1Ptr.asFunction< - System_Reflection_FieldInfo_Array_t Function( - System_Reflection_Module_t, - int, - ffi.Pointer)>(); - - System_Type_Array_t System_Reflection_Module_GetTypes( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetTypes( - self, - outException, - ); - } - - late final _System_Reflection_Module_GetTypesPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_GetTypes'); - late final _System_Reflection_Module_GetTypes = - _System_Reflection_Module_GetTypesPtr.asFunction< - System_Type_Array_t Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - System_Type_t System_Reflection_Module_GetType_1( - System_Reflection_Module_t self, - System_String_t className, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetType_1( - self, - className, - outException, - ); - } - - late final _System_Reflection_Module_GetType_1Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_Module_t, - System_String_t, ffi.Pointer)>>( - 'System_Reflection_Module_GetType_1'); - late final _System_Reflection_Module_GetType_1 = - _System_Reflection_Module_GetType_1Ptr.asFunction< - System_Type_t Function(System_Reflection_Module_t, System_String_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_Module_GetType_2( - System_Reflection_Module_t self, - System_String_t className, - bool ignoreCase, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetType_2( - self, - className, - ignoreCase, - outException, - ); - } - - late final _System_Reflection_Module_GetType_2Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_Module_t, - System_String_t, ffi.Bool, ffi.Pointer)>>( - 'System_Reflection_Module_GetType_2'); - late final _System_Reflection_Module_GetType_2 = - _System_Reflection_Module_GetType_2Ptr.asFunction< - System_Type_t Function(System_Reflection_Module_t, System_String_t, - bool, ffi.Pointer)>(); - - System_Type_t System_Reflection_Module_GetType_3( - System_Reflection_Module_t self, - System_String_t className, - bool throwOnError, - bool ignoreCase, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetType_3( - self, - className, - throwOnError, - ignoreCase, - outException, - ); - } - - late final _System_Reflection_Module_GetType_3Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Reflection_Module_t, - System_String_t, - ffi.Bool, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_Module_GetType_3'); - late final _System_Reflection_Module_GetType_3 = - _System_Reflection_Module_GetType_3Ptr.asFunction< - System_Type_t Function(System_Reflection_Module_t, System_String_t, - bool, bool, ffi.Pointer)>(); - - System_Type_Array_t System_Reflection_Module_FindTypes( - System_Reflection_Module_t self, - System_Reflection_TypeFilter_t filter, - System_Object_t filterCriteria, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_FindTypes( - self, - filter, - filterCriteria, - outException, - ); - } - - late final _System_Reflection_Module_FindTypesPtr = _lookup< - ffi.NativeFunction< - System_Type_Array_t Function( - System_Reflection_Module_t, - System_Reflection_TypeFilter_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Reflection_Module_FindTypes'); - late final _System_Reflection_Module_FindTypes = - _System_Reflection_Module_FindTypesPtr.asFunction< - System_Type_Array_t Function( - System_Reflection_Module_t, - System_Reflection_TypeFilter_t, - System_Object_t, - ffi.Pointer)>(); - - System_Reflection_FieldInfo_t System_Reflection_Module_ResolveField( - System_Reflection_Module_t self, - int metadataToken, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ResolveField( - self, - metadataToken, - outException, - ); - } - - late final _System_Reflection_Module_ResolveFieldPtr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_t Function(System_Reflection_Module_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Reflection_Module_ResolveField'); - late final _System_Reflection_Module_ResolveField = - _System_Reflection_Module_ResolveFieldPtr.asFunction< - System_Reflection_FieldInfo_t Function(System_Reflection_Module_t, - int, ffi.Pointer)>(); - - System_Reflection_FieldInfo_t System_Reflection_Module_ResolveField_1( - System_Reflection_Module_t self, - int metadataToken, - System_Type_Array_t genericTypeArguments, - System_Type_Array_t genericMethodArguments, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ResolveField_1( - self, - metadataToken, - genericTypeArguments, - genericMethodArguments, - outException, - ); - } - - late final _System_Reflection_Module_ResolveField_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_t Function( - System_Reflection_Module_t, - ffi.Int32, - System_Type_Array_t, - System_Type_Array_t, - ffi.Pointer)>>( - 'System_Reflection_Module_ResolveField_1'); - late final _System_Reflection_Module_ResolveField_1 = - _System_Reflection_Module_ResolveField_1Ptr.asFunction< - System_Reflection_FieldInfo_t Function( - System_Reflection_Module_t, - int, - System_Type_Array_t, - System_Type_Array_t, - ffi.Pointer)>(); - - System_Reflection_MemberInfo_t System_Reflection_Module_ResolveMember( - System_Reflection_Module_t self, - int metadataToken, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ResolveMember( - self, - metadataToken, - outException, - ); - } - - late final _System_Reflection_Module_ResolveMemberPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberInfo_t Function( - System_Reflection_Module_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_Module_ResolveMember'); - late final _System_Reflection_Module_ResolveMember = - _System_Reflection_Module_ResolveMemberPtr.asFunction< - System_Reflection_MemberInfo_t Function(System_Reflection_Module_t, - int, ffi.Pointer)>(); - - System_Reflection_MemberInfo_t System_Reflection_Module_ResolveMember_1( - System_Reflection_Module_t self, - int metadataToken, - System_Type_Array_t genericTypeArguments, - System_Type_Array_t genericMethodArguments, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ResolveMember_1( - self, - metadataToken, - genericTypeArguments, - genericMethodArguments, - outException, - ); - } - - late final _System_Reflection_Module_ResolveMember_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberInfo_t Function( - System_Reflection_Module_t, - ffi.Int32, - System_Type_Array_t, - System_Type_Array_t, - ffi.Pointer)>>( - 'System_Reflection_Module_ResolveMember_1'); - late final _System_Reflection_Module_ResolveMember_1 = - _System_Reflection_Module_ResolveMember_1Ptr.asFunction< - System_Reflection_MemberInfo_t Function( - System_Reflection_Module_t, - int, - System_Type_Array_t, - System_Type_Array_t, - ffi.Pointer)>(); - - System_Reflection_MethodBase_t System_Reflection_Module_ResolveMethod( - System_Reflection_Module_t self, - int metadataToken, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ResolveMethod( - self, - metadataToken, - outException, - ); - } - - late final _System_Reflection_Module_ResolveMethodPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodBase_t Function( - System_Reflection_Module_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_Module_ResolveMethod'); - late final _System_Reflection_Module_ResolveMethod = - _System_Reflection_Module_ResolveMethodPtr.asFunction< - System_Reflection_MethodBase_t Function(System_Reflection_Module_t, - int, ffi.Pointer)>(); - - System_Reflection_MethodBase_t System_Reflection_Module_ResolveMethod_1( - System_Reflection_Module_t self, - int metadataToken, - System_Type_Array_t genericTypeArguments, - System_Type_Array_t genericMethodArguments, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ResolveMethod_1( - self, - metadataToken, - genericTypeArguments, - genericMethodArguments, - outException, - ); - } - - late final _System_Reflection_Module_ResolveMethod_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodBase_t Function( - System_Reflection_Module_t, - ffi.Int32, - System_Type_Array_t, - System_Type_Array_t, - ffi.Pointer)>>( - 'System_Reflection_Module_ResolveMethod_1'); - late final _System_Reflection_Module_ResolveMethod_1 = - _System_Reflection_Module_ResolveMethod_1Ptr.asFunction< - System_Reflection_MethodBase_t Function( - System_Reflection_Module_t, - int, - System_Type_Array_t, - System_Type_Array_t, - ffi.Pointer)>(); - - System_Byte_Array_t System_Reflection_Module_ResolveSignature( - System_Reflection_Module_t self, - int metadataToken, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ResolveSignature( - self, - metadataToken, - outException, - ); - } - - late final _System_Reflection_Module_ResolveSignaturePtr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function(System_Reflection_Module_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Reflection_Module_ResolveSignature'); - late final _System_Reflection_Module_ResolveSignature = - _System_Reflection_Module_ResolveSignaturePtr.asFunction< - System_Byte_Array_t Function(System_Reflection_Module_t, int, - ffi.Pointer)>(); - - System_String_t System_Reflection_Module_ResolveString( - System_Reflection_Module_t self, - int metadataToken, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ResolveString( - self, - metadataToken, - outException, - ); - } - - late final _System_Reflection_Module_ResolveStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_Module_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_Module_ResolveString'); - late final _System_Reflection_Module_ResolveString = - _System_Reflection_Module_ResolveStringPtr.asFunction< - System_String_t Function(System_Reflection_Module_t, int, - ffi.Pointer)>(); - - System_Type_t System_Reflection_Module_ResolveType( - System_Reflection_Module_t self, - int metadataToken, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ResolveType( - self, - metadataToken, - outException, - ); - } - - late final _System_Reflection_Module_ResolveTypePtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_Module_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_Module_ResolveType'); - late final _System_Reflection_Module_ResolveType = - _System_Reflection_Module_ResolveTypePtr.asFunction< - System_Type_t Function(System_Reflection_Module_t, int, - ffi.Pointer)>(); - - System_Type_t System_Reflection_Module_ResolveType_1( - System_Reflection_Module_t self, - int metadataToken, - System_Type_Array_t genericTypeArguments, - System_Type_Array_t genericMethodArguments, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ResolveType_1( - self, - metadataToken, - genericTypeArguments, - genericMethodArguments, - outException, - ); - } - - late final _System_Reflection_Module_ResolveType_1Ptr = _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Reflection_Module_t, - ffi.Int32, - System_Type_Array_t, - System_Type_Array_t, - ffi.Pointer)>>( - 'System_Reflection_Module_ResolveType_1'); - late final _System_Reflection_Module_ResolveType_1 = - _System_Reflection_Module_ResolveType_1Ptr.asFunction< - System_Type_t Function( - System_Reflection_Module_t, - int, - System_Type_Array_t, - System_Type_Array_t, - ffi.Pointer)>(); - - void System_Reflection_Module_GetObjectData( - System_Reflection_Module_t self, - System_Runtime_Serialization_SerializationInfo_t info, - System_Runtime_Serialization_StreamingContext_t context, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetObjectData( - self, - info, - context, - outException, - ); - } - - late final _System_Reflection_Module_GetObjectDataPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_Module_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>>( - 'System_Reflection_Module_GetObjectData'); - late final _System_Reflection_Module_GetObjectData = - _System_Reflection_Module_GetObjectDataPtr.asFunction< - void Function( - System_Reflection_Module_t, - System_Runtime_Serialization_SerializationInfo_t, - System_Runtime_Serialization_StreamingContext_t, - ffi.Pointer)>(); - - bool System_Reflection_Module_Equals( - System_Reflection_Module_t self, - System_Object_t o, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_Equals( - self, - o, - outException, - ); - } - - late final _System_Reflection_Module_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Module_t, System_Object_t, - ffi.Pointer)>>( - 'System_Reflection_Module_Equals'); - late final _System_Reflection_Module_Equals = - _System_Reflection_Module_EqualsPtr.asFunction< - bool Function(System_Reflection_Module_t, System_Object_t, - ffi.Pointer)>(); - - int System_Reflection_Module_GetHashCode( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_GetHashCode( - self, - outException, - ); - } - - late final _System_Reflection_Module_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_GetHashCode'); - late final _System_Reflection_Module_GetHashCode = - _System_Reflection_Module_GetHashCodePtr.asFunction< - int Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - System_String_t System_Reflection_Module_ToString( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ToString( - self, - outException, - ); - } - - late final _System_Reflection_Module_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_ToString'); - late final _System_Reflection_Module_ToString = - _System_Reflection_Module_ToStringPtr.asFunction< - System_String_t Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - System_Reflection_Assembly_t System_Reflection_Module_Assembly_Get( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_Assembly_Get( - self, - outException, - ); - } - - late final _System_Reflection_Module_Assembly_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_Assembly_Get'); - late final _System_Reflection_Module_Assembly_Get = - _System_Reflection_Module_Assembly_GetPtr.asFunction< - System_Reflection_Assembly_t Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - System_String_t System_Reflection_Module_FullyQualifiedName_Get( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_FullyQualifiedName_Get( - self, - outException, - ); - } - - late final _System_Reflection_Module_FullyQualifiedName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_FullyQualifiedName_Get'); - late final _System_Reflection_Module_FullyQualifiedName_Get = - _System_Reflection_Module_FullyQualifiedName_GetPtr.asFunction< - System_String_t Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - System_String_t System_Reflection_Module_Name_Get( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_Name_Get( - self, - outException, - ); - } - - late final _System_Reflection_Module_Name_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_Name_Get'); - late final _System_Reflection_Module_Name_Get = - _System_Reflection_Module_Name_GetPtr.asFunction< - System_String_t Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - int System_Reflection_Module_MDStreamVersion_Get( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_MDStreamVersion_Get( - self, - outException, - ); - } - - late final _System_Reflection_Module_MDStreamVersion_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_MDStreamVersion_Get'); - late final _System_Reflection_Module_MDStreamVersion_Get = - _System_Reflection_Module_MDStreamVersion_GetPtr.asFunction< - int Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - System_Guid_t System_Reflection_Module_ModuleVersionId_Get( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ModuleVersionId_Get( - self, - outException, - ); - } - - late final _System_Reflection_Module_ModuleVersionId_GetPtr = _lookup< - ffi.NativeFunction< - System_Guid_t Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_ModuleVersionId_Get'); - late final _System_Reflection_Module_ModuleVersionId_Get = - _System_Reflection_Module_ModuleVersionId_GetPtr.asFunction< - System_Guid_t Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - System_String_t System_Reflection_Module_ScopeName_Get( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ScopeName_Get( - self, - outException, - ); - } - - late final _System_Reflection_Module_ScopeName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_ScopeName_Get'); - late final _System_Reflection_Module_ScopeName_Get = - _System_Reflection_Module_ScopeName_GetPtr.asFunction< - System_String_t Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - System_ModuleHandle_t System_Reflection_Module_ModuleHandle_Get( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_ModuleHandle_Get( - self, - outException, - ); - } - - late final _System_Reflection_Module_ModuleHandle_GetPtr = _lookup< - ffi.NativeFunction< - System_ModuleHandle_t Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_ModuleHandle_Get'); - late final _System_Reflection_Module_ModuleHandle_Get = - _System_Reflection_Module_ModuleHandle_GetPtr.asFunction< - System_ModuleHandle_t Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - int System_Reflection_Module_MetadataToken_Get( - System_Reflection_Module_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_Module_MetadataToken_Get( - self, - outException, - ); - } - - late final _System_Reflection_Module_MetadataToken_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Reflection_Module_MetadataToken_Get'); - late final _System_Reflection_Module_MetadataToken_Get = - _System_Reflection_Module_MetadataToken_GetPtr.asFunction< - int Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - System_Reflection_TypeFilter_t System_Reflection_Module_FilterTypeName_Get() { - return _System_Reflection_Module_FilterTypeName_Get(); - } - - late final _System_Reflection_Module_FilterTypeName_GetPtr = - _lookup>( - 'System_Reflection_Module_FilterTypeName_Get'); - late final _System_Reflection_Module_FilterTypeName_Get = - _System_Reflection_Module_FilterTypeName_GetPtr.asFunction< - System_Reflection_TypeFilter_t Function()>(); - - System_Reflection_TypeFilter_t - System_Reflection_Module_FilterTypeNameIgnoreCase_Get() { - return _System_Reflection_Module_FilterTypeNameIgnoreCase_Get(); - } - - late final _System_Reflection_Module_FilterTypeNameIgnoreCase_GetPtr = - _lookup>( - 'System_Reflection_Module_FilterTypeNameIgnoreCase_Get'); - late final _System_Reflection_Module_FilterTypeNameIgnoreCase_Get = - _System_Reflection_Module_FilterTypeNameIgnoreCase_GetPtr.asFunction< - System_Reflection_TypeFilter_t Function()>(); - - System_Type_t System_Reflection_Module_TypeOf() { - return _System_Reflection_Module_TypeOf(); - } - - late final _System_Reflection_Module_TypeOfPtr = - _lookup>( - 'System_Reflection_Module_TypeOf'); - late final _System_Reflection_Module_TypeOf = - _System_Reflection_Module_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_Module_Destroy( - System_Reflection_Module_t self, - ) { - return _System_Reflection_Module_Destroy( - self, - ); - } - - late final _System_Reflection_Module_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_Reflection_Module_Destroy'); - late final _System_Reflection_Module_Destroy = - _System_Reflection_Module_DestroyPtr.asFunction< - void Function(System_Reflection_Module_t)>(); - - System_Guid_t System_Guid_Parse( - System_String_t input, - ffi.Pointer outException, - ) { - return _System_Guid_Parse( - input, - outException, - ); - } - - late final _System_Guid_ParsePtr = _lookup< - ffi.NativeFunction< - System_Guid_t Function(System_String_t, - ffi.Pointer)>>('System_Guid_Parse'); - late final _System_Guid_Parse = _System_Guid_ParsePtr.asFunction< - System_Guid_t Function( - System_String_t, ffi.Pointer)>(); - - bool System_Guid_TryParse( - System_String_t input, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_Guid_TryParse( - input, - result, - outException, - ); - } - - late final _System_Guid_TryParsePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>>('System_Guid_TryParse'); - late final _System_Guid_TryParse = _System_Guid_TryParsePtr.asFunction< - bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>(); - - System_Guid_t System_Guid_ParseExact( - System_String_t input, - System_String_t format, - ffi.Pointer outException, - ) { - return _System_Guid_ParseExact( - input, - format, - outException, - ); - } - - late final _System_Guid_ParseExactPtr = _lookup< - ffi.NativeFunction< - System_Guid_t Function(System_String_t, System_String_t, - ffi.Pointer)>>('System_Guid_ParseExact'); - late final _System_Guid_ParseExact = _System_Guid_ParseExactPtr.asFunction< - System_Guid_t Function( - System_String_t, System_String_t, ffi.Pointer)>(); - - bool System_Guid_TryParseExact( - System_String_t input, - System_String_t format, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_Guid_TryParseExact( - input, - format, - result, - outException, - ); - } - - late final _System_Guid_TryParseExactPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_String_t, - ffi.Pointer, - ffi.Pointer)>>('System_Guid_TryParseExact'); - late final _System_Guid_TryParseExact = - _System_Guid_TryParseExactPtr.asFunction< - bool Function(System_String_t, System_String_t, - ffi.Pointer, ffi.Pointer)>(); - - System_Byte_Array_t System_Guid_ToByteArray( - System_Guid_t self, - ffi.Pointer outException, - ) { - return _System_Guid_ToByteArray( - self, - outException, - ); - } - - late final _System_Guid_ToByteArrayPtr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function(System_Guid_t, - ffi.Pointer)>>('System_Guid_ToByteArray'); - late final _System_Guid_ToByteArray = _System_Guid_ToByteArrayPtr.asFunction< - System_Byte_Array_t Function( - System_Guid_t, ffi.Pointer)>(); - - System_Byte_Array_t System_Guid_ToByteArray_1( - System_Guid_t self, - bool bigEndian, - ffi.Pointer outException, - ) { - return _System_Guid_ToByteArray_1( - self, - bigEndian, - outException, - ); - } - - late final _System_Guid_ToByteArray_1Ptr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function(System_Guid_t, ffi.Bool, - ffi.Pointer)>>('System_Guid_ToByteArray_1'); - late final _System_Guid_ToByteArray_1 = - _System_Guid_ToByteArray_1Ptr.asFunction< - System_Byte_Array_t Function( - System_Guid_t, bool, ffi.Pointer)>(); - - int System_Guid_GetHashCode( - System_Guid_t self, - ffi.Pointer outException, - ) { - return _System_Guid_GetHashCode( - self, - outException, - ); - } - - late final _System_Guid_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Guid_t, - ffi.Pointer)>>('System_Guid_GetHashCode'); - late final _System_Guid_GetHashCode = _System_Guid_GetHashCodePtr.asFunction< - int Function(System_Guid_t, ffi.Pointer)>(); - - bool System_Guid_Equals( - System_Guid_t self, - System_Object_t o, - ffi.Pointer outException, - ) { - return _System_Guid_Equals( - self, - o, - outException, - ); - } - - late final _System_Guid_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Guid_t, System_Object_t, - ffi.Pointer)>>('System_Guid_Equals'); - late final _System_Guid_Equals = _System_Guid_EqualsPtr.asFunction< - bool Function( - System_Guid_t, System_Object_t, ffi.Pointer)>(); - - bool System_Guid_Equals_1( - System_Guid_t self, - System_Guid_t g, - ffi.Pointer outException, - ) { - return _System_Guid_Equals_1( - self, - g, - outException, - ); - } - - late final _System_Guid_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Guid_t, System_Guid_t, - ffi.Pointer)>>('System_Guid_Equals_1'); - late final _System_Guid_Equals_1 = _System_Guid_Equals_1Ptr.asFunction< - bool Function( - System_Guid_t, System_Guid_t, ffi.Pointer)>(); - - int System_Guid_CompareTo( - System_Guid_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Guid_CompareTo( - self, - value, - outException, - ); - } - - late final _System_Guid_CompareToPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Guid_t, System_Object_t, - ffi.Pointer)>>('System_Guid_CompareTo'); - late final _System_Guid_CompareTo = _System_Guid_CompareToPtr.asFunction< - int Function( - System_Guid_t, System_Object_t, ffi.Pointer)>(); - - int System_Guid_CompareTo_1( - System_Guid_t self, - System_Guid_t value, - ffi.Pointer outException, - ) { - return _System_Guid_CompareTo_1( - self, - value, - outException, - ); - } - - late final _System_Guid_CompareTo_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Guid_t, System_Guid_t, - ffi.Pointer)>>('System_Guid_CompareTo_1'); - late final _System_Guid_CompareTo_1 = _System_Guid_CompareTo_1Ptr.asFunction< - int Function( - System_Guid_t, System_Guid_t, ffi.Pointer)>(); - - System_String_t System_Guid_ToString( - System_Guid_t self, - ffi.Pointer outException, - ) { - return _System_Guid_ToString( - self, - outException, - ); - } - - late final _System_Guid_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Guid_t, - ffi.Pointer)>>('System_Guid_ToString'); - late final _System_Guid_ToString = _System_Guid_ToStringPtr.asFunction< - System_String_t Function( - System_Guid_t, ffi.Pointer)>(); - - System_String_t System_Guid_ToString_1( - System_Guid_t self, - System_String_t format, - ffi.Pointer outException, - ) { - return _System_Guid_ToString_1( - self, - format, - outException, - ); - } - - late final _System_Guid_ToString_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Guid_t, System_String_t, - ffi.Pointer)>>('System_Guid_ToString_1'); - late final _System_Guid_ToString_1 = _System_Guid_ToString_1Ptr.asFunction< - System_String_t Function( - System_Guid_t, System_String_t, ffi.Pointer)>(); - - System_String_t System_Guid_ToString_2( - System_Guid_t self, - System_String_t format, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_Guid_ToString_2( - self, - format, - provider, - outException, - ); - } - - late final _System_Guid_ToString_2Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Guid_t, - System_String_t, - System_IFormatProvider_t, - ffi.Pointer)>>('System_Guid_ToString_2'); - late final _System_Guid_ToString_2 = _System_Guid_ToString_2Ptr.asFunction< - System_String_t Function(System_Guid_t, System_String_t, - System_IFormatProvider_t, ffi.Pointer)>(); - - System_Guid_t System_Guid_Parse_1( - System_String_t s, - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_Guid_Parse_1( - s, - provider, - outException, - ); - } - - late final _System_Guid_Parse_1Ptr = _lookup< - ffi.NativeFunction< - System_Guid_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>>('System_Guid_Parse_1'); - late final _System_Guid_Parse_1 = _System_Guid_Parse_1Ptr.asFunction< - System_Guid_t Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer)>(); - - bool System_Guid_TryParse_1( - System_String_t s, - System_IFormatProvider_t provider, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_Guid_TryParse_1( - s, - provider, - result, - outException, - ); - } - - late final _System_Guid_TryParse_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - System_IFormatProvider_t, - ffi.Pointer, - ffi.Pointer)>>('System_Guid_TryParse_1'); - late final _System_Guid_TryParse_1 = _System_Guid_TryParse_1Ptr.asFunction< - bool Function(System_String_t, System_IFormatProvider_t, - ffi.Pointer, ffi.Pointer)>(); - - System_Guid_t System_Guid_NewGuid( - ffi.Pointer outException, - ) { - return _System_Guid_NewGuid( - outException, - ); - } - - late final _System_Guid_NewGuidPtr = _lookup< - ffi.NativeFunction< - System_Guid_t Function( - ffi.Pointer)>>('System_Guid_NewGuid'); - late final _System_Guid_NewGuid = _System_Guid_NewGuidPtr.asFunction< - System_Guid_t Function(ffi.Pointer)>(); - - System_Guid_t System_Guid_Create( - System_Byte_Array_t b, - ffi.Pointer outException, - ) { - return _System_Guid_Create( - b, - outException, - ); - } - - late final _System_Guid_CreatePtr = _lookup< - ffi.NativeFunction< - System_Guid_t Function(System_Byte_Array_t, - ffi.Pointer)>>('System_Guid_Create'); - late final _System_Guid_Create = _System_Guid_CreatePtr.asFunction< - System_Guid_t Function( - System_Byte_Array_t, ffi.Pointer)>(); - - System_Guid_t System_Guid_Create_1( - int a, - int b, - int c, - int d, - int e, - int f, - int g, - int h, - int i, - int j, - int k, - ffi.Pointer outException, - ) { - return _System_Guid_Create_1( - a, - b, - c, - d, - e, - f, - g, - h, - i, - j, - k, - outException, - ); - } - - late final _System_Guid_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Guid_t Function( - ffi.Uint32, - ffi.Uint16, - ffi.Uint16, - ffi.Uint8, - ffi.Uint8, - ffi.Uint8, - ffi.Uint8, - ffi.Uint8, - ffi.Uint8, - ffi.Uint8, - ffi.Uint8, - ffi.Pointer)>>('System_Guid_Create_1'); - late final _System_Guid_Create_1 = _System_Guid_Create_1Ptr.asFunction< - System_Guid_t Function(int, int, int, int, int, int, int, int, int, int, - int, ffi.Pointer)>(); - - System_Guid_t System_Guid_Create_2( - int a, - int b, - int c, - System_Byte_Array_t d, - ffi.Pointer outException, - ) { - return _System_Guid_Create_2( - a, - b, - c, - d, - outException, - ); - } - - late final _System_Guid_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_Guid_t Function( - ffi.Int32, - ffi.Int16, - ffi.Int16, - System_Byte_Array_t, - ffi.Pointer)>>('System_Guid_Create_2'); - late final _System_Guid_Create_2 = _System_Guid_Create_2Ptr.asFunction< - System_Guid_t Function(int, int, int, System_Byte_Array_t, - ffi.Pointer)>(); - - System_Guid_t System_Guid_Create_3( - int a, - int b, - int c, - int d, - int e, - int f, - int g, - int h, - int i, - int j, - int k, - ffi.Pointer outException, - ) { - return _System_Guid_Create_3( - a, - b, - c, - d, - e, - f, - g, - h, - i, - j, - k, - outException, - ); - } - - late final _System_Guid_Create_3Ptr = _lookup< - ffi.NativeFunction< - System_Guid_t Function( - ffi.Int32, - ffi.Int16, - ffi.Int16, - ffi.Uint8, - ffi.Uint8, - ffi.Uint8, - ffi.Uint8, - ffi.Uint8, - ffi.Uint8, - ffi.Uint8, - ffi.Uint8, - ffi.Pointer)>>('System_Guid_Create_3'); - late final _System_Guid_Create_3 = _System_Guid_Create_3Ptr.asFunction< - System_Guid_t Function(int, int, int, int, int, int, int, int, int, int, - int, ffi.Pointer)>(); - - System_Guid_t System_Guid_Create_4( - System_String_t g, - ffi.Pointer outException, - ) { - return _System_Guid_Create_4( - g, - outException, - ); - } - - late final _System_Guid_Create_4Ptr = _lookup< - ffi.NativeFunction< - System_Guid_t Function(System_String_t, - ffi.Pointer)>>('System_Guid_Create_4'); - late final _System_Guid_Create_4 = _System_Guid_Create_4Ptr.asFunction< - System_Guid_t Function( - System_String_t, ffi.Pointer)>(); - - System_Guid_t System_Guid_Empty_Get() { - return _System_Guid_Empty_Get(); - } - - late final _System_Guid_Empty_GetPtr = - _lookup>( - 'System_Guid_Empty_Get'); - late final _System_Guid_Empty_Get = - _System_Guid_Empty_GetPtr.asFunction(); - - System_Guid_t System_Guid_Create_5( - ffi.Pointer outException, - ) { - return _System_Guid_Create_5( - outException, - ); - } - - late final _System_Guid_Create_5Ptr = _lookup< - ffi.NativeFunction< - System_Guid_t Function( - ffi.Pointer)>>('System_Guid_Create_5'); - late final _System_Guid_Create_5 = _System_Guid_Create_5Ptr.asFunction< - System_Guid_t Function(ffi.Pointer)>(); - - System_Type_t System_Guid_TypeOf() { - return _System_Guid_TypeOf(); - } - - late final _System_Guid_TypeOfPtr = - _lookup>( - 'System_Guid_TypeOf'); - late final _System_Guid_TypeOf = - _System_Guid_TypeOfPtr.asFunction(); - - void System_Guid_Destroy( - System_Guid_t self, - ) { - return _System_Guid_Destroy( - self, - ); - } - - late final _System_Guid_DestroyPtr = - _lookup>( - 'System_Guid_Destroy'); - late final _System_Guid_Destroy = - _System_Guid_DestroyPtr.asFunction(); - - System_ResolveEventArgs_t System_ResolveEventArgs_Create( - System_String_t name, - ffi.Pointer outException, - ) { - return _System_ResolveEventArgs_Create( - name, - outException, - ); - } - - late final _System_ResolveEventArgs_CreatePtr = _lookup< - ffi.NativeFunction< - System_ResolveEventArgs_t Function( - System_String_t, ffi.Pointer)>>( - 'System_ResolveEventArgs_Create'); - late final _System_ResolveEventArgs_Create = - _System_ResolveEventArgs_CreatePtr.asFunction< - System_ResolveEventArgs_t Function( - System_String_t, ffi.Pointer)>(); - - System_ResolveEventArgs_t System_ResolveEventArgs_Create_1( - System_String_t name, - System_Reflection_Assembly_t requestingAssembly, - ffi.Pointer outException, - ) { - return _System_ResolveEventArgs_Create_1( - name, - requestingAssembly, - outException, - ); - } - - late final _System_ResolveEventArgs_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_ResolveEventArgs_t Function( - System_String_t, - System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_ResolveEventArgs_Create_1'); - late final _System_ResolveEventArgs_Create_1 = - _System_ResolveEventArgs_Create_1Ptr.asFunction< - System_ResolveEventArgs_t Function(System_String_t, - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_String_t System_ResolveEventArgs_Name_Get( - System_ResolveEventArgs_t self, - ffi.Pointer outException, - ) { - return _System_ResolveEventArgs_Name_Get( - self, - outException, - ); - } - - late final _System_ResolveEventArgs_Name_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_ResolveEventArgs_t, ffi.Pointer)>>( - 'System_ResolveEventArgs_Name_Get'); - late final _System_ResolveEventArgs_Name_Get = - _System_ResolveEventArgs_Name_GetPtr.asFunction< - System_String_t Function( - System_ResolveEventArgs_t, ffi.Pointer)>(); - - System_Reflection_Assembly_t System_ResolveEventArgs_RequestingAssembly_Get( - System_ResolveEventArgs_t self, - ffi.Pointer outException, - ) { - return _System_ResolveEventArgs_RequestingAssembly_Get( - self, - outException, - ); - } - - late final _System_ResolveEventArgs_RequestingAssembly_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_Assembly_t Function( - System_ResolveEventArgs_t, ffi.Pointer)>>( - 'System_ResolveEventArgs_RequestingAssembly_Get'); - late final _System_ResolveEventArgs_RequestingAssembly_Get = - _System_ResolveEventArgs_RequestingAssembly_GetPtr.asFunction< - System_Reflection_Assembly_t Function( - System_ResolveEventArgs_t, ffi.Pointer)>(); - - System_Type_t System_ResolveEventArgs_TypeOf() { - return _System_ResolveEventArgs_TypeOf(); - } - - late final _System_ResolveEventArgs_TypeOfPtr = - _lookup>( - 'System_ResolveEventArgs_TypeOf'); - late final _System_ResolveEventArgs_TypeOf = - _System_ResolveEventArgs_TypeOfPtr.asFunction(); - - void System_ResolveEventArgs_Destroy( - System_ResolveEventArgs_t self, - ) { - return _System_ResolveEventArgs_Destroy( - self, - ); - } - - late final _System_ResolveEventArgs_DestroyPtr = - _lookup>( - 'System_ResolveEventArgs_Destroy'); - late final _System_ResolveEventArgs_Destroy = - _System_ResolveEventArgs_DestroyPtr.asFunction< - void Function(System_ResolveEventArgs_t)>(); - - System_EventArgs_t System_EventArgs_Create( - ffi.Pointer outException, - ) { - return _System_EventArgs_Create( - outException, - ); - } - - late final _System_EventArgs_CreatePtr = _lookup< - ffi.NativeFunction< - System_EventArgs_t Function( - ffi.Pointer)>>('System_EventArgs_Create'); - late final _System_EventArgs_Create = _System_EventArgs_CreatePtr.asFunction< - System_EventArgs_t Function(ffi.Pointer)>(); - - System_EventArgs_t System_EventArgs_Empty_Get() { - return _System_EventArgs_Empty_Get(); - } - - late final _System_EventArgs_Empty_GetPtr = - _lookup>( - 'System_EventArgs_Empty_Get'); - late final _System_EventArgs_Empty_Get = _System_EventArgs_Empty_GetPtr - .asFunction(); - - System_Type_t System_EventArgs_TypeOf() { - return _System_EventArgs_TypeOf(); - } - - late final _System_EventArgs_TypeOfPtr = - _lookup>( - 'System_EventArgs_TypeOf'); - late final _System_EventArgs_TypeOf = - _System_EventArgs_TypeOfPtr.asFunction(); - - void System_EventArgs_Destroy( - System_EventArgs_t self, - ) { - return _System_EventArgs_Destroy( - self, - ); - } - - late final _System_EventArgs_DestroyPtr = - _lookup>( - 'System_EventArgs_Destroy'); - late final _System_EventArgs_Destroy = _System_EventArgs_DestroyPtr - .asFunction(); - - int System_Text_Rune_CompareTo( - System_Text_Rune_t self, - System_Text_Rune_t other, - ffi.Pointer outException, - ) { - return _System_Text_Rune_CompareTo( - self, - other, - outException, - ); - } - - late final _System_Text_Rune_CompareToPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_Rune_t, System_Text_Rune_t, - ffi.Pointer)>>('System_Text_Rune_CompareTo'); - late final _System_Text_Rune_CompareTo = - _System_Text_Rune_CompareToPtr.asFunction< - int Function(System_Text_Rune_t, System_Text_Rune_t, - ffi.Pointer)>(); - - bool System_Text_Rune_Equals( - System_Text_Rune_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Text_Rune_Equals( - self, - obj, - outException, - ); - } - - late final _System_Text_Rune_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_Rune_t, System_Object_t, - ffi.Pointer)>>('System_Text_Rune_Equals'); - late final _System_Text_Rune_Equals = _System_Text_Rune_EqualsPtr.asFunction< - bool Function(System_Text_Rune_t, System_Object_t, - ffi.Pointer)>(); - - bool System_Text_Rune_Equals_1( - System_Text_Rune_t self, - System_Text_Rune_t other, - ffi.Pointer outException, - ) { - return _System_Text_Rune_Equals_1( - self, - other, - outException, - ); - } - - late final _System_Text_Rune_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_Rune_t, System_Text_Rune_t, - ffi.Pointer)>>('System_Text_Rune_Equals_1'); - late final _System_Text_Rune_Equals_1 = - _System_Text_Rune_Equals_1Ptr.asFunction< - bool Function(System_Text_Rune_t, System_Text_Rune_t, - ffi.Pointer)>(); - - int System_Text_Rune_GetHashCode( - System_Text_Rune_t self, - ffi.Pointer outException, - ) { - return _System_Text_Rune_GetHashCode( - self, - outException, - ); - } - - late final _System_Text_Rune_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Rune_t, ffi.Pointer)>>( - 'System_Text_Rune_GetHashCode'); - late final _System_Text_Rune_GetHashCode = - _System_Text_Rune_GetHashCodePtr.asFunction< - int Function(System_Text_Rune_t, ffi.Pointer)>(); - - System_Text_Rune_t System_Text_Rune_GetRuneAt( - System_String_t input, - int index, - ffi.Pointer outException, - ) { - return _System_Text_Rune_GetRuneAt( - input, - index, - outException, - ); - } - - late final _System_Text_Rune_GetRuneAtPtr = _lookup< - ffi.NativeFunction< - System_Text_Rune_t Function(System_String_t, ffi.Int32, - ffi.Pointer)>>('System_Text_Rune_GetRuneAt'); - late final _System_Text_Rune_GetRuneAt = - _System_Text_Rune_GetRuneAtPtr.asFunction< - System_Text_Rune_t Function( - System_String_t, int, ffi.Pointer)>(); - - bool System_Text_Rune_IsValid( - int value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsValid( - value, - outException, - ); - } - - late final _System_Text_Rune_IsValidPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Int32, - ffi.Pointer)>>('System_Text_Rune_IsValid'); - late final _System_Text_Rune_IsValid = _System_Text_Rune_IsValidPtr - .asFunction)>(); - - bool System_Text_Rune_IsValid_1( - int value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsValid_1( - value, - outException, - ); - } - - late final _System_Text_Rune_IsValid_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Uint32, - ffi.Pointer)>>('System_Text_Rune_IsValid_1'); - late final _System_Text_Rune_IsValid_1 = _System_Text_Rune_IsValid_1Ptr - .asFunction)>(); - - System_String_t System_Text_Rune_ToString( - System_Text_Rune_t self, - ffi.Pointer outException, - ) { - return _System_Text_Rune_ToString( - self, - outException, - ); - } - - late final _System_Text_Rune_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Text_Rune_t, - ffi.Pointer)>>('System_Text_Rune_ToString'); - late final _System_Text_Rune_ToString = - _System_Text_Rune_ToStringPtr.asFunction< - System_String_t Function( - System_Text_Rune_t, ffi.Pointer)>(); - - bool System_Text_Rune_TryCreate( - int ch, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_Text_Rune_TryCreate( - ch, - result, - outException, - ); - } - - late final _System_Text_Rune_TryCreatePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.WChar, ffi.Pointer, - ffi.Pointer)>>('System_Text_Rune_TryCreate'); - late final _System_Text_Rune_TryCreate = - _System_Text_Rune_TryCreatePtr.asFunction< - bool Function(int, ffi.Pointer, - ffi.Pointer)>(); - - bool System_Text_Rune_TryCreate_1( - int highSurrogate, - int lowSurrogate, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_Text_Rune_TryCreate_1( - highSurrogate, - lowSurrogate, - result, - outException, - ); - } - - late final _System_Text_Rune_TryCreate_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.WChar, - ffi.WChar, - ffi.Pointer, - ffi.Pointer)>>( - 'System_Text_Rune_TryCreate_1'); - late final _System_Text_Rune_TryCreate_1 = - _System_Text_Rune_TryCreate_1Ptr.asFunction< - bool Function(int, int, ffi.Pointer, - ffi.Pointer)>(); - - bool System_Text_Rune_TryCreate_2( - int value, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_Text_Rune_TryCreate_2( - value, - result, - outException, - ); - } - - late final _System_Text_Rune_TryCreate_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Int32, ffi.Pointer, - ffi.Pointer)>>( - 'System_Text_Rune_TryCreate_2'); - late final _System_Text_Rune_TryCreate_2 = - _System_Text_Rune_TryCreate_2Ptr.asFunction< - bool Function(int, ffi.Pointer, - ffi.Pointer)>(); - - bool System_Text_Rune_TryCreate_3( - int value, - ffi.Pointer result, - ffi.Pointer outException, - ) { - return _System_Text_Rune_TryCreate_3( - value, - result, - outException, - ); - } - - late final _System_Text_Rune_TryCreate_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Uint32, ffi.Pointer, - ffi.Pointer)>>( - 'System_Text_Rune_TryCreate_3'); - late final _System_Text_Rune_TryCreate_3 = - _System_Text_Rune_TryCreate_3Ptr.asFunction< - bool Function(int, ffi.Pointer, - ffi.Pointer)>(); - - bool System_Text_Rune_TryGetRuneAt( - System_String_t input, - int index, - ffi.Pointer value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_TryGetRuneAt( - input, - index, - value, - outException, - ); - } - - late final _System_Text_Rune_TryGetRuneAtPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_String_t, - ffi.Int32, - ffi.Pointer, - ffi.Pointer)>>( - 'System_Text_Rune_TryGetRuneAt'); - late final _System_Text_Rune_TryGetRuneAt = - _System_Text_Rune_TryGetRuneAtPtr.asFunction< - bool Function(System_String_t, int, ffi.Pointer, - ffi.Pointer)>(); - - double System_Text_Rune_GetNumericValue( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_GetNumericValue( - value, - outException, - ); - } - - late final _System_Text_Rune_GetNumericValuePtr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - System_Text_Rune_t, ffi.Pointer)>>( - 'System_Text_Rune_GetNumericValue'); - late final _System_Text_Rune_GetNumericValue = - _System_Text_Rune_GetNumericValuePtr.asFunction< - double Function( - System_Text_Rune_t, ffi.Pointer)>(); - - int System_Text_Rune_GetUnicodeCategory( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_GetUnicodeCategory( - value, - outException, - ); - } - - late final _System_Text_Rune_GetUnicodeCategoryPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Rune_t, ffi.Pointer)>>( - 'System_Text_Rune_GetUnicodeCategory'); - late final _System_Text_Rune_GetUnicodeCategory = - _System_Text_Rune_GetUnicodeCategoryPtr.asFunction< - int Function(System_Text_Rune_t, ffi.Pointer)>(); - - bool System_Text_Rune_IsControl( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsControl( - value, - outException, - ); - } - - late final _System_Text_Rune_IsControlPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_Rune_t, - ffi.Pointer)>>('System_Text_Rune_IsControl'); - late final _System_Text_Rune_IsControl = - _System_Text_Rune_IsControlPtr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - bool System_Text_Rune_IsDigit( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsDigit( - value, - outException, - ); - } - - late final _System_Text_Rune_IsDigitPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_Rune_t, - ffi.Pointer)>>('System_Text_Rune_IsDigit'); - late final _System_Text_Rune_IsDigit = - _System_Text_Rune_IsDigitPtr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - bool System_Text_Rune_IsLetter( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsLetter( - value, - outException, - ); - } - - late final _System_Text_Rune_IsLetterPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_Rune_t, - ffi.Pointer)>>('System_Text_Rune_IsLetter'); - late final _System_Text_Rune_IsLetter = - _System_Text_Rune_IsLetterPtr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - bool System_Text_Rune_IsLetterOrDigit( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsLetterOrDigit( - value, - outException, - ); - } - - late final _System_Text_Rune_IsLetterOrDigitPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_Rune_t, ffi.Pointer)>>( - 'System_Text_Rune_IsLetterOrDigit'); - late final _System_Text_Rune_IsLetterOrDigit = - _System_Text_Rune_IsLetterOrDigitPtr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - bool System_Text_Rune_IsLower( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsLower( - value, - outException, - ); - } - - late final _System_Text_Rune_IsLowerPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_Rune_t, - ffi.Pointer)>>('System_Text_Rune_IsLower'); - late final _System_Text_Rune_IsLower = - _System_Text_Rune_IsLowerPtr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - bool System_Text_Rune_IsNumber( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsNumber( - value, - outException, - ); - } - - late final _System_Text_Rune_IsNumberPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_Rune_t, - ffi.Pointer)>>('System_Text_Rune_IsNumber'); - late final _System_Text_Rune_IsNumber = - _System_Text_Rune_IsNumberPtr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - bool System_Text_Rune_IsPunctuation( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsPunctuation( - value, - outException, - ); - } - - late final _System_Text_Rune_IsPunctuationPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_Rune_t, ffi.Pointer)>>( - 'System_Text_Rune_IsPunctuation'); - late final _System_Text_Rune_IsPunctuation = - _System_Text_Rune_IsPunctuationPtr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - bool System_Text_Rune_IsSeparator( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsSeparator( - value, - outException, - ); - } - - late final _System_Text_Rune_IsSeparatorPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_Rune_t, ffi.Pointer)>>( - 'System_Text_Rune_IsSeparator'); - late final _System_Text_Rune_IsSeparator = - _System_Text_Rune_IsSeparatorPtr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - bool System_Text_Rune_IsSymbol( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsSymbol( - value, - outException, - ); - } - - late final _System_Text_Rune_IsSymbolPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_Rune_t, - ffi.Pointer)>>('System_Text_Rune_IsSymbol'); - late final _System_Text_Rune_IsSymbol = - _System_Text_Rune_IsSymbolPtr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - bool System_Text_Rune_IsUpper( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsUpper( - value, - outException, - ); - } - - late final _System_Text_Rune_IsUpperPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_Rune_t, - ffi.Pointer)>>('System_Text_Rune_IsUpper'); - late final _System_Text_Rune_IsUpper = - _System_Text_Rune_IsUpperPtr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - bool System_Text_Rune_IsWhiteSpace( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsWhiteSpace( - value, - outException, - ); - } - - late final _System_Text_Rune_IsWhiteSpacePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_Rune_t, ffi.Pointer)>>( - 'System_Text_Rune_IsWhiteSpace'); - late final _System_Text_Rune_IsWhiteSpace = - _System_Text_Rune_IsWhiteSpacePtr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - System_Text_Rune_t System_Text_Rune_ToLower( - System_Text_Rune_t value, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_Text_Rune_ToLower( - value, - culture, - outException, - ); - } - - late final _System_Text_Rune_ToLowerPtr = _lookup< - ffi.NativeFunction< - System_Text_Rune_t Function( - System_Text_Rune_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>('System_Text_Rune_ToLower'); - late final _System_Text_Rune_ToLower = - _System_Text_Rune_ToLowerPtr.asFunction< - System_Text_Rune_t Function( - System_Text_Rune_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Text_Rune_t System_Text_Rune_ToLowerInvariant( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_ToLowerInvariant( - value, - outException, - ); - } - - late final _System_Text_Rune_ToLowerInvariantPtr = _lookup< - ffi.NativeFunction< - System_Text_Rune_t Function( - System_Text_Rune_t, ffi.Pointer)>>( - 'System_Text_Rune_ToLowerInvariant'); - late final _System_Text_Rune_ToLowerInvariant = - _System_Text_Rune_ToLowerInvariantPtr.asFunction< - System_Text_Rune_t Function( - System_Text_Rune_t, ffi.Pointer)>(); - - System_Text_Rune_t System_Text_Rune_ToUpper( - System_Text_Rune_t value, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_Text_Rune_ToUpper( - value, - culture, - outException, - ); - } - - late final _System_Text_Rune_ToUpperPtr = _lookup< - ffi.NativeFunction< - System_Text_Rune_t Function( - System_Text_Rune_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>('System_Text_Rune_ToUpper'); - late final _System_Text_Rune_ToUpper = - _System_Text_Rune_ToUpperPtr.asFunction< - System_Text_Rune_t Function( - System_Text_Rune_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - System_Text_Rune_t System_Text_Rune_ToUpperInvariant( - System_Text_Rune_t value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_ToUpperInvariant( - value, - outException, - ); - } - - late final _System_Text_Rune_ToUpperInvariantPtr = _lookup< - ffi.NativeFunction< - System_Text_Rune_t Function( - System_Text_Rune_t, ffi.Pointer)>>( - 'System_Text_Rune_ToUpperInvariant'); - late final _System_Text_Rune_ToUpperInvariant = - _System_Text_Rune_ToUpperInvariantPtr.asFunction< - System_Text_Rune_t Function( - System_Text_Rune_t, ffi.Pointer)>(); - - System_Text_Rune_t System_Text_Rune_Create( - int ch, - ffi.Pointer outException, - ) { - return _System_Text_Rune_Create( - ch, - outException, - ); - } - - late final _System_Text_Rune_CreatePtr = _lookup< - ffi.NativeFunction< - System_Text_Rune_t Function(ffi.WChar, - ffi.Pointer)>>('System_Text_Rune_Create'); - late final _System_Text_Rune_Create = _System_Text_Rune_CreatePtr.asFunction< - System_Text_Rune_t Function(int, ffi.Pointer)>(); - - System_Text_Rune_t System_Text_Rune_Create_1( - int highSurrogate, - int lowSurrogate, - ffi.Pointer outException, - ) { - return _System_Text_Rune_Create_1( - highSurrogate, - lowSurrogate, - outException, - ); - } - - late final _System_Text_Rune_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_Text_Rune_t Function(ffi.WChar, ffi.WChar, - ffi.Pointer)>>('System_Text_Rune_Create_1'); - late final _System_Text_Rune_Create_1 = - _System_Text_Rune_Create_1Ptr.asFunction< - System_Text_Rune_t Function( - int, int, ffi.Pointer)>(); - - System_Text_Rune_t System_Text_Rune_Create_2( - int value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_Create_2( - value, - outException, - ); - } - - late final _System_Text_Rune_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_Text_Rune_t Function(ffi.Int32, - ffi.Pointer)>>('System_Text_Rune_Create_2'); - late final _System_Text_Rune_Create_2 = - _System_Text_Rune_Create_2Ptr.asFunction< - System_Text_Rune_t Function(int, ffi.Pointer)>(); - - System_Text_Rune_t System_Text_Rune_Create_3( - int value, - ffi.Pointer outException, - ) { - return _System_Text_Rune_Create_3( - value, - outException, - ); - } - - late final _System_Text_Rune_Create_3Ptr = _lookup< - ffi.NativeFunction< - System_Text_Rune_t Function(ffi.Uint32, - ffi.Pointer)>>('System_Text_Rune_Create_3'); - late final _System_Text_Rune_Create_3 = - _System_Text_Rune_Create_3Ptr.asFunction< - System_Text_Rune_t Function(int, ffi.Pointer)>(); - - bool System_Text_Rune_IsAscii_Get( - System_Text_Rune_t self, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsAscii_Get( - self, - outException, - ); - } - - late final _System_Text_Rune_IsAscii_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_Rune_t, ffi.Pointer)>>( - 'System_Text_Rune_IsAscii_Get'); - late final _System_Text_Rune_IsAscii_Get = - _System_Text_Rune_IsAscii_GetPtr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - bool System_Text_Rune_IsBmp_Get( - System_Text_Rune_t self, - ffi.Pointer outException, - ) { - return _System_Text_Rune_IsBmp_Get( - self, - outException, - ); - } - - late final _System_Text_Rune_IsBmp_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_Rune_t, - ffi.Pointer)>>('System_Text_Rune_IsBmp_Get'); - late final _System_Text_Rune_IsBmp_Get = - _System_Text_Rune_IsBmp_GetPtr.asFunction< - bool Function(System_Text_Rune_t, ffi.Pointer)>(); - - int System_Text_Rune_Plane_Get( - System_Text_Rune_t self, - ffi.Pointer outException, - ) { - return _System_Text_Rune_Plane_Get( - self, - outException, - ); - } - - late final _System_Text_Rune_Plane_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_Rune_t, - ffi.Pointer)>>('System_Text_Rune_Plane_Get'); - late final _System_Text_Rune_Plane_Get = - _System_Text_Rune_Plane_GetPtr.asFunction< - int Function(System_Text_Rune_t, ffi.Pointer)>(); - - System_Text_Rune_t System_Text_Rune_ReplacementChar_Get( - ffi.Pointer outException, - ) { - return _System_Text_Rune_ReplacementChar_Get( - outException, - ); - } - - late final _System_Text_Rune_ReplacementChar_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_Rune_t Function(ffi.Pointer)>>( - 'System_Text_Rune_ReplacementChar_Get'); - late final _System_Text_Rune_ReplacementChar_Get = - _System_Text_Rune_ReplacementChar_GetPtr.asFunction< - System_Text_Rune_t Function(ffi.Pointer)>(); - - int System_Text_Rune_Utf16SequenceLength_Get( - System_Text_Rune_t self, - ffi.Pointer outException, - ) { - return _System_Text_Rune_Utf16SequenceLength_Get( - self, - outException, - ); - } - - late final _System_Text_Rune_Utf16SequenceLength_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Rune_t, ffi.Pointer)>>( - 'System_Text_Rune_Utf16SequenceLength_Get'); - late final _System_Text_Rune_Utf16SequenceLength_Get = - _System_Text_Rune_Utf16SequenceLength_GetPtr.asFunction< - int Function(System_Text_Rune_t, ffi.Pointer)>(); - - int System_Text_Rune_Utf8SequenceLength_Get( - System_Text_Rune_t self, - ffi.Pointer outException, - ) { - return _System_Text_Rune_Utf8SequenceLength_Get( - self, - outException, - ); - } - - late final _System_Text_Rune_Utf8SequenceLength_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Rune_t, ffi.Pointer)>>( - 'System_Text_Rune_Utf8SequenceLength_Get'); - late final _System_Text_Rune_Utf8SequenceLength_Get = - _System_Text_Rune_Utf8SequenceLength_GetPtr.asFunction< - int Function(System_Text_Rune_t, ffi.Pointer)>(); - - int System_Text_Rune_Value_Get( - System_Text_Rune_t self, - ffi.Pointer outException, - ) { - return _System_Text_Rune_Value_Get( - self, - outException, - ); - } - - late final _System_Text_Rune_Value_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_Rune_t, - ffi.Pointer)>>('System_Text_Rune_Value_Get'); - late final _System_Text_Rune_Value_Get = - _System_Text_Rune_Value_GetPtr.asFunction< - int Function(System_Text_Rune_t, ffi.Pointer)>(); - - System_Text_Rune_t System_Text_Rune_Create_4( - ffi.Pointer outException, - ) { - return _System_Text_Rune_Create_4( - outException, - ); - } - - late final _System_Text_Rune_Create_4Ptr = _lookup< - ffi.NativeFunction< - System_Text_Rune_t Function( - ffi.Pointer)>>('System_Text_Rune_Create_4'); - late final _System_Text_Rune_Create_4 = - _System_Text_Rune_Create_4Ptr.asFunction< - System_Text_Rune_t Function(ffi.Pointer)>(); - - System_Type_t System_Text_Rune_TypeOf() { - return _System_Text_Rune_TypeOf(); - } - - late final _System_Text_Rune_TypeOfPtr = - _lookup>( - 'System_Text_Rune_TypeOf'); - late final _System_Text_Rune_TypeOf = - _System_Text_Rune_TypeOfPtr.asFunction(); - - void System_Text_Rune_Destroy( - System_Text_Rune_t self, - ) { - return _System_Text_Rune_Destroy( - self, - ); - } - - late final _System_Text_Rune_DestroyPtr = - _lookup>( - 'System_Text_Rune_Destroy'); - late final _System_Text_Rune_Destroy = _System_Text_Rune_DestroyPtr - .asFunction(); - - int System_Globalization_SortKey_Compare( - System_Globalization_SortKey_t sortkey1, - System_Globalization_SortKey_t sortkey2, - ffi.Pointer outException, - ) { - return _System_Globalization_SortKey_Compare( - sortkey1, - sortkey2, - outException, - ); - } - - late final _System_Globalization_SortKey_ComparePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Globalization_SortKey_t, - System_Globalization_SortKey_t, - ffi.Pointer)>>( - 'System_Globalization_SortKey_Compare'); - late final _System_Globalization_SortKey_Compare = - _System_Globalization_SortKey_ComparePtr.asFunction< - int Function( - System_Globalization_SortKey_t, - System_Globalization_SortKey_t, - ffi.Pointer)>(); - - bool System_Globalization_SortKey_Equals( - System_Globalization_SortKey_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_SortKey_Equals( - self, - value, - outException, - ); - } - - late final _System_Globalization_SortKey_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_SortKey_t, System_Object_t, - ffi.Pointer)>>( - 'System_Globalization_SortKey_Equals'); - late final _System_Globalization_SortKey_Equals = - _System_Globalization_SortKey_EqualsPtr.asFunction< - bool Function(System_Globalization_SortKey_t, System_Object_t, - ffi.Pointer)>(); - - int System_Globalization_SortKey_GetHashCode( - System_Globalization_SortKey_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_SortKey_GetHashCode( - self, - outException, - ); - } - - late final _System_Globalization_SortKey_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_SortKey_t, - ffi.Pointer)>>( - 'System_Globalization_SortKey_GetHashCode'); - late final _System_Globalization_SortKey_GetHashCode = - _System_Globalization_SortKey_GetHashCodePtr.asFunction< - int Function(System_Globalization_SortKey_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_SortKey_ToString( - System_Globalization_SortKey_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_SortKey_ToString( - self, - outException, - ); - } - - late final _System_Globalization_SortKey_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_SortKey_t, - ffi.Pointer)>>( - 'System_Globalization_SortKey_ToString'); - late final _System_Globalization_SortKey_ToString = - _System_Globalization_SortKey_ToStringPtr.asFunction< - System_String_t Function(System_Globalization_SortKey_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_SortKey_OriginalString_Get( - System_Globalization_SortKey_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_SortKey_OriginalString_Get( - self, - outException, - ); - } - - late final _System_Globalization_SortKey_OriginalString_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_SortKey_t, - ffi.Pointer)>>( - 'System_Globalization_SortKey_OriginalString_Get'); - late final _System_Globalization_SortKey_OriginalString_Get = - _System_Globalization_SortKey_OriginalString_GetPtr.asFunction< - System_String_t Function(System_Globalization_SortKey_t, - ffi.Pointer)>(); - - System_Byte_Array_t System_Globalization_SortKey_KeyData_Get( - System_Globalization_SortKey_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_SortKey_KeyData_Get( - self, - outException, - ); - } - - late final _System_Globalization_SortKey_KeyData_GetPtr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function(System_Globalization_SortKey_t, - ffi.Pointer)>>( - 'System_Globalization_SortKey_KeyData_Get'); - late final _System_Globalization_SortKey_KeyData_Get = - _System_Globalization_SortKey_KeyData_GetPtr.asFunction< - System_Byte_Array_t Function(System_Globalization_SortKey_t, - ffi.Pointer)>(); - - System_Type_t System_Globalization_SortKey_TypeOf() { - return _System_Globalization_SortKey_TypeOf(); - } - - late final _System_Globalization_SortKey_TypeOfPtr = - _lookup>( - 'System_Globalization_SortKey_TypeOf'); - late final _System_Globalization_SortKey_TypeOf = - _System_Globalization_SortKey_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Globalization_SortKey_Destroy( - System_Globalization_SortKey_t self, - ) { - return _System_Globalization_SortKey_Destroy( - self, - ); - } - - late final _System_Globalization_SortKey_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Globalization_SortKey_Destroy'); - late final _System_Globalization_SortKey_Destroy = - _System_Globalization_SortKey_DestroyPtr.asFunction< - void Function(System_Globalization_SortKey_t)>(); - - bool System_Globalization_SortVersion_Equals( - System_Globalization_SortVersion_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Globalization_SortVersion_Equals( - self, - obj, - outException, - ); - } - - late final _System_Globalization_SortVersion_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_SortVersion_t, - System_Object_t, ffi.Pointer)>>( - 'System_Globalization_SortVersion_Equals'); - late final _System_Globalization_SortVersion_Equals = - _System_Globalization_SortVersion_EqualsPtr.asFunction< - bool Function(System_Globalization_SortVersion_t, System_Object_t, - ffi.Pointer)>(); - - bool System_Globalization_SortVersion_Equals_1( - System_Globalization_SortVersion_t self, - System_Globalization_SortVersion_t other, - ffi.Pointer outException, - ) { - return _System_Globalization_SortVersion_Equals_1( - self, - other, - outException, - ); - } - - late final _System_Globalization_SortVersion_Equals_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Globalization_SortVersion_t, - System_Globalization_SortVersion_t, - ffi.Pointer)>>( - 'System_Globalization_SortVersion_Equals_1'); - late final _System_Globalization_SortVersion_Equals_1 = - _System_Globalization_SortVersion_Equals_1Ptr.asFunction< - bool Function( - System_Globalization_SortVersion_t, - System_Globalization_SortVersion_t, - ffi.Pointer)>(); - - int System_Globalization_SortVersion_GetHashCode( - System_Globalization_SortVersion_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_SortVersion_GetHashCode( - self, - outException, - ); - } - - late final _System_Globalization_SortVersion_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_SortVersion_t, - ffi.Pointer)>>( - 'System_Globalization_SortVersion_GetHashCode'); - late final _System_Globalization_SortVersion_GetHashCode = - _System_Globalization_SortVersion_GetHashCodePtr.asFunction< - int Function(System_Globalization_SortVersion_t, - ffi.Pointer)>(); - - System_Globalization_SortVersion_t System_Globalization_SortVersion_Create( - int fullVersion, - System_Guid_t sortId, - ffi.Pointer outException, - ) { - return _System_Globalization_SortVersion_Create( - fullVersion, - sortId, - outException, - ); - } - - late final _System_Globalization_SortVersion_CreatePtr = _lookup< - ffi.NativeFunction< - System_Globalization_SortVersion_t Function( - ffi.Int32, System_Guid_t, ffi.Pointer)>>( - 'System_Globalization_SortVersion_Create'); - late final _System_Globalization_SortVersion_Create = - _System_Globalization_SortVersion_CreatePtr.asFunction< - System_Globalization_SortVersion_t Function( - int, System_Guid_t, ffi.Pointer)>(); - - int System_Globalization_SortVersion_FullVersion_Get( - System_Globalization_SortVersion_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_SortVersion_FullVersion_Get( - self, - outException, - ); - } - - late final _System_Globalization_SortVersion_FullVersion_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_SortVersion_t, - ffi.Pointer)>>( - 'System_Globalization_SortVersion_FullVersion_Get'); - late final _System_Globalization_SortVersion_FullVersion_Get = - _System_Globalization_SortVersion_FullVersion_GetPtr.asFunction< - int Function(System_Globalization_SortVersion_t, - ffi.Pointer)>(); - - System_Guid_t System_Globalization_SortVersion_SortId_Get( - System_Globalization_SortVersion_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_SortVersion_SortId_Get( - self, - outException, - ); - } - - late final _System_Globalization_SortVersion_SortId_GetPtr = _lookup< - ffi.NativeFunction< - System_Guid_t Function(System_Globalization_SortVersion_t, - ffi.Pointer)>>( - 'System_Globalization_SortVersion_SortId_Get'); - late final _System_Globalization_SortVersion_SortId_Get = - _System_Globalization_SortVersion_SortId_GetPtr.asFunction< - System_Guid_t Function(System_Globalization_SortVersion_t, - ffi.Pointer)>(); - - System_Type_t System_Globalization_SortVersion_TypeOf() { - return _System_Globalization_SortVersion_TypeOf(); - } - - late final _System_Globalization_SortVersion_TypeOfPtr = - _lookup>( - 'System_Globalization_SortVersion_TypeOf'); - late final _System_Globalization_SortVersion_TypeOf = - _System_Globalization_SortVersion_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Globalization_SortVersion_Destroy( - System_Globalization_SortVersion_t self, - ) { - return _System_Globalization_SortVersion_Destroy( - self, - ); - } - - late final _System_Globalization_SortVersion_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_SortVersion_t)>>( - 'System_Globalization_SortVersion_Destroy'); - late final _System_Globalization_SortVersion_Destroy = - _System_Globalization_SortVersion_DestroyPtr.asFunction< - void Function(System_Globalization_SortVersion_t)>(); - - System_Object_t System_Globalization_TextInfo_Clone( - System_Globalization_TextInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_Clone( - self, - outException, - ); - } - - late final _System_Globalization_TextInfo_ClonePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Globalization_TextInfo_t, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_Clone'); - late final _System_Globalization_TextInfo_Clone = - _System_Globalization_TextInfo_ClonePtr.asFunction< - System_Object_t Function(System_Globalization_TextInfo_t, - ffi.Pointer)>(); - - System_Globalization_TextInfo_t System_Globalization_TextInfo_ReadOnly( - System_Globalization_TextInfo_t textInfo, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_ReadOnly( - textInfo, - outException, - ); - } - - late final _System_Globalization_TextInfo_ReadOnlyPtr = _lookup< - ffi.NativeFunction< - System_Globalization_TextInfo_t Function( - System_Globalization_TextInfo_t, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_ReadOnly'); - late final _System_Globalization_TextInfo_ReadOnly = - _System_Globalization_TextInfo_ReadOnlyPtr.asFunction< - System_Globalization_TextInfo_t Function( - System_Globalization_TextInfo_t, - ffi.Pointer)>(); - - int System_Globalization_TextInfo_ToLower( - System_Globalization_TextInfo_t self, - int c, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_ToLower( - self, - c, - outException, - ); - } - - late final _System_Globalization_TextInfo_ToLowerPtr = _lookup< - ffi.NativeFunction< - ffi.WChar Function(System_Globalization_TextInfo_t, ffi.WChar, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_ToLower'); - late final _System_Globalization_TextInfo_ToLower = - _System_Globalization_TextInfo_ToLowerPtr.asFunction< - int Function(System_Globalization_TextInfo_t, int, - ffi.Pointer)>(); - - System_String_t System_Globalization_TextInfo_ToLower_1( - System_Globalization_TextInfo_t self, - System_String_t str, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_ToLower_1( - self, - str, - outException, - ); - } - - late final _System_Globalization_TextInfo_ToLower_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_TextInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_TextInfo_ToLower_1'); - late final _System_Globalization_TextInfo_ToLower_1 = - _System_Globalization_TextInfo_ToLower_1Ptr.asFunction< - System_String_t Function(System_Globalization_TextInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Globalization_TextInfo_ToUpper( - System_Globalization_TextInfo_t self, - int c, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_ToUpper( - self, - c, - outException, - ); - } - - late final _System_Globalization_TextInfo_ToUpperPtr = _lookup< - ffi.NativeFunction< - ffi.WChar Function(System_Globalization_TextInfo_t, ffi.WChar, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_ToUpper'); - late final _System_Globalization_TextInfo_ToUpper = - _System_Globalization_TextInfo_ToUpperPtr.asFunction< - int Function(System_Globalization_TextInfo_t, int, - ffi.Pointer)>(); - - System_String_t System_Globalization_TextInfo_ToUpper_1( - System_Globalization_TextInfo_t self, - System_String_t str, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_ToUpper_1( - self, - str, - outException, - ); - } - - late final _System_Globalization_TextInfo_ToUpper_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_TextInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_TextInfo_ToUpper_1'); - late final _System_Globalization_TextInfo_ToUpper_1 = - _System_Globalization_TextInfo_ToUpper_1Ptr.asFunction< - System_String_t Function(System_Globalization_TextInfo_t, - System_String_t, ffi.Pointer)>(); - - bool System_Globalization_TextInfo_Equals( - System_Globalization_TextInfo_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_Equals( - self, - obj, - outException, - ); - } - - late final _System_Globalization_TextInfo_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_TextInfo_t, - System_Object_t, ffi.Pointer)>>( - 'System_Globalization_TextInfo_Equals'); - late final _System_Globalization_TextInfo_Equals = - _System_Globalization_TextInfo_EqualsPtr.asFunction< - bool Function(System_Globalization_TextInfo_t, System_Object_t, - ffi.Pointer)>(); - - int System_Globalization_TextInfo_GetHashCode( - System_Globalization_TextInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_GetHashCode( - self, - outException, - ); - } - - late final _System_Globalization_TextInfo_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_TextInfo_t, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_GetHashCode'); - late final _System_Globalization_TextInfo_GetHashCode = - _System_Globalization_TextInfo_GetHashCodePtr.asFunction< - int Function(System_Globalization_TextInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_TextInfo_ToString( - System_Globalization_TextInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_ToString( - self, - outException, - ); - } - - late final _System_Globalization_TextInfo_ToStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_TextInfo_t, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_ToString'); - late final _System_Globalization_TextInfo_ToString = - _System_Globalization_TextInfo_ToStringPtr.asFunction< - System_String_t Function(System_Globalization_TextInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_TextInfo_ToTitleCase( - System_Globalization_TextInfo_t self, - System_String_t str, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_ToTitleCase( - self, - str, - outException, - ); - } - - late final _System_Globalization_TextInfo_ToTitleCasePtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_TextInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_TextInfo_ToTitleCase'); - late final _System_Globalization_TextInfo_ToTitleCase = - _System_Globalization_TextInfo_ToTitleCasePtr.asFunction< - System_String_t Function(System_Globalization_TextInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Globalization_TextInfo_ANSICodePage_Get( - System_Globalization_TextInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_ANSICodePage_Get( - self, - outException, - ); - } - - late final _System_Globalization_TextInfo_ANSICodePage_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_TextInfo_t, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_ANSICodePage_Get'); - late final _System_Globalization_TextInfo_ANSICodePage_Get = - _System_Globalization_TextInfo_ANSICodePage_GetPtr.asFunction< - int Function(System_Globalization_TextInfo_t, - ffi.Pointer)>(); - - int System_Globalization_TextInfo_OEMCodePage_Get( - System_Globalization_TextInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_OEMCodePage_Get( - self, - outException, - ); - } - - late final _System_Globalization_TextInfo_OEMCodePage_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_TextInfo_t, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_OEMCodePage_Get'); - late final _System_Globalization_TextInfo_OEMCodePage_Get = - _System_Globalization_TextInfo_OEMCodePage_GetPtr.asFunction< - int Function(System_Globalization_TextInfo_t, - ffi.Pointer)>(); - - int System_Globalization_TextInfo_MacCodePage_Get( - System_Globalization_TextInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_MacCodePage_Get( - self, - outException, - ); - } - - late final _System_Globalization_TextInfo_MacCodePage_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_TextInfo_t, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_MacCodePage_Get'); - late final _System_Globalization_TextInfo_MacCodePage_Get = - _System_Globalization_TextInfo_MacCodePage_GetPtr.asFunction< - int Function(System_Globalization_TextInfo_t, - ffi.Pointer)>(); - - int System_Globalization_TextInfo_EBCDICCodePage_Get( - System_Globalization_TextInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_EBCDICCodePage_Get( - self, - outException, - ); - } - - late final _System_Globalization_TextInfo_EBCDICCodePage_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_TextInfo_t, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_EBCDICCodePage_Get'); - late final _System_Globalization_TextInfo_EBCDICCodePage_Get = - _System_Globalization_TextInfo_EBCDICCodePage_GetPtr.asFunction< - int Function(System_Globalization_TextInfo_t, - ffi.Pointer)>(); - - int System_Globalization_TextInfo_LCID_Get( - System_Globalization_TextInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_LCID_Get( - self, - outException, - ); - } - - late final _System_Globalization_TextInfo_LCID_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_TextInfo_t, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_LCID_Get'); - late final _System_Globalization_TextInfo_LCID_Get = - _System_Globalization_TextInfo_LCID_GetPtr.asFunction< - int Function(System_Globalization_TextInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_TextInfo_CultureName_Get( - System_Globalization_TextInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_CultureName_Get( - self, - outException, - ); - } - - late final _System_Globalization_TextInfo_CultureName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_TextInfo_t, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_CultureName_Get'); - late final _System_Globalization_TextInfo_CultureName_Get = - _System_Globalization_TextInfo_CultureName_GetPtr.asFunction< - System_String_t Function(System_Globalization_TextInfo_t, - ffi.Pointer)>(); - - bool System_Globalization_TextInfo_IsReadOnly_Get( - System_Globalization_TextInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_IsReadOnly_Get( - self, - outException, - ); - } - - late final _System_Globalization_TextInfo_IsReadOnly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_TextInfo_t, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_IsReadOnly_Get'); - late final _System_Globalization_TextInfo_IsReadOnly_Get = - _System_Globalization_TextInfo_IsReadOnly_GetPtr.asFunction< - bool Function(System_Globalization_TextInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_TextInfo_ListSeparator_Get( - System_Globalization_TextInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_ListSeparator_Get( - self, - outException, - ); - } - - late final _System_Globalization_TextInfo_ListSeparator_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_TextInfo_t, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_ListSeparator_Get'); - late final _System_Globalization_TextInfo_ListSeparator_Get = - _System_Globalization_TextInfo_ListSeparator_GetPtr.asFunction< - System_String_t Function(System_Globalization_TextInfo_t, - ffi.Pointer)>(); - - void System_Globalization_TextInfo_ListSeparator_Set( - System_Globalization_TextInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_ListSeparator_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_TextInfo_ListSeparator_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_TextInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_TextInfo_ListSeparator_Set'); - late final _System_Globalization_TextInfo_ListSeparator_Set = - _System_Globalization_TextInfo_ListSeparator_SetPtr.asFunction< - void Function(System_Globalization_TextInfo_t, System_String_t, - ffi.Pointer)>(); - - bool System_Globalization_TextInfo_IsRightToLeft_Get( - System_Globalization_TextInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_TextInfo_IsRightToLeft_Get( - self, - outException, - ); - } - - late final _System_Globalization_TextInfo_IsRightToLeft_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_TextInfo_t, - ffi.Pointer)>>( - 'System_Globalization_TextInfo_IsRightToLeft_Get'); - late final _System_Globalization_TextInfo_IsRightToLeft_Get = - _System_Globalization_TextInfo_IsRightToLeft_GetPtr.asFunction< - bool Function(System_Globalization_TextInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Globalization_TextInfo_TypeOf() { - return _System_Globalization_TextInfo_TypeOf(); - } - - late final _System_Globalization_TextInfo_TypeOfPtr = - _lookup>( - 'System_Globalization_TextInfo_TypeOf'); - late final _System_Globalization_TextInfo_TypeOf = - _System_Globalization_TextInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Globalization_TextInfo_Destroy( - System_Globalization_TextInfo_t self, - ) { - return _System_Globalization_TextInfo_Destroy( - self, - ); - } - - late final _System_Globalization_TextInfo_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Globalization_TextInfo_Destroy'); - late final _System_Globalization_TextInfo_Destroy = - _System_Globalization_TextInfo_DestroyPtr.asFunction< - void Function(System_Globalization_TextInfo_t)>(); - - System_Globalization_NumberFormatInfo_t - System_Globalization_NumberFormatInfo_GetInstance( - System_IFormatProvider_t formatProvider, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_GetInstance( - formatProvider, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_GetInstancePtr = _lookup< - ffi.NativeFunction< - System_Globalization_NumberFormatInfo_t Function( - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_GetInstance'); - late final _System_Globalization_NumberFormatInfo_GetInstance = - _System_Globalization_NumberFormatInfo_GetInstancePtr.asFunction< - System_Globalization_NumberFormatInfo_t Function( - System_IFormatProvider_t, ffi.Pointer)>(); - - System_Object_t System_Globalization_NumberFormatInfo_Clone( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_Clone( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_ClonePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_Clone'); - late final _System_Globalization_NumberFormatInfo_Clone = - _System_Globalization_NumberFormatInfo_ClonePtr.asFunction< - System_Object_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - System_Object_t System_Globalization_NumberFormatInfo_GetFormat( - System_Globalization_NumberFormatInfo_t self, - System_Type_t formatType, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_GetFormat( - self, - formatType, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_GetFormatPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Globalization_NumberFormatInfo_t, - System_Type_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_GetFormat'); - late final _System_Globalization_NumberFormatInfo_GetFormat = - _System_Globalization_NumberFormatInfo_GetFormatPtr.asFunction< - System_Object_t Function(System_Globalization_NumberFormatInfo_t, - System_Type_t, ffi.Pointer)>(); - - System_Globalization_NumberFormatInfo_t - System_Globalization_NumberFormatInfo_ReadOnly( - System_Globalization_NumberFormatInfo_t nfi, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_ReadOnly( - nfi, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_ReadOnlyPtr = _lookup< - ffi.NativeFunction< - System_Globalization_NumberFormatInfo_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_ReadOnly'); - late final _System_Globalization_NumberFormatInfo_ReadOnly = - _System_Globalization_NumberFormatInfo_ReadOnlyPtr.asFunction< - System_Globalization_NumberFormatInfo_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - System_Globalization_NumberFormatInfo_t - System_Globalization_NumberFormatInfo_Create( - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_Create( - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CreatePtr = _lookup< - ffi.NativeFunction< - System_Globalization_NumberFormatInfo_t Function( - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_Create'); - late final _System_Globalization_NumberFormatInfo_Create = - _System_Globalization_NumberFormatInfo_CreatePtr.asFunction< - System_Globalization_NumberFormatInfo_t Function( - ffi.Pointer)>(); - - System_Globalization_NumberFormatInfo_t - System_Globalization_NumberFormatInfo_InvariantInfo_Get( - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_InvariantInfo_Get( - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_InvariantInfo_GetPtr = - _lookup< - ffi.NativeFunction< - System_Globalization_NumberFormatInfo_t Function( - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_InvariantInfo_Get'); - late final _System_Globalization_NumberFormatInfo_InvariantInfo_Get = - _System_Globalization_NumberFormatInfo_InvariantInfo_GetPtr.asFunction< - System_Globalization_NumberFormatInfo_t Function( - ffi.Pointer)>(); - - int System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Get'); - late final _System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Get = - _System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_GetPtr - .asFunction< - int Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Set( - System_Globalization_NumberFormatInfo_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Set'); - late final _System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Set = - _System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, int, - ffi.Pointer)>(); - - System_String_t - System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Get'); - late final _System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Get = - _System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_GetPtr - .asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Set'); - late final _System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Set = - _System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - bool System_Globalization_NumberFormatInfo_IsReadOnly_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_IsReadOnly_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_IsReadOnly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_IsReadOnly_Get'); - late final _System_Globalization_NumberFormatInfo_IsReadOnly_Get = - _System_Globalization_NumberFormatInfo_IsReadOnly_GetPtr.asFunction< - bool Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - System_Int32_Array_t - System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencyGroupSizes_GetPtr = - _lookup< - ffi.NativeFunction< - System_Int32_Array_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Get'); - late final _System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Get = - _System_Globalization_NumberFormatInfo_CurrencyGroupSizes_GetPtr - .asFunction< - System_Int32_Array_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Set( - System_Globalization_NumberFormatInfo_t self, - System_Int32_Array_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencyGroupSizes_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_Int32_Array_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Set'); - late final _System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Set = - _System_Globalization_NumberFormatInfo_CurrencyGroupSizes_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_Int32_Array_t, ffi.Pointer)>(); - - System_Int32_Array_t - System_Globalization_NumberFormatInfo_NumberGroupSizes_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NumberGroupSizes_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NumberGroupSizes_GetPtr = - _lookup< - ffi.NativeFunction< - System_Int32_Array_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NumberGroupSizes_Get'); - late final _System_Globalization_NumberFormatInfo_NumberGroupSizes_Get = - _System_Globalization_NumberFormatInfo_NumberGroupSizes_GetPtr.asFunction< - System_Int32_Array_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_NumberGroupSizes_Set( - System_Globalization_NumberFormatInfo_t self, - System_Int32_Array_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NumberGroupSizes_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NumberGroupSizes_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_Int32_Array_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NumberGroupSizes_Set'); - late final _System_Globalization_NumberFormatInfo_NumberGroupSizes_Set = - _System_Globalization_NumberFormatInfo_NumberGroupSizes_SetPtr.asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_Int32_Array_t, ffi.Pointer)>(); - - System_Int32_Array_t - System_Globalization_NumberFormatInfo_PercentGroupSizes_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentGroupSizes_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentGroupSizes_GetPtr = - _lookup< - ffi.NativeFunction< - System_Int32_Array_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentGroupSizes_Get'); - late final _System_Globalization_NumberFormatInfo_PercentGroupSizes_Get = - _System_Globalization_NumberFormatInfo_PercentGroupSizes_GetPtr - .asFunction< - System_Int32_Array_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_PercentGroupSizes_Set( - System_Globalization_NumberFormatInfo_t self, - System_Int32_Array_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentGroupSizes_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentGroupSizes_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_Int32_Array_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentGroupSizes_Set'); - late final _System_Globalization_NumberFormatInfo_PercentGroupSizes_Set = - _System_Globalization_NumberFormatInfo_PercentGroupSizes_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_Int32_Array_t, ffi.Pointer)>(); - - System_String_t - System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Get'); - late final _System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Get = - _System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_GetPtr - .asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Set'); - late final _System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Set = - _System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_Globalization_NumberFormatInfo_CurrencySymbol_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencySymbol_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencySymbol_GetPtr = - _lookup< - ffi - .NativeFunction< - System_String_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencySymbol_Get'); - late final _System_Globalization_NumberFormatInfo_CurrencySymbol_Get = - _System_Globalization_NumberFormatInfo_CurrencySymbol_GetPtr.asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_CurrencySymbol_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencySymbol_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencySymbol_SetPtr = - _lookup< - ffi - .NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencySymbol_Set'); - late final _System_Globalization_NumberFormatInfo_CurrencySymbol_Set = - _System_Globalization_NumberFormatInfo_CurrencySymbol_SetPtr.asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_Globalization_NumberFormatInfo_t - System_Globalization_NumberFormatInfo_CurrentInfo_Get( - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrentInfo_Get( - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrentInfo_GetPtr = - _lookup< - ffi.NativeFunction< - System_Globalization_NumberFormatInfo_t Function( - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrentInfo_Get'); - late final _System_Globalization_NumberFormatInfo_CurrentInfo_Get = - _System_Globalization_NumberFormatInfo_CurrentInfo_GetPtr.asFunction< - System_Globalization_NumberFormatInfo_t Function( - ffi.Pointer)>(); - - System_String_t System_Globalization_NumberFormatInfo_NaNSymbol_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NaNSymbol_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NaNSymbol_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NaNSymbol_Get'); - late final _System_Globalization_NumberFormatInfo_NaNSymbol_Get = - _System_Globalization_NumberFormatInfo_NaNSymbol_GetPtr.asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_NaNSymbol_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NaNSymbol_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NaNSymbol_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NaNSymbol_Set'); - late final _System_Globalization_NumberFormatInfo_NaNSymbol_Set = - _System_Globalization_NumberFormatInfo_NaNSymbol_SetPtr.asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencyNegativePattern_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Get'); - late final _System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Get = - _System_Globalization_NumberFormatInfo_CurrencyNegativePattern_GetPtr - .asFunction< - int Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Set( - System_Globalization_NumberFormatInfo_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencyNegativePattern_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Set'); - late final _System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Set = - _System_Globalization_NumberFormatInfo_CurrencyNegativePattern_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, int, - ffi.Pointer)>(); - - int System_Globalization_NumberFormatInfo_NumberNegativePattern_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NumberNegativePattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NumberNegativePattern_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NumberNegativePattern_Get'); - late final _System_Globalization_NumberFormatInfo_NumberNegativePattern_Get = - _System_Globalization_NumberFormatInfo_NumberNegativePattern_GetPtr - .asFunction< - int Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_NumberNegativePattern_Set( - System_Globalization_NumberFormatInfo_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NumberNegativePattern_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NumberNegativePattern_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NumberNegativePattern_Set'); - late final _System_Globalization_NumberFormatInfo_NumberNegativePattern_Set = - _System_Globalization_NumberFormatInfo_NumberNegativePattern_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, int, - ffi.Pointer)>(); - - int System_Globalization_NumberFormatInfo_PercentPositivePattern_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentPositivePattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentPositivePattern_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentPositivePattern_Get'); - late final _System_Globalization_NumberFormatInfo_PercentPositivePattern_Get = - _System_Globalization_NumberFormatInfo_PercentPositivePattern_GetPtr - .asFunction< - int Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_PercentPositivePattern_Set( - System_Globalization_NumberFormatInfo_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentPositivePattern_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentPositivePattern_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentPositivePattern_Set'); - late final _System_Globalization_NumberFormatInfo_PercentPositivePattern_Set = - _System_Globalization_NumberFormatInfo_PercentPositivePattern_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, int, - ffi.Pointer)>(); - - int System_Globalization_NumberFormatInfo_PercentNegativePattern_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentNegativePattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentNegativePattern_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentNegativePattern_Get'); - late final _System_Globalization_NumberFormatInfo_PercentNegativePattern_Get = - _System_Globalization_NumberFormatInfo_PercentNegativePattern_GetPtr - .asFunction< - int Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_PercentNegativePattern_Set( - System_Globalization_NumberFormatInfo_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentNegativePattern_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentNegativePattern_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentNegativePattern_Set'); - late final _System_Globalization_NumberFormatInfo_PercentNegativePattern_Set = - _System_Globalization_NumberFormatInfo_PercentNegativePattern_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, int, - ffi.Pointer)>(); - - System_String_t - System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Get'); - late final _System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Get = - _System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_GetPtr - .asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Set'); - late final _System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Set = - _System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_Globalization_NumberFormatInfo_NegativeSign_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NegativeSign_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NegativeSign_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NegativeSign_Get'); - late final _System_Globalization_NumberFormatInfo_NegativeSign_Get = - _System_Globalization_NumberFormatInfo_NegativeSign_GetPtr.asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_NegativeSign_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NegativeSign_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NegativeSign_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NegativeSign_Set'); - late final _System_Globalization_NumberFormatInfo_NegativeSign_Set = - _System_Globalization_NumberFormatInfo_NegativeSign_SetPtr.asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Globalization_NumberFormatInfo_NumberDecimalDigits_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NumberDecimalDigits_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NumberDecimalDigits_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NumberDecimalDigits_Get'); - late final _System_Globalization_NumberFormatInfo_NumberDecimalDigits_Get = - _System_Globalization_NumberFormatInfo_NumberDecimalDigits_GetPtr - .asFunction< - int Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_NumberDecimalDigits_Set( - System_Globalization_NumberFormatInfo_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NumberDecimalDigits_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NumberDecimalDigits_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NumberDecimalDigits_Set'); - late final _System_Globalization_NumberFormatInfo_NumberDecimalDigits_Set = - _System_Globalization_NumberFormatInfo_NumberDecimalDigits_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, int, - ffi.Pointer)>(); - - System_String_t - System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NumberDecimalSeparator_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Get'); - late final _System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Get = - _System_Globalization_NumberFormatInfo_NumberDecimalSeparator_GetPtr - .asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NumberDecimalSeparator_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Set'); - late final _System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Set = - _System_Globalization_NumberFormatInfo_NumberDecimalSeparator_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t - System_Globalization_NumberFormatInfo_NumberGroupSeparator_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NumberGroupSeparator_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NumberGroupSeparator_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NumberGroupSeparator_Get'); - late final _System_Globalization_NumberFormatInfo_NumberGroupSeparator_Get = - _System_Globalization_NumberFormatInfo_NumberGroupSeparator_GetPtr - .asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_NumberGroupSeparator_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NumberGroupSeparator_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NumberGroupSeparator_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NumberGroupSeparator_Set'); - late final _System_Globalization_NumberFormatInfo_NumberGroupSeparator_Set = - _System_Globalization_NumberFormatInfo_NumberGroupSeparator_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencyPositivePattern_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Get'); - late final _System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Get = - _System_Globalization_NumberFormatInfo_CurrencyPositivePattern_GetPtr - .asFunction< - int Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Set( - System_Globalization_NumberFormatInfo_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_CurrencyPositivePattern_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Set'); - late final _System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Set = - _System_Globalization_NumberFormatInfo_CurrencyPositivePattern_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, int, - ffi.Pointer)>(); - - System_String_t - System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Get'); - late final _System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Get = - _System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_GetPtr - .asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Set'); - late final _System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Set = - _System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_Globalization_NumberFormatInfo_PositiveSign_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PositiveSign_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PositiveSign_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PositiveSign_Get'); - late final _System_Globalization_NumberFormatInfo_PositiveSign_Get = - _System_Globalization_NumberFormatInfo_PositiveSign_GetPtr.asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_PositiveSign_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PositiveSign_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PositiveSign_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PositiveSign_Set'); - late final _System_Globalization_NumberFormatInfo_PositiveSign_Set = - _System_Globalization_NumberFormatInfo_PositiveSign_SetPtr.asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Globalization_NumberFormatInfo_PercentDecimalDigits_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentDecimalDigits_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentDecimalDigits_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentDecimalDigits_Get'); - late final _System_Globalization_NumberFormatInfo_PercentDecimalDigits_Get = - _System_Globalization_NumberFormatInfo_PercentDecimalDigits_GetPtr - .asFunction< - int Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_PercentDecimalDigits_Set( - System_Globalization_NumberFormatInfo_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentDecimalDigits_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentDecimalDigits_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentDecimalDigits_Set'); - late final _System_Globalization_NumberFormatInfo_PercentDecimalDigits_Set = - _System_Globalization_NumberFormatInfo_PercentDecimalDigits_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, int, - ffi.Pointer)>(); - - System_String_t - System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentDecimalSeparator_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Get'); - late final _System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Get = - _System_Globalization_NumberFormatInfo_PercentDecimalSeparator_GetPtr - .asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentDecimalSeparator_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Set'); - late final _System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Set = - _System_Globalization_NumberFormatInfo_PercentDecimalSeparator_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t - System_Globalization_NumberFormatInfo_PercentGroupSeparator_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentGroupSeparator_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentGroupSeparator_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentGroupSeparator_Get'); - late final _System_Globalization_NumberFormatInfo_PercentGroupSeparator_Get = - _System_Globalization_NumberFormatInfo_PercentGroupSeparator_GetPtr - .asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_PercentGroupSeparator_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentGroupSeparator_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentGroupSeparator_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentGroupSeparator_Set'); - late final _System_Globalization_NumberFormatInfo_PercentGroupSeparator_Set = - _System_Globalization_NumberFormatInfo_PercentGroupSeparator_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_Globalization_NumberFormatInfo_PercentSymbol_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentSymbol_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentSymbol_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentSymbol_Get'); - late final _System_Globalization_NumberFormatInfo_PercentSymbol_Get = - _System_Globalization_NumberFormatInfo_PercentSymbol_GetPtr.asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_PercentSymbol_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PercentSymbol_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PercentSymbol_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PercentSymbol_Set'); - late final _System_Globalization_NumberFormatInfo_PercentSymbol_Set = - _System_Globalization_NumberFormatInfo_PercentSymbol_SetPtr.asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_Globalization_NumberFormatInfo_PerMilleSymbol_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PerMilleSymbol_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PerMilleSymbol_GetPtr = - _lookup< - ffi - .NativeFunction< - System_String_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PerMilleSymbol_Get'); - late final _System_Globalization_NumberFormatInfo_PerMilleSymbol_Get = - _System_Globalization_NumberFormatInfo_PerMilleSymbol_GetPtr.asFunction< - System_String_t Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_PerMilleSymbol_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_PerMilleSymbol_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_PerMilleSymbol_SetPtr = - _lookup< - ffi - .NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_PerMilleSymbol_Set'); - late final _System_Globalization_NumberFormatInfo_PerMilleSymbol_Set = - _System_Globalization_NumberFormatInfo_PerMilleSymbol_SetPtr.asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_Array_t System_Globalization_NumberFormatInfo_NativeDigits_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NativeDigits_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NativeDigits_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NativeDigits_Get'); - late final _System_Globalization_NumberFormatInfo_NativeDigits_Get = - _System_Globalization_NumberFormatInfo_NativeDigits_GetPtr.asFunction< - System_String_Array_t Function( - System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_NativeDigits_Set( - System_Globalization_NumberFormatInfo_t self, - System_String_Array_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_NativeDigits_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_NativeDigits_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - System_String_Array_t, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_NativeDigits_Set'); - late final _System_Globalization_NumberFormatInfo_NativeDigits_Set = - _System_Globalization_NumberFormatInfo_NativeDigits_SetPtr.asFunction< - void Function(System_Globalization_NumberFormatInfo_t, - System_String_Array_t, ffi.Pointer)>(); - - int System_Globalization_NumberFormatInfo_DigitSubstitution_Get( - System_Globalization_NumberFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_DigitSubstitution_Get( - self, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_DigitSubstitution_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_DigitSubstitution_Get'); - late final _System_Globalization_NumberFormatInfo_DigitSubstitution_Get = - _System_Globalization_NumberFormatInfo_DigitSubstitution_GetPtr - .asFunction< - int Function(System_Globalization_NumberFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_NumberFormatInfo_DigitSubstitution_Set( - System_Globalization_NumberFormatInfo_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_NumberFormatInfo_DigitSubstitution_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_NumberFormatInfo_DigitSubstitution_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_NumberFormatInfo_DigitSubstitution_Set'); - late final _System_Globalization_NumberFormatInfo_DigitSubstitution_Set = - _System_Globalization_NumberFormatInfo_DigitSubstitution_SetPtr - .asFunction< - void Function(System_Globalization_NumberFormatInfo_t, int, - ffi.Pointer)>(); - - System_Type_t System_Globalization_NumberFormatInfo_TypeOf() { - return _System_Globalization_NumberFormatInfo_TypeOf(); - } - - late final _System_Globalization_NumberFormatInfo_TypeOfPtr = - _lookup>( - 'System_Globalization_NumberFormatInfo_TypeOf'); - late final _System_Globalization_NumberFormatInfo_TypeOf = - _System_Globalization_NumberFormatInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Globalization_NumberFormatInfo_Destroy( - System_Globalization_NumberFormatInfo_t self, - ) { - return _System_Globalization_NumberFormatInfo_Destroy( - self, - ); - } - - late final _System_Globalization_NumberFormatInfo_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_NumberFormatInfo_t)>>( - 'System_Globalization_NumberFormatInfo_Destroy'); - late final _System_Globalization_NumberFormatInfo_Destroy = - _System_Globalization_NumberFormatInfo_DestroyPtr.asFunction< - void Function(System_Globalization_NumberFormatInfo_t)>(); - - System_Globalization_DateTimeFormatInfo_t - System_Globalization_DateTimeFormatInfo_GetInstance( - System_IFormatProvider_t provider, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_GetInstance( - provider, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_GetInstancePtr = _lookup< - ffi.NativeFunction< - System_Globalization_DateTimeFormatInfo_t Function( - System_IFormatProvider_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_GetInstance'); - late final _System_Globalization_DateTimeFormatInfo_GetInstance = - _System_Globalization_DateTimeFormatInfo_GetInstancePtr.asFunction< - System_Globalization_DateTimeFormatInfo_t Function( - System_IFormatProvider_t, ffi.Pointer)>(); - - System_Object_t System_Globalization_DateTimeFormatInfo_GetFormat( - System_Globalization_DateTimeFormatInfo_t self, - System_Type_t formatType, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_GetFormat( - self, - formatType, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_GetFormatPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Globalization_DateTimeFormatInfo_t, - System_Type_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_GetFormat'); - late final _System_Globalization_DateTimeFormatInfo_GetFormat = - _System_Globalization_DateTimeFormatInfo_GetFormatPtr.asFunction< - System_Object_t Function(System_Globalization_DateTimeFormatInfo_t, - System_Type_t, ffi.Pointer)>(); - - System_Object_t System_Globalization_DateTimeFormatInfo_Clone( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_Clone( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_ClonePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_Clone'); - late final _System_Globalization_DateTimeFormatInfo_Clone = - _System_Globalization_DateTimeFormatInfo_ClonePtr.asFunction< - System_Object_t Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - int System_Globalization_DateTimeFormatInfo_GetEra( - System_Globalization_DateTimeFormatInfo_t self, - System_String_t eraName, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_GetEra( - self, - eraName, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_GetEraPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_GetEra'); - late final _System_Globalization_DateTimeFormatInfo_GetEra = - _System_Globalization_DateTimeFormatInfo_GetEraPtr.asFunction< - int Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_GetEraName( - System_Globalization_DateTimeFormatInfo_t self, - int era, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_GetEraName( - self, - era, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_GetEraNamePtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_GetEraName'); - late final _System_Globalization_DateTimeFormatInfo_GetEraName = - _System_Globalization_DateTimeFormatInfo_GetEraNamePtr.asFunction< - System_String_t Function(System_Globalization_DateTimeFormatInfo_t, - int, ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_GetAbbreviatedEraName( - System_Globalization_DateTimeFormatInfo_t self, - int era, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_GetAbbreviatedEraName( - self, - era, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_GetAbbreviatedEraNamePtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_GetAbbreviatedEraName'); - late final _System_Globalization_DateTimeFormatInfo_GetAbbreviatedEraName = - _System_Globalization_DateTimeFormatInfo_GetAbbreviatedEraNamePtr - .asFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - int, - ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_GetAbbreviatedDayName( - System_Globalization_DateTimeFormatInfo_t self, - int dayofweek, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_GetAbbreviatedDayName( - self, - dayofweek, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_GetAbbreviatedDayNamePtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_GetAbbreviatedDayName'); - late final _System_Globalization_DateTimeFormatInfo_GetAbbreviatedDayName = - _System_Globalization_DateTimeFormatInfo_GetAbbreviatedDayNamePtr - .asFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - int, - ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_GetShortestDayName( - System_Globalization_DateTimeFormatInfo_t self, - int dayOfWeek, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_GetShortestDayName( - self, - dayOfWeek, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_GetShortestDayNamePtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_GetShortestDayName'); - late final _System_Globalization_DateTimeFormatInfo_GetShortestDayName = - _System_Globalization_DateTimeFormatInfo_GetShortestDayNamePtr.asFunction< - System_String_t Function(System_Globalization_DateTimeFormatInfo_t, - int, ffi.Pointer)>(); - - System_String_Array_t - System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_GetAllDateTimePatternsPtr = - _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns'); - late final _System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns = - _System_Globalization_DateTimeFormatInfo_GetAllDateTimePatternsPtr - .asFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - System_String_Array_t - System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns_1( - System_Globalization_DateTimeFormatInfo_t self, - int format, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns_1( - self, - format, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns_1Ptr = - _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.WChar, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns_1'); - late final _System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns_1 = - _System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns_1Ptr - .asFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - int, - ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_GetDayName( - System_Globalization_DateTimeFormatInfo_t self, - int dayofweek, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_GetDayName( - self, - dayofweek, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_GetDayNamePtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_GetDayName'); - late final _System_Globalization_DateTimeFormatInfo_GetDayName = - _System_Globalization_DateTimeFormatInfo_GetDayNamePtr.asFunction< - System_String_t Function(System_Globalization_DateTimeFormatInfo_t, - int, ffi.Pointer)>(); - - System_String_t - System_Globalization_DateTimeFormatInfo_GetAbbreviatedMonthName( - System_Globalization_DateTimeFormatInfo_t self, - int month, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_GetAbbreviatedMonthName( - self, - month, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_GetAbbreviatedMonthNamePtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_GetAbbreviatedMonthName'); - late final _System_Globalization_DateTimeFormatInfo_GetAbbreviatedMonthName = - _System_Globalization_DateTimeFormatInfo_GetAbbreviatedMonthNamePtr - .asFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - int, - ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_GetMonthName( - System_Globalization_DateTimeFormatInfo_t self, - int month, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_GetMonthName( - self, - month, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_GetMonthNamePtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_GetMonthName'); - late final _System_Globalization_DateTimeFormatInfo_GetMonthName = - _System_Globalization_DateTimeFormatInfo_GetMonthNamePtr.asFunction< - System_String_t Function(System_Globalization_DateTimeFormatInfo_t, - int, ffi.Pointer)>(); - - System_Globalization_DateTimeFormatInfo_t - System_Globalization_DateTimeFormatInfo_ReadOnly( - System_Globalization_DateTimeFormatInfo_t dtfi, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_ReadOnly( - dtfi, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_ReadOnlyPtr = _lookup< - ffi.NativeFunction< - System_Globalization_DateTimeFormatInfo_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_ReadOnly'); - late final _System_Globalization_DateTimeFormatInfo_ReadOnly = - _System_Globalization_DateTimeFormatInfo_ReadOnlyPtr.asFunction< - System_Globalization_DateTimeFormatInfo_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_SetAllDateTimePatterns( - System_Globalization_DateTimeFormatInfo_t self, - System_String_Array_t patterns, - int format, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_SetAllDateTimePatterns( - self, - patterns, - format, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_SetAllDateTimePatternsPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, - ffi.WChar, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_SetAllDateTimePatterns'); - late final _System_Globalization_DateTimeFormatInfo_SetAllDateTimePatterns = - _System_Globalization_DateTimeFormatInfo_SetAllDateTimePatternsPtr - .asFunction< - void Function( - System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, - int, - ffi.Pointer)>(); - - System_Globalization_DateTimeFormatInfo_t - System_Globalization_DateTimeFormatInfo_Create( - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_Create( - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_CreatePtr = _lookup< - ffi.NativeFunction< - System_Globalization_DateTimeFormatInfo_t Function( - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_Create'); - late final _System_Globalization_DateTimeFormatInfo_Create = - _System_Globalization_DateTimeFormatInfo_CreatePtr.asFunction< - System_Globalization_DateTimeFormatInfo_t Function( - ffi.Pointer)>(); - - System_Globalization_DateTimeFormatInfo_t - System_Globalization_DateTimeFormatInfo_InvariantInfo_Get( - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_InvariantInfo_Get( - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_InvariantInfo_GetPtr = - _lookup< - ffi.NativeFunction< - System_Globalization_DateTimeFormatInfo_t Function( - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_InvariantInfo_Get'); - late final _System_Globalization_DateTimeFormatInfo_InvariantInfo_Get = - _System_Globalization_DateTimeFormatInfo_InvariantInfo_GetPtr.asFunction< - System_Globalization_DateTimeFormatInfo_t Function( - ffi.Pointer)>(); - - System_Globalization_DateTimeFormatInfo_t - System_Globalization_DateTimeFormatInfo_CurrentInfo_Get( - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_CurrentInfo_Get( - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_CurrentInfo_GetPtr = - _lookup< - ffi.NativeFunction< - System_Globalization_DateTimeFormatInfo_t Function( - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_CurrentInfo_Get'); - late final _System_Globalization_DateTimeFormatInfo_CurrentInfo_Get = - _System_Globalization_DateTimeFormatInfo_CurrentInfo_GetPtr.asFunction< - System_Globalization_DateTimeFormatInfo_t Function( - ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_AMDesignator_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_AMDesignator_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_AMDesignator_GetPtr = - _lookup< - ffi - .NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_AMDesignator_Get'); - late final _System_Globalization_DateTimeFormatInfo_AMDesignator_Get = - _System_Globalization_DateTimeFormatInfo_AMDesignator_GetPtr.asFunction< - System_String_t Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_AMDesignator_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_AMDesignator_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_AMDesignator_SetPtr = - _lookup< - ffi - .NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_AMDesignator_Set'); - late final _System_Globalization_DateTimeFormatInfo_AMDesignator_Set = - _System_Globalization_DateTimeFormatInfo_AMDesignator_SetPtr.asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_Globalization_Calendar_t - System_Globalization_DateTimeFormatInfo_Calendar_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_Calendar_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_Calendar_GetPtr = _lookup< - ffi.NativeFunction< - System_Globalization_Calendar_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_Calendar_Get'); - late final _System_Globalization_DateTimeFormatInfo_Calendar_Get = - _System_Globalization_DateTimeFormatInfo_Calendar_GetPtr.asFunction< - System_Globalization_Calendar_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_Calendar_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_Globalization_Calendar_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_Calendar_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_Calendar_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Globalization_DateTimeFormatInfo_t, - System_Globalization_Calendar_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_Calendar_Set'); - late final _System_Globalization_DateTimeFormatInfo_Calendar_Set = - _System_Globalization_DateTimeFormatInfo_Calendar_SetPtr.asFunction< - void Function( - System_Globalization_DateTimeFormatInfo_t, - System_Globalization_Calendar_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_DateSeparator_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_DateSeparator_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_DateSeparator_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_DateSeparator_Get'); - late final _System_Globalization_DateTimeFormatInfo_DateSeparator_Get = - _System_Globalization_DateTimeFormatInfo_DateSeparator_GetPtr.asFunction< - System_String_t Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_DateSeparator_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_DateSeparator_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_DateSeparator_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_DateSeparator_Set'); - late final _System_Globalization_DateTimeFormatInfo_DateSeparator_Set = - _System_Globalization_DateTimeFormatInfo_DateSeparator_SetPtr.asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - int System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Get'); - late final _System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Get = - _System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_GetPtr.asFunction< - int Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Set( - System_Globalization_DateTimeFormatInfo_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Set'); - late final _System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Set = - _System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_SetPtr.asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, int, - ffi.Pointer)>(); - - int System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_CalendarWeekRule_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Get'); - late final _System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Get = - _System_Globalization_DateTimeFormatInfo_CalendarWeekRule_GetPtr - .asFunction< - int Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Set( - System_Globalization_DateTimeFormatInfo_t self, - int value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_CalendarWeekRule_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Set'); - late final _System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Set = - _System_Globalization_DateTimeFormatInfo_CalendarWeekRule_SetPtr - .asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, int, - ffi.Pointer)>(); - - System_String_t - System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_FullDateTimePattern_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Get'); - late final _System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Get = - _System_Globalization_DateTimeFormatInfo_FullDateTimePattern_GetPtr - .asFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_FullDateTimePattern_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Set'); - late final _System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Set = - _System_Globalization_DateTimeFormatInfo_FullDateTimePattern_SetPtr - .asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_LongDatePattern_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_LongDatePattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_LongDatePattern_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_LongDatePattern_Get'); - late final _System_Globalization_DateTimeFormatInfo_LongDatePattern_Get = - _System_Globalization_DateTimeFormatInfo_LongDatePattern_GetPtr - .asFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_LongDatePattern_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_LongDatePattern_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_LongDatePattern_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_LongDatePattern_Set'); - late final _System_Globalization_DateTimeFormatInfo_LongDatePattern_Set = - _System_Globalization_DateTimeFormatInfo_LongDatePattern_SetPtr - .asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_LongTimePattern_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_LongTimePattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_LongTimePattern_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_LongTimePattern_Get'); - late final _System_Globalization_DateTimeFormatInfo_LongTimePattern_Get = - _System_Globalization_DateTimeFormatInfo_LongTimePattern_GetPtr - .asFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_LongTimePattern_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_LongTimePattern_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_LongTimePattern_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_LongTimePattern_Set'); - late final _System_Globalization_DateTimeFormatInfo_LongTimePattern_Set = - _System_Globalization_DateTimeFormatInfo_LongTimePattern_SetPtr - .asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_MonthDayPattern_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_MonthDayPattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_MonthDayPattern_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_MonthDayPattern_Get'); - late final _System_Globalization_DateTimeFormatInfo_MonthDayPattern_Get = - _System_Globalization_DateTimeFormatInfo_MonthDayPattern_GetPtr - .asFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_MonthDayPattern_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_MonthDayPattern_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_MonthDayPattern_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_MonthDayPattern_Set'); - late final _System_Globalization_DateTimeFormatInfo_MonthDayPattern_Set = - _System_Globalization_DateTimeFormatInfo_MonthDayPattern_SetPtr - .asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_PMDesignator_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_PMDesignator_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_PMDesignator_GetPtr = - _lookup< - ffi - .NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_PMDesignator_Get'); - late final _System_Globalization_DateTimeFormatInfo_PMDesignator_Get = - _System_Globalization_DateTimeFormatInfo_PMDesignator_GetPtr.asFunction< - System_String_t Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_PMDesignator_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_PMDesignator_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_PMDesignator_SetPtr = - _lookup< - ffi - .NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_PMDesignator_Set'); - late final _System_Globalization_DateTimeFormatInfo_PMDesignator_Set = - _System_Globalization_DateTimeFormatInfo_PMDesignator_SetPtr.asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_RFC1123Pattern_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_RFC1123Pattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_RFC1123Pattern_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_RFC1123Pattern_Get'); - late final _System_Globalization_DateTimeFormatInfo_RFC1123Pattern_Get = - _System_Globalization_DateTimeFormatInfo_RFC1123Pattern_GetPtr.asFunction< - System_String_t Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_ShortDatePattern_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_ShortDatePattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_ShortDatePattern_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_ShortDatePattern_Get'); - late final _System_Globalization_DateTimeFormatInfo_ShortDatePattern_Get = - _System_Globalization_DateTimeFormatInfo_ShortDatePattern_GetPtr - .asFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_ShortDatePattern_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_ShortDatePattern_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_ShortDatePattern_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_ShortDatePattern_Set'); - late final _System_Globalization_DateTimeFormatInfo_ShortDatePattern_Set = - _System_Globalization_DateTimeFormatInfo_ShortDatePattern_SetPtr - .asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_ShortTimePattern_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_ShortTimePattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_ShortTimePattern_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_ShortTimePattern_Get'); - late final _System_Globalization_DateTimeFormatInfo_ShortTimePattern_Get = - _System_Globalization_DateTimeFormatInfo_ShortTimePattern_GetPtr - .asFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_ShortTimePattern_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_ShortTimePattern_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_ShortTimePattern_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_ShortTimePattern_Set'); - late final _System_Globalization_DateTimeFormatInfo_ShortTimePattern_Set = - _System_Globalization_DateTimeFormatInfo_ShortTimePattern_SetPtr - .asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t - System_Globalization_DateTimeFormatInfo_SortableDateTimePattern_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_SortableDateTimePattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_SortableDateTimePattern_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_SortableDateTimePattern_Get'); - late final _System_Globalization_DateTimeFormatInfo_SortableDateTimePattern_Get = - _System_Globalization_DateTimeFormatInfo_SortableDateTimePattern_GetPtr - .asFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_TimeSeparator_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_TimeSeparator_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_TimeSeparator_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_TimeSeparator_Get'); - late final _System_Globalization_DateTimeFormatInfo_TimeSeparator_Get = - _System_Globalization_DateTimeFormatInfo_TimeSeparator_GetPtr.asFunction< - System_String_t Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_TimeSeparator_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_TimeSeparator_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_TimeSeparator_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_TimeSeparator_Set'); - late final _System_Globalization_DateTimeFormatInfo_TimeSeparator_Set = - _System_Globalization_DateTimeFormatInfo_TimeSeparator_SetPtr.asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_t - System_Globalization_DateTimeFormatInfo_UniversalSortableDateTimePattern_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_UniversalSortableDateTimePattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_UniversalSortableDateTimePattern_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_UniversalSortableDateTimePattern_Get'); - late final _System_Globalization_DateTimeFormatInfo_UniversalSortableDateTimePattern_Get = - _System_Globalization_DateTimeFormatInfo_UniversalSortableDateTimePattern_GetPtr - .asFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - System_String_t System_Globalization_DateTimeFormatInfo_YearMonthPattern_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_YearMonthPattern_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_YearMonthPattern_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_YearMonthPattern_Get'); - late final _System_Globalization_DateTimeFormatInfo_YearMonthPattern_Get = - _System_Globalization_DateTimeFormatInfo_YearMonthPattern_GetPtr - .asFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_YearMonthPattern_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_YearMonthPattern_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_YearMonthPattern_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_YearMonthPattern_Set'); - late final _System_Globalization_DateTimeFormatInfo_YearMonthPattern_Set = - _System_Globalization_DateTimeFormatInfo_YearMonthPattern_SetPtr - .asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_t, ffi.Pointer)>(); - - System_String_Array_t - System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Get'); - late final _System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Get = - _System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_GetPtr - .asFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_Array_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Set'); - late final _System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Set = - _System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_SetPtr - .asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>(); - - System_String_Array_t - System_Globalization_DateTimeFormatInfo_ShortestDayNames_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_ShortestDayNames_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_ShortestDayNames_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_ShortestDayNames_Get'); - late final _System_Globalization_DateTimeFormatInfo_ShortestDayNames_Get = - _System_Globalization_DateTimeFormatInfo_ShortestDayNames_GetPtr - .asFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_ShortestDayNames_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_Array_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_ShortestDayNames_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_ShortestDayNames_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_ShortestDayNames_Set'); - late final _System_Globalization_DateTimeFormatInfo_ShortestDayNames_Set = - _System_Globalization_DateTimeFormatInfo_ShortestDayNames_SetPtr - .asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>(); - - System_String_Array_t System_Globalization_DateTimeFormatInfo_DayNames_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_DayNames_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_DayNames_GetPtr = _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_DayNames_Get'); - late final _System_Globalization_DateTimeFormatInfo_DayNames_Get = - _System_Globalization_DateTimeFormatInfo_DayNames_GetPtr.asFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_DayNames_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_Array_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_DayNames_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_DayNames_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_DayNames_Set'); - late final _System_Globalization_DateTimeFormatInfo_DayNames_Set = - _System_Globalization_DateTimeFormatInfo_DayNames_SetPtr.asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>(); - - System_String_Array_t - System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Get'); - late final _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Get = - _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_GetPtr - .asFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_Array_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Set'); - late final _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Set = - _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_SetPtr - .asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>(); - - System_String_Array_t System_Globalization_DateTimeFormatInfo_MonthNames_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_MonthNames_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_MonthNames_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_MonthNames_Get'); - late final _System_Globalization_DateTimeFormatInfo_MonthNames_Get = - _System_Globalization_DateTimeFormatInfo_MonthNames_GetPtr.asFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_MonthNames_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_Array_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_MonthNames_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_MonthNames_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_MonthNames_Set'); - late final _System_Globalization_DateTimeFormatInfo_MonthNames_Set = - _System_Globalization_DateTimeFormatInfo_MonthNames_SetPtr.asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>(); - - bool System_Globalization_DateTimeFormatInfo_IsReadOnly_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_IsReadOnly_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_IsReadOnly_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_IsReadOnly_Get'); - late final _System_Globalization_DateTimeFormatInfo_IsReadOnly_Get = - _System_Globalization_DateTimeFormatInfo_IsReadOnly_GetPtr.asFunction< - bool Function(System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - System_String_t - System_Globalization_DateTimeFormatInfo_NativeCalendarName_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_NativeCalendarName_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_NativeCalendarName_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_NativeCalendarName_Get'); - late final _System_Globalization_DateTimeFormatInfo_NativeCalendarName_Get = - _System_Globalization_DateTimeFormatInfo_NativeCalendarName_GetPtr - .asFunction< - System_String_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - System_String_Array_t - System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Get'); - late final _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Get = - _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_GetPtr - .asFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void - System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_Array_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Set'); - late final _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Set = - _System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_SetPtr - .asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>(); - - System_String_Array_t - System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Get( - System_Globalization_DateTimeFormatInfo_t self, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Get( - self, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_GetPtr = - _lookup< - ffi.NativeFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Get'); - late final _System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Get = - _System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_GetPtr - .asFunction< - System_String_Array_t Function( - System_Globalization_DateTimeFormatInfo_t, - ffi.Pointer)>(); - - void System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Set( - System_Globalization_DateTimeFormatInfo_t self, - System_String_Array_t value, - ffi.Pointer outException, - ) { - return _System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Set( - self, - value, - outException, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>>( - 'System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Set'); - late final _System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Set = - _System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_SetPtr - .asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t, - System_String_Array_t, ffi.Pointer)>(); - - System_Type_t System_Globalization_DateTimeFormatInfo_TypeOf() { - return _System_Globalization_DateTimeFormatInfo_TypeOf(); - } - - late final _System_Globalization_DateTimeFormatInfo_TypeOfPtr = - _lookup>( - 'System_Globalization_DateTimeFormatInfo_TypeOf'); - late final _System_Globalization_DateTimeFormatInfo_TypeOf = - _System_Globalization_DateTimeFormatInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Globalization_DateTimeFormatInfo_Destroy( - System_Globalization_DateTimeFormatInfo_t self, - ) { - return _System_Globalization_DateTimeFormatInfo_Destroy( - self, - ); - } - - late final _System_Globalization_DateTimeFormatInfo_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Globalization_DateTimeFormatInfo_t)>>( - 'System_Globalization_DateTimeFormatInfo_Destroy'); - late final _System_Globalization_DateTimeFormatInfo_Destroy = - _System_Globalization_DateTimeFormatInfo_DestroyPtr.asFunction< - void Function(System_Globalization_DateTimeFormatInfo_t)>(); - - System_Object_t System_CharEnumerator_Clone( - System_CharEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_CharEnumerator_Clone( - self, - outException, - ); - } - - late final _System_CharEnumerator_ClonePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_CharEnumerator_t, - ffi.Pointer)>>('System_CharEnumerator_Clone'); - late final _System_CharEnumerator_Clone = - _System_CharEnumerator_ClonePtr.asFunction< - System_Object_t Function( - System_CharEnumerator_t, ffi.Pointer)>(); - - bool System_CharEnumerator_MoveNext( - System_CharEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_CharEnumerator_MoveNext( - self, - outException, - ); - } - - late final _System_CharEnumerator_MoveNextPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_CharEnumerator_t, ffi.Pointer)>>( - 'System_CharEnumerator_MoveNext'); - late final _System_CharEnumerator_MoveNext = - _System_CharEnumerator_MoveNextPtr.asFunction< - bool Function( - System_CharEnumerator_t, ffi.Pointer)>(); - - void System_CharEnumerator_Dispose( - System_CharEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_CharEnumerator_Dispose( - self, - outException, - ); - } - - late final _System_CharEnumerator_DisposePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_CharEnumerator_t, ffi.Pointer)>>( - 'System_CharEnumerator_Dispose'); - late final _System_CharEnumerator_Dispose = - _System_CharEnumerator_DisposePtr.asFunction< - void Function( - System_CharEnumerator_t, ffi.Pointer)>(); - - void System_CharEnumerator_Reset( - System_CharEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_CharEnumerator_Reset( - self, - outException, - ); - } - - late final _System_CharEnumerator_ResetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_CharEnumerator_t, - ffi.Pointer)>>('System_CharEnumerator_Reset'); - late final _System_CharEnumerator_Reset = - _System_CharEnumerator_ResetPtr.asFunction< - void Function( - System_CharEnumerator_t, ffi.Pointer)>(); - - int System_CharEnumerator_Current_Get( - System_CharEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_CharEnumerator_Current_Get( - self, - outException, - ); - } - - late final _System_CharEnumerator_Current_GetPtr = _lookup< - ffi.NativeFunction< - ffi.WChar Function( - System_CharEnumerator_t, ffi.Pointer)>>( - 'System_CharEnumerator_Current_Get'); - late final _System_CharEnumerator_Current_Get = - _System_CharEnumerator_Current_GetPtr.asFunction< - int Function( - System_CharEnumerator_t, ffi.Pointer)>(); - - System_Type_t System_CharEnumerator_TypeOf() { - return _System_CharEnumerator_TypeOf(); - } - - late final _System_CharEnumerator_TypeOfPtr = - _lookup>( - 'System_CharEnumerator_TypeOf'); - late final _System_CharEnumerator_TypeOf = - _System_CharEnumerator_TypeOfPtr.asFunction(); - - void System_CharEnumerator_Destroy( - System_CharEnumerator_t self, - ) { - return _System_CharEnumerator_Destroy( - self, - ); - } - - late final _System_CharEnumerator_DestroyPtr = - _lookup>( - 'System_CharEnumerator_Destroy'); - late final _System_CharEnumerator_Destroy = _System_CharEnumerator_DestroyPtr - .asFunction(); - - System_Text_StringRuneEnumerator_t - System_Text_StringRuneEnumerator_GetEnumerator( - System_Text_StringRuneEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Text_StringRuneEnumerator_GetEnumerator( - self, - outException, - ); - } - - late final _System_Text_StringRuneEnumerator_GetEnumeratorPtr = _lookup< - ffi.NativeFunction< - System_Text_StringRuneEnumerator_t Function( - System_Text_StringRuneEnumerator_t, - ffi.Pointer)>>( - 'System_Text_StringRuneEnumerator_GetEnumerator'); - late final _System_Text_StringRuneEnumerator_GetEnumerator = - _System_Text_StringRuneEnumerator_GetEnumeratorPtr.asFunction< - System_Text_StringRuneEnumerator_t Function( - System_Text_StringRuneEnumerator_t, - ffi.Pointer)>(); - - bool System_Text_StringRuneEnumerator_MoveNext( - System_Text_StringRuneEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Text_StringRuneEnumerator_MoveNext( - self, - outException, - ); - } - - late final _System_Text_StringRuneEnumerator_MoveNextPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_StringRuneEnumerator_t, - ffi.Pointer)>>( - 'System_Text_StringRuneEnumerator_MoveNext'); - late final _System_Text_StringRuneEnumerator_MoveNext = - _System_Text_StringRuneEnumerator_MoveNextPtr.asFunction< - bool Function(System_Text_StringRuneEnumerator_t, - ffi.Pointer)>(); - - System_Text_Rune_t System_Text_StringRuneEnumerator_Current_Get( - System_Text_StringRuneEnumerator_t self, - ffi.Pointer outException, - ) { - return _System_Text_StringRuneEnumerator_Current_Get( - self, - outException, - ); - } - - late final _System_Text_StringRuneEnumerator_Current_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_Rune_t Function(System_Text_StringRuneEnumerator_t, - ffi.Pointer)>>( - 'System_Text_StringRuneEnumerator_Current_Get'); - late final _System_Text_StringRuneEnumerator_Current_Get = - _System_Text_StringRuneEnumerator_Current_GetPtr.asFunction< - System_Text_Rune_t Function(System_Text_StringRuneEnumerator_t, - ffi.Pointer)>(); - - System_Text_StringRuneEnumerator_t System_Text_StringRuneEnumerator_Create( - ffi.Pointer outException, - ) { - return _System_Text_StringRuneEnumerator_Create( - outException, - ); - } - - late final _System_Text_StringRuneEnumerator_CreatePtr = _lookup< - ffi.NativeFunction< - System_Text_StringRuneEnumerator_t Function( - ffi.Pointer)>>( - 'System_Text_StringRuneEnumerator_Create'); - late final _System_Text_StringRuneEnumerator_Create = - _System_Text_StringRuneEnumerator_CreatePtr.asFunction< - System_Text_StringRuneEnumerator_t Function( - ffi.Pointer)>(); - - System_Type_t System_Text_StringRuneEnumerator_TypeOf() { - return _System_Text_StringRuneEnumerator_TypeOf(); - } - - late final _System_Text_StringRuneEnumerator_TypeOfPtr = - _lookup>( - 'System_Text_StringRuneEnumerator_TypeOf'); - late final _System_Text_StringRuneEnumerator_TypeOf = - _System_Text_StringRuneEnumerator_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Text_StringRuneEnumerator_Destroy( - System_Text_StringRuneEnumerator_t self, - ) { - return _System_Text_StringRuneEnumerator_Destroy( - self, - ); - } - - late final _System_Text_StringRuneEnumerator_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Text_StringRuneEnumerator_t)>>( - 'System_Text_StringRuneEnumerator_Destroy'); - late final _System_Text_StringRuneEnumerator_Destroy = - _System_Text_StringRuneEnumerator_DestroyPtr.asFunction< - void Function(System_Text_StringRuneEnumerator_t)>(); - - System_Text_CompositeFormat_t System_Text_CompositeFormat_Parse( - System_String_t format, - ffi.Pointer outException, - ) { - return _System_Text_CompositeFormat_Parse( - format, - outException, - ); - } - - late final _System_Text_CompositeFormat_ParsePtr = _lookup< - ffi.NativeFunction< - System_Text_CompositeFormat_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Text_CompositeFormat_Parse'); - late final _System_Text_CompositeFormat_Parse = - _System_Text_CompositeFormat_ParsePtr.asFunction< - System_Text_CompositeFormat_t Function( - System_String_t, ffi.Pointer)>(); - - System_String_t System_Text_CompositeFormat_Format_Get( - System_Text_CompositeFormat_t self, - ffi.Pointer outException, - ) { - return _System_Text_CompositeFormat_Format_Get( - self, - outException, - ); - } - - late final _System_Text_CompositeFormat_Format_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Text_CompositeFormat_t, - ffi.Pointer)>>( - 'System_Text_CompositeFormat_Format_Get'); - late final _System_Text_CompositeFormat_Format_Get = - _System_Text_CompositeFormat_Format_GetPtr.asFunction< - System_String_t Function(System_Text_CompositeFormat_t, - ffi.Pointer)>(); - - int System_Text_CompositeFormat_MinimumArgumentCount_Get( - System_Text_CompositeFormat_t self, - ffi.Pointer outException, - ) { - return _System_Text_CompositeFormat_MinimumArgumentCount_Get( - self, - outException, - ); - } - - late final _System_Text_CompositeFormat_MinimumArgumentCount_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_CompositeFormat_t, - ffi.Pointer)>>( - 'System_Text_CompositeFormat_MinimumArgumentCount_Get'); - late final _System_Text_CompositeFormat_MinimumArgumentCount_Get = - _System_Text_CompositeFormat_MinimumArgumentCount_GetPtr.asFunction< - int Function(System_Text_CompositeFormat_t, - ffi.Pointer)>(); - - System_Type_t System_Text_CompositeFormat_TypeOf() { - return _System_Text_CompositeFormat_TypeOf(); - } - - late final _System_Text_CompositeFormat_TypeOfPtr = - _lookup>( - 'System_Text_CompositeFormat_TypeOf'); - late final _System_Text_CompositeFormat_TypeOf = - _System_Text_CompositeFormat_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Text_CompositeFormat_Destroy( - System_Text_CompositeFormat_t self, - ) { - return _System_Text_CompositeFormat_Destroy( - self, - ); - } - - late final _System_Text_CompositeFormat_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_Text_CompositeFormat_Destroy'); - late final _System_Text_CompositeFormat_Destroy = - _System_Text_CompositeFormat_DestroyPtr.asFunction< - void Function(System_Text_CompositeFormat_t)>(); - - System_Byte_Array_t System_Text_Encoding_Convert( - System_Text_Encoding_t srcEncoding, - System_Text_Encoding_t dstEncoding, - System_Byte_Array_t bytes, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_Convert( - srcEncoding, - dstEncoding, - bytes, - outException, - ); - } - - late final _System_Text_Encoding_ConvertPtr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function( - System_Text_Encoding_t, - System_Text_Encoding_t, - System_Byte_Array_t, - ffi.Pointer)>>( - 'System_Text_Encoding_Convert'); - late final _System_Text_Encoding_Convert = - _System_Text_Encoding_ConvertPtr.asFunction< - System_Byte_Array_t Function( - System_Text_Encoding_t, - System_Text_Encoding_t, - System_Byte_Array_t, - ffi.Pointer)>(); - - System_Byte_Array_t System_Text_Encoding_Convert_1( - System_Text_Encoding_t srcEncoding, - System_Text_Encoding_t dstEncoding, - System_Byte_Array_t bytes, - int index, - int count, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_Convert_1( - srcEncoding, - dstEncoding, - bytes, - index, - count, - outException, - ); - } - - late final _System_Text_Encoding_Convert_1Ptr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function( - System_Text_Encoding_t, - System_Text_Encoding_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Text_Encoding_Convert_1'); - late final _System_Text_Encoding_Convert_1 = - _System_Text_Encoding_Convert_1Ptr.asFunction< - System_Byte_Array_t Function( - System_Text_Encoding_t, - System_Text_Encoding_t, - System_Byte_Array_t, - int, - int, - ffi.Pointer)>(); - - void System_Text_Encoding_RegisterProvider( - System_Text_EncodingProvider_t provider, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_RegisterProvider( - provider, - outException, - ); - } - - late final _System_Text_Encoding_RegisterProviderPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Text_EncodingProvider_t, - ffi.Pointer)>>( - 'System_Text_Encoding_RegisterProvider'); - late final _System_Text_Encoding_RegisterProvider = - _System_Text_Encoding_RegisterProviderPtr.asFunction< - void Function(System_Text_EncodingProvider_t, - ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_Encoding_GetEncoding( - int codepage, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetEncoding( - codepage, - outException, - ); - } - - late final _System_Text_Encoding_GetEncodingPtr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Text_Encoding_GetEncoding'); - late final _System_Text_Encoding_GetEncoding = - _System_Text_Encoding_GetEncodingPtr.asFunction< - System_Text_Encoding_t Function( - int, ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_Encoding_GetEncoding_1( - int codepage, - System_Text_EncoderFallback_t encoderFallback, - System_Text_DecoderFallback_t decoderFallback, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetEncoding_1( - codepage, - encoderFallback, - decoderFallback, - outException, - ); - } - - late final _System_Text_Encoding_GetEncoding_1Ptr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - ffi.Int32, - System_Text_EncoderFallback_t, - System_Text_DecoderFallback_t, - ffi.Pointer)>>( - 'System_Text_Encoding_GetEncoding_1'); - late final _System_Text_Encoding_GetEncoding_1 = - _System_Text_Encoding_GetEncoding_1Ptr.asFunction< - System_Text_Encoding_t Function( - int, - System_Text_EncoderFallback_t, - System_Text_DecoderFallback_t, - ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_Encoding_GetEncoding_2( - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetEncoding_2( - name, - outException, - ); - } - - late final _System_Text_Encoding_GetEncoding_2Ptr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Text_Encoding_GetEncoding_2'); - late final _System_Text_Encoding_GetEncoding_2 = - _System_Text_Encoding_GetEncoding_2Ptr.asFunction< - System_Text_Encoding_t Function( - System_String_t, ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_Encoding_GetEncoding_3( - System_String_t name, - System_Text_EncoderFallback_t encoderFallback, - System_Text_DecoderFallback_t decoderFallback, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetEncoding_3( - name, - encoderFallback, - decoderFallback, - outException, - ); - } - - late final _System_Text_Encoding_GetEncoding_3Ptr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - System_String_t, - System_Text_EncoderFallback_t, - System_Text_DecoderFallback_t, - ffi.Pointer)>>( - 'System_Text_Encoding_GetEncoding_3'); - late final _System_Text_Encoding_GetEncoding_3 = - _System_Text_Encoding_GetEncoding_3Ptr.asFunction< - System_Text_Encoding_t Function( - System_String_t, - System_Text_EncoderFallback_t, - System_Text_DecoderFallback_t, - ffi.Pointer)>(); - - System_Text_EncodingInfo_Array_t System_Text_Encoding_GetEncodings( - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetEncodings( - outException, - ); - } - - late final _System_Text_Encoding_GetEncodingsPtr = _lookup< - ffi.NativeFunction< - System_Text_EncodingInfo_Array_t Function( - ffi.Pointer)>>( - 'System_Text_Encoding_GetEncodings'); - late final _System_Text_Encoding_GetEncodings = - _System_Text_Encoding_GetEncodingsPtr.asFunction< - System_Text_EncodingInfo_Array_t Function( - ffi.Pointer)>(); - - System_Byte_Array_t System_Text_Encoding_GetPreamble( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetPreamble( - self, - outException, - ); - } - - late final _System_Text_Encoding_GetPreamblePtr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_GetPreamble'); - late final _System_Text_Encoding_GetPreamble = - _System_Text_Encoding_GetPreamblePtr.asFunction< - System_Byte_Array_t Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - System_Object_t System_Text_Encoding_Clone( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_Clone( - self, - outException, - ); - } - - late final _System_Text_Encoding_ClonePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Text_Encoding_t, - ffi.Pointer)>>('System_Text_Encoding_Clone'); - late final _System_Text_Encoding_Clone = - _System_Text_Encoding_ClonePtr.asFunction< - System_Object_t Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - int System_Text_Encoding_GetByteCount( - System_Text_Encoding_t self, - System_Char_Array_t chars, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetByteCount( - self, - chars, - outException, - ); - } - - late final _System_Text_Encoding_GetByteCountPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_Encoding_t, System_Char_Array_t, - ffi.Pointer)>>( - 'System_Text_Encoding_GetByteCount'); - late final _System_Text_Encoding_GetByteCount = - _System_Text_Encoding_GetByteCountPtr.asFunction< - int Function(System_Text_Encoding_t, System_Char_Array_t, - ffi.Pointer)>(); - - int System_Text_Encoding_GetByteCount_1( - System_Text_Encoding_t self, - System_String_t s, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetByteCount_1( - self, - s, - outException, - ); - } - - late final _System_Text_Encoding_GetByteCount_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_Encoding_t, System_String_t, - ffi.Pointer)>>( - 'System_Text_Encoding_GetByteCount_1'); - late final _System_Text_Encoding_GetByteCount_1 = - _System_Text_Encoding_GetByteCount_1Ptr.asFunction< - int Function(System_Text_Encoding_t, System_String_t, - ffi.Pointer)>(); - - int System_Text_Encoding_GetByteCount_2( - System_Text_Encoding_t self, - System_Char_Array_t chars, - int index, - int count, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetByteCount_2( - self, - chars, - index, - count, - outException, - ); - } - - late final _System_Text_Encoding_GetByteCount_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_Encoding_t, System_Char_Array_t, - ffi.Int32, ffi.Int32, ffi.Pointer)>>( - 'System_Text_Encoding_GetByteCount_2'); - late final _System_Text_Encoding_GetByteCount_2 = - _System_Text_Encoding_GetByteCount_2Ptr.asFunction< - int Function(System_Text_Encoding_t, System_Char_Array_t, int, int, - ffi.Pointer)>(); - - int System_Text_Encoding_GetByteCount_3( - System_Text_Encoding_t self, - System_String_t s, - int index, - int count, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetByteCount_3( - self, - s, - index, - count, - outException, - ); - } - - late final _System_Text_Encoding_GetByteCount_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_Encoding_t, System_String_t, - ffi.Int32, ffi.Int32, ffi.Pointer)>>( - 'System_Text_Encoding_GetByteCount_3'); - late final _System_Text_Encoding_GetByteCount_3 = - _System_Text_Encoding_GetByteCount_3Ptr.asFunction< - int Function(System_Text_Encoding_t, System_String_t, int, int, - ffi.Pointer)>(); - - System_Byte_Array_t System_Text_Encoding_GetBytes( - System_Text_Encoding_t self, - System_Char_Array_t chars, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetBytes( - self, - chars, - outException, - ); - } - - late final _System_Text_Encoding_GetBytesPtr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function(System_Text_Encoding_t, - System_Char_Array_t, ffi.Pointer)>>( - 'System_Text_Encoding_GetBytes'); - late final _System_Text_Encoding_GetBytes = - _System_Text_Encoding_GetBytesPtr.asFunction< - System_Byte_Array_t Function(System_Text_Encoding_t, - System_Char_Array_t, ffi.Pointer)>(); - - System_Byte_Array_t System_Text_Encoding_GetBytes_1( - System_Text_Encoding_t self, - System_Char_Array_t chars, - int index, - int count, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetBytes_1( - self, - chars, - index, - count, - outException, - ); - } - - late final _System_Text_Encoding_GetBytes_1Ptr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function( - System_Text_Encoding_t, - System_Char_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Text_Encoding_GetBytes_1'); - late final _System_Text_Encoding_GetBytes_1 = - _System_Text_Encoding_GetBytes_1Ptr.asFunction< - System_Byte_Array_t Function( - System_Text_Encoding_t, - System_Char_Array_t, - int, - int, - ffi.Pointer)>(); - - int System_Text_Encoding_GetBytes_2( - System_Text_Encoding_t self, - System_Char_Array_t chars, - int charIndex, - int charCount, - System_Byte_Array_t bytes, - int byteIndex, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetBytes_2( - self, - chars, - charIndex, - charCount, - bytes, - byteIndex, - outException, - ); - } - - late final _System_Text_Encoding_GetBytes_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Encoding_t, - System_Char_Array_t, - ffi.Int32, - ffi.Int32, - System_Byte_Array_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Text_Encoding_GetBytes_2'); - late final _System_Text_Encoding_GetBytes_2 = - _System_Text_Encoding_GetBytes_2Ptr.asFunction< - int Function(System_Text_Encoding_t, System_Char_Array_t, int, int, - System_Byte_Array_t, int, ffi.Pointer)>(); - - System_Byte_Array_t System_Text_Encoding_GetBytes_3( - System_Text_Encoding_t self, - System_String_t s, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetBytes_3( - self, - s, - outException, - ); - } - - late final _System_Text_Encoding_GetBytes_3Ptr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function(System_Text_Encoding_t, - System_String_t, ffi.Pointer)>>( - 'System_Text_Encoding_GetBytes_3'); - late final _System_Text_Encoding_GetBytes_3 = - _System_Text_Encoding_GetBytes_3Ptr.asFunction< - System_Byte_Array_t Function(System_Text_Encoding_t, System_String_t, - ffi.Pointer)>(); - - System_Byte_Array_t System_Text_Encoding_GetBytes_4( - System_Text_Encoding_t self, - System_String_t s, - int index, - int count, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetBytes_4( - self, - s, - index, - count, - outException, - ); - } - - late final _System_Text_Encoding_GetBytes_4Ptr = _lookup< - ffi.NativeFunction< - System_Byte_Array_t Function( - System_Text_Encoding_t, - System_String_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Text_Encoding_GetBytes_4'); - late final _System_Text_Encoding_GetBytes_4 = - _System_Text_Encoding_GetBytes_4Ptr.asFunction< - System_Byte_Array_t Function(System_Text_Encoding_t, System_String_t, - int, int, ffi.Pointer)>(); - - int System_Text_Encoding_GetBytes_5( - System_Text_Encoding_t self, - System_String_t s, - int charIndex, - int charCount, - System_Byte_Array_t bytes, - int byteIndex, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetBytes_5( - self, - s, - charIndex, - charCount, - bytes, - byteIndex, - outException, - ); - } - - late final _System_Text_Encoding_GetBytes_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Encoding_t, - System_String_t, - ffi.Int32, - ffi.Int32, - System_Byte_Array_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Text_Encoding_GetBytes_5'); - late final _System_Text_Encoding_GetBytes_5 = - _System_Text_Encoding_GetBytes_5Ptr.asFunction< - int Function(System_Text_Encoding_t, System_String_t, int, int, - System_Byte_Array_t, int, ffi.Pointer)>(); - - int System_Text_Encoding_GetCharCount( - System_Text_Encoding_t self, - System_Byte_Array_t bytes, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetCharCount( - self, - bytes, - outException, - ); - } - - late final _System_Text_Encoding_GetCharCountPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_Encoding_t, System_Byte_Array_t, - ffi.Pointer)>>( - 'System_Text_Encoding_GetCharCount'); - late final _System_Text_Encoding_GetCharCount = - _System_Text_Encoding_GetCharCountPtr.asFunction< - int Function(System_Text_Encoding_t, System_Byte_Array_t, - ffi.Pointer)>(); - - int System_Text_Encoding_GetCharCount_1( - System_Text_Encoding_t self, - System_Byte_Array_t bytes, - int index, - int count, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetCharCount_1( - self, - bytes, - index, - count, - outException, - ); - } - - late final _System_Text_Encoding_GetCharCount_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_Encoding_t, System_Byte_Array_t, - ffi.Int32, ffi.Int32, ffi.Pointer)>>( - 'System_Text_Encoding_GetCharCount_1'); - late final _System_Text_Encoding_GetCharCount_1 = - _System_Text_Encoding_GetCharCount_1Ptr.asFunction< - int Function(System_Text_Encoding_t, System_Byte_Array_t, int, int, - ffi.Pointer)>(); - - System_Char_Array_t System_Text_Encoding_GetChars( - System_Text_Encoding_t self, - System_Byte_Array_t bytes, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetChars( - self, - bytes, - outException, - ); - } - - late final _System_Text_Encoding_GetCharsPtr = _lookup< - ffi.NativeFunction< - System_Char_Array_t Function(System_Text_Encoding_t, - System_Byte_Array_t, ffi.Pointer)>>( - 'System_Text_Encoding_GetChars'); - late final _System_Text_Encoding_GetChars = - _System_Text_Encoding_GetCharsPtr.asFunction< - System_Char_Array_t Function(System_Text_Encoding_t, - System_Byte_Array_t, ffi.Pointer)>(); - - System_Char_Array_t System_Text_Encoding_GetChars_1( - System_Text_Encoding_t self, - System_Byte_Array_t bytes, - int index, - int count, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetChars_1( - self, - bytes, - index, - count, - outException, - ); - } - - late final _System_Text_Encoding_GetChars_1Ptr = _lookup< - ffi.NativeFunction< - System_Char_Array_t Function( - System_Text_Encoding_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Text_Encoding_GetChars_1'); - late final _System_Text_Encoding_GetChars_1 = - _System_Text_Encoding_GetChars_1Ptr.asFunction< - System_Char_Array_t Function( - System_Text_Encoding_t, - System_Byte_Array_t, - int, - int, - ffi.Pointer)>(); - - int System_Text_Encoding_GetChars_2( - System_Text_Encoding_t self, - System_Byte_Array_t bytes, - int byteIndex, - int byteCount, - System_Char_Array_t chars, - int charIndex, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetChars_2( - self, - bytes, - byteIndex, - byteCount, - chars, - charIndex, - outException, - ); - } - - late final _System_Text_Encoding_GetChars_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Encoding_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - System_Char_Array_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Text_Encoding_GetChars_2'); - late final _System_Text_Encoding_GetChars_2 = - _System_Text_Encoding_GetChars_2Ptr.asFunction< - int Function(System_Text_Encoding_t, System_Byte_Array_t, int, int, - System_Char_Array_t, int, ffi.Pointer)>(); - - bool System_Text_Encoding_IsAlwaysNormalized( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_IsAlwaysNormalized( - self, - outException, - ); - } - - late final _System_Text_Encoding_IsAlwaysNormalizedPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_IsAlwaysNormalized'); - late final _System_Text_Encoding_IsAlwaysNormalized = - _System_Text_Encoding_IsAlwaysNormalizedPtr.asFunction< - bool Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - bool System_Text_Encoding_IsAlwaysNormalized_1( - System_Text_Encoding_t self, - int form, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_IsAlwaysNormalized_1( - self, - form, - outException, - ); - } - - late final _System_Text_Encoding_IsAlwaysNormalized_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_Encoding_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Text_Encoding_IsAlwaysNormalized_1'); - late final _System_Text_Encoding_IsAlwaysNormalized_1 = - _System_Text_Encoding_IsAlwaysNormalized_1Ptr.asFunction< - bool Function( - System_Text_Encoding_t, int, ffi.Pointer)>(); - - System_Text_Decoder_t System_Text_Encoding_GetDecoder( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetDecoder( - self, - outException, - ); - } - - late final _System_Text_Encoding_GetDecoderPtr = _lookup< - ffi.NativeFunction< - System_Text_Decoder_t Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_GetDecoder'); - late final _System_Text_Encoding_GetDecoder = - _System_Text_Encoding_GetDecoderPtr.asFunction< - System_Text_Decoder_t Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - System_Text_Encoder_t System_Text_Encoding_GetEncoder( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetEncoder( - self, - outException, - ); - } - - late final _System_Text_Encoding_GetEncoderPtr = _lookup< - ffi.NativeFunction< - System_Text_Encoder_t Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_GetEncoder'); - late final _System_Text_Encoding_GetEncoder = - _System_Text_Encoding_GetEncoderPtr.asFunction< - System_Text_Encoder_t Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - int System_Text_Encoding_GetMaxByteCount( - System_Text_Encoding_t self, - int charCount, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetMaxByteCount( - self, - charCount, - outException, - ); - } - - late final _System_Text_Encoding_GetMaxByteCountPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_Encoding_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Text_Encoding_GetMaxByteCount'); - late final _System_Text_Encoding_GetMaxByteCount = - _System_Text_Encoding_GetMaxByteCountPtr.asFunction< - int Function( - System_Text_Encoding_t, int, ffi.Pointer)>(); - - int System_Text_Encoding_GetMaxCharCount( - System_Text_Encoding_t self, - int byteCount, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetMaxCharCount( - self, - byteCount, - outException, - ); - } - - late final _System_Text_Encoding_GetMaxCharCountPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_Encoding_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Text_Encoding_GetMaxCharCount'); - late final _System_Text_Encoding_GetMaxCharCount = - _System_Text_Encoding_GetMaxCharCountPtr.asFunction< - int Function( - System_Text_Encoding_t, int, ffi.Pointer)>(); - - System_String_t System_Text_Encoding_GetString( - System_Text_Encoding_t self, - System_Byte_Array_t bytes, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetString( - self, - bytes, - outException, - ); - } - - late final _System_Text_Encoding_GetStringPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Text_Encoding_t, - System_Byte_Array_t, ffi.Pointer)>>( - 'System_Text_Encoding_GetString'); - late final _System_Text_Encoding_GetString = - _System_Text_Encoding_GetStringPtr.asFunction< - System_String_t Function(System_Text_Encoding_t, System_Byte_Array_t, - ffi.Pointer)>(); - - System_String_t System_Text_Encoding_GetString_1( - System_Text_Encoding_t self, - System_Byte_Array_t bytes, - int index, - int count, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetString_1( - self, - bytes, - index, - count, - outException, - ); - } - - late final _System_Text_Encoding_GetString_1Ptr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Text_Encoding_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>( - 'System_Text_Encoding_GetString_1'); - late final _System_Text_Encoding_GetString_1 = - _System_Text_Encoding_GetString_1Ptr.asFunction< - System_String_t Function(System_Text_Encoding_t, System_Byte_Array_t, - int, int, ffi.Pointer)>(); - - bool System_Text_Encoding_Equals( - System_Text_Encoding_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_Equals( - self, - value, - outException, - ); - } - - late final _System_Text_Encoding_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_Encoding_t, System_Object_t, - ffi.Pointer)>>('System_Text_Encoding_Equals'); - late final _System_Text_Encoding_Equals = - _System_Text_Encoding_EqualsPtr.asFunction< - bool Function(System_Text_Encoding_t, System_Object_t, - ffi.Pointer)>(); - - int System_Text_Encoding_GetHashCode( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_GetHashCode( - self, - outException, - ); - } - - late final _System_Text_Encoding_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_GetHashCode'); - late final _System_Text_Encoding_GetHashCode = - _System_Text_Encoding_GetHashCodePtr.asFunction< - int Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - System_IO_Stream_t System_Text_Encoding_CreateTranscodingStream( - System_IO_Stream_t innerStream, - System_Text_Encoding_t innerStreamEncoding, - System_Text_Encoding_t outerStreamEncoding, - bool leaveOpen, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_CreateTranscodingStream( - innerStream, - innerStreamEncoding, - outerStreamEncoding, - leaveOpen, - outException, - ); - } - - late final _System_Text_Encoding_CreateTranscodingStreamPtr = _lookup< - ffi.NativeFunction< - System_IO_Stream_t Function( - System_IO_Stream_t, - System_Text_Encoding_t, - System_Text_Encoding_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Text_Encoding_CreateTranscodingStream'); - late final _System_Text_Encoding_CreateTranscodingStream = - _System_Text_Encoding_CreateTranscodingStreamPtr.asFunction< - System_IO_Stream_t Function( - System_IO_Stream_t, - System_Text_Encoding_t, - System_Text_Encoding_t, - bool, - ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_Encoding_Default_Get( - ffi.Pointer outException, - ) { - return _System_Text_Encoding_Default_Get( - outException, - ); - } - - late final _System_Text_Encoding_Default_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - ffi.Pointer)>>( - 'System_Text_Encoding_Default_Get'); - late final _System_Text_Encoding_Default_Get = - _System_Text_Encoding_Default_GetPtr.asFunction< - System_Text_Encoding_t Function(ffi.Pointer)>(); - - System_String_t System_Text_Encoding_BodyName_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_BodyName_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_BodyName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_BodyName_Get'); - late final _System_Text_Encoding_BodyName_Get = - _System_Text_Encoding_BodyName_GetPtr.asFunction< - System_String_t Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - System_String_t System_Text_Encoding_EncodingName_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_EncodingName_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_EncodingName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_EncodingName_Get'); - late final _System_Text_Encoding_EncodingName_Get = - _System_Text_Encoding_EncodingName_GetPtr.asFunction< - System_String_t Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - System_String_t System_Text_Encoding_HeaderName_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_HeaderName_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_HeaderName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_HeaderName_Get'); - late final _System_Text_Encoding_HeaderName_Get = - _System_Text_Encoding_HeaderName_GetPtr.asFunction< - System_String_t Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - System_String_t System_Text_Encoding_WebName_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_WebName_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_WebName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_WebName_Get'); - late final _System_Text_Encoding_WebName_Get = - _System_Text_Encoding_WebName_GetPtr.asFunction< - System_String_t Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - int System_Text_Encoding_WindowsCodePage_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_WindowsCodePage_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_WindowsCodePage_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_WindowsCodePage_Get'); - late final _System_Text_Encoding_WindowsCodePage_Get = - _System_Text_Encoding_WindowsCodePage_GetPtr.asFunction< - int Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - bool System_Text_Encoding_IsBrowserDisplay_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_IsBrowserDisplay_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_IsBrowserDisplay_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_IsBrowserDisplay_Get'); - late final _System_Text_Encoding_IsBrowserDisplay_Get = - _System_Text_Encoding_IsBrowserDisplay_GetPtr.asFunction< - bool Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - bool System_Text_Encoding_IsBrowserSave_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_IsBrowserSave_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_IsBrowserSave_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_IsBrowserSave_Get'); - late final _System_Text_Encoding_IsBrowserSave_Get = - _System_Text_Encoding_IsBrowserSave_GetPtr.asFunction< - bool Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - bool System_Text_Encoding_IsMailNewsDisplay_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_IsMailNewsDisplay_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_IsMailNewsDisplay_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_IsMailNewsDisplay_Get'); - late final _System_Text_Encoding_IsMailNewsDisplay_Get = - _System_Text_Encoding_IsMailNewsDisplay_GetPtr.asFunction< - bool Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - bool System_Text_Encoding_IsMailNewsSave_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_IsMailNewsSave_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_IsMailNewsSave_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_IsMailNewsSave_Get'); - late final _System_Text_Encoding_IsMailNewsSave_Get = - _System_Text_Encoding_IsMailNewsSave_GetPtr.asFunction< - bool Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - bool System_Text_Encoding_IsSingleByte_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_IsSingleByte_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_IsSingleByte_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_IsSingleByte_Get'); - late final _System_Text_Encoding_IsSingleByte_Get = - _System_Text_Encoding_IsSingleByte_GetPtr.asFunction< - bool Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - System_Text_EncoderFallback_t System_Text_Encoding_EncoderFallback_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_EncoderFallback_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_EncoderFallback_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_EncoderFallback_t Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_EncoderFallback_Get'); - late final _System_Text_Encoding_EncoderFallback_Get = - _System_Text_Encoding_EncoderFallback_GetPtr.asFunction< - System_Text_EncoderFallback_t Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - void System_Text_Encoding_EncoderFallback_Set( - System_Text_Encoding_t self, - System_Text_EncoderFallback_t value, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_EncoderFallback_Set( - self, - value, - outException, - ); - } - - late final _System_Text_Encoding_EncoderFallback_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Text_Encoding_t, - System_Text_EncoderFallback_t, - ffi.Pointer)>>( - 'System_Text_Encoding_EncoderFallback_Set'); - late final _System_Text_Encoding_EncoderFallback_Set = - _System_Text_Encoding_EncoderFallback_SetPtr.asFunction< - void Function(System_Text_Encoding_t, System_Text_EncoderFallback_t, - ffi.Pointer)>(); - - System_Text_DecoderFallback_t System_Text_Encoding_DecoderFallback_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_DecoderFallback_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_DecoderFallback_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_DecoderFallback_t Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_DecoderFallback_Get'); - late final _System_Text_Encoding_DecoderFallback_Get = - _System_Text_Encoding_DecoderFallback_GetPtr.asFunction< - System_Text_DecoderFallback_t Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - void System_Text_Encoding_DecoderFallback_Set( - System_Text_Encoding_t self, - System_Text_DecoderFallback_t value, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_DecoderFallback_Set( - self, - value, - outException, - ); - } - - late final _System_Text_Encoding_DecoderFallback_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Text_Encoding_t, - System_Text_DecoderFallback_t, - ffi.Pointer)>>( - 'System_Text_Encoding_DecoderFallback_Set'); - late final _System_Text_Encoding_DecoderFallback_Set = - _System_Text_Encoding_DecoderFallback_SetPtr.asFunction< - void Function(System_Text_Encoding_t, System_Text_DecoderFallback_t, - ffi.Pointer)>(); - - bool System_Text_Encoding_IsReadOnly_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_IsReadOnly_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_IsReadOnly_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_IsReadOnly_Get'); - late final _System_Text_Encoding_IsReadOnly_Get = - _System_Text_Encoding_IsReadOnly_GetPtr.asFunction< - bool Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_Encoding_ASCII_Get( - ffi.Pointer outException, - ) { - return _System_Text_Encoding_ASCII_Get( - outException, - ); - } - - late final _System_Text_Encoding_ASCII_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - ffi.Pointer)>>( - 'System_Text_Encoding_ASCII_Get'); - late final _System_Text_Encoding_ASCII_Get = - _System_Text_Encoding_ASCII_GetPtr.asFunction< - System_Text_Encoding_t Function(ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_Encoding_Latin1_Get( - ffi.Pointer outException, - ) { - return _System_Text_Encoding_Latin1_Get( - outException, - ); - } - - late final _System_Text_Encoding_Latin1_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - ffi.Pointer)>>( - 'System_Text_Encoding_Latin1_Get'); - late final _System_Text_Encoding_Latin1_Get = - _System_Text_Encoding_Latin1_GetPtr.asFunction< - System_Text_Encoding_t Function(ffi.Pointer)>(); - - int System_Text_Encoding_CodePage_Get( - System_Text_Encoding_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoding_CodePage_Get( - self, - outException, - ); - } - - late final _System_Text_Encoding_CodePage_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Encoding_t, ffi.Pointer)>>( - 'System_Text_Encoding_CodePage_Get'); - late final _System_Text_Encoding_CodePage_Get = - _System_Text_Encoding_CodePage_GetPtr.asFunction< - int Function( - System_Text_Encoding_t, ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_Encoding_Unicode_Get( - ffi.Pointer outException, - ) { - return _System_Text_Encoding_Unicode_Get( - outException, - ); - } - - late final _System_Text_Encoding_Unicode_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - ffi.Pointer)>>( - 'System_Text_Encoding_Unicode_Get'); - late final _System_Text_Encoding_Unicode_Get = - _System_Text_Encoding_Unicode_GetPtr.asFunction< - System_Text_Encoding_t Function(ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_Encoding_BigEndianUnicode_Get( - ffi.Pointer outException, - ) { - return _System_Text_Encoding_BigEndianUnicode_Get( - outException, - ); - } - - late final _System_Text_Encoding_BigEndianUnicode_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - ffi.Pointer)>>( - 'System_Text_Encoding_BigEndianUnicode_Get'); - late final _System_Text_Encoding_BigEndianUnicode_Get = - _System_Text_Encoding_BigEndianUnicode_GetPtr.asFunction< - System_Text_Encoding_t Function(ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_Encoding_UTF7_Get( - ffi.Pointer outException, - ) { - return _System_Text_Encoding_UTF7_Get( - outException, - ); - } - - late final _System_Text_Encoding_UTF7_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - ffi.Pointer)>>( - 'System_Text_Encoding_UTF7_Get'); - late final _System_Text_Encoding_UTF7_Get = - _System_Text_Encoding_UTF7_GetPtr.asFunction< - System_Text_Encoding_t Function(ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_Encoding_UTF8_Get( - ffi.Pointer outException, - ) { - return _System_Text_Encoding_UTF8_Get( - outException, - ); - } - - late final _System_Text_Encoding_UTF8_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - ffi.Pointer)>>( - 'System_Text_Encoding_UTF8_Get'); - late final _System_Text_Encoding_UTF8_Get = - _System_Text_Encoding_UTF8_GetPtr.asFunction< - System_Text_Encoding_t Function(ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_Encoding_UTF32_Get( - ffi.Pointer outException, - ) { - return _System_Text_Encoding_UTF32_Get( - outException, - ); - } - - late final _System_Text_Encoding_UTF32_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - ffi.Pointer)>>( - 'System_Text_Encoding_UTF32_Get'); - late final _System_Text_Encoding_UTF32_Get = - _System_Text_Encoding_UTF32_GetPtr.asFunction< - System_Text_Encoding_t Function(ffi.Pointer)>(); - - System_Type_t System_Text_Encoding_TypeOf() { - return _System_Text_Encoding_TypeOf(); - } - - late final _System_Text_Encoding_TypeOfPtr = - _lookup>( - 'System_Text_Encoding_TypeOf'); - late final _System_Text_Encoding_TypeOf = - _System_Text_Encoding_TypeOfPtr.asFunction(); - - void System_Text_Encoding_Destroy( - System_Text_Encoding_t self, - ) { - return _System_Text_Encoding_Destroy( - self, - ); - } - - late final _System_Text_Encoding_DestroyPtr = - _lookup>( - 'System_Text_Encoding_Destroy'); - late final _System_Text_Encoding_Destroy = _System_Text_Encoding_DestroyPtr - .asFunction(); - - System_Text_Encoding_t System_Text_EncodingProvider_GetEncoding( - System_Text_EncodingProvider_t self, - System_String_t name, - ffi.Pointer outException, - ) { - return _System_Text_EncodingProvider_GetEncoding( - self, - name, - outException, - ); - } - - late final _System_Text_EncodingProvider_GetEncodingPtr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function(System_Text_EncodingProvider_t, - System_String_t, ffi.Pointer)>>( - 'System_Text_EncodingProvider_GetEncoding'); - late final _System_Text_EncodingProvider_GetEncoding = - _System_Text_EncodingProvider_GetEncodingPtr.asFunction< - System_Text_Encoding_t Function(System_Text_EncodingProvider_t, - System_String_t, ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_EncodingProvider_GetEncoding_1( - System_Text_EncodingProvider_t self, - int codepage, - ffi.Pointer outException, - ) { - return _System_Text_EncodingProvider_GetEncoding_1( - self, - codepage, - outException, - ); - } - - late final _System_Text_EncodingProvider_GetEncoding_1Ptr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function(System_Text_EncodingProvider_t, - ffi.Int32, ffi.Pointer)>>( - 'System_Text_EncodingProvider_GetEncoding_1'); - late final _System_Text_EncodingProvider_GetEncoding_1 = - _System_Text_EncodingProvider_GetEncoding_1Ptr.asFunction< - System_Text_Encoding_t Function(System_Text_EncodingProvider_t, int, - ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_EncodingProvider_GetEncoding_2( - System_Text_EncodingProvider_t self, - System_String_t name, - System_Text_EncoderFallback_t encoderFallback, - System_Text_DecoderFallback_t decoderFallback, - ffi.Pointer outException, - ) { - return _System_Text_EncodingProvider_GetEncoding_2( - self, - name, - encoderFallback, - decoderFallback, - outException, - ); - } - - late final _System_Text_EncodingProvider_GetEncoding_2Ptr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - System_Text_EncodingProvider_t, - System_String_t, - System_Text_EncoderFallback_t, - System_Text_DecoderFallback_t, - ffi.Pointer)>>( - 'System_Text_EncodingProvider_GetEncoding_2'); - late final _System_Text_EncodingProvider_GetEncoding_2 = - _System_Text_EncodingProvider_GetEncoding_2Ptr.asFunction< - System_Text_Encoding_t Function( - System_Text_EncodingProvider_t, - System_String_t, - System_Text_EncoderFallback_t, - System_Text_DecoderFallback_t, - ffi.Pointer)>(); - - System_Text_Encoding_t System_Text_EncodingProvider_GetEncoding_3( - System_Text_EncodingProvider_t self, - int codepage, - System_Text_EncoderFallback_t encoderFallback, - System_Text_DecoderFallback_t decoderFallback, - ffi.Pointer outException, - ) { - return _System_Text_EncodingProvider_GetEncoding_3( - self, - codepage, - encoderFallback, - decoderFallback, - outException, - ); - } - - late final _System_Text_EncodingProvider_GetEncoding_3Ptr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function( - System_Text_EncodingProvider_t, - ffi.Int32, - System_Text_EncoderFallback_t, - System_Text_DecoderFallback_t, - ffi.Pointer)>>( - 'System_Text_EncodingProvider_GetEncoding_3'); - late final _System_Text_EncodingProvider_GetEncoding_3 = - _System_Text_EncodingProvider_GetEncoding_3Ptr.asFunction< - System_Text_Encoding_t Function( - System_Text_EncodingProvider_t, - int, - System_Text_EncoderFallback_t, - System_Text_DecoderFallback_t, - ffi.Pointer)>(); - - System_Type_t System_Text_EncodingProvider_TypeOf() { - return _System_Text_EncodingProvider_TypeOf(); - } - - late final _System_Text_EncodingProvider_TypeOfPtr = - _lookup>( - 'System_Text_EncodingProvider_TypeOf'); - late final _System_Text_EncodingProvider_TypeOf = - _System_Text_EncodingProvider_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Text_EncodingProvider_Destroy( - System_Text_EncodingProvider_t self, - ) { - return _System_Text_EncodingProvider_Destroy( - self, - ); - } - - late final _System_Text_EncodingProvider_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Text_EncodingProvider_Destroy'); - late final _System_Text_EncodingProvider_Destroy = - _System_Text_EncodingProvider_DestroyPtr.asFunction< - void Function(System_Text_EncodingProvider_t)>(); - - System_Text_EncoderFallbackBuffer_t - System_Text_EncoderFallback_CreateFallbackBuffer( - System_Text_EncoderFallback_t self, - ffi.Pointer outException, - ) { - return _System_Text_EncoderFallback_CreateFallbackBuffer( - self, - outException, - ); - } - - late final _System_Text_EncoderFallback_CreateFallbackBufferPtr = _lookup< - ffi.NativeFunction< - System_Text_EncoderFallbackBuffer_t Function( - System_Text_EncoderFallback_t, - ffi.Pointer)>>( - 'System_Text_EncoderFallback_CreateFallbackBuffer'); - late final _System_Text_EncoderFallback_CreateFallbackBuffer = - _System_Text_EncoderFallback_CreateFallbackBufferPtr.asFunction< - System_Text_EncoderFallbackBuffer_t Function( - System_Text_EncoderFallback_t, - ffi.Pointer)>(); - - System_Text_EncoderFallback_t - System_Text_EncoderFallback_ReplacementFallback_Get( - ffi.Pointer outException, - ) { - return _System_Text_EncoderFallback_ReplacementFallback_Get( - outException, - ); - } - - late final _System_Text_EncoderFallback_ReplacementFallback_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_EncoderFallback_t Function( - ffi.Pointer)>>( - 'System_Text_EncoderFallback_ReplacementFallback_Get'); - late final _System_Text_EncoderFallback_ReplacementFallback_Get = - _System_Text_EncoderFallback_ReplacementFallback_GetPtr.asFunction< - System_Text_EncoderFallback_t Function( - ffi.Pointer)>(); - - System_Text_EncoderFallback_t - System_Text_EncoderFallback_ExceptionFallback_Get( - ffi.Pointer outException, - ) { - return _System_Text_EncoderFallback_ExceptionFallback_Get( - outException, - ); - } - - late final _System_Text_EncoderFallback_ExceptionFallback_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_EncoderFallback_t Function( - ffi.Pointer)>>( - 'System_Text_EncoderFallback_ExceptionFallback_Get'); - late final _System_Text_EncoderFallback_ExceptionFallback_Get = - _System_Text_EncoderFallback_ExceptionFallback_GetPtr.asFunction< - System_Text_EncoderFallback_t Function( - ffi.Pointer)>(); - - int System_Text_EncoderFallback_MaxCharCount_Get( - System_Text_EncoderFallback_t self, - ffi.Pointer outException, - ) { - return _System_Text_EncoderFallback_MaxCharCount_Get( - self, - outException, - ); - } - - late final _System_Text_EncoderFallback_MaxCharCount_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_EncoderFallback_t, - ffi.Pointer)>>( - 'System_Text_EncoderFallback_MaxCharCount_Get'); - late final _System_Text_EncoderFallback_MaxCharCount_Get = - _System_Text_EncoderFallback_MaxCharCount_GetPtr.asFunction< - int Function(System_Text_EncoderFallback_t, - ffi.Pointer)>(); - - System_Type_t System_Text_EncoderFallback_TypeOf() { - return _System_Text_EncoderFallback_TypeOf(); - } - - late final _System_Text_EncoderFallback_TypeOfPtr = - _lookup>( - 'System_Text_EncoderFallback_TypeOf'); - late final _System_Text_EncoderFallback_TypeOf = - _System_Text_EncoderFallback_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Text_EncoderFallback_Destroy( - System_Text_EncoderFallback_t self, - ) { - return _System_Text_EncoderFallback_Destroy( - self, - ); - } - - late final _System_Text_EncoderFallback_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_Text_EncoderFallback_Destroy'); - late final _System_Text_EncoderFallback_Destroy = - _System_Text_EncoderFallback_DestroyPtr.asFunction< - void Function(System_Text_EncoderFallback_t)>(); - - bool System_Text_EncoderFallbackBuffer_Fallback( - System_Text_EncoderFallbackBuffer_t self, - int charUnknown, - int index, - ffi.Pointer outException, - ) { - return _System_Text_EncoderFallbackBuffer_Fallback( - self, - charUnknown, - index, - outException, - ); - } - - late final _System_Text_EncoderFallbackBuffer_FallbackPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_EncoderFallbackBuffer_t, ffi.WChar, - ffi.Int32, ffi.Pointer)>>( - 'System_Text_EncoderFallbackBuffer_Fallback'); - late final _System_Text_EncoderFallbackBuffer_Fallback = - _System_Text_EncoderFallbackBuffer_FallbackPtr.asFunction< - bool Function(System_Text_EncoderFallbackBuffer_t, int, int, - ffi.Pointer)>(); - - bool System_Text_EncoderFallbackBuffer_Fallback_1( - System_Text_EncoderFallbackBuffer_t self, - int charUnknownHigh, - int charUnknownLow, - int index, - ffi.Pointer outException, - ) { - return _System_Text_EncoderFallbackBuffer_Fallback_1( - self, - charUnknownHigh, - charUnknownLow, - index, - outException, - ); - } - - late final _System_Text_EncoderFallbackBuffer_Fallback_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_EncoderFallbackBuffer_t, ffi.WChar, - ffi.WChar, ffi.Int32, ffi.Pointer)>>( - 'System_Text_EncoderFallbackBuffer_Fallback_1'); - late final _System_Text_EncoderFallbackBuffer_Fallback_1 = - _System_Text_EncoderFallbackBuffer_Fallback_1Ptr.asFunction< - bool Function(System_Text_EncoderFallbackBuffer_t, int, int, int, - ffi.Pointer)>(); - - int System_Text_EncoderFallbackBuffer_GetNextChar( - System_Text_EncoderFallbackBuffer_t self, - ffi.Pointer outException, - ) { - return _System_Text_EncoderFallbackBuffer_GetNextChar( - self, - outException, - ); - } - - late final _System_Text_EncoderFallbackBuffer_GetNextCharPtr = _lookup< - ffi.NativeFunction< - ffi.WChar Function(System_Text_EncoderFallbackBuffer_t, - ffi.Pointer)>>( - 'System_Text_EncoderFallbackBuffer_GetNextChar'); - late final _System_Text_EncoderFallbackBuffer_GetNextChar = - _System_Text_EncoderFallbackBuffer_GetNextCharPtr.asFunction< - int Function(System_Text_EncoderFallbackBuffer_t, - ffi.Pointer)>(); - - bool System_Text_EncoderFallbackBuffer_MovePrevious( - System_Text_EncoderFallbackBuffer_t self, - ffi.Pointer outException, - ) { - return _System_Text_EncoderFallbackBuffer_MovePrevious( - self, - outException, - ); - } - - late final _System_Text_EncoderFallbackBuffer_MovePreviousPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_EncoderFallbackBuffer_t, - ffi.Pointer)>>( - 'System_Text_EncoderFallbackBuffer_MovePrevious'); - late final _System_Text_EncoderFallbackBuffer_MovePrevious = - _System_Text_EncoderFallbackBuffer_MovePreviousPtr.asFunction< - bool Function(System_Text_EncoderFallbackBuffer_t, - ffi.Pointer)>(); - - void System_Text_EncoderFallbackBuffer_Reset( - System_Text_EncoderFallbackBuffer_t self, - ffi.Pointer outException, - ) { - return _System_Text_EncoderFallbackBuffer_Reset( - self, - outException, - ); - } - - late final _System_Text_EncoderFallbackBuffer_ResetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Text_EncoderFallbackBuffer_t, - ffi.Pointer)>>( - 'System_Text_EncoderFallbackBuffer_Reset'); - late final _System_Text_EncoderFallbackBuffer_Reset = - _System_Text_EncoderFallbackBuffer_ResetPtr.asFunction< - void Function(System_Text_EncoderFallbackBuffer_t, - ffi.Pointer)>(); - - int System_Text_EncoderFallbackBuffer_Remaining_Get( - System_Text_EncoderFallbackBuffer_t self, - ffi.Pointer outException, - ) { - return _System_Text_EncoderFallbackBuffer_Remaining_Get( - self, - outException, - ); - } - - late final _System_Text_EncoderFallbackBuffer_Remaining_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_EncoderFallbackBuffer_t, - ffi.Pointer)>>( - 'System_Text_EncoderFallbackBuffer_Remaining_Get'); - late final _System_Text_EncoderFallbackBuffer_Remaining_Get = - _System_Text_EncoderFallbackBuffer_Remaining_GetPtr.asFunction< - int Function(System_Text_EncoderFallbackBuffer_t, - ffi.Pointer)>(); - - System_Type_t System_Text_EncoderFallbackBuffer_TypeOf() { - return _System_Text_EncoderFallbackBuffer_TypeOf(); - } - - late final _System_Text_EncoderFallbackBuffer_TypeOfPtr = - _lookup>( - 'System_Text_EncoderFallbackBuffer_TypeOf'); - late final _System_Text_EncoderFallbackBuffer_TypeOf = - _System_Text_EncoderFallbackBuffer_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Text_EncoderFallbackBuffer_Destroy( - System_Text_EncoderFallbackBuffer_t self, - ) { - return _System_Text_EncoderFallbackBuffer_Destroy( - self, - ); - } - - late final _System_Text_EncoderFallbackBuffer_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Text_EncoderFallbackBuffer_t)>>( - 'System_Text_EncoderFallbackBuffer_Destroy'); - late final _System_Text_EncoderFallbackBuffer_Destroy = - _System_Text_EncoderFallbackBuffer_DestroyPtr.asFunction< - void Function(System_Text_EncoderFallbackBuffer_t)>(); - - System_Text_DecoderFallbackBuffer_t - System_Text_DecoderFallback_CreateFallbackBuffer( - System_Text_DecoderFallback_t self, - ffi.Pointer outException, - ) { - return _System_Text_DecoderFallback_CreateFallbackBuffer( - self, - outException, - ); - } - - late final _System_Text_DecoderFallback_CreateFallbackBufferPtr = _lookup< - ffi.NativeFunction< - System_Text_DecoderFallbackBuffer_t Function( - System_Text_DecoderFallback_t, - ffi.Pointer)>>( - 'System_Text_DecoderFallback_CreateFallbackBuffer'); - late final _System_Text_DecoderFallback_CreateFallbackBuffer = - _System_Text_DecoderFallback_CreateFallbackBufferPtr.asFunction< - System_Text_DecoderFallbackBuffer_t Function( - System_Text_DecoderFallback_t, - ffi.Pointer)>(); - - System_Text_DecoderFallback_t - System_Text_DecoderFallback_ReplacementFallback_Get( - ffi.Pointer outException, - ) { - return _System_Text_DecoderFallback_ReplacementFallback_Get( - outException, - ); - } - - late final _System_Text_DecoderFallback_ReplacementFallback_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_DecoderFallback_t Function( - ffi.Pointer)>>( - 'System_Text_DecoderFallback_ReplacementFallback_Get'); - late final _System_Text_DecoderFallback_ReplacementFallback_Get = - _System_Text_DecoderFallback_ReplacementFallback_GetPtr.asFunction< - System_Text_DecoderFallback_t Function( - ffi.Pointer)>(); - - System_Text_DecoderFallback_t - System_Text_DecoderFallback_ExceptionFallback_Get( - ffi.Pointer outException, - ) { - return _System_Text_DecoderFallback_ExceptionFallback_Get( - outException, - ); - } - - late final _System_Text_DecoderFallback_ExceptionFallback_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_DecoderFallback_t Function( - ffi.Pointer)>>( - 'System_Text_DecoderFallback_ExceptionFallback_Get'); - late final _System_Text_DecoderFallback_ExceptionFallback_Get = - _System_Text_DecoderFallback_ExceptionFallback_GetPtr.asFunction< - System_Text_DecoderFallback_t Function( - ffi.Pointer)>(); - - int System_Text_DecoderFallback_MaxCharCount_Get( - System_Text_DecoderFallback_t self, - ffi.Pointer outException, - ) { - return _System_Text_DecoderFallback_MaxCharCount_Get( - self, - outException, - ); - } - - late final _System_Text_DecoderFallback_MaxCharCount_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_DecoderFallback_t, - ffi.Pointer)>>( - 'System_Text_DecoderFallback_MaxCharCount_Get'); - late final _System_Text_DecoderFallback_MaxCharCount_Get = - _System_Text_DecoderFallback_MaxCharCount_GetPtr.asFunction< - int Function(System_Text_DecoderFallback_t, - ffi.Pointer)>(); - - System_Type_t System_Text_DecoderFallback_TypeOf() { - return _System_Text_DecoderFallback_TypeOf(); - } - - late final _System_Text_DecoderFallback_TypeOfPtr = - _lookup>( - 'System_Text_DecoderFallback_TypeOf'); - late final _System_Text_DecoderFallback_TypeOf = - _System_Text_DecoderFallback_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Text_DecoderFallback_Destroy( - System_Text_DecoderFallback_t self, - ) { - return _System_Text_DecoderFallback_Destroy( - self, - ); - } - - late final _System_Text_DecoderFallback_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_Text_DecoderFallback_Destroy'); - late final _System_Text_DecoderFallback_Destroy = - _System_Text_DecoderFallback_DestroyPtr.asFunction< - void Function(System_Text_DecoderFallback_t)>(); - - bool System_Text_DecoderFallbackBuffer_Fallback( - System_Text_DecoderFallbackBuffer_t self, - System_Byte_Array_t bytesUnknown, - int index, - ffi.Pointer outException, - ) { - return _System_Text_DecoderFallbackBuffer_Fallback( - self, - bytesUnknown, - index, - outException, - ); - } - - late final _System_Text_DecoderFallbackBuffer_FallbackPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Text_DecoderFallbackBuffer_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Text_DecoderFallbackBuffer_Fallback'); - late final _System_Text_DecoderFallbackBuffer_Fallback = - _System_Text_DecoderFallbackBuffer_FallbackPtr.asFunction< - bool Function(System_Text_DecoderFallbackBuffer_t, - System_Byte_Array_t, int, ffi.Pointer)>(); - - int System_Text_DecoderFallbackBuffer_GetNextChar( - System_Text_DecoderFallbackBuffer_t self, - ffi.Pointer outException, - ) { - return _System_Text_DecoderFallbackBuffer_GetNextChar( - self, - outException, - ); - } - - late final _System_Text_DecoderFallbackBuffer_GetNextCharPtr = _lookup< - ffi.NativeFunction< - ffi.WChar Function(System_Text_DecoderFallbackBuffer_t, - ffi.Pointer)>>( - 'System_Text_DecoderFallbackBuffer_GetNextChar'); - late final _System_Text_DecoderFallbackBuffer_GetNextChar = - _System_Text_DecoderFallbackBuffer_GetNextCharPtr.asFunction< - int Function(System_Text_DecoderFallbackBuffer_t, - ffi.Pointer)>(); - - bool System_Text_DecoderFallbackBuffer_MovePrevious( - System_Text_DecoderFallbackBuffer_t self, - ffi.Pointer outException, - ) { - return _System_Text_DecoderFallbackBuffer_MovePrevious( - self, - outException, - ); - } - - late final _System_Text_DecoderFallbackBuffer_MovePreviousPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_DecoderFallbackBuffer_t, - ffi.Pointer)>>( - 'System_Text_DecoderFallbackBuffer_MovePrevious'); - late final _System_Text_DecoderFallbackBuffer_MovePrevious = - _System_Text_DecoderFallbackBuffer_MovePreviousPtr.asFunction< - bool Function(System_Text_DecoderFallbackBuffer_t, - ffi.Pointer)>(); - - void System_Text_DecoderFallbackBuffer_Reset( - System_Text_DecoderFallbackBuffer_t self, - ffi.Pointer outException, - ) { - return _System_Text_DecoderFallbackBuffer_Reset( - self, - outException, - ); - } - - late final _System_Text_DecoderFallbackBuffer_ResetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Text_DecoderFallbackBuffer_t, - ffi.Pointer)>>( - 'System_Text_DecoderFallbackBuffer_Reset'); - late final _System_Text_DecoderFallbackBuffer_Reset = - _System_Text_DecoderFallbackBuffer_ResetPtr.asFunction< - void Function(System_Text_DecoderFallbackBuffer_t, - ffi.Pointer)>(); - - int System_Text_DecoderFallbackBuffer_Remaining_Get( - System_Text_DecoderFallbackBuffer_t self, - ffi.Pointer outException, - ) { - return _System_Text_DecoderFallbackBuffer_Remaining_Get( - self, - outException, - ); - } - - late final _System_Text_DecoderFallbackBuffer_Remaining_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_DecoderFallbackBuffer_t, - ffi.Pointer)>>( - 'System_Text_DecoderFallbackBuffer_Remaining_Get'); - late final _System_Text_DecoderFallbackBuffer_Remaining_Get = - _System_Text_DecoderFallbackBuffer_Remaining_GetPtr.asFunction< - int Function(System_Text_DecoderFallbackBuffer_t, - ffi.Pointer)>(); - - System_Type_t System_Text_DecoderFallbackBuffer_TypeOf() { - return _System_Text_DecoderFallbackBuffer_TypeOf(); - } - - late final _System_Text_DecoderFallbackBuffer_TypeOfPtr = - _lookup>( - 'System_Text_DecoderFallbackBuffer_TypeOf'); - late final _System_Text_DecoderFallbackBuffer_TypeOf = - _System_Text_DecoderFallbackBuffer_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Text_DecoderFallbackBuffer_Destroy( - System_Text_DecoderFallbackBuffer_t self, - ) { - return _System_Text_DecoderFallbackBuffer_Destroy( - self, - ); - } - - late final _System_Text_DecoderFallbackBuffer_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Text_DecoderFallbackBuffer_t)>>( - 'System_Text_DecoderFallbackBuffer_Destroy'); - late final _System_Text_DecoderFallbackBuffer_Destroy = - _System_Text_DecoderFallbackBuffer_DestroyPtr.asFunction< - void Function(System_Text_DecoderFallbackBuffer_t)>(); - - System_Text_Encoding_t System_Text_EncodingInfo_GetEncoding( - System_Text_EncodingInfo_t self, - ffi.Pointer outException, - ) { - return _System_Text_EncodingInfo_GetEncoding( - self, - outException, - ); - } - - late final _System_Text_EncodingInfo_GetEncodingPtr = _lookup< - ffi.NativeFunction< - System_Text_Encoding_t Function(System_Text_EncodingInfo_t, - ffi.Pointer)>>( - 'System_Text_EncodingInfo_GetEncoding'); - late final _System_Text_EncodingInfo_GetEncoding = - _System_Text_EncodingInfo_GetEncodingPtr.asFunction< - System_Text_Encoding_t Function( - System_Text_EncodingInfo_t, ffi.Pointer)>(); - - bool System_Text_EncodingInfo_Equals( - System_Text_EncodingInfo_t self, - System_Object_t value, - ffi.Pointer outException, - ) { - return _System_Text_EncodingInfo_Equals( - self, - value, - outException, - ); - } - - late final _System_Text_EncodingInfo_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Text_EncodingInfo_t, System_Object_t, - ffi.Pointer)>>( - 'System_Text_EncodingInfo_Equals'); - late final _System_Text_EncodingInfo_Equals = - _System_Text_EncodingInfo_EqualsPtr.asFunction< - bool Function(System_Text_EncodingInfo_t, System_Object_t, - ffi.Pointer)>(); - - int System_Text_EncodingInfo_GetHashCode( - System_Text_EncodingInfo_t self, - ffi.Pointer outException, - ) { - return _System_Text_EncodingInfo_GetHashCode( - self, - outException, - ); - } - - late final _System_Text_EncodingInfo_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_EncodingInfo_t, - ffi.Pointer)>>( - 'System_Text_EncodingInfo_GetHashCode'); - late final _System_Text_EncodingInfo_GetHashCode = - _System_Text_EncodingInfo_GetHashCodePtr.asFunction< - int Function( - System_Text_EncodingInfo_t, ffi.Pointer)>(); - - System_Text_EncodingInfo_t System_Text_EncodingInfo_Create( - System_Text_EncodingProvider_t provider, - int codePage, - System_String_t name, - System_String_t displayName, - ffi.Pointer outException, - ) { - return _System_Text_EncodingInfo_Create( - provider, - codePage, - name, - displayName, - outException, - ); - } - - late final _System_Text_EncodingInfo_CreatePtr = _lookup< - ffi.NativeFunction< - System_Text_EncodingInfo_t Function( - System_Text_EncodingProvider_t, - ffi.Int32, - System_String_t, - System_String_t, - ffi.Pointer)>>( - 'System_Text_EncodingInfo_Create'); - late final _System_Text_EncodingInfo_Create = - _System_Text_EncodingInfo_CreatePtr.asFunction< - System_Text_EncodingInfo_t Function( - System_Text_EncodingProvider_t, - int, - System_String_t, - System_String_t, - ffi.Pointer)>(); - - int System_Text_EncodingInfo_CodePage_Get( - System_Text_EncodingInfo_t self, - ffi.Pointer outException, - ) { - return _System_Text_EncodingInfo_CodePage_Get( - self, - outException, - ); - } - - late final _System_Text_EncodingInfo_CodePage_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_EncodingInfo_t, - ffi.Pointer)>>( - 'System_Text_EncodingInfo_CodePage_Get'); - late final _System_Text_EncodingInfo_CodePage_Get = - _System_Text_EncodingInfo_CodePage_GetPtr.asFunction< - int Function( - System_Text_EncodingInfo_t, ffi.Pointer)>(); - - System_String_t System_Text_EncodingInfo_Name_Get( - System_Text_EncodingInfo_t self, - ffi.Pointer outException, - ) { - return _System_Text_EncodingInfo_Name_Get( - self, - outException, - ); - } - - late final _System_Text_EncodingInfo_Name_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Text_EncodingInfo_t, - ffi.Pointer)>>( - 'System_Text_EncodingInfo_Name_Get'); - late final _System_Text_EncodingInfo_Name_Get = - _System_Text_EncodingInfo_Name_GetPtr.asFunction< - System_String_t Function( - System_Text_EncodingInfo_t, ffi.Pointer)>(); - - System_String_t System_Text_EncodingInfo_DisplayName_Get( - System_Text_EncodingInfo_t self, - ffi.Pointer outException, - ) { - return _System_Text_EncodingInfo_DisplayName_Get( - self, - outException, - ); - } - - late final _System_Text_EncodingInfo_DisplayName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(System_Text_EncodingInfo_t, - ffi.Pointer)>>( - 'System_Text_EncodingInfo_DisplayName_Get'); - late final _System_Text_EncodingInfo_DisplayName_Get = - _System_Text_EncodingInfo_DisplayName_GetPtr.asFunction< - System_String_t Function( - System_Text_EncodingInfo_t, ffi.Pointer)>(); - - System_Type_t System_Text_EncodingInfo_TypeOf() { - return _System_Text_EncodingInfo_TypeOf(); - } - - late final _System_Text_EncodingInfo_TypeOfPtr = - _lookup>( - 'System_Text_EncodingInfo_TypeOf'); - late final _System_Text_EncodingInfo_TypeOf = - _System_Text_EncodingInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Text_EncodingInfo_Destroy( - System_Text_EncodingInfo_t self, - ) { - return _System_Text_EncodingInfo_Destroy( - self, - ); - } - - late final _System_Text_EncodingInfo_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_Text_EncodingInfo_Destroy'); - late final _System_Text_EncodingInfo_Destroy = - _System_Text_EncodingInfo_DestroyPtr.asFunction< - void Function(System_Text_EncodingInfo_t)>(); - - void System_Text_Decoder_Reset( - System_Text_Decoder_t self, - ffi.Pointer outException, - ) { - return _System_Text_Decoder_Reset( - self, - outException, - ); - } - - late final _System_Text_Decoder_ResetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Text_Decoder_t, - ffi.Pointer)>>('System_Text_Decoder_Reset'); - late final _System_Text_Decoder_Reset = - _System_Text_Decoder_ResetPtr.asFunction< - void Function( - System_Text_Decoder_t, ffi.Pointer)>(); - - int System_Text_Decoder_GetCharCount( - System_Text_Decoder_t self, - System_Byte_Array_t bytes, - int index, - int count, - ffi.Pointer outException, - ) { - return _System_Text_Decoder_GetCharCount( - self, - bytes, - index, - count, - outException, - ); - } - - late final _System_Text_Decoder_GetCharCountPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Text_Decoder_t, System_Byte_Array_t, - ffi.Int32, ffi.Int32, ffi.Pointer)>>( - 'System_Text_Decoder_GetCharCount'); - late final _System_Text_Decoder_GetCharCount = - _System_Text_Decoder_GetCharCountPtr.asFunction< - int Function(System_Text_Decoder_t, System_Byte_Array_t, int, int, - ffi.Pointer)>(); - - int System_Text_Decoder_GetCharCount_1( - System_Text_Decoder_t self, - System_Byte_Array_t bytes, - int index, - int count, - bool flush, - ffi.Pointer outException, - ) { - return _System_Text_Decoder_GetCharCount_1( - self, - bytes, - index, - count, - flush, - outException, - ); - } - - late final _System_Text_Decoder_GetCharCount_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Decoder_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Bool, - ffi.Pointer)>>( - 'System_Text_Decoder_GetCharCount_1'); - late final _System_Text_Decoder_GetCharCount_1 = - _System_Text_Decoder_GetCharCount_1Ptr.asFunction< - int Function(System_Text_Decoder_t, System_Byte_Array_t, int, int, - bool, ffi.Pointer)>(); - - int System_Text_Decoder_GetChars( - System_Text_Decoder_t self, - System_Byte_Array_t bytes, - int byteIndex, - int byteCount, - System_Char_Array_t chars, - int charIndex, - ffi.Pointer outException, - ) { - return _System_Text_Decoder_GetChars( - self, - bytes, - byteIndex, - byteCount, - chars, - charIndex, - outException, - ); - } - - late final _System_Text_Decoder_GetCharsPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Decoder_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - System_Char_Array_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Text_Decoder_GetChars'); - late final _System_Text_Decoder_GetChars = - _System_Text_Decoder_GetCharsPtr.asFunction< - int Function(System_Text_Decoder_t, System_Byte_Array_t, int, int, - System_Char_Array_t, int, ffi.Pointer)>(); - - int System_Text_Decoder_GetChars_1( - System_Text_Decoder_t self, - System_Byte_Array_t bytes, - int byteIndex, - int byteCount, - System_Char_Array_t chars, - int charIndex, - bool flush, - ffi.Pointer outException, - ) { - return _System_Text_Decoder_GetChars_1( - self, - bytes, - byteIndex, - byteCount, - chars, - charIndex, - flush, - outException, - ); - } - - late final _System_Text_Decoder_GetChars_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Decoder_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - System_Char_Array_t, - ffi.Int32, - ffi.Bool, - ffi.Pointer)>>( - 'System_Text_Decoder_GetChars_1'); - late final _System_Text_Decoder_GetChars_1 = - _System_Text_Decoder_GetChars_1Ptr.asFunction< - int Function( - System_Text_Decoder_t, - System_Byte_Array_t, - int, - int, - System_Char_Array_t, - int, - bool, - ffi.Pointer)>(); - - void System_Text_Decoder_Convert( - System_Text_Decoder_t self, - System_Byte_Array_t bytes, - int byteIndex, - int byteCount, - System_Char_Array_t chars, - int charIndex, - int charCount, - bool flush, - ffi.Pointer bytesUsed, - ffi.Pointer charsUsed, - ffi.Pointer completed, - ffi.Pointer outException, - ) { - return _System_Text_Decoder_Convert( - self, - bytes, - byteIndex, - byteCount, - chars, - charIndex, - charCount, - flush, - bytesUsed, - charsUsed, - completed, - outException, - ); - } - - late final _System_Text_Decoder_ConvertPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Text_Decoder_t, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - System_Char_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('System_Text_Decoder_Convert'); - late final _System_Text_Decoder_Convert = - _System_Text_Decoder_ConvertPtr.asFunction< - void Function( - System_Text_Decoder_t, - System_Byte_Array_t, - int, - int, - System_Char_Array_t, - int, - int, - bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - System_Text_DecoderFallback_t System_Text_Decoder_Fallback_Get( - System_Text_Decoder_t self, - ffi.Pointer outException, - ) { - return _System_Text_Decoder_Fallback_Get( - self, - outException, - ); - } - - late final _System_Text_Decoder_Fallback_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_DecoderFallback_t Function( - System_Text_Decoder_t, ffi.Pointer)>>( - 'System_Text_Decoder_Fallback_Get'); - late final _System_Text_Decoder_Fallback_Get = - _System_Text_Decoder_Fallback_GetPtr.asFunction< - System_Text_DecoderFallback_t Function( - System_Text_Decoder_t, ffi.Pointer)>(); - - void System_Text_Decoder_Fallback_Set( - System_Text_Decoder_t self, - System_Text_DecoderFallback_t value, - ffi.Pointer outException, - ) { - return _System_Text_Decoder_Fallback_Set( - self, - value, - outException, - ); - } - - late final _System_Text_Decoder_Fallback_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Text_Decoder_t, - System_Text_DecoderFallback_t, - ffi.Pointer)>>( - 'System_Text_Decoder_Fallback_Set'); - late final _System_Text_Decoder_Fallback_Set = - _System_Text_Decoder_Fallback_SetPtr.asFunction< - void Function(System_Text_Decoder_t, System_Text_DecoderFallback_t, - ffi.Pointer)>(); - - System_Text_DecoderFallbackBuffer_t System_Text_Decoder_FallbackBuffer_Get( - System_Text_Decoder_t self, - ffi.Pointer outException, - ) { - return _System_Text_Decoder_FallbackBuffer_Get( - self, - outException, - ); - } - - late final _System_Text_Decoder_FallbackBuffer_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_DecoderFallbackBuffer_t Function( - System_Text_Decoder_t, ffi.Pointer)>>( - 'System_Text_Decoder_FallbackBuffer_Get'); - late final _System_Text_Decoder_FallbackBuffer_Get = - _System_Text_Decoder_FallbackBuffer_GetPtr.asFunction< - System_Text_DecoderFallbackBuffer_t Function( - System_Text_Decoder_t, ffi.Pointer)>(); - - System_Type_t System_Text_Decoder_TypeOf() { - return _System_Text_Decoder_TypeOf(); - } - - late final _System_Text_Decoder_TypeOfPtr = - _lookup>( - 'System_Text_Decoder_TypeOf'); - late final _System_Text_Decoder_TypeOf = - _System_Text_Decoder_TypeOfPtr.asFunction(); - - void System_Text_Decoder_Destroy( - System_Text_Decoder_t self, - ) { - return _System_Text_Decoder_Destroy( - self, - ); - } - - late final _System_Text_Decoder_DestroyPtr = - _lookup>( - 'System_Text_Decoder_Destroy'); - late final _System_Text_Decoder_Destroy = _System_Text_Decoder_DestroyPtr - .asFunction(); - - void System_Text_Encoder_Reset( - System_Text_Encoder_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoder_Reset( - self, - outException, - ); - } - - late final _System_Text_Encoder_ResetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Text_Encoder_t, - ffi.Pointer)>>('System_Text_Encoder_Reset'); - late final _System_Text_Encoder_Reset = - _System_Text_Encoder_ResetPtr.asFunction< - void Function( - System_Text_Encoder_t, ffi.Pointer)>(); - - int System_Text_Encoder_GetByteCount( - System_Text_Encoder_t self, - System_Char_Array_t chars, - int index, - int count, - bool flush, - ffi.Pointer outException, - ) { - return _System_Text_Encoder_GetByteCount( - self, - chars, - index, - count, - flush, - outException, - ); - } - - late final _System_Text_Encoder_GetByteCountPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Encoder_t, - System_Char_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Bool, - ffi.Pointer)>>( - 'System_Text_Encoder_GetByteCount'); - late final _System_Text_Encoder_GetByteCount = - _System_Text_Encoder_GetByteCountPtr.asFunction< - int Function(System_Text_Encoder_t, System_Char_Array_t, int, int, - bool, ffi.Pointer)>(); - - int System_Text_Encoder_GetBytes( - System_Text_Encoder_t self, - System_Char_Array_t chars, - int charIndex, - int charCount, - System_Byte_Array_t bytes, - int byteIndex, - bool flush, - ffi.Pointer outException, - ) { - return _System_Text_Encoder_GetBytes( - self, - chars, - charIndex, - charCount, - bytes, - byteIndex, - flush, - outException, - ); - } - - late final _System_Text_Encoder_GetBytesPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Text_Encoder_t, - System_Char_Array_t, - ffi.Int32, - ffi.Int32, - System_Byte_Array_t, - ffi.Int32, - ffi.Bool, - ffi.Pointer)>>( - 'System_Text_Encoder_GetBytes'); - late final _System_Text_Encoder_GetBytes = - _System_Text_Encoder_GetBytesPtr.asFunction< - int Function( - System_Text_Encoder_t, - System_Char_Array_t, - int, - int, - System_Byte_Array_t, - int, - bool, - ffi.Pointer)>(); - - void System_Text_Encoder_Convert( - System_Text_Encoder_t self, - System_Char_Array_t chars, - int charIndex, - int charCount, - System_Byte_Array_t bytes, - int byteIndex, - int byteCount, - bool flush, - ffi.Pointer charsUsed, - ffi.Pointer bytesUsed, - ffi.Pointer completed, - ffi.Pointer outException, - ) { - return _System_Text_Encoder_Convert( - self, - chars, - charIndex, - charCount, - bytes, - byteIndex, - byteCount, - flush, - charsUsed, - bytesUsed, - completed, - outException, - ); - } - - late final _System_Text_Encoder_ConvertPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Text_Encoder_t, - System_Char_Array_t, - ffi.Int32, - ffi.Int32, - System_Byte_Array_t, - ffi.Int32, - ffi.Int32, - ffi.Bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>>('System_Text_Encoder_Convert'); - late final _System_Text_Encoder_Convert = - _System_Text_Encoder_ConvertPtr.asFunction< - void Function( - System_Text_Encoder_t, - System_Char_Array_t, - int, - int, - System_Byte_Array_t, - int, - int, - bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - System_Text_EncoderFallback_t System_Text_Encoder_Fallback_Get( - System_Text_Encoder_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoder_Fallback_Get( - self, - outException, - ); - } - - late final _System_Text_Encoder_Fallback_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_EncoderFallback_t Function( - System_Text_Encoder_t, ffi.Pointer)>>( - 'System_Text_Encoder_Fallback_Get'); - late final _System_Text_Encoder_Fallback_Get = - _System_Text_Encoder_Fallback_GetPtr.asFunction< - System_Text_EncoderFallback_t Function( - System_Text_Encoder_t, ffi.Pointer)>(); - - void System_Text_Encoder_Fallback_Set( - System_Text_Encoder_t self, - System_Text_EncoderFallback_t value, - ffi.Pointer outException, - ) { - return _System_Text_Encoder_Fallback_Set( - self, - value, - outException, - ); - } - - late final _System_Text_Encoder_Fallback_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Text_Encoder_t, - System_Text_EncoderFallback_t, - ffi.Pointer)>>( - 'System_Text_Encoder_Fallback_Set'); - late final _System_Text_Encoder_Fallback_Set = - _System_Text_Encoder_Fallback_SetPtr.asFunction< - void Function(System_Text_Encoder_t, System_Text_EncoderFallback_t, - ffi.Pointer)>(); - - System_Text_EncoderFallbackBuffer_t System_Text_Encoder_FallbackBuffer_Get( - System_Text_Encoder_t self, - ffi.Pointer outException, - ) { - return _System_Text_Encoder_FallbackBuffer_Get( - self, - outException, - ); - } - - late final _System_Text_Encoder_FallbackBuffer_GetPtr = _lookup< - ffi.NativeFunction< - System_Text_EncoderFallbackBuffer_t Function( - System_Text_Encoder_t, ffi.Pointer)>>( - 'System_Text_Encoder_FallbackBuffer_Get'); - late final _System_Text_Encoder_FallbackBuffer_Get = - _System_Text_Encoder_FallbackBuffer_GetPtr.asFunction< - System_Text_EncoderFallbackBuffer_t Function( - System_Text_Encoder_t, ffi.Pointer)>(); - - System_Type_t System_Text_Encoder_TypeOf() { - return _System_Text_Encoder_TypeOf(); - } - - late final _System_Text_Encoder_TypeOfPtr = - _lookup>( - 'System_Text_Encoder_TypeOf'); - late final _System_Text_Encoder_TypeOf = - _System_Text_Encoder_TypeOfPtr.asFunction(); - - void System_Text_Encoder_Destroy( - System_Text_Encoder_t self, - ) { - return _System_Text_Encoder_Destroy( - self, - ); - } - - late final _System_Text_Encoder_DestroyPtr = - _lookup>( - 'System_Text_Encoder_Destroy'); - late final _System_Text_Encoder_Destroy = _System_Text_Encoder_DestroyPtr - .asFunction(); - - System_Reflection_MethodInfo_t System_Reflection_IReflect_GetMethod( - System_Reflection_IReflect_t self, - System_String_t name, - int bindingAttr, - System_Reflection_Binder_t binder, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Reflection_IReflect_GetMethod( - self, - name, - bindingAttr, - binder, - types, - modifiers, - outException, - ); - } - - late final _System_Reflection_IReflect_GetMethodPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_IReflect_t, - System_String_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>( - 'System_Reflection_IReflect_GetMethod'); - late final _System_Reflection_IReflect_GetMethod = - _System_Reflection_IReflect_GetMethodPtr.asFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_IReflect_t, - System_String_t, - int, - System_Reflection_Binder_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_IReflect_GetMethod_1( - System_Reflection_IReflect_t self, - System_String_t name, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Reflection_IReflect_GetMethod_1( - self, - name, - bindingAttr, - outException, - ); - } - - late final _System_Reflection_IReflect_GetMethod_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_IReflect_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_IReflect_GetMethod_1'); - late final _System_Reflection_IReflect_GetMethod_1 = - _System_Reflection_IReflect_GetMethod_1Ptr.asFunction< - System_Reflection_MethodInfo_t Function(System_Reflection_IReflect_t, - System_String_t, int, ffi.Pointer)>(); - - System_Reflection_MethodInfo_Array_t System_Reflection_IReflect_GetMethods( - System_Reflection_IReflect_t self, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Reflection_IReflect_GetMethods( - self, - bindingAttr, - outException, - ); - } - - late final _System_Reflection_IReflect_GetMethodsPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_IReflect_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_IReflect_GetMethods'); - late final _System_Reflection_IReflect_GetMethods = - _System_Reflection_IReflect_GetMethodsPtr.asFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_IReflect_t, - int, - ffi.Pointer)>(); - - System_Reflection_FieldInfo_t System_Reflection_IReflect_GetField( - System_Reflection_IReflect_t self, - System_String_t name, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Reflection_IReflect_GetField( - self, - name, - bindingAttr, - outException, - ); - } - - late final _System_Reflection_IReflect_GetFieldPtr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_t Function( - System_Reflection_IReflect_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_IReflect_GetField'); - late final _System_Reflection_IReflect_GetField = - _System_Reflection_IReflect_GetFieldPtr.asFunction< - System_Reflection_FieldInfo_t Function(System_Reflection_IReflect_t, - System_String_t, int, ffi.Pointer)>(); - - System_Reflection_FieldInfo_Array_t System_Reflection_IReflect_GetFields( - System_Reflection_IReflect_t self, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Reflection_IReflect_GetFields( - self, - bindingAttr, - outException, - ); - } - - late final _System_Reflection_IReflect_GetFieldsPtr = _lookup< - ffi.NativeFunction< - System_Reflection_FieldInfo_Array_t Function( - System_Reflection_IReflect_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_IReflect_GetFields'); - late final _System_Reflection_IReflect_GetFields = - _System_Reflection_IReflect_GetFieldsPtr.asFunction< - System_Reflection_FieldInfo_Array_t Function( - System_Reflection_IReflect_t, - int, - ffi.Pointer)>(); - - System_Reflection_PropertyInfo_t System_Reflection_IReflect_GetProperty( - System_Reflection_IReflect_t self, - System_String_t name, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Reflection_IReflect_GetProperty( - self, - name, - bindingAttr, - outException, - ); - } - - late final _System_Reflection_IReflect_GetPropertyPtr = _lookup< - ffi.NativeFunction< - System_Reflection_PropertyInfo_t Function( - System_Reflection_IReflect_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_IReflect_GetProperty'); - late final _System_Reflection_IReflect_GetProperty = - _System_Reflection_IReflect_GetPropertyPtr.asFunction< - System_Reflection_PropertyInfo_t Function( - System_Reflection_IReflect_t, - System_String_t, - int, - ffi.Pointer)>(); - - System_Reflection_PropertyInfo_t System_Reflection_IReflect_GetProperty_1( - System_Reflection_IReflect_t self, - System_String_t name, - int bindingAttr, - System_Reflection_Binder_t binder, - System_Type_t returnType, - System_Type_Array_t types, - System_Reflection_ParameterModifier_Array_t modifiers, - ffi.Pointer outException, - ) { - return _System_Reflection_IReflect_GetProperty_1( - self, - name, - bindingAttr, - binder, - returnType, - types, - modifiers, - outException, - ); - } - - late final _System_Reflection_IReflect_GetProperty_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_PropertyInfo_t Function( - System_Reflection_IReflect_t, - System_String_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Type_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>>( - 'System_Reflection_IReflect_GetProperty_1'); - late final _System_Reflection_IReflect_GetProperty_1 = - _System_Reflection_IReflect_GetProperty_1Ptr.asFunction< - System_Reflection_PropertyInfo_t Function( - System_Reflection_IReflect_t, - System_String_t, - int, - System_Reflection_Binder_t, - System_Type_t, - System_Type_Array_t, - System_Reflection_ParameterModifier_Array_t, - ffi.Pointer)>(); - - System_Reflection_PropertyInfo_Array_t - System_Reflection_IReflect_GetProperties( - System_Reflection_IReflect_t self, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Reflection_IReflect_GetProperties( - self, - bindingAttr, - outException, - ); - } - - late final _System_Reflection_IReflect_GetPropertiesPtr = _lookup< - ffi.NativeFunction< - System_Reflection_PropertyInfo_Array_t Function( - System_Reflection_IReflect_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_IReflect_GetProperties'); - late final _System_Reflection_IReflect_GetProperties = - _System_Reflection_IReflect_GetPropertiesPtr.asFunction< - System_Reflection_PropertyInfo_Array_t Function( - System_Reflection_IReflect_t, - int, - ffi.Pointer)>(); - - System_Reflection_MemberInfo_Array_t System_Reflection_IReflect_GetMember( - System_Reflection_IReflect_t self, - System_String_t name, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Reflection_IReflect_GetMember( - self, - name, - bindingAttr, - outException, - ); - } - - late final _System_Reflection_IReflect_GetMemberPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Reflection_IReflect_t, - System_String_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_IReflect_GetMember'); - late final _System_Reflection_IReflect_GetMember = - _System_Reflection_IReflect_GetMemberPtr.asFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Reflection_IReflect_t, - System_String_t, - int, - ffi.Pointer)>(); - - System_Reflection_MemberInfo_Array_t System_Reflection_IReflect_GetMembers( - System_Reflection_IReflect_t self, - int bindingAttr, - ffi.Pointer outException, - ) { - return _System_Reflection_IReflect_GetMembers( - self, - bindingAttr, - outException, - ); - } - - late final _System_Reflection_IReflect_GetMembersPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Reflection_IReflect_t, - ffi.Int32, - ffi.Pointer)>>( - 'System_Reflection_IReflect_GetMembers'); - late final _System_Reflection_IReflect_GetMembers = - _System_Reflection_IReflect_GetMembersPtr.asFunction< - System_Reflection_MemberInfo_Array_t Function( - System_Reflection_IReflect_t, - int, - ffi.Pointer)>(); - - System_Object_t System_Reflection_IReflect_InvokeMember( - System_Reflection_IReflect_t self, - System_String_t name, - int invokeAttr, - System_Reflection_Binder_t binder, - System_Object_t target, - System_Object_Array_t args, - System_Reflection_ParameterModifier_Array_t modifiers, - System_Globalization_CultureInfo_t culture, - System_String_Array_t namedParameters, - ffi.Pointer outException, - ) { - return _System_Reflection_IReflect_InvokeMember( - self, - name, - invokeAttr, - binder, - target, - args, - modifiers, - culture, - namedParameters, - outException, - ); - } - - late final _System_Reflection_IReflect_InvokeMemberPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Reflection_IReflect_t, - System_String_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Object_t, - System_Object_Array_t, - System_Reflection_ParameterModifier_Array_t, - System_Globalization_CultureInfo_t, - System_String_Array_t, - ffi.Pointer)>>( - 'System_Reflection_IReflect_InvokeMember'); - late final _System_Reflection_IReflect_InvokeMember = - _System_Reflection_IReflect_InvokeMemberPtr.asFunction< - System_Object_t Function( - System_Reflection_IReflect_t, - System_String_t, - int, - System_Reflection_Binder_t, - System_Object_t, - System_Object_Array_t, - System_Reflection_ParameterModifier_Array_t, - System_Globalization_CultureInfo_t, - System_String_Array_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_IReflect_UnderlyingSystemType_Get( - System_Reflection_IReflect_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_IReflect_UnderlyingSystemType_Get( - self, - outException, - ); - } - - late final _System_Reflection_IReflect_UnderlyingSystemType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_IReflect_t, - ffi.Pointer)>>( - 'System_Reflection_IReflect_UnderlyingSystemType_Get'); - late final _System_Reflection_IReflect_UnderlyingSystemType_Get = - _System_Reflection_IReflect_UnderlyingSystemType_GetPtr.asFunction< - System_Type_t Function( - System_Reflection_IReflect_t, ffi.Pointer)>(); - - System_Type_t System_Reflection_IReflect_TypeOf() { - return _System_Reflection_IReflect_TypeOf(); - } - - late final _System_Reflection_IReflect_TypeOfPtr = - _lookup>( - 'System_Reflection_IReflect_TypeOf'); - late final _System_Reflection_IReflect_TypeOf = - _System_Reflection_IReflect_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_IReflect_Destroy( - System_Reflection_IReflect_t self, - ) { - return _System_Reflection_IReflect_Destroy( - self, - ); - } - - late final _System_Reflection_IReflect_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_Reflection_IReflect_Destroy'); - late final _System_Reflection_IReflect_Destroy = - _System_Reflection_IReflect_DestroyPtr.asFunction< - void Function(System_Reflection_IReflect_t)>(); - - System_Runtime_InteropServices_StructLayoutAttribute_t - System_Runtime_InteropServices_StructLayoutAttribute_Create( - int layoutKind, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_StructLayoutAttribute_Create( - layoutKind, - outException, - ); - } - - late final _System_Runtime_InteropServices_StructLayoutAttribute_CreatePtr = - _lookup< - ffi.NativeFunction< - System_Runtime_InteropServices_StructLayoutAttribute_t - Function(ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_StructLayoutAttribute_Create'); - late final _System_Runtime_InteropServices_StructLayoutAttribute_Create = - _System_Runtime_InteropServices_StructLayoutAttribute_CreatePtr - .asFunction< - System_Runtime_InteropServices_StructLayoutAttribute_t Function( - int, ffi.Pointer)>(); - - System_Runtime_InteropServices_StructLayoutAttribute_t - System_Runtime_InteropServices_StructLayoutAttribute_Create_1( - int layoutKind, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_StructLayoutAttribute_Create_1( - layoutKind, - outException, - ); - } - - late final _System_Runtime_InteropServices_StructLayoutAttribute_Create_1Ptr = - _lookup< - ffi.NativeFunction< - System_Runtime_InteropServices_StructLayoutAttribute_t - Function(ffi.Int16, ffi.Pointer)>>( - 'System_Runtime_InteropServices_StructLayoutAttribute_Create_1'); - late final _System_Runtime_InteropServices_StructLayoutAttribute_Create_1 = - _System_Runtime_InteropServices_StructLayoutAttribute_Create_1Ptr - .asFunction< - System_Runtime_InteropServices_StructLayoutAttribute_t Function( - int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_StructLayoutAttribute_Value_Get( - System_Runtime_InteropServices_StructLayoutAttribute_t self, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_StructLayoutAttribute_Value_Get( - self, - outException, - ); - } - - late final _System_Runtime_InteropServices_StructLayoutAttribute_Value_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Runtime_InteropServices_StructLayoutAttribute_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_StructLayoutAttribute_Value_Get'); - late final _System_Runtime_InteropServices_StructLayoutAttribute_Value_Get = - _System_Runtime_InteropServices_StructLayoutAttribute_Value_GetPtr - .asFunction< - int Function( - System_Runtime_InteropServices_StructLayoutAttribute_t, - ffi.Pointer)>(); - - int System_Runtime_InteropServices_StructLayoutAttribute_Pack_Get( - System_Runtime_InteropServices_StructLayoutAttribute_t self, - ) { - return _System_Runtime_InteropServices_StructLayoutAttribute_Pack_Get( - self, - ); - } - - late final _System_Runtime_InteropServices_StructLayoutAttribute_Pack_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Runtime_InteropServices_StructLayoutAttribute_t)>>( - 'System_Runtime_InteropServices_StructLayoutAttribute_Pack_Get'); - late final _System_Runtime_InteropServices_StructLayoutAttribute_Pack_Get = - _System_Runtime_InteropServices_StructLayoutAttribute_Pack_GetPtr - .asFunction< - int Function( - System_Runtime_InteropServices_StructLayoutAttribute_t)>(); - - void System_Runtime_InteropServices_StructLayoutAttribute_Pack_Set( - System_Runtime_InteropServices_StructLayoutAttribute_t self, - int value, - ) { - return _System_Runtime_InteropServices_StructLayoutAttribute_Pack_Set( - self, - value, - ); - } - - late final _System_Runtime_InteropServices_StructLayoutAttribute_Pack_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_InteropServices_StructLayoutAttribute_t, - ffi.Int32)>>( - 'System_Runtime_InteropServices_StructLayoutAttribute_Pack_Set'); - late final _System_Runtime_InteropServices_StructLayoutAttribute_Pack_Set = - _System_Runtime_InteropServices_StructLayoutAttribute_Pack_SetPtr - .asFunction< - void Function( - System_Runtime_InteropServices_StructLayoutAttribute_t, - int)>(); - - int System_Runtime_InteropServices_StructLayoutAttribute_Size_Get( - System_Runtime_InteropServices_StructLayoutAttribute_t self, - ) { - return _System_Runtime_InteropServices_StructLayoutAttribute_Size_Get( - self, - ); - } - - late final _System_Runtime_InteropServices_StructLayoutAttribute_Size_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Runtime_InteropServices_StructLayoutAttribute_t)>>( - 'System_Runtime_InteropServices_StructLayoutAttribute_Size_Get'); - late final _System_Runtime_InteropServices_StructLayoutAttribute_Size_Get = - _System_Runtime_InteropServices_StructLayoutAttribute_Size_GetPtr - .asFunction< - int Function( - System_Runtime_InteropServices_StructLayoutAttribute_t)>(); - - void System_Runtime_InteropServices_StructLayoutAttribute_Size_Set( - System_Runtime_InteropServices_StructLayoutAttribute_t self, - int value, - ) { - return _System_Runtime_InteropServices_StructLayoutAttribute_Size_Set( - self, - value, - ); - } - - late final _System_Runtime_InteropServices_StructLayoutAttribute_Size_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_InteropServices_StructLayoutAttribute_t, - ffi.Int32)>>( - 'System_Runtime_InteropServices_StructLayoutAttribute_Size_Set'); - late final _System_Runtime_InteropServices_StructLayoutAttribute_Size_Set = - _System_Runtime_InteropServices_StructLayoutAttribute_Size_SetPtr - .asFunction< - void Function( - System_Runtime_InteropServices_StructLayoutAttribute_t, - int)>(); - - int System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Get( - System_Runtime_InteropServices_StructLayoutAttribute_t self, - ) { - return _System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Get( - self, - ); - } - - late final _System_Runtime_InteropServices_StructLayoutAttribute_CharSet_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Runtime_InteropServices_StructLayoutAttribute_t)>>( - 'System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Get'); - late final _System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Get = - _System_Runtime_InteropServices_StructLayoutAttribute_CharSet_GetPtr - .asFunction< - int Function( - System_Runtime_InteropServices_StructLayoutAttribute_t)>(); - - void System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Set( - System_Runtime_InteropServices_StructLayoutAttribute_t self, - int value, - ) { - return _System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Set( - self, - value, - ); - } - - late final _System_Runtime_InteropServices_StructLayoutAttribute_CharSet_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_InteropServices_StructLayoutAttribute_t, - ffi.Int32)>>( - 'System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Set'); - late final _System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Set = - _System_Runtime_InteropServices_StructLayoutAttribute_CharSet_SetPtr - .asFunction< - void Function( - System_Runtime_InteropServices_StructLayoutAttribute_t, - int)>(); - - System_Type_t System_Runtime_InteropServices_StructLayoutAttribute_TypeOf() { - return _System_Runtime_InteropServices_StructLayoutAttribute_TypeOf(); - } - - late final _System_Runtime_InteropServices_StructLayoutAttribute_TypeOfPtr = - _lookup>( - 'System_Runtime_InteropServices_StructLayoutAttribute_TypeOf'); - late final _System_Runtime_InteropServices_StructLayoutAttribute_TypeOf = - _System_Runtime_InteropServices_StructLayoutAttribute_TypeOfPtr - .asFunction(); - - void System_Runtime_InteropServices_StructLayoutAttribute_Destroy( - System_Runtime_InteropServices_StructLayoutAttribute_t self, - ) { - return _System_Runtime_InteropServices_StructLayoutAttribute_Destroy( - self, - ); - } - - late final _System_Runtime_InteropServices_StructLayoutAttribute_DestroyPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Runtime_InteropServices_StructLayoutAttribute_t)>>( - 'System_Runtime_InteropServices_StructLayoutAttribute_Destroy'); - late final _System_Runtime_InteropServices_StructLayoutAttribute_Destroy = - _System_Runtime_InteropServices_StructLayoutAttribute_DestroyPtr - .asFunction< - void Function( - System_Runtime_InteropServices_StructLayoutAttribute_t)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes( - System_Reflection_MemberInfo_t element, - System_Type_t attributeType, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes( - element, - attributeType, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributesPtr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function(System_Reflection_MemberInfo_t, - System_Type_t, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes'); - late final _System_Attribute_GetCustomAttributes = - _System_Attribute_GetCustomAttributesPtr.asFunction< - System_Attribute_Array_t Function(System_Reflection_MemberInfo_t, - System_Type_t, ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_1( - System_Reflection_MemberInfo_t element, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_1( - element, - attributeType, - inherit, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_1Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function(System_Reflection_MemberInfo_t, - System_Type_t, ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_1'); - late final _System_Attribute_GetCustomAttributes_1 = - _System_Attribute_GetCustomAttributes_1Ptr.asFunction< - System_Attribute_Array_t Function(System_Reflection_MemberInfo_t, - System_Type_t, bool, ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_2( - System_Reflection_MemberInfo_t element, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_2( - element, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_2Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_2'); - late final _System_Attribute_GetCustomAttributes_2 = - _System_Attribute_GetCustomAttributes_2Ptr.asFunction< - System_Attribute_Array_t Function(System_Reflection_MemberInfo_t, - ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_3( - System_Reflection_MemberInfo_t element, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_3( - element, - inherit, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_3Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function(System_Reflection_MemberInfo_t, - ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_3'); - late final _System_Attribute_GetCustomAttributes_3 = - _System_Attribute_GetCustomAttributes_3Ptr.asFunction< - System_Attribute_Array_t Function(System_Reflection_MemberInfo_t, - bool, ffi.Pointer)>(); - - bool System_Attribute_IsDefined( - System_Reflection_MemberInfo_t element, - System_Type_t attributeType, - ffi.Pointer outException, - ) { - return _System_Attribute_IsDefined( - element, - attributeType, - outException, - ); - } - - late final _System_Attribute_IsDefinedPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MemberInfo_t, System_Type_t, - ffi.Pointer)>>('System_Attribute_IsDefined'); - late final _System_Attribute_IsDefined = - _System_Attribute_IsDefinedPtr.asFunction< - bool Function(System_Reflection_MemberInfo_t, System_Type_t, - ffi.Pointer)>(); - - bool System_Attribute_IsDefined_1( - System_Reflection_MemberInfo_t element, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_IsDefined_1( - element, - attributeType, - inherit, - outException, - ); - } - - late final _System_Attribute_IsDefined_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_MemberInfo_t, System_Type_t, - ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_IsDefined_1'); - late final _System_Attribute_IsDefined_1 = - _System_Attribute_IsDefined_1Ptr.asFunction< - bool Function(System_Reflection_MemberInfo_t, System_Type_t, bool, - ffi.Pointer)>(); - - System_Attribute_t System_Attribute_GetCustomAttribute_1( - System_Reflection_MemberInfo_t element, - System_Type_t attributeType, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttribute_1( - element, - attributeType, - outException, - ); - } - - late final _System_Attribute_GetCustomAttribute_1Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_t Function(System_Reflection_MemberInfo_t, - System_Type_t, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttribute_1'); - late final _System_Attribute_GetCustomAttribute_1 = - _System_Attribute_GetCustomAttribute_1Ptr.asFunction< - System_Attribute_t Function(System_Reflection_MemberInfo_t, - System_Type_t, ffi.Pointer)>(); - - System_Attribute_t System_Attribute_GetCustomAttribute_2( - System_Reflection_MemberInfo_t element, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttribute_2( - element, - attributeType, - inherit, - outException, - ); - } - - late final _System_Attribute_GetCustomAttribute_2Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_t Function(System_Reflection_MemberInfo_t, - System_Type_t, ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttribute_2'); - late final _System_Attribute_GetCustomAttribute_2 = - _System_Attribute_GetCustomAttribute_2Ptr.asFunction< - System_Attribute_t Function(System_Reflection_MemberInfo_t, - System_Type_t, bool, ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_4( - System_Reflection_ParameterInfo_t element, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_4( - element, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_4Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function( - System_Reflection_ParameterInfo_t, - ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_4'); - late final _System_Attribute_GetCustomAttributes_4 = - _System_Attribute_GetCustomAttributes_4Ptr.asFunction< - System_Attribute_Array_t Function(System_Reflection_ParameterInfo_t, - ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_5( - System_Reflection_ParameterInfo_t element, - System_Type_t attributeType, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_5( - element, - attributeType, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_5Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function( - System_Reflection_ParameterInfo_t, - System_Type_t, - ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_5'); - late final _System_Attribute_GetCustomAttributes_5 = - _System_Attribute_GetCustomAttributes_5Ptr.asFunction< - System_Attribute_Array_t Function(System_Reflection_ParameterInfo_t, - System_Type_t, ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_6( - System_Reflection_ParameterInfo_t element, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_6( - element, - attributeType, - inherit, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_6Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function( - System_Reflection_ParameterInfo_t, - System_Type_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_6'); - late final _System_Attribute_GetCustomAttributes_6 = - _System_Attribute_GetCustomAttributes_6Ptr.asFunction< - System_Attribute_Array_t Function(System_Reflection_ParameterInfo_t, - System_Type_t, bool, ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_7( - System_Reflection_ParameterInfo_t element, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_7( - element, - inherit, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_7Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function( - System_Reflection_ParameterInfo_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_7'); - late final _System_Attribute_GetCustomAttributes_7 = - _System_Attribute_GetCustomAttributes_7Ptr.asFunction< - System_Attribute_Array_t Function(System_Reflection_ParameterInfo_t, - bool, ffi.Pointer)>(); - - bool System_Attribute_IsDefined_2( - System_Reflection_ParameterInfo_t element, - System_Type_t attributeType, - ffi.Pointer outException, - ) { - return _System_Attribute_IsDefined_2( - element, - attributeType, - outException, - ); - } - - late final _System_Attribute_IsDefined_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_ParameterInfo_t, - System_Type_t, ffi.Pointer)>>( - 'System_Attribute_IsDefined_2'); - late final _System_Attribute_IsDefined_2 = - _System_Attribute_IsDefined_2Ptr.asFunction< - bool Function(System_Reflection_ParameterInfo_t, System_Type_t, - ffi.Pointer)>(); - - bool System_Attribute_IsDefined_3( - System_Reflection_ParameterInfo_t element, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_IsDefined_3( - element, - attributeType, - inherit, - outException, - ); - } - - late final _System_Attribute_IsDefined_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_ParameterInfo_t, - System_Type_t, ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_IsDefined_3'); - late final _System_Attribute_IsDefined_3 = - _System_Attribute_IsDefined_3Ptr.asFunction< - bool Function(System_Reflection_ParameterInfo_t, System_Type_t, bool, - ffi.Pointer)>(); - - System_Attribute_t System_Attribute_GetCustomAttribute_3( - System_Reflection_ParameterInfo_t element, - System_Type_t attributeType, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttribute_3( - element, - attributeType, - outException, - ); - } - - late final _System_Attribute_GetCustomAttribute_3Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_t Function(System_Reflection_ParameterInfo_t, - System_Type_t, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttribute_3'); - late final _System_Attribute_GetCustomAttribute_3 = - _System_Attribute_GetCustomAttribute_3Ptr.asFunction< - System_Attribute_t Function(System_Reflection_ParameterInfo_t, - System_Type_t, ffi.Pointer)>(); - - System_Attribute_t System_Attribute_GetCustomAttribute_4( - System_Reflection_ParameterInfo_t element, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttribute_4( - element, - attributeType, - inherit, - outException, - ); - } - - late final _System_Attribute_GetCustomAttribute_4Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_t Function(System_Reflection_ParameterInfo_t, - System_Type_t, ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttribute_4'); - late final _System_Attribute_GetCustomAttribute_4 = - _System_Attribute_GetCustomAttribute_4Ptr.asFunction< - System_Attribute_t Function(System_Reflection_ParameterInfo_t, - System_Type_t, bool, ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_8( - System_Reflection_Module_t element, - System_Type_t attributeType, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_8( - element, - attributeType, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_8Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function(System_Reflection_Module_t, - System_Type_t, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_8'); - late final _System_Attribute_GetCustomAttributes_8 = - _System_Attribute_GetCustomAttributes_8Ptr.asFunction< - System_Attribute_Array_t Function(System_Reflection_Module_t, - System_Type_t, ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_9( - System_Reflection_Module_t element, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_9( - element, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_9Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_9'); - late final _System_Attribute_GetCustomAttributes_9 = - _System_Attribute_GetCustomAttributes_9Ptr.asFunction< - System_Attribute_Array_t Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_10( - System_Reflection_Module_t element, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_10( - element, - inherit, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_10Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function(System_Reflection_Module_t, - ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_10'); - late final _System_Attribute_GetCustomAttributes_10 = - _System_Attribute_GetCustomAttributes_10Ptr.asFunction< - System_Attribute_Array_t Function(System_Reflection_Module_t, bool, - ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_11( - System_Reflection_Module_t element, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_11( - element, - attributeType, - inherit, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_11Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function(System_Reflection_Module_t, - System_Type_t, ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_11'); - late final _System_Attribute_GetCustomAttributes_11 = - _System_Attribute_GetCustomAttributes_11Ptr.asFunction< - System_Attribute_Array_t Function(System_Reflection_Module_t, - System_Type_t, bool, ffi.Pointer)>(); - - bool System_Attribute_IsDefined_4( - System_Reflection_Module_t element, - System_Type_t attributeType, - ffi.Pointer outException, - ) { - return _System_Attribute_IsDefined_4( - element, - attributeType, - outException, - ); - } - - late final _System_Attribute_IsDefined_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Module_t, System_Type_t, - ffi.Pointer)>>( - 'System_Attribute_IsDefined_4'); - late final _System_Attribute_IsDefined_4 = - _System_Attribute_IsDefined_4Ptr.asFunction< - bool Function(System_Reflection_Module_t, System_Type_t, - ffi.Pointer)>(); - - bool System_Attribute_IsDefined_5( - System_Reflection_Module_t element, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_IsDefined_5( - element, - attributeType, - inherit, - outException, - ); - } - - late final _System_Attribute_IsDefined_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Module_t, System_Type_t, - ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_IsDefined_5'); - late final _System_Attribute_IsDefined_5 = - _System_Attribute_IsDefined_5Ptr.asFunction< - bool Function(System_Reflection_Module_t, System_Type_t, bool, - ffi.Pointer)>(); - - System_Attribute_t System_Attribute_GetCustomAttribute_5( - System_Reflection_Module_t element, - System_Type_t attributeType, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttribute_5( - element, - attributeType, - outException, - ); - } - - late final _System_Attribute_GetCustomAttribute_5Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_t Function(System_Reflection_Module_t, - System_Type_t, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttribute_5'); - late final _System_Attribute_GetCustomAttribute_5 = - _System_Attribute_GetCustomAttribute_5Ptr.asFunction< - System_Attribute_t Function(System_Reflection_Module_t, System_Type_t, - ffi.Pointer)>(); - - System_Attribute_t System_Attribute_GetCustomAttribute_6( - System_Reflection_Module_t element, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttribute_6( - element, - attributeType, - inherit, - outException, - ); - } - - late final _System_Attribute_GetCustomAttribute_6Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_t Function(System_Reflection_Module_t, - System_Type_t, ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttribute_6'); - late final _System_Attribute_GetCustomAttribute_6 = - _System_Attribute_GetCustomAttribute_6Ptr.asFunction< - System_Attribute_t Function(System_Reflection_Module_t, System_Type_t, - bool, ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_12( - System_Reflection_Assembly_t element, - System_Type_t attributeType, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_12( - element, - attributeType, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_12Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function(System_Reflection_Assembly_t, - System_Type_t, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_12'); - late final _System_Attribute_GetCustomAttributes_12 = - _System_Attribute_GetCustomAttributes_12Ptr.asFunction< - System_Attribute_Array_t Function(System_Reflection_Assembly_t, - System_Type_t, ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_13( - System_Reflection_Assembly_t element, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_13( - element, - attributeType, - inherit, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_13Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function(System_Reflection_Assembly_t, - System_Type_t, ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_13'); - late final _System_Attribute_GetCustomAttributes_13 = - _System_Attribute_GetCustomAttributes_13Ptr.asFunction< - System_Attribute_Array_t Function(System_Reflection_Assembly_t, - System_Type_t, bool, ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_14( - System_Reflection_Assembly_t element, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_14( - element, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_14Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function(System_Reflection_Assembly_t, - ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_14'); - late final _System_Attribute_GetCustomAttributes_14 = - _System_Attribute_GetCustomAttributes_14Ptr.asFunction< - System_Attribute_Array_t Function( - System_Reflection_Assembly_t, ffi.Pointer)>(); - - System_Attribute_Array_t System_Attribute_GetCustomAttributes_15( - System_Reflection_Assembly_t element, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttributes_15( - element, - inherit, - outException, - ); - } - - late final _System_Attribute_GetCustomAttributes_15Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_Array_t Function(System_Reflection_Assembly_t, - ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttributes_15'); - late final _System_Attribute_GetCustomAttributes_15 = - _System_Attribute_GetCustomAttributes_15Ptr.asFunction< - System_Attribute_Array_t Function(System_Reflection_Assembly_t, bool, - ffi.Pointer)>(); - - bool System_Attribute_IsDefined_6( - System_Reflection_Assembly_t element, - System_Type_t attributeType, - ffi.Pointer outException, - ) { - return _System_Attribute_IsDefined_6( - element, - attributeType, - outException, - ); - } - - late final _System_Attribute_IsDefined_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Assembly_t, System_Type_t, - ffi.Pointer)>>( - 'System_Attribute_IsDefined_6'); - late final _System_Attribute_IsDefined_6 = - _System_Attribute_IsDefined_6Ptr.asFunction< - bool Function(System_Reflection_Assembly_t, System_Type_t, - ffi.Pointer)>(); - - bool System_Attribute_IsDefined_7( - System_Reflection_Assembly_t element, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_IsDefined_7( - element, - attributeType, - inherit, - outException, - ); - } - - late final _System_Attribute_IsDefined_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_Assembly_t, System_Type_t, - ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_IsDefined_7'); - late final _System_Attribute_IsDefined_7 = - _System_Attribute_IsDefined_7Ptr.asFunction< - bool Function(System_Reflection_Assembly_t, System_Type_t, bool, - ffi.Pointer)>(); - - System_Attribute_t System_Attribute_GetCustomAttribute_7( - System_Reflection_Assembly_t element, - System_Type_t attributeType, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttribute_7( - element, - attributeType, - outException, - ); - } - - late final _System_Attribute_GetCustomAttribute_7Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_t Function(System_Reflection_Assembly_t, - System_Type_t, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttribute_7'); - late final _System_Attribute_GetCustomAttribute_7 = - _System_Attribute_GetCustomAttribute_7Ptr.asFunction< - System_Attribute_t Function(System_Reflection_Assembly_t, - System_Type_t, ffi.Pointer)>(); - - System_Attribute_t System_Attribute_GetCustomAttribute_8( - System_Reflection_Assembly_t element, - System_Type_t attributeType, - bool inherit, - ffi.Pointer outException, - ) { - return _System_Attribute_GetCustomAttribute_8( - element, - attributeType, - inherit, - outException, - ); - } - - late final _System_Attribute_GetCustomAttribute_8Ptr = _lookup< - ffi.NativeFunction< - System_Attribute_t Function(System_Reflection_Assembly_t, - System_Type_t, ffi.Bool, ffi.Pointer)>>( - 'System_Attribute_GetCustomAttribute_8'); - late final _System_Attribute_GetCustomAttribute_8 = - _System_Attribute_GetCustomAttribute_8Ptr.asFunction< - System_Attribute_t Function(System_Reflection_Assembly_t, - System_Type_t, bool, ffi.Pointer)>(); - - bool System_Attribute_Equals( - System_Attribute_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Attribute_Equals( - self, - obj, - outException, - ); - } - - late final _System_Attribute_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Attribute_t, System_Object_t, - ffi.Pointer)>>('System_Attribute_Equals'); - late final _System_Attribute_Equals = _System_Attribute_EqualsPtr.asFunction< - bool Function(System_Attribute_t, System_Object_t, - ffi.Pointer)>(); - - int System_Attribute_GetHashCode( - System_Attribute_t self, - ffi.Pointer outException, - ) { - return _System_Attribute_GetHashCode( - self, - outException, - ); - } - - late final _System_Attribute_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Attribute_t, ffi.Pointer)>>( - 'System_Attribute_GetHashCode'); - late final _System_Attribute_GetHashCode = - _System_Attribute_GetHashCodePtr.asFunction< - int Function(System_Attribute_t, ffi.Pointer)>(); - - bool System_Attribute_Match( - System_Attribute_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Attribute_Match( - self, - obj, - outException, - ); - } - - late final _System_Attribute_MatchPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Attribute_t, System_Object_t, - ffi.Pointer)>>('System_Attribute_Match'); - late final _System_Attribute_Match = _System_Attribute_MatchPtr.asFunction< - bool Function(System_Attribute_t, System_Object_t, - ffi.Pointer)>(); - - bool System_Attribute_IsDefaultAttribute( - System_Attribute_t self, - ffi.Pointer outException, - ) { - return _System_Attribute_IsDefaultAttribute( - self, - outException, - ); - } - - late final _System_Attribute_IsDefaultAttributePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Attribute_t, ffi.Pointer)>>( - 'System_Attribute_IsDefaultAttribute'); - late final _System_Attribute_IsDefaultAttribute = - _System_Attribute_IsDefaultAttributePtr.asFunction< - bool Function(System_Attribute_t, ffi.Pointer)>(); - - System_Object_t System_Attribute_TypeId_Get( - System_Attribute_t self, - ffi.Pointer outException, - ) { - return _System_Attribute_TypeId_Get( - self, - outException, - ); - } - - late final _System_Attribute_TypeId_GetPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Attribute_t, - ffi.Pointer)>>('System_Attribute_TypeId_Get'); - late final _System_Attribute_TypeId_Get = - _System_Attribute_TypeId_GetPtr.asFunction< - System_Object_t Function( - System_Attribute_t, ffi.Pointer)>(); - - System_Type_t System_Attribute_TypeOf() { - return _System_Attribute_TypeOf(); - } - - late final _System_Attribute_TypeOfPtr = - _lookup>( - 'System_Attribute_TypeOf'); - late final _System_Attribute_TypeOf = - _System_Attribute_TypeOfPtr.asFunction(); - - void System_Attribute_Destroy( - System_Attribute_t self, - ) { - return _System_Attribute_Destroy( - self, - ); - } - - late final _System_Attribute_DestroyPtr = - _lookup>( - 'System_Attribute_Destroy'); - late final _System_Attribute_Destroy = _System_Attribute_DestroyPtr - .asFunction(); - - System_Object_t System_Reflection_ConstructorInfo_Invoke( - System_Reflection_ConstructorInfo_t self, - System_Object_Array_t parameters, - ffi.Pointer outException, - ) { - return _System_Reflection_ConstructorInfo_Invoke( - self, - parameters, - outException, - ); - } - - late final _System_Reflection_ConstructorInfo_InvokePtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Reflection_ConstructorInfo_t, - System_Object_Array_t, ffi.Pointer)>>( - 'System_Reflection_ConstructorInfo_Invoke'); - late final _System_Reflection_ConstructorInfo_Invoke = - _System_Reflection_ConstructorInfo_InvokePtr.asFunction< - System_Object_t Function(System_Reflection_ConstructorInfo_t, - System_Object_Array_t, ffi.Pointer)>(); - - System_Object_t System_Reflection_ConstructorInfo_Invoke_1( - System_Reflection_ConstructorInfo_t self, - int invokeAttr, - System_Reflection_Binder_t binder, - System_Object_Array_t parameters, - System_Globalization_CultureInfo_t culture, - ffi.Pointer outException, - ) { - return _System_Reflection_ConstructorInfo_Invoke_1( - self, - invokeAttr, - binder, - parameters, - culture, - outException, - ); - } - - late final _System_Reflection_ConstructorInfo_Invoke_1Ptr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Reflection_ConstructorInfo_t, - ffi.Int32, - System_Reflection_Binder_t, - System_Object_Array_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ConstructorInfo_Invoke_1'); - late final _System_Reflection_ConstructorInfo_Invoke_1 = - _System_Reflection_ConstructorInfo_Invoke_1Ptr.asFunction< - System_Object_t Function( - System_Reflection_ConstructorInfo_t, - int, - System_Reflection_Binder_t, - System_Object_Array_t, - System_Globalization_CultureInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_ConstructorInfo_Equals( - System_Reflection_ConstructorInfo_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Reflection_ConstructorInfo_Equals( - self, - obj, - outException, - ); - } - - late final _System_Reflection_ConstructorInfo_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_ConstructorInfo_t, - System_Object_t, ffi.Pointer)>>( - 'System_Reflection_ConstructorInfo_Equals'); - late final _System_Reflection_ConstructorInfo_Equals = - _System_Reflection_ConstructorInfo_EqualsPtr.asFunction< - bool Function(System_Reflection_ConstructorInfo_t, System_Object_t, - ffi.Pointer)>(); - - int System_Reflection_ConstructorInfo_GetHashCode( - System_Reflection_ConstructorInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ConstructorInfo_GetHashCode( - self, - outException, - ); - } - - late final _System_Reflection_ConstructorInfo_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_ConstructorInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ConstructorInfo_GetHashCode'); - late final _System_Reflection_ConstructorInfo_GetHashCode = - _System_Reflection_ConstructorInfo_GetHashCodePtr.asFunction< - int Function(System_Reflection_ConstructorInfo_t, - ffi.Pointer)>(); - - int System_Reflection_ConstructorInfo_MemberType_Get( - System_Reflection_ConstructorInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_ConstructorInfo_MemberType_Get( - self, - outException, - ); - } - - late final _System_Reflection_ConstructorInfo_MemberType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_ConstructorInfo_t, - ffi.Pointer)>>( - 'System_Reflection_ConstructorInfo_MemberType_Get'); - late final _System_Reflection_ConstructorInfo_MemberType_Get = - _System_Reflection_ConstructorInfo_MemberType_GetPtr.asFunction< - int Function(System_Reflection_ConstructorInfo_t, - ffi.Pointer)>(); - - System_String_t System_Reflection_ConstructorInfo_ConstructorName_Get() { - return _System_Reflection_ConstructorInfo_ConstructorName_Get(); - } - - late final _System_Reflection_ConstructorInfo_ConstructorName_GetPtr = - _lookup>( - 'System_Reflection_ConstructorInfo_ConstructorName_Get'); - late final _System_Reflection_ConstructorInfo_ConstructorName_Get = - _System_Reflection_ConstructorInfo_ConstructorName_GetPtr.asFunction< - System_String_t Function()>(); - - System_String_t System_Reflection_ConstructorInfo_TypeConstructorName_Get() { - return _System_Reflection_ConstructorInfo_TypeConstructorName_Get(); - } - - late final _System_Reflection_ConstructorInfo_TypeConstructorName_GetPtr = - _lookup>( - 'System_Reflection_ConstructorInfo_TypeConstructorName_Get'); - late final _System_Reflection_ConstructorInfo_TypeConstructorName_Get = - _System_Reflection_ConstructorInfo_TypeConstructorName_GetPtr.asFunction< - System_String_t Function()>(); - - System_Type_t System_Reflection_ConstructorInfo_TypeOf() { - return _System_Reflection_ConstructorInfo_TypeOf(); - } - - late final _System_Reflection_ConstructorInfo_TypeOfPtr = - _lookup>( - 'System_Reflection_ConstructorInfo_TypeOf'); - late final _System_Reflection_ConstructorInfo_TypeOf = - _System_Reflection_ConstructorInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_ConstructorInfo_Destroy( - System_Reflection_ConstructorInfo_t self, - ) { - return _System_Reflection_ConstructorInfo_Destroy( - self, - ); - } - - late final _System_Reflection_ConstructorInfo_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_ConstructorInfo_t)>>( - 'System_Reflection_ConstructorInfo_Destroy'); - late final _System_Reflection_ConstructorInfo_Destroy = - _System_Reflection_ConstructorInfo_DestroyPtr.asFunction< - void Function(System_Reflection_ConstructorInfo_t)>(); - - System_Reflection_MethodInfo_Array_t - System_Reflection_EventInfo_GetOtherMethods( - System_Reflection_EventInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_GetOtherMethods( - self, - outException, - ); - } - - late final _System_Reflection_EventInfo_GetOtherMethodsPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_EventInfo_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_GetOtherMethods'); - late final _System_Reflection_EventInfo_GetOtherMethods = - _System_Reflection_EventInfo_GetOtherMethodsPtr.asFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_EventInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_Array_t - System_Reflection_EventInfo_GetOtherMethods_1( - System_Reflection_EventInfo_t self, - bool nonPublic, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_GetOtherMethods_1( - self, - nonPublic, - outException, - ); - } - - late final _System_Reflection_EventInfo_GetOtherMethods_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_EventInfo_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_GetOtherMethods_1'); - late final _System_Reflection_EventInfo_GetOtherMethods_1 = - _System_Reflection_EventInfo_GetOtherMethods_1Ptr.asFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_EventInfo_t, - bool, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_EventInfo_GetAddMethod( - System_Reflection_EventInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_GetAddMethod( - self, - outException, - ); - } - - late final _System_Reflection_EventInfo_GetAddMethodPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_EventInfo_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_GetAddMethod'); - late final _System_Reflection_EventInfo_GetAddMethod = - _System_Reflection_EventInfo_GetAddMethodPtr.asFunction< - System_Reflection_MethodInfo_t Function(System_Reflection_EventInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_EventInfo_GetRemoveMethod( - System_Reflection_EventInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_GetRemoveMethod( - self, - outException, - ); - } - - late final _System_Reflection_EventInfo_GetRemoveMethodPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_EventInfo_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_GetRemoveMethod'); - late final _System_Reflection_EventInfo_GetRemoveMethod = - _System_Reflection_EventInfo_GetRemoveMethodPtr.asFunction< - System_Reflection_MethodInfo_t Function(System_Reflection_EventInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_EventInfo_GetRaiseMethod( - System_Reflection_EventInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_GetRaiseMethod( - self, - outException, - ); - } - - late final _System_Reflection_EventInfo_GetRaiseMethodPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_EventInfo_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_GetRaiseMethod'); - late final _System_Reflection_EventInfo_GetRaiseMethod = - _System_Reflection_EventInfo_GetRaiseMethodPtr.asFunction< - System_Reflection_MethodInfo_t Function(System_Reflection_EventInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_EventInfo_GetAddMethod_1( - System_Reflection_EventInfo_t self, - bool nonPublic, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_GetAddMethod_1( - self, - nonPublic, - outException, - ); - } - - late final _System_Reflection_EventInfo_GetAddMethod_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_EventInfo_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_GetAddMethod_1'); - late final _System_Reflection_EventInfo_GetAddMethod_1 = - _System_Reflection_EventInfo_GetAddMethod_1Ptr.asFunction< - System_Reflection_MethodInfo_t Function(System_Reflection_EventInfo_t, - bool, ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_EventInfo_GetRemoveMethod_1( - System_Reflection_EventInfo_t self, - bool nonPublic, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_GetRemoveMethod_1( - self, - nonPublic, - outException, - ); - } - - late final _System_Reflection_EventInfo_GetRemoveMethod_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_EventInfo_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_GetRemoveMethod_1'); - late final _System_Reflection_EventInfo_GetRemoveMethod_1 = - _System_Reflection_EventInfo_GetRemoveMethod_1Ptr.asFunction< - System_Reflection_MethodInfo_t Function(System_Reflection_EventInfo_t, - bool, ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_EventInfo_GetRaiseMethod_1( - System_Reflection_EventInfo_t self, - bool nonPublic, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_GetRaiseMethod_1( - self, - nonPublic, - outException, - ); - } - - late final _System_Reflection_EventInfo_GetRaiseMethod_1Ptr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_EventInfo_t, - ffi.Bool, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_GetRaiseMethod_1'); - late final _System_Reflection_EventInfo_GetRaiseMethod_1 = - _System_Reflection_EventInfo_GetRaiseMethod_1Ptr.asFunction< - System_Reflection_MethodInfo_t Function(System_Reflection_EventInfo_t, - bool, ffi.Pointer)>(); - - void System_Reflection_EventInfo_AddEventHandler( - System_Reflection_EventInfo_t self, - System_Object_t target, - System_Delegate_t handler, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_AddEventHandler( - self, - target, - handler, - outException, - ); - } - - late final _System_Reflection_EventInfo_AddEventHandlerPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_EventInfo_t, System_Object_t, - System_Delegate_t, ffi.Pointer)>>( - 'System_Reflection_EventInfo_AddEventHandler'); - late final _System_Reflection_EventInfo_AddEventHandler = - _System_Reflection_EventInfo_AddEventHandlerPtr.asFunction< - void Function(System_Reflection_EventInfo_t, System_Object_t, - System_Delegate_t, ffi.Pointer)>(); - - void System_Reflection_EventInfo_RemoveEventHandler( - System_Reflection_EventInfo_t self, - System_Object_t target, - System_Delegate_t handler, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_RemoveEventHandler( - self, - target, - handler, - outException, - ); - } - - late final _System_Reflection_EventInfo_RemoveEventHandlerPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_EventInfo_t, System_Object_t, - System_Delegate_t, ffi.Pointer)>>( - 'System_Reflection_EventInfo_RemoveEventHandler'); - late final _System_Reflection_EventInfo_RemoveEventHandler = - _System_Reflection_EventInfo_RemoveEventHandlerPtr.asFunction< - void Function(System_Reflection_EventInfo_t, System_Object_t, - System_Delegate_t, ffi.Pointer)>(); - - bool System_Reflection_EventInfo_Equals( - System_Reflection_EventInfo_t self, - System_Object_t obj, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_Equals( - self, - obj, - outException, - ); - } - - late final _System_Reflection_EventInfo_EqualsPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_EventInfo_t, System_Object_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_Equals'); - late final _System_Reflection_EventInfo_Equals = - _System_Reflection_EventInfo_EqualsPtr.asFunction< - bool Function(System_Reflection_EventInfo_t, System_Object_t, - ffi.Pointer)>(); - - int System_Reflection_EventInfo_GetHashCode( - System_Reflection_EventInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_GetHashCode( - self, - outException, - ); - } - - late final _System_Reflection_EventInfo_GetHashCodePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_EventInfo_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_GetHashCode'); - late final _System_Reflection_EventInfo_GetHashCode = - _System_Reflection_EventInfo_GetHashCodePtr.asFunction< - int Function(System_Reflection_EventInfo_t, - ffi.Pointer)>(); - - int System_Reflection_EventInfo_MemberType_Get( - System_Reflection_EventInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_MemberType_Get( - self, - outException, - ); - } - - late final _System_Reflection_EventInfo_MemberType_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_EventInfo_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_MemberType_Get'); - late final _System_Reflection_EventInfo_MemberType_Get = - _System_Reflection_EventInfo_MemberType_GetPtr.asFunction< - int Function(System_Reflection_EventInfo_t, - ffi.Pointer)>(); - - int System_Reflection_EventInfo_Attributes_Get( - System_Reflection_EventInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_Attributes_Get( - self, - outException, - ); - } - - late final _System_Reflection_EventInfo_Attributes_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Reflection_EventInfo_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_Attributes_Get'); - late final _System_Reflection_EventInfo_Attributes_Get = - _System_Reflection_EventInfo_Attributes_GetPtr.asFunction< - int Function(System_Reflection_EventInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_EventInfo_IsSpecialName_Get( - System_Reflection_EventInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_IsSpecialName_Get( - self, - outException, - ); - } - - late final _System_Reflection_EventInfo_IsSpecialName_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_EventInfo_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_IsSpecialName_Get'); - late final _System_Reflection_EventInfo_IsSpecialName_Get = - _System_Reflection_EventInfo_IsSpecialName_GetPtr.asFunction< - bool Function(System_Reflection_EventInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_EventInfo_AddMethod_Get( - System_Reflection_EventInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_AddMethod_Get( - self, - outException, - ); - } - - late final _System_Reflection_EventInfo_AddMethod_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_EventInfo_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_AddMethod_Get'); - late final _System_Reflection_EventInfo_AddMethod_Get = - _System_Reflection_EventInfo_AddMethod_GetPtr.asFunction< - System_Reflection_MethodInfo_t Function(System_Reflection_EventInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_EventInfo_RemoveMethod_Get( - System_Reflection_EventInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_RemoveMethod_Get( - self, - outException, - ); - } - - late final _System_Reflection_EventInfo_RemoveMethod_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_EventInfo_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_RemoveMethod_Get'); - late final _System_Reflection_EventInfo_RemoveMethod_Get = - _System_Reflection_EventInfo_RemoveMethod_GetPtr.asFunction< - System_Reflection_MethodInfo_t Function(System_Reflection_EventInfo_t, - ffi.Pointer)>(); - - System_Reflection_MethodInfo_t System_Reflection_EventInfo_RaiseMethod_Get( - System_Reflection_EventInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_RaiseMethod_Get( - self, - outException, - ); - } - - late final _System_Reflection_EventInfo_RaiseMethod_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_t Function( - System_Reflection_EventInfo_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_RaiseMethod_Get'); - late final _System_Reflection_EventInfo_RaiseMethod_Get = - _System_Reflection_EventInfo_RaiseMethod_GetPtr.asFunction< - System_Reflection_MethodInfo_t Function(System_Reflection_EventInfo_t, - ffi.Pointer)>(); - - bool System_Reflection_EventInfo_IsMulticast_Get( - System_Reflection_EventInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_IsMulticast_Get( - self, - outException, - ); - } - - late final _System_Reflection_EventInfo_IsMulticast_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_EventInfo_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_IsMulticast_Get'); - late final _System_Reflection_EventInfo_IsMulticast_Get = - _System_Reflection_EventInfo_IsMulticast_GetPtr.asFunction< - bool Function(System_Reflection_EventInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_EventInfo_EventHandlerType_Get( - System_Reflection_EventInfo_t self, - ffi.Pointer outException, - ) { - return _System_Reflection_EventInfo_EventHandlerType_Get( - self, - outException, - ); - } - - late final _System_Reflection_EventInfo_EventHandlerType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_EventInfo_t, - ffi.Pointer)>>( - 'System_Reflection_EventInfo_EventHandlerType_Get'); - late final _System_Reflection_EventInfo_EventHandlerType_Get = - _System_Reflection_EventInfo_EventHandlerType_GetPtr.asFunction< - System_Type_t Function(System_Reflection_EventInfo_t, - ffi.Pointer)>(); - - System_Type_t System_Reflection_EventInfo_TypeOf() { - return _System_Reflection_EventInfo_TypeOf(); - } - - late final _System_Reflection_EventInfo_TypeOfPtr = - _lookup>( - 'System_Reflection_EventInfo_TypeOf'); - late final _System_Reflection_EventInfo_TypeOf = - _System_Reflection_EventInfo_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_EventInfo_Destroy( - System_Reflection_EventInfo_t self, - ) { - return _System_Reflection_EventInfo_Destroy( - self, - ); - } - - late final _System_Reflection_EventInfo_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_Reflection_EventInfo_Destroy'); - late final _System_Reflection_EventInfo_Destroy = - _System_Reflection_EventInfo_DestroyPtr.asFunction< - void Function(System_Reflection_EventInfo_t)>(); - - System_Type_t System_Reflection_InterfaceMapping_TargetType_Get( - System_Reflection_InterfaceMapping_t self, - ) { - return _System_Reflection_InterfaceMapping_TargetType_Get( - self, - ); - } - - late final _System_Reflection_InterfaceMapping_TargetType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_InterfaceMapping_t)>>( - 'System_Reflection_InterfaceMapping_TargetType_Get'); - late final _System_Reflection_InterfaceMapping_TargetType_Get = - _System_Reflection_InterfaceMapping_TargetType_GetPtr.asFunction< - System_Type_t Function(System_Reflection_InterfaceMapping_t)>(); - - void System_Reflection_InterfaceMapping_TargetType_Set( - System_Reflection_InterfaceMapping_t self, - System_Type_t value, - ) { - return _System_Reflection_InterfaceMapping_TargetType_Set( - self, - value, - ); - } - - late final _System_Reflection_InterfaceMapping_TargetType_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_InterfaceMapping_t, System_Type_t)>>( - 'System_Reflection_InterfaceMapping_TargetType_Set'); - late final _System_Reflection_InterfaceMapping_TargetType_Set = - _System_Reflection_InterfaceMapping_TargetType_SetPtr.asFunction< - void Function(System_Reflection_InterfaceMapping_t, System_Type_t)>(); - - System_Type_t System_Reflection_InterfaceMapping_InterfaceType_Get( - System_Reflection_InterfaceMapping_t self, - ) { - return _System_Reflection_InterfaceMapping_InterfaceType_Get( - self, - ); - } - - late final _System_Reflection_InterfaceMapping_InterfaceType_GetPtr = _lookup< - ffi.NativeFunction< - System_Type_t Function(System_Reflection_InterfaceMapping_t)>>( - 'System_Reflection_InterfaceMapping_InterfaceType_Get'); - late final _System_Reflection_InterfaceMapping_InterfaceType_Get = - _System_Reflection_InterfaceMapping_InterfaceType_GetPtr.asFunction< - System_Type_t Function(System_Reflection_InterfaceMapping_t)>(); - - void System_Reflection_InterfaceMapping_InterfaceType_Set( - System_Reflection_InterfaceMapping_t self, - System_Type_t value, - ) { - return _System_Reflection_InterfaceMapping_InterfaceType_Set( - self, - value, - ); - } - - late final _System_Reflection_InterfaceMapping_InterfaceType_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_InterfaceMapping_t, System_Type_t)>>( - 'System_Reflection_InterfaceMapping_InterfaceType_Set'); - late final _System_Reflection_InterfaceMapping_InterfaceType_Set = - _System_Reflection_InterfaceMapping_InterfaceType_SetPtr.asFunction< - void Function(System_Reflection_InterfaceMapping_t, System_Type_t)>(); - - System_Reflection_MethodInfo_Array_t - System_Reflection_InterfaceMapping_TargetMethods_Get( - System_Reflection_InterfaceMapping_t self, - ) { - return _System_Reflection_InterfaceMapping_TargetMethods_Get( - self, - ); - } - - late final _System_Reflection_InterfaceMapping_TargetMethods_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_InterfaceMapping_t)>>( - 'System_Reflection_InterfaceMapping_TargetMethods_Get'); - late final _System_Reflection_InterfaceMapping_TargetMethods_Get = - _System_Reflection_InterfaceMapping_TargetMethods_GetPtr.asFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_InterfaceMapping_t)>(); - - void System_Reflection_InterfaceMapping_TargetMethods_Set( - System_Reflection_InterfaceMapping_t self, - System_Reflection_MethodInfo_Array_t value, - ) { - return _System_Reflection_InterfaceMapping_TargetMethods_Set( - self, - value, - ); - } - - late final _System_Reflection_InterfaceMapping_TargetMethods_SetPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_InterfaceMapping_t, - System_Reflection_MethodInfo_Array_t)>>( - 'System_Reflection_InterfaceMapping_TargetMethods_Set'); - late final _System_Reflection_InterfaceMapping_TargetMethods_Set = - _System_Reflection_InterfaceMapping_TargetMethods_SetPtr.asFunction< - void Function(System_Reflection_InterfaceMapping_t, - System_Reflection_MethodInfo_Array_t)>(); - - System_Reflection_MethodInfo_Array_t - System_Reflection_InterfaceMapping_InterfaceMethods_Get( - System_Reflection_InterfaceMapping_t self, - ) { - return _System_Reflection_InterfaceMapping_InterfaceMethods_Get( - self, - ); - } - - late final _System_Reflection_InterfaceMapping_InterfaceMethods_GetPtr = - _lookup< - ffi.NativeFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_InterfaceMapping_t)>>( - 'System_Reflection_InterfaceMapping_InterfaceMethods_Get'); - late final _System_Reflection_InterfaceMapping_InterfaceMethods_Get = - _System_Reflection_InterfaceMapping_InterfaceMethods_GetPtr.asFunction< - System_Reflection_MethodInfo_Array_t Function( - System_Reflection_InterfaceMapping_t)>(); - - void System_Reflection_InterfaceMapping_InterfaceMethods_Set( - System_Reflection_InterfaceMapping_t self, - System_Reflection_MethodInfo_Array_t value, - ) { - return _System_Reflection_InterfaceMapping_InterfaceMethods_Set( - self, - value, - ); - } - - late final _System_Reflection_InterfaceMapping_InterfaceMethods_SetPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_InterfaceMapping_t, - System_Reflection_MethodInfo_Array_t)>>( - 'System_Reflection_InterfaceMapping_InterfaceMethods_Set'); - late final _System_Reflection_InterfaceMapping_InterfaceMethods_Set = - _System_Reflection_InterfaceMapping_InterfaceMethods_SetPtr.asFunction< - void Function(System_Reflection_InterfaceMapping_t, - System_Reflection_MethodInfo_Array_t)>(); - - System_Reflection_InterfaceMapping_t - System_Reflection_InterfaceMapping_Create( - ffi.Pointer outException, - ) { - return _System_Reflection_InterfaceMapping_Create( - outException, - ); - } - - late final _System_Reflection_InterfaceMapping_CreatePtr = _lookup< - ffi.NativeFunction< - System_Reflection_InterfaceMapping_t Function( - ffi.Pointer)>>( - 'System_Reflection_InterfaceMapping_Create'); - late final _System_Reflection_InterfaceMapping_Create = - _System_Reflection_InterfaceMapping_CreatePtr.asFunction< - System_Reflection_InterfaceMapping_t Function( - ffi.Pointer)>(); - - System_Type_t System_Reflection_InterfaceMapping_TypeOf() { - return _System_Reflection_InterfaceMapping_TypeOf(); - } - - late final _System_Reflection_InterfaceMapping_TypeOfPtr = - _lookup>( - 'System_Reflection_InterfaceMapping_TypeOf'); - late final _System_Reflection_InterfaceMapping_TypeOf = - _System_Reflection_InterfaceMapping_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_InterfaceMapping_Destroy( - System_Reflection_InterfaceMapping_t self, - ) { - return _System_Reflection_InterfaceMapping_Destroy( - self, - ); - } - - late final _System_Reflection_InterfaceMapping_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_InterfaceMapping_t)>>( - 'System_Reflection_InterfaceMapping_Destroy'); - late final _System_Reflection_InterfaceMapping_Destroy = - _System_Reflection_InterfaceMapping_DestroyPtr.asFunction< - void Function(System_Reflection_InterfaceMapping_t)>(); - - int System_Runtime_InteropServices_Marshal_OffsetOf( - System_Type_t t, - System_String_t fieldName, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_OffsetOf( - t, - fieldName, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_OffsetOfPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Type_t, System_String_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_OffsetOf'); - late final _System_Runtime_InteropServices_Marshal_OffsetOf = - _System_Runtime_InteropServices_Marshal_OffsetOfPtr.asFunction< - int Function(System_Type_t, System_String_t, - ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadByte( - System_Object_t ptr, - int ofs, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadByte( - ptr, - ofs, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadBytePtr = _lookup< - ffi.NativeFunction< - ffi.Uint8 Function(System_Object_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadByte'); - late final _System_Runtime_InteropServices_Marshal_ReadByte = - _System_Runtime_InteropServices_Marshal_ReadBytePtr.asFunction< - int Function( - System_Object_t, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadInt16( - System_Object_t ptr, - int ofs, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadInt16( - ptr, - ofs, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadInt16Ptr = _lookup< - ffi.NativeFunction< - ffi.Int16 Function(System_Object_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadInt16'); - late final _System_Runtime_InteropServices_Marshal_ReadInt16 = - _System_Runtime_InteropServices_Marshal_ReadInt16Ptr.asFunction< - int Function( - System_Object_t, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadInt32( - System_Object_t ptr, - int ofs, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadInt32( - ptr, - ofs, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadInt32Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Object_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadInt32'); - late final _System_Runtime_InteropServices_Marshal_ReadInt32 = - _System_Runtime_InteropServices_Marshal_ReadInt32Ptr.asFunction< - int Function( - System_Object_t, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadInt64( - ffi.Pointer ptr, - int ofs, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadInt64( - ptr, - ofs, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadInt64Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(ffi.Pointer, ffi.Int32, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadInt64'); - late final _System_Runtime_InteropServices_Marshal_ReadInt64 = - _System_Runtime_InteropServices_Marshal_ReadInt64Ptr.asFunction< - int Function(ffi.Pointer, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_WriteByte( - System_Object_t ptr, - int ofs, - int val, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_WriteByte( - ptr, - ofs, - val, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_WriteBytePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Object_t, ffi.Int32, ffi.Uint8, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_WriteByte'); - late final _System_Runtime_InteropServices_Marshal_WriteByte = - _System_Runtime_InteropServices_Marshal_WriteBytePtr.asFunction< - void Function( - System_Object_t, int, int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_WriteInt32( - System_Object_t ptr, - int ofs, - int val, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_WriteInt32( - ptr, - ofs, - val, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_WriteInt32Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Object_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_WriteInt32'); - late final _System_Runtime_InteropServices_Marshal_WriteInt32 = - _System_Runtime_InteropServices_Marshal_WriteInt32Ptr.asFunction< - void Function( - System_Object_t, int, int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_WriteInt64( - System_Object_t ptr, - int ofs, - int val, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_WriteInt64( - ptr, - ofs, - val, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_WriteInt64Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Object_t, ffi.Int32, ffi.Int64, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_WriteInt64'); - late final _System_Runtime_InteropServices_Marshal_WriteInt64 = - _System_Runtime_InteropServices_Marshal_WriteInt64Ptr.asFunction< - void Function( - System_Object_t, int, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetLastPInvokeError( - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetLastPInvokeError( - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetLastPInvokeErrorPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetLastPInvokeError'); - late final _System_Runtime_InteropServices_Marshal_GetLastPInvokeError = - _System_Runtime_InteropServices_Marshal_GetLastPInvokeErrorPtr.asFunction< - int Function(ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_SetLastPInvokeError( - int error, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_SetLastPInvokeError( - error, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_SetLastPInvokeErrorPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_SetLastPInvokeError'); - late final _System_Runtime_InteropServices_Marshal_SetLastPInvokeError = - _System_Runtime_InteropServices_Marshal_SetLastPInvokeErrorPtr.asFunction< - void Function(int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetExceptionPointers( - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetExceptionPointers( - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetExceptionPointersPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetExceptionPointers'); - late final _System_Runtime_InteropServices_Marshal_GetExceptionPointers = - _System_Runtime_InteropServices_Marshal_GetExceptionPointersPtr - .asFunction)>(); - - int System_Runtime_InteropServices_Marshal_GetExceptionCode( - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetExceptionCode( - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetExceptionCodePtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetExceptionCode'); - late final _System_Runtime_InteropServices_Marshal_GetExceptionCode = - _System_Runtime_InteropServices_Marshal_GetExceptionCodePtr.asFunction< - int Function(ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_StructureToPtr( - System_Object_t structure, - int ptr, - bool fDeleteOld, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_StructureToPtr( - structure, - ptr, - fDeleteOld, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_StructureToPtrPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Object_t, ffi.Long, ffi.Bool, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_StructureToPtr'); - late final _System_Runtime_InteropServices_Marshal_StructureToPtr = - _System_Runtime_InteropServices_Marshal_StructureToPtrPtr.asFunction< - void Function( - System_Object_t, int, bool, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_DestroyStructure( - int ptr, - System_Type_t structuretype, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_DestroyStructure( - ptr, - structuretype, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_DestroyStructurePtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, System_Type_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_DestroyStructure'); - late final _System_Runtime_InteropServices_Marshal_DestroyStructure = - _System_Runtime_InteropServices_Marshal_DestroyStructurePtr.asFunction< - void Function(int, System_Type_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_AllocHGlobal( - int cb, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_AllocHGlobal( - cb, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_AllocHGlobalPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_AllocHGlobal'); - late final _System_Runtime_InteropServices_Marshal_AllocHGlobal = - _System_Runtime_InteropServices_Marshal_AllocHGlobalPtr.asFunction< - int Function(int, ffi.Pointer)>(); - - System_String_t System_Runtime_InteropServices_Marshal_PtrToStringAnsi( - int ptr, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_PtrToStringAnsi( - ptr, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_PtrToStringAnsiPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_PtrToStringAnsi'); - late final _System_Runtime_InteropServices_Marshal_PtrToStringAnsi = - _System_Runtime_InteropServices_Marshal_PtrToStringAnsiPtr.asFunction< - System_String_t Function(int, ffi.Pointer)>(); - - System_String_t System_Runtime_InteropServices_Marshal_PtrToStringAnsi_1( - int ptr, - int len, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_PtrToStringAnsi_1( - ptr, - len, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_PtrToStringAnsi_1Ptr = - _lookup< - ffi - .NativeFunction< - System_String_t Function( - ffi.Long, ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_PtrToStringAnsi_1'); - late final _System_Runtime_InteropServices_Marshal_PtrToStringAnsi_1 = - _System_Runtime_InteropServices_Marshal_PtrToStringAnsi_1Ptr.asFunction< - System_String_t Function( - int, int, ffi.Pointer)>(); - - System_String_t System_Runtime_InteropServices_Marshal_PtrToStringUni( - int ptr, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_PtrToStringUni( - ptr, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_PtrToStringUniPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_PtrToStringUni'); - late final _System_Runtime_InteropServices_Marshal_PtrToStringUni = - _System_Runtime_InteropServices_Marshal_PtrToStringUniPtr.asFunction< - System_String_t Function(int, ffi.Pointer)>(); - - System_String_t System_Runtime_InteropServices_Marshal_PtrToStringUni_1( - int ptr, - int len, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_PtrToStringUni_1( - ptr, - len, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_PtrToStringUni_1Ptr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - ffi.Long, ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_PtrToStringUni_1'); - late final _System_Runtime_InteropServices_Marshal_PtrToStringUni_1 = - _System_Runtime_InteropServices_Marshal_PtrToStringUni_1Ptr.asFunction< - System_String_t Function( - int, int, ffi.Pointer)>(); - - System_String_t System_Runtime_InteropServices_Marshal_PtrToStringUTF8( - int ptr, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_PtrToStringUTF8( - ptr, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_PtrToStringUTF8Ptr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_PtrToStringUTF8'); - late final _System_Runtime_InteropServices_Marshal_PtrToStringUTF8 = - _System_Runtime_InteropServices_Marshal_PtrToStringUTF8Ptr.asFunction< - System_String_t Function(int, ffi.Pointer)>(); - - System_String_t System_Runtime_InteropServices_Marshal_PtrToStringUTF8_1( - int ptr, - int byteLen, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_PtrToStringUTF8_1( - ptr, - byteLen, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_PtrToStringUTF8_1Ptr = - _lookup< - ffi - .NativeFunction< - System_String_t Function( - ffi.Long, ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_PtrToStringUTF8_1'); - late final _System_Runtime_InteropServices_Marshal_PtrToStringUTF8_1 = - _System_Runtime_InteropServices_Marshal_PtrToStringUTF8_1Ptr.asFunction< - System_String_t Function( - int, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_SizeOf( - System_Object_t structure, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_SizeOf( - structure, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_SizeOfPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Object_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_SizeOf'); - late final _System_Runtime_InteropServices_Marshal_SizeOf = - _System_Runtime_InteropServices_Marshal_SizeOfPtr.asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_SizeOf_1( - System_Type_t t, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_SizeOf_1( - t, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_SizeOf_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Type_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_SizeOf_1'); - late final _System_Runtime_InteropServices_Marshal_SizeOf_1 = - _System_Runtime_InteropServices_Marshal_SizeOf_1Ptr.asFunction< - int Function(System_Type_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_SizeOf_A1( - System_Type_t T, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_SizeOf_A1( - T, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_SizeOf_A1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Type_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_SizeOf_A1'); - late final _System_Runtime_InteropServices_Marshal_SizeOf_A1 = - _System_Runtime_InteropServices_Marshal_SizeOf_A1Ptr.asFunction< - int Function(System_Type_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_QueryInterface( - int pUnk, - ffi.Pointer iid, - ffi.Pointer ppv, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_QueryInterface( - pUnk, - iid, - ppv, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_QueryInterfacePtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Long, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_QueryInterface'); - late final _System_Runtime_InteropServices_Marshal_QueryInterface = - _System_Runtime_InteropServices_Marshal_QueryInterfacePtr.asFunction< - int Function(int, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_AddRef( - int pUnk, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_AddRef( - pUnk, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_AddRefPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_AddRef'); - late final _System_Runtime_InteropServices_Marshal_AddRef = - _System_Runtime_InteropServices_Marshal_AddRefPtr.asFunction< - int Function(int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_Release( - int pUnk, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Release( - pUnk, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReleasePtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Release'); - late final _System_Runtime_InteropServices_Marshal_Release = - _System_Runtime_InteropServices_Marshal_ReleasePtr.asFunction< - int Function(int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement( - System_Array_t arr, - int index, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement( - arr, - index, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElementPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Array_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement'); - late final _System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement = - _System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElementPtr - .asFunction< - int Function( - System_Array_t, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement_A1( - System_Type_t T, - System_Array_t arr, - int index, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement_A1( - T, - arr, - index, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement_A1Ptr = - _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Type_t, System_Array_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement_A1'); - late final _System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement_A1 = - _System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement_A1Ptr - .asFunction< - int Function(System_Type_t, System_Array_t, int, - ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_OffsetOf_A1( - System_Type_t T, - System_String_t fieldName, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_OffsetOf_A1( - T, - fieldName, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_OffsetOf_A1Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Type_t, System_String_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_OffsetOf_A1'); - late final _System_Runtime_InteropServices_Marshal_OffsetOf_A1 = - _System_Runtime_InteropServices_Marshal_OffsetOf_A1Ptr.asFunction< - int Function(System_Type_t, System_String_t, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy( - System_Int32_Array_t source, - int startIndex, - int destination, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy( - source, - startIndex, - destination, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_CopyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Int32_Array_t, ffi.Int32, ffi.Long, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy'); - late final _System_Runtime_InteropServices_Marshal_Copy = - _System_Runtime_InteropServices_Marshal_CopyPtr.asFunction< - void Function(System_Int32_Array_t, int, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_1( - System_Char_Array_t source, - int startIndex, - int destination, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_1( - source, - startIndex, - destination, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Char_Array_t, ffi.Int32, ffi.Long, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_1'); - late final _System_Runtime_InteropServices_Marshal_Copy_1 = - _System_Runtime_InteropServices_Marshal_Copy_1Ptr.asFunction< - void Function(System_Char_Array_t, int, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_2( - System_Int16_Array_t source, - int startIndex, - int destination, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_2( - source, - startIndex, - destination, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Int16_Array_t, ffi.Int32, ffi.Long, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_2'); - late final _System_Runtime_InteropServices_Marshal_Copy_2 = - _System_Runtime_InteropServices_Marshal_Copy_2Ptr.asFunction< - void Function(System_Int16_Array_t, int, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_3( - System_Int64_Array_t source, - int startIndex, - int destination, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_3( - source, - startIndex, - destination, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_3Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Int64_Array_t, ffi.Int32, ffi.Long, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_3'); - late final _System_Runtime_InteropServices_Marshal_Copy_3 = - _System_Runtime_InteropServices_Marshal_Copy_3Ptr.asFunction< - void Function(System_Int64_Array_t, int, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_4( - System_Single_Array_t source, - int startIndex, - int destination, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_4( - source, - startIndex, - destination, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Single_Array_t, ffi.Int32, ffi.Long, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_4'); - late final _System_Runtime_InteropServices_Marshal_Copy_4 = - _System_Runtime_InteropServices_Marshal_Copy_4Ptr.asFunction< - void Function(System_Single_Array_t, int, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_5( - System_Double_Array_t source, - int startIndex, - int destination, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_5( - source, - startIndex, - destination, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Double_Array_t, ffi.Int32, ffi.Long, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_5'); - late final _System_Runtime_InteropServices_Marshal_Copy_5 = - _System_Runtime_InteropServices_Marshal_Copy_5Ptr.asFunction< - void Function(System_Double_Array_t, int, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_6( - System_Byte_Array_t source, - int startIndex, - int destination, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_6( - source, - startIndex, - destination, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Byte_Array_t, ffi.Int32, ffi.Long, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_6'); - late final _System_Runtime_InteropServices_Marshal_Copy_6 = - _System_Runtime_InteropServices_Marshal_Copy_6Ptr.asFunction< - void Function(System_Byte_Array_t, int, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_7( - System_IntPtr_Array_t source, - int startIndex, - int destination, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_7( - source, - startIndex, - destination, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_IntPtr_Array_t, ffi.Int32, ffi.Long, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_7'); - late final _System_Runtime_InteropServices_Marshal_Copy_7 = - _System_Runtime_InteropServices_Marshal_Copy_7Ptr.asFunction< - void Function(System_IntPtr_Array_t, int, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_8( - int source, - System_Int32_Array_t destination, - int startIndex, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_8( - source, - destination, - startIndex, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_8Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, System_Int32_Array_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_8'); - late final _System_Runtime_InteropServices_Marshal_Copy_8 = - _System_Runtime_InteropServices_Marshal_Copy_8Ptr.asFunction< - void Function(int, System_Int32_Array_t, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_9( - int source, - System_Char_Array_t destination, - int startIndex, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_9( - source, - destination, - startIndex, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_9Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, System_Char_Array_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_9'); - late final _System_Runtime_InteropServices_Marshal_Copy_9 = - _System_Runtime_InteropServices_Marshal_Copy_9Ptr.asFunction< - void Function(int, System_Char_Array_t, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_10( - int source, - System_Int16_Array_t destination, - int startIndex, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_10( - source, - destination, - startIndex, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_10Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, System_Int16_Array_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_10'); - late final _System_Runtime_InteropServices_Marshal_Copy_10 = - _System_Runtime_InteropServices_Marshal_Copy_10Ptr.asFunction< - void Function(int, System_Int16_Array_t, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_11( - int source, - System_Int64_Array_t destination, - int startIndex, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_11( - source, - destination, - startIndex, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_11Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, System_Int64_Array_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_11'); - late final _System_Runtime_InteropServices_Marshal_Copy_11 = - _System_Runtime_InteropServices_Marshal_Copy_11Ptr.asFunction< - void Function(int, System_Int64_Array_t, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_12( - int source, - System_Single_Array_t destination, - int startIndex, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_12( - source, - destination, - startIndex, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_12Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, System_Single_Array_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_12'); - late final _System_Runtime_InteropServices_Marshal_Copy_12 = - _System_Runtime_InteropServices_Marshal_Copy_12Ptr.asFunction< - void Function(int, System_Single_Array_t, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_13( - int source, - System_Double_Array_t destination, - int startIndex, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_13( - source, - destination, - startIndex, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_13Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, System_Double_Array_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_13'); - late final _System_Runtime_InteropServices_Marshal_Copy_13 = - _System_Runtime_InteropServices_Marshal_Copy_13Ptr.asFunction< - void Function(int, System_Double_Array_t, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_14( - int source, - System_Byte_Array_t destination, - int startIndex, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_14( - source, - destination, - startIndex, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_14Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, System_Byte_Array_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_14'); - late final _System_Runtime_InteropServices_Marshal_Copy_14 = - _System_Runtime_InteropServices_Marshal_Copy_14Ptr.asFunction< - void Function(int, System_Byte_Array_t, int, int, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Copy_15( - int source, - System_IntPtr_Array_t destination, - int startIndex, - int length, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Copy_15( - source, - destination, - startIndex, - length, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Copy_15Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, System_IntPtr_Array_t, ffi.Int32, - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Copy_15'); - late final _System_Runtime_InteropServices_Marshal_Copy_15 = - _System_Runtime_InteropServices_Marshal_Copy_15Ptr.asFunction< - void Function(int, System_IntPtr_Array_t, int, int, - ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadByte_1( - int ptr, - int ofs, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadByte_1( - ptr, - ofs, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadByte_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint8 Function( - ffi.Long, ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadByte_1'); - late final _System_Runtime_InteropServices_Marshal_ReadByte_1 = - _System_Runtime_InteropServices_Marshal_ReadByte_1Ptr.asFunction< - int Function(int, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadByte_2( - int ptr, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadByte_2( - ptr, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadByte_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint8 Function(ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadByte_2'); - late final _System_Runtime_InteropServices_Marshal_ReadByte_2 = - _System_Runtime_InteropServices_Marshal_ReadByte_2Ptr.asFunction< - int Function(int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadInt16_1( - int ptr, - int ofs, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadInt16_1( - ptr, - ofs, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadInt16_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int16 Function( - ffi.Long, ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadInt16_1'); - late final _System_Runtime_InteropServices_Marshal_ReadInt16_1 = - _System_Runtime_InteropServices_Marshal_ReadInt16_1Ptr.asFunction< - int Function(int, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadInt16_2( - int ptr, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadInt16_2( - ptr, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadInt16_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int16 Function(ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadInt16_2'); - late final _System_Runtime_InteropServices_Marshal_ReadInt16_2 = - _System_Runtime_InteropServices_Marshal_ReadInt16_2Ptr.asFunction< - int Function(int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadInt32_1( - int ptr, - int ofs, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadInt32_1( - ptr, - ofs, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadInt32_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Long, ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadInt32_1'); - late final _System_Runtime_InteropServices_Marshal_ReadInt32_1 = - _System_Runtime_InteropServices_Marshal_ReadInt32_1Ptr.asFunction< - int Function(int, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadInt32_2( - int ptr, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadInt32_2( - ptr, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadInt32_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadInt32_2'); - late final _System_Runtime_InteropServices_Marshal_ReadInt32_2 = - _System_Runtime_InteropServices_Marshal_ReadInt32_2Ptr.asFunction< - int Function(int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadIntPtr( - System_Object_t ptr, - int ofs, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadIntPtr( - ptr, - ofs, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadIntPtrPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Object_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadIntPtr'); - late final _System_Runtime_InteropServices_Marshal_ReadIntPtr = - _System_Runtime_InteropServices_Marshal_ReadIntPtrPtr.asFunction< - int Function( - System_Object_t, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadIntPtr_1( - int ptr, - int ofs, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadIntPtr_1( - ptr, - ofs, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadIntPtr_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Long, ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadIntPtr_1'); - late final _System_Runtime_InteropServices_Marshal_ReadIntPtr_1 = - _System_Runtime_InteropServices_Marshal_ReadIntPtr_1Ptr.asFunction< - int Function(int, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadIntPtr_2( - int ptr, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadIntPtr_2( - ptr, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadIntPtr_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadIntPtr_2'); - late final _System_Runtime_InteropServices_Marshal_ReadIntPtr_2 = - _System_Runtime_InteropServices_Marshal_ReadIntPtr_2Ptr.asFunction< - int Function(int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadInt64_1( - int ptr, - int ofs, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadInt64_1( - ptr, - ofs, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadInt64_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - ffi.Long, ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadInt64_1'); - late final _System_Runtime_InteropServices_Marshal_ReadInt64_1 = - _System_Runtime_InteropServices_Marshal_ReadInt64_1Ptr.asFunction< - int Function(int, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReadInt64_2( - int ptr, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReadInt64_2( - ptr, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReadInt64_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReadInt64_2'); - late final _System_Runtime_InteropServices_Marshal_ReadInt64_2 = - _System_Runtime_InteropServices_Marshal_ReadInt64_2Ptr.asFunction< - int Function(int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_WriteByte_1( - int ptr, - int ofs, - int val, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_WriteByte_1( - ptr, - ofs, - val, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_WriteByte_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, ffi.Int32, ffi.Uint8, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_WriteByte_1'); - late final _System_Runtime_InteropServices_Marshal_WriteByte_1 = - _System_Runtime_InteropServices_Marshal_WriteByte_1Ptr.asFunction< - void Function(int, int, int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_WriteByte_2( - int ptr, - int val, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_WriteByte_2( - ptr, - val, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_WriteByte_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Long, ffi.Uint8, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_WriteByte_2'); - late final _System_Runtime_InteropServices_Marshal_WriteByte_2 = - _System_Runtime_InteropServices_Marshal_WriteByte_2Ptr.asFunction< - void Function(int, int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_WriteInt32_1( - int ptr, - int ofs, - int val, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_WriteInt32_1( - ptr, - ofs, - val, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_WriteInt32_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, ffi.Int32, ffi.Int32, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_WriteInt32_1'); - late final _System_Runtime_InteropServices_Marshal_WriteInt32_1 = - _System_Runtime_InteropServices_Marshal_WriteInt32_1Ptr.asFunction< - void Function(int, int, int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_WriteInt32_2( - int ptr, - int val, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_WriteInt32_2( - ptr, - val, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_WriteInt32_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Long, ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_WriteInt32_2'); - late final _System_Runtime_InteropServices_Marshal_WriteInt32_2 = - _System_Runtime_InteropServices_Marshal_WriteInt32_2Ptr.asFunction< - void Function(int, int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_WriteIntPtr( - int ptr, - int ofs, - int val, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_WriteIntPtr( - ptr, - ofs, - val, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_WriteIntPtrPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, ffi.Int32, ffi.Long, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_WriteIntPtr'); - late final _System_Runtime_InteropServices_Marshal_WriteIntPtr = - _System_Runtime_InteropServices_Marshal_WriteIntPtrPtr.asFunction< - void Function(int, int, int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_WriteIntPtr_1( - System_Object_t ptr, - int ofs, - int val, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_WriteIntPtr_1( - ptr, - ofs, - val, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_WriteIntPtr_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Object_t, ffi.Int32, ffi.Long, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_WriteIntPtr_1'); - late final _System_Runtime_InteropServices_Marshal_WriteIntPtr_1 = - _System_Runtime_InteropServices_Marshal_WriteIntPtr_1Ptr.asFunction< - void Function( - System_Object_t, int, int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_WriteIntPtr_2( - int ptr, - int val, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_WriteIntPtr_2( - ptr, - val, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_WriteIntPtr_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Long, ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_WriteIntPtr_2'); - late final _System_Runtime_InteropServices_Marshal_WriteIntPtr_2 = - _System_Runtime_InteropServices_Marshal_WriteIntPtr_2Ptr.asFunction< - void Function(int, int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_WriteInt64_1( - int ptr, - int ofs, - int val, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_WriteInt64_1( - ptr, - ofs, - val, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_WriteInt64_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, ffi.Int32, ffi.Int64, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_WriteInt64_1'); - late final _System_Runtime_InteropServices_Marshal_WriteInt64_1 = - _System_Runtime_InteropServices_Marshal_WriteInt64_1Ptr.asFunction< - void Function(int, int, int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_WriteInt64_2( - int ptr, - int val, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_WriteInt64_2( - ptr, - val, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_WriteInt64_2Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Long, ffi.Int64, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_WriteInt64_2'); - late final _System_Runtime_InteropServices_Marshal_WriteInt64_2 = - _System_Runtime_InteropServices_Marshal_WriteInt64_2Ptr.asFunction< - void Function(int, int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_Prelink( - System_Reflection_MethodInfo_t m, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_Prelink( - m, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_PrelinkPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Reflection_MethodInfo_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_Prelink'); - late final _System_Runtime_InteropServices_Marshal_Prelink = - _System_Runtime_InteropServices_Marshal_PrelinkPtr.asFunction< - void Function(System_Reflection_MethodInfo_t, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_PrelinkAll( - System_Type_t c, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_PrelinkAll( - c, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_PrelinkAllPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Type_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_PrelinkAll'); - late final _System_Runtime_InteropServices_Marshal_PrelinkAll = - _System_Runtime_InteropServices_Marshal_PrelinkAllPtr.asFunction< - void Function(System_Type_t, ffi.Pointer)>(); - - System_Object_t System_Runtime_InteropServices_Marshal_PtrToStructure( - int ptr, - System_Type_t structureType, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_PtrToStructure( - ptr, - structureType, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_PtrToStructurePtr = - _lookup< - ffi.NativeFunction< - System_Object_t Function(ffi.Long, System_Type_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_PtrToStructure'); - late final _System_Runtime_InteropServices_Marshal_PtrToStructure = - _System_Runtime_InteropServices_Marshal_PtrToStructurePtr.asFunction< - System_Object_t Function( - int, System_Type_t, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_PtrToStructure_1( - int ptr, - System_Object_t structure, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_PtrToStructure_1( - ptr, - structure, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_PtrToStructure_1Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_PtrToStructure_1'); - late final _System_Runtime_InteropServices_Marshal_PtrToStructure_1 = - _System_Runtime_InteropServices_Marshal_PtrToStructure_1Ptr.asFunction< - void Function( - int, System_Object_t, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_DestroyStructure_A1( - System_Type_t T, - int ptr, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_DestroyStructure_A1( - T, - ptr, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_DestroyStructure_A1Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Type_t, ffi.Long, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_DestroyStructure_A1'); - late final _System_Runtime_InteropServices_Marshal_DestroyStructure_A1 = - _System_Runtime_InteropServices_Marshal_DestroyStructure_A1Ptr.asFunction< - void Function(System_Type_t, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetHINSTANCE( - System_Reflection_Module_t m, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetHINSTANCE( - m, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetHINSTANCEPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Reflection_Module_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetHINSTANCE'); - late final _System_Runtime_InteropServices_Marshal_GetHINSTANCE = - _System_Runtime_InteropServices_Marshal_GetHINSTANCEPtr.asFunction< - int Function( - System_Reflection_Module_t, ffi.Pointer)>(); - - System_Exception_t System_Runtime_InteropServices_Marshal_GetExceptionForHR( - int errorCode, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetExceptionForHR( - errorCode, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetExceptionForHRPtr = - _lookup< - ffi - .NativeFunction< - System_Exception_t Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetExceptionForHR'); - late final _System_Runtime_InteropServices_Marshal_GetExceptionForHR = - _System_Runtime_InteropServices_Marshal_GetExceptionForHRPtr.asFunction< - System_Exception_t Function(int, ffi.Pointer)>(); - - System_Exception_t System_Runtime_InteropServices_Marshal_GetExceptionForHR_1( - int errorCode, - int errorInfo, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetExceptionForHR_1( - errorCode, - errorInfo, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetExceptionForHR_1Ptr = - _lookup< - ffi.NativeFunction< - System_Exception_t Function( - ffi.Int32, ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetExceptionForHR_1'); - late final _System_Runtime_InteropServices_Marshal_GetExceptionForHR_1 = - _System_Runtime_InteropServices_Marshal_GetExceptionForHR_1Ptr.asFunction< - System_Exception_t Function( - int, int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_ThrowExceptionForHR( - int errorCode, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ThrowExceptionForHR( - errorCode, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ThrowExceptionForHRPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ThrowExceptionForHR'); - late final _System_Runtime_InteropServices_Marshal_ThrowExceptionForHR = - _System_Runtime_InteropServices_Marshal_ThrowExceptionForHRPtr.asFunction< - void Function(int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_ThrowExceptionForHR_1( - int errorCode, - int errorInfo, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ThrowExceptionForHR_1( - errorCode, - errorInfo, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ThrowExceptionForHR_1Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Int32, ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ThrowExceptionForHR_1'); - late final _System_Runtime_InteropServices_Marshal_ThrowExceptionForHR_1 = - _System_Runtime_InteropServices_Marshal_ThrowExceptionForHR_1Ptr - .asFunction< - void Function(int, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_SecureStringToBSTR( - System_Security_SecureString_t s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_SecureStringToBSTR( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_SecureStringToBSTRPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Security_SecureString_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_SecureStringToBSTR'); - late final _System_Runtime_InteropServices_Marshal_SecureStringToBSTR = - _System_Runtime_InteropServices_Marshal_SecureStringToBSTRPtr.asFunction< - int Function(System_Security_SecureString_t, - ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemAnsi( - System_Security_SecureString_t s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemAnsi( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemAnsiPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Security_SecureString_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemAnsi'); - late final _System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemAnsi = - _System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemAnsiPtr - .asFunction< - int Function(System_Security_SecureString_t, - ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemUnicode( - System_Security_SecureString_t s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemUnicode( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemUnicodePtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Security_SecureString_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemUnicode'); - late final _System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemUnicode = - _System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemUnicodePtr - .asFunction< - int Function(System_Security_SecureString_t, - ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocAnsi( - System_Security_SecureString_t s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocAnsi( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocAnsiPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Security_SecureString_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocAnsi'); - late final _System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocAnsi = - _System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocAnsiPtr - .asFunction< - int Function(System_Security_SecureString_t, - ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocUnicode( - System_Security_SecureString_t s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocUnicode( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocUnicodePtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Security_SecureString_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocUnicode'); - late final _System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocUnicode = - _System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocUnicodePtr - .asFunction< - int Function(System_Security_SecureString_t, - ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi( - System_String_t s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_StringToHGlobalAnsiPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - System_String_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi'); - late final _System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi = - _System_Runtime_InteropServices_Marshal_StringToHGlobalAnsiPtr.asFunction< - int Function(System_String_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_StringToHGlobalUni( - System_String_t s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_StringToHGlobalUni( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_StringToHGlobalUniPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - System_String_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_StringToHGlobalUni'); - late final _System_Runtime_InteropServices_Marshal_StringToHGlobalUni = - _System_Runtime_InteropServices_Marshal_StringToHGlobalUniPtr.asFunction< - int Function(System_String_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_StringToCoTaskMemUni( - System_String_t s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_StringToCoTaskMemUni( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_StringToCoTaskMemUniPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - System_String_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_StringToCoTaskMemUni'); - late final _System_Runtime_InteropServices_Marshal_StringToCoTaskMemUni = - _System_Runtime_InteropServices_Marshal_StringToCoTaskMemUniPtr - .asFunction< - int Function(System_String_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_StringToCoTaskMemUTF8( - System_String_t s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_StringToCoTaskMemUTF8( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_StringToCoTaskMemUTF8Ptr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - System_String_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_StringToCoTaskMemUTF8'); - late final _System_Runtime_InteropServices_Marshal_StringToCoTaskMemUTF8 = - _System_Runtime_InteropServices_Marshal_StringToCoTaskMemUTF8Ptr - .asFunction< - int Function(System_String_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_StringToCoTaskMemAnsi( - System_String_t s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_StringToCoTaskMemAnsi( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_StringToCoTaskMemAnsiPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - System_String_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_StringToCoTaskMemAnsi'); - late final _System_Runtime_InteropServices_Marshal_StringToCoTaskMemAnsi = - _System_Runtime_InteropServices_Marshal_StringToCoTaskMemAnsiPtr - .asFunction< - int Function(System_String_t, ffi.Pointer)>(); - - System_Guid_t System_Runtime_InteropServices_Marshal_GenerateGuidForType( - System_Type_t type, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GenerateGuidForType( - type, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GenerateGuidForTypePtr = - _lookup< - ffi.NativeFunction< - System_Guid_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GenerateGuidForType'); - late final _System_Runtime_InteropServices_Marshal_GenerateGuidForType = - _System_Runtime_InteropServices_Marshal_GenerateGuidForTypePtr.asFunction< - System_Guid_t Function( - System_Type_t, ffi.Pointer)>(); - - System_String_t System_Runtime_InteropServices_Marshal_GenerateProgIdForType( - System_Type_t type, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GenerateProgIdForType( - type, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GenerateProgIdForTypePtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - System_Type_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GenerateProgIdForType'); - late final _System_Runtime_InteropServices_Marshal_GenerateProgIdForType = - _System_Runtime_InteropServices_Marshal_GenerateProgIdForTypePtr - .asFunction< - System_String_t Function( - System_Type_t, ffi.Pointer)>(); - - System_Delegate_t - System_Runtime_InteropServices_Marshal_GetDelegateForFunctionPointer( - int ptr, - System_Type_t t, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetDelegateForFunctionPointer( - ptr, - t, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetDelegateForFunctionPointerPtr = - _lookup< - ffi.NativeFunction< - System_Delegate_t Function(ffi.Long, System_Type_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetDelegateForFunctionPointer'); - late final _System_Runtime_InteropServices_Marshal_GetDelegateForFunctionPointer = - _System_Runtime_InteropServices_Marshal_GetDelegateForFunctionPointerPtr - .asFunction< - System_Delegate_t Function( - int, System_Type_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetFunctionPointerForDelegate( - System_Delegate_t d, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetFunctionPointerForDelegate( - d, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetFunctionPointerForDelegatePtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - System_Delegate_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetFunctionPointerForDelegate'); - late final _System_Runtime_InteropServices_Marshal_GetFunctionPointerForDelegate = - _System_Runtime_InteropServices_Marshal_GetFunctionPointerForDelegatePtr - .asFunction< - int Function( - System_Delegate_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetHRForLastWin32Error( - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetHRForLastWin32Error( - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetHRForLastWin32ErrorPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetHRForLastWin32Error'); - late final _System_Runtime_InteropServices_Marshal_GetHRForLastWin32Error = - _System_Runtime_InteropServices_Marshal_GetHRForLastWin32ErrorPtr - .asFunction)>(); - - void System_Runtime_InteropServices_Marshal_ZeroFreeBSTR( - int s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ZeroFreeBSTR( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ZeroFreeBSTRPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ZeroFreeBSTR'); - late final _System_Runtime_InteropServices_Marshal_ZeroFreeBSTR = - _System_Runtime_InteropServices_Marshal_ZeroFreeBSTRPtr.asFunction< - void Function(int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemAnsi( - int s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemAnsi( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemAnsiPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemAnsi'); - late final _System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemAnsi = - _System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemAnsiPtr - .asFunction)>(); - - void System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUnicode( - int s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUnicode( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUnicodePtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUnicode'); - late final _System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUnicode = - _System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUnicodePtr - .asFunction)>(); - - void System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUTF8( - int s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUTF8( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUTF8Ptr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUTF8'); - late final _System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUTF8 = - _System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUTF8Ptr - .asFunction)>(); - - void System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocAnsi( - int s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocAnsi( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocAnsiPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocAnsi'); - late final _System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocAnsi = - _System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocAnsiPtr - .asFunction)>(); - - void System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocUnicode( - int s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocUnicode( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocUnicodePtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocUnicode'); - late final _System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocUnicode = - _System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocUnicodePtr - .asFunction)>(); - - int System_Runtime_InteropServices_Marshal_StringToBSTR( - System_String_t s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_StringToBSTR( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_StringToBSTRPtr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - System_String_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_StringToBSTR'); - late final _System_Runtime_InteropServices_Marshal_StringToBSTR = - _System_Runtime_InteropServices_Marshal_StringToBSTRPtr.asFunction< - int Function(System_String_t, ffi.Pointer)>(); - - System_String_t System_Runtime_InteropServices_Marshal_PtrToStringBSTR( - int ptr, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_PtrToStringBSTR( - ptr, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_PtrToStringBSTRPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_PtrToStringBSTR'); - late final _System_Runtime_InteropServices_Marshal_PtrToStringBSTR = - _System_Runtime_InteropServices_Marshal_PtrToStringBSTRPtr.asFunction< - System_String_t Function(int, ffi.Pointer)>(); - - System_Type_t System_Runtime_InteropServices_Marshal_GetTypeFromCLSID( - System_Guid_t clsid, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetTypeFromCLSID( - clsid, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetTypeFromCLSIDPtr = - _lookup< - ffi.NativeFunction< - System_Type_t Function( - System_Guid_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetTypeFromCLSID'); - late final _System_Runtime_InteropServices_Marshal_GetTypeFromCLSID = - _System_Runtime_InteropServices_Marshal_GetTypeFromCLSIDPtr.asFunction< - System_Type_t Function( - System_Guid_t, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_InitHandle( - System_Runtime_InteropServices_SafeHandle_t safeHandle, - int handle, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_InitHandle( - safeHandle, - handle, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_InitHandlePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Runtime_InteropServices_SafeHandle_t, - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_InitHandle'); - late final _System_Runtime_InteropServices_Marshal_InitHandle = - _System_Runtime_InteropServices_Marshal_InitHandlePtr.asFunction< - void Function(System_Runtime_InteropServices_SafeHandle_t, int, - ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetLastWin32Error( - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetLastWin32Error( - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetLastWin32ErrorPtr = - _lookup< - ffi - .NativeFunction< - ffi.Int32 Function(ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetLastWin32Error'); - late final _System_Runtime_InteropServices_Marshal_GetLastWin32Error = - _System_Runtime_InteropServices_Marshal_GetLastWin32ErrorPtr.asFunction< - int Function(ffi.Pointer)>(); - - System_String_t - System_Runtime_InteropServices_Marshal_GetLastPInvokeErrorMessage( - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetLastPInvokeErrorMessage( - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetLastPInvokeErrorMessagePtr = - _lookup< - ffi.NativeFunction< - System_String_t Function(ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetLastPInvokeErrorMessage'); - late final _System_Runtime_InteropServices_Marshal_GetLastPInvokeErrorMessage = - _System_Runtime_InteropServices_Marshal_GetLastPInvokeErrorMessagePtr - .asFunction< - System_String_t Function(ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetHRForException( - System_Exception_t e, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetHRForException( - e, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetHRForExceptionPtr = - _lookup< - ffi - .NativeFunction< - ffi.Int32 Function( - System_Exception_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetHRForException'); - late final _System_Runtime_InteropServices_Marshal_GetHRForException = - _System_Runtime_InteropServices_Marshal_GetHRForExceptionPtr.asFunction< - int Function(System_Exception_t, ffi.Pointer)>(); - - bool System_Runtime_InteropServices_Marshal_AreComObjectsAvailableForCleanup( - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_AreComObjectsAvailableForCleanup( - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_AreComObjectsAvailableForCleanupPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_AreComObjectsAvailableForCleanup'); - late final _System_Runtime_InteropServices_Marshal_AreComObjectsAvailableForCleanup = - _System_Runtime_InteropServices_Marshal_AreComObjectsAvailableForCleanupPtr - .asFunction)>(); - - int System_Runtime_InteropServices_Marshal_CreateAggregatedObject( - int pOuter, - System_Object_t o, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_CreateAggregatedObject( - pOuter, - o, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_CreateAggregatedObjectPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Long, System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_CreateAggregatedObject'); - late final _System_Runtime_InteropServices_Marshal_CreateAggregatedObject = - _System_Runtime_InteropServices_Marshal_CreateAggregatedObjectPtr - .asFunction< - int Function( - int, System_Object_t, ffi.Pointer)>(); - - System_Object_t System_Runtime_InteropServices_Marshal_BindToMoniker( - System_String_t monikerName, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_BindToMoniker( - monikerName, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_BindToMonikerPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_String_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_BindToMoniker'); - late final _System_Runtime_InteropServices_Marshal_BindToMoniker = - _System_Runtime_InteropServices_Marshal_BindToMonikerPtr.asFunction< - System_Object_t Function( - System_String_t, ffi.Pointer)>(); - - void - System_Runtime_InteropServices_Marshal_CleanupUnusedObjectsInCurrentContext( - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_CleanupUnusedObjectsInCurrentContext( - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_CleanupUnusedObjectsInCurrentContextPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_CleanupUnusedObjectsInCurrentContext'); - late final _System_Runtime_InteropServices_Marshal_CleanupUnusedObjectsInCurrentContext = - _System_Runtime_InteropServices_Marshal_CleanupUnusedObjectsInCurrentContextPtr - .asFunction)>(); - - System_Object_t System_Runtime_InteropServices_Marshal_CreateWrapperOfType( - System_Object_t o, - System_Type_t t, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_CreateWrapperOfType( - o, - t, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_CreateWrapperOfTypePtr = - _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Object_t, System_Type_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_CreateWrapperOfType'); - late final _System_Runtime_InteropServices_Marshal_CreateWrapperOfType = - _System_Runtime_InteropServices_Marshal_CreateWrapperOfTypePtr.asFunction< - System_Object_t Function(System_Object_t, System_Type_t, - ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_ChangeWrapperHandleStrength( - System_Object_t otp, - bool fIsWeak, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ChangeWrapperHandleStrength( - otp, - fIsWeak, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ChangeWrapperHandleStrengthPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Object_t, ffi.Bool, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ChangeWrapperHandleStrength'); - late final _System_Runtime_InteropServices_Marshal_ChangeWrapperHandleStrength = - _System_Runtime_InteropServices_Marshal_ChangeWrapperHandleStrengthPtr - .asFunction< - void Function( - System_Object_t, bool, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_FinalReleaseComObject( - System_Object_t o, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_FinalReleaseComObject( - o, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_FinalReleaseComObjectPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Object_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_FinalReleaseComObject'); - late final _System_Runtime_InteropServices_Marshal_FinalReleaseComObject = - _System_Runtime_InteropServices_Marshal_FinalReleaseComObjectPtr - .asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetComInterfaceForObject( - System_Object_t o, - System_Type_t T, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetComInterfaceForObject( - o, - T, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetComInterfaceForObjectPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Object_t, System_Type_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetComInterfaceForObject'); - late final _System_Runtime_InteropServices_Marshal_GetComInterfaceForObject = - _System_Runtime_InteropServices_Marshal_GetComInterfaceForObjectPtr - .asFunction< - int Function(System_Object_t, System_Type_t, - ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetComInterfaceForObject_1( - System_Object_t o, - System_Type_t T, - int mode, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetComInterfaceForObject_1( - o, - T, - mode, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetComInterfaceForObject_1Ptr = - _lookup< - ffi.NativeFunction< - ffi.Long Function(System_Object_t, System_Type_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetComInterfaceForObject_1'); - late final _System_Runtime_InteropServices_Marshal_GetComInterfaceForObject_1 = - _System_Runtime_InteropServices_Marshal_GetComInterfaceForObject_1Ptr - .asFunction< - int Function(System_Object_t, System_Type_t, int, - ffi.Pointer)>(); - - System_Object_t System_Runtime_InteropServices_Marshal_GetComObjectData( - System_Object_t obj, - System_Object_t key, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetComObjectData( - obj, - key, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetComObjectDataPtr = - _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Object_t, System_Object_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetComObjectData'); - late final _System_Runtime_InteropServices_Marshal_GetComObjectData = - _System_Runtime_InteropServices_Marshal_GetComObjectDataPtr.asFunction< - System_Object_t Function(System_Object_t, System_Object_t, - ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetIDispatchForObject( - System_Object_t o, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetIDispatchForObject( - o, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetIDispatchForObjectPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - System_Object_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetIDispatchForObject'); - late final _System_Runtime_InteropServices_Marshal_GetIDispatchForObject = - _System_Runtime_InteropServices_Marshal_GetIDispatchForObjectPtr - .asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetIUnknownForObject( - System_Object_t o, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetIUnknownForObject( - o, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetIUnknownForObjectPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - System_Object_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetIUnknownForObject'); - late final _System_Runtime_InteropServices_Marshal_GetIUnknownForObject = - _System_Runtime_InteropServices_Marshal_GetIUnknownForObjectPtr - .asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_GetNativeVariantForObject( - System_Object_t obj, - int pDstNativeVariant, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetNativeVariantForObject( - obj, - pDstNativeVariant, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetNativeVariantForObjectPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Object_t, ffi.Long, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetNativeVariantForObject'); - late final _System_Runtime_InteropServices_Marshal_GetNativeVariantForObject = - _System_Runtime_InteropServices_Marshal_GetNativeVariantForObjectPtr - .asFunction< - void Function( - System_Object_t, int, ffi.Pointer)>(); - - System_Object_t - System_Runtime_InteropServices_Marshal_GetTypedObjectForIUnknown( - int pUnk, - System_Type_t t, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetTypedObjectForIUnknown( - pUnk, - t, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetTypedObjectForIUnknownPtr = - _lookup< - ffi.NativeFunction< - System_Object_t Function(ffi.Long, System_Type_t, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetTypedObjectForIUnknown'); - late final _System_Runtime_InteropServices_Marshal_GetTypedObjectForIUnknown = - _System_Runtime_InteropServices_Marshal_GetTypedObjectForIUnknownPtr - .asFunction< - System_Object_t Function( - int, System_Type_t, ffi.Pointer)>(); - - System_Object_t System_Runtime_InteropServices_Marshal_GetObjectForIUnknown( - int pUnk, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetObjectForIUnknown( - pUnk, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetObjectForIUnknownPtr = - _lookup< - ffi.NativeFunction< - System_Object_t Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetObjectForIUnknown'); - late final _System_Runtime_InteropServices_Marshal_GetObjectForIUnknown = - _System_Runtime_InteropServices_Marshal_GetObjectForIUnknownPtr - .asFunction< - System_Object_t Function(int, ffi.Pointer)>(); - - System_Object_t - System_Runtime_InteropServices_Marshal_GetObjectForNativeVariant( - int pSrcNativeVariant, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetObjectForNativeVariant( - pSrcNativeVariant, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetObjectForNativeVariantPtr = - _lookup< - ffi.NativeFunction< - System_Object_t Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetObjectForNativeVariant'); - late final _System_Runtime_InteropServices_Marshal_GetObjectForNativeVariant = - _System_Runtime_InteropServices_Marshal_GetObjectForNativeVariantPtr - .asFunction< - System_Object_t Function(int, ffi.Pointer)>(); - - System_Object_Array_t - System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants( - int aSrcNativeVariant, - int cVars, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants( - aSrcNativeVariant, - cVars, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariantsPtr = - _lookup< - ffi.NativeFunction< - System_Object_Array_t Function( - ffi.Long, ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants'); - late final _System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants = - _System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariantsPtr - .asFunction< - System_Object_Array_t Function( - int, int, ffi.Pointer)>(); - - System_Array_t - System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants_A1( - System_Type_t T, - int aSrcNativeVariant, - int cVars, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants_A1( - T, - aSrcNativeVariant, - cVars, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants_A1Ptr = - _lookup< - ffi.NativeFunction< - System_Array_t Function(System_Type_t, ffi.Long, ffi.Int32, - ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants_A1'); - late final _System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants_A1 = - _System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants_A1Ptr - .asFunction< - System_Array_t Function( - System_Type_t, int, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetStartComSlot( - System_Type_t t, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetStartComSlot( - t, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetStartComSlotPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Type_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetStartComSlot'); - late final _System_Runtime_InteropServices_Marshal_GetStartComSlot = - _System_Runtime_InteropServices_Marshal_GetStartComSlotPtr.asFunction< - int Function(System_Type_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetEndComSlot( - System_Type_t t, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetEndComSlot( - t, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetEndComSlotPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Type_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetEndComSlot'); - late final _System_Runtime_InteropServices_Marshal_GetEndComSlot = - _System_Runtime_InteropServices_Marshal_GetEndComSlotPtr.asFunction< - int Function(System_Type_t, ffi.Pointer)>(); - - System_Object_t - System_Runtime_InteropServices_Marshal_GetUniqueObjectForIUnknown( - int unknown, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetUniqueObjectForIUnknown( - unknown, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetUniqueObjectForIUnknownPtr = - _lookup< - ffi.NativeFunction< - System_Object_t Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetUniqueObjectForIUnknown'); - late final _System_Runtime_InteropServices_Marshal_GetUniqueObjectForIUnknown = - _System_Runtime_InteropServices_Marshal_GetUniqueObjectForIUnknownPtr - .asFunction< - System_Object_t Function(int, ffi.Pointer)>(); - - bool System_Runtime_InteropServices_Marshal_IsComObject( - System_Object_t o, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_IsComObject( - o, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_IsComObjectPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Object_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_IsComObject'); - late final _System_Runtime_InteropServices_Marshal_IsComObject = - _System_Runtime_InteropServices_Marshal_IsComObjectPtr.asFunction< - bool Function(System_Object_t, ffi.Pointer)>(); - - bool System_Runtime_InteropServices_Marshal_IsTypeVisibleFromCom( - System_Type_t t, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_IsTypeVisibleFromCom( - t, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_IsTypeVisibleFromComPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Type_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_IsTypeVisibleFromCom'); - late final _System_Runtime_InteropServices_Marshal_IsTypeVisibleFromCom = - _System_Runtime_InteropServices_Marshal_IsTypeVisibleFromComPtr - .asFunction< - bool Function(System_Type_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReleaseComObject( - System_Object_t o, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReleaseComObject( - o, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReleaseComObjectPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - System_Object_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReleaseComObject'); - late final _System_Runtime_InteropServices_Marshal_ReleaseComObject = - _System_Runtime_InteropServices_Marshal_ReleaseComObjectPtr.asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - bool System_Runtime_InteropServices_Marshal_SetComObjectData( - System_Object_t obj, - System_Object_t key, - System_Object_t data, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_SetComObjectData( - obj, - key, - data, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_SetComObjectDataPtr = - _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Object_t, System_Object_t, - System_Object_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_SetComObjectData'); - late final _System_Runtime_InteropServices_Marshal_SetComObjectData = - _System_Runtime_InteropServices_Marshal_SetComObjectDataPtr.asFunction< - bool Function(System_Object_t, System_Object_t, System_Object_t, - ffi.Pointer)>(); - - System_String_t System_Runtime_InteropServices_Marshal_PtrToStringAuto( - int ptr, - int len, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_PtrToStringAuto( - ptr, - len, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_PtrToStringAutoPtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - ffi.Long, ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_PtrToStringAuto'); - late final _System_Runtime_InteropServices_Marshal_PtrToStringAuto = - _System_Runtime_InteropServices_Marshal_PtrToStringAutoPtr.asFunction< - System_String_t Function( - int, int, ffi.Pointer)>(); - - System_String_t System_Runtime_InteropServices_Marshal_PtrToStringAuto_1( - int ptr, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_PtrToStringAuto_1( - ptr, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_PtrToStringAuto_1Ptr = - _lookup< - ffi - .NativeFunction< - System_String_t Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_PtrToStringAuto_1'); - late final _System_Runtime_InteropServices_Marshal_PtrToStringAuto_1 = - _System_Runtime_InteropServices_Marshal_PtrToStringAuto_1Ptr.asFunction< - System_String_t Function(int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_StringToHGlobalAuto( - System_String_t s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_StringToHGlobalAuto( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_StringToHGlobalAutoPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - System_String_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_StringToHGlobalAuto'); - late final _System_Runtime_InteropServices_Marshal_StringToHGlobalAuto = - _System_Runtime_InteropServices_Marshal_StringToHGlobalAutoPtr.asFunction< - int Function(System_String_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_StringToCoTaskMemAuto( - System_String_t s, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_StringToCoTaskMemAuto( - s, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_StringToCoTaskMemAutoPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - System_String_t, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_StringToCoTaskMemAuto'); - late final _System_Runtime_InteropServices_Marshal_StringToCoTaskMemAuto = - _System_Runtime_InteropServices_Marshal_StringToCoTaskMemAutoPtr - .asFunction< - int Function(System_String_t, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_AllocHGlobal_1( - int cb, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_AllocHGlobal_1( - cb, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_AllocHGlobal_1Ptr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_AllocHGlobal_1'); - late final _System_Runtime_InteropServices_Marshal_AllocHGlobal_1 = - _System_Runtime_InteropServices_Marshal_AllocHGlobal_1Ptr.asFunction< - int Function(int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_FreeHGlobal( - int hglobal, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_FreeHGlobal( - hglobal, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_FreeHGlobalPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_FreeHGlobal'); - late final _System_Runtime_InteropServices_Marshal_FreeHGlobal = - _System_Runtime_InteropServices_Marshal_FreeHGlobalPtr.asFunction< - void Function(int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReAllocHGlobal( - int pv, - int cb, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReAllocHGlobal( - pv, - cb, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReAllocHGlobalPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Long, ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReAllocHGlobal'); - late final _System_Runtime_InteropServices_Marshal_ReAllocHGlobal = - _System_Runtime_InteropServices_Marshal_ReAllocHGlobalPtr.asFunction< - int Function(int, int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_AllocCoTaskMem( - int cb, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_AllocCoTaskMem( - cb, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_AllocCoTaskMemPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_AllocCoTaskMem'); - late final _System_Runtime_InteropServices_Marshal_AllocCoTaskMem = - _System_Runtime_InteropServices_Marshal_AllocCoTaskMemPtr.asFunction< - int Function(int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_FreeCoTaskMem( - int ptr, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_FreeCoTaskMem( - ptr, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_FreeCoTaskMemPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_FreeCoTaskMem'); - late final _System_Runtime_InteropServices_Marshal_FreeCoTaskMem = - _System_Runtime_InteropServices_Marshal_FreeCoTaskMemPtr.asFunction< - void Function(int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_ReAllocCoTaskMem( - int pv, - int cb, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_ReAllocCoTaskMem( - pv, - cb, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_ReAllocCoTaskMemPtr = - _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Long, ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_ReAllocCoTaskMem'); - late final _System_Runtime_InteropServices_Marshal_ReAllocCoTaskMem = - _System_Runtime_InteropServices_Marshal_ReAllocCoTaskMemPtr.asFunction< - int Function(int, int, ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_FreeBSTR( - int ptr, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_FreeBSTR( - ptr, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_FreeBSTRPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Long, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_FreeBSTR'); - late final _System_Runtime_InteropServices_Marshal_FreeBSTR = - _System_Runtime_InteropServices_Marshal_FreeBSTRPtr.asFunction< - void Function(int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_GetLastSystemError( - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetLastSystemError( - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetLastSystemErrorPtr = - _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetLastSystemError'); - late final _System_Runtime_InteropServices_Marshal_GetLastSystemError = - _System_Runtime_InteropServices_Marshal_GetLastSystemErrorPtr.asFunction< - int Function(ffi.Pointer)>(); - - void System_Runtime_InteropServices_Marshal_SetLastSystemError( - int error, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_SetLastSystemError( - error, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_SetLastSystemErrorPtr = - _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_SetLastSystemError'); - late final _System_Runtime_InteropServices_Marshal_SetLastSystemError = - _System_Runtime_InteropServices_Marshal_SetLastSystemErrorPtr.asFunction< - void Function(int, ffi.Pointer)>(); - - System_String_t System_Runtime_InteropServices_Marshal_GetPInvokeErrorMessage( - int error, - ffi.Pointer outException, - ) { - return _System_Runtime_InteropServices_Marshal_GetPInvokeErrorMessage( - error, - outException, - ); - } - - late final _System_Runtime_InteropServices_Marshal_GetPInvokeErrorMessagePtr = - _lookup< - ffi.NativeFunction< - System_String_t Function( - ffi.Int32, ffi.Pointer)>>( - 'System_Runtime_InteropServices_Marshal_GetPInvokeErrorMessage'); - late final _System_Runtime_InteropServices_Marshal_GetPInvokeErrorMessage = - _System_Runtime_InteropServices_Marshal_GetPInvokeErrorMessagePtr - .asFunction< - System_String_t Function(int, ffi.Pointer)>(); - - int System_Runtime_InteropServices_Marshal_SystemDefaultCharSize_Get() { - return _System_Runtime_InteropServices_Marshal_SystemDefaultCharSize_Get(); - } - - late final _System_Runtime_InteropServices_Marshal_SystemDefaultCharSize_GetPtr = - _lookup>( - 'System_Runtime_InteropServices_Marshal_SystemDefaultCharSize_Get'); - late final _System_Runtime_InteropServices_Marshal_SystemDefaultCharSize_Get = - _System_Runtime_InteropServices_Marshal_SystemDefaultCharSize_GetPtr - .asFunction(); - - int System_Runtime_InteropServices_Marshal_SystemMaxDBCSCharSize_Get() { - return _System_Runtime_InteropServices_Marshal_SystemMaxDBCSCharSize_Get(); - } - - late final _System_Runtime_InteropServices_Marshal_SystemMaxDBCSCharSize_GetPtr = - _lookup>( - 'System_Runtime_InteropServices_Marshal_SystemMaxDBCSCharSize_Get'); - late final _System_Runtime_InteropServices_Marshal_SystemMaxDBCSCharSize_Get = - _System_Runtime_InteropServices_Marshal_SystemMaxDBCSCharSize_GetPtr - .asFunction(); - - System_Type_t System_Runtime_InteropServices_Marshal_TypeOf() { - return _System_Runtime_InteropServices_Marshal_TypeOf(); - } - - late final _System_Runtime_InteropServices_Marshal_TypeOfPtr = - _lookup>( - 'System_Runtime_InteropServices_Marshal_TypeOf'); - late final _System_Runtime_InteropServices_Marshal_TypeOf = - _System_Runtime_InteropServices_Marshal_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Runtime_InteropServices_Marshal_Destroy_1( - System_Runtime_InteropServices_Marshal_t self, - ) { - return _System_Runtime_InteropServices_Marshal_Destroy_1( - self, - ); - } - - late final _System_Runtime_InteropServices_Marshal_Destroy_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Runtime_InteropServices_Marshal_t)>>( - 'System_Runtime_InteropServices_Marshal_Destroy_1'); - late final _System_Runtime_InteropServices_Marshal_Destroy_1 = - _System_Runtime_InteropServices_Marshal_Destroy_1Ptr.asFunction< - void Function(System_Runtime_InteropServices_Marshal_t)>(); - - void System_Security_SecureString_AppendChar( - System_Security_SecureString_t self, - int c, - ffi.Pointer outException, - ) { - return _System_Security_SecureString_AppendChar( - self, - c, - outException, - ); - } - - late final _System_Security_SecureString_AppendCharPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Security_SecureString_t, ffi.WChar, - ffi.Pointer)>>( - 'System_Security_SecureString_AppendChar'); - late final _System_Security_SecureString_AppendChar = - _System_Security_SecureString_AppendCharPtr.asFunction< - void Function(System_Security_SecureString_t, int, - ffi.Pointer)>(); - - void System_Security_SecureString_Clear( - System_Security_SecureString_t self, - ffi.Pointer outException, - ) { - return _System_Security_SecureString_Clear( - self, - outException, - ); - } - - late final _System_Security_SecureString_ClearPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Security_SecureString_t, - ffi.Pointer)>>( - 'System_Security_SecureString_Clear'); - late final _System_Security_SecureString_Clear = - _System_Security_SecureString_ClearPtr.asFunction< - void Function(System_Security_SecureString_t, - ffi.Pointer)>(); - - System_Security_SecureString_t System_Security_SecureString_Copy( - System_Security_SecureString_t self, - ffi.Pointer outException, - ) { - return _System_Security_SecureString_Copy( - self, - outException, - ); - } - - late final _System_Security_SecureString_CopyPtr = _lookup< - ffi.NativeFunction< - System_Security_SecureString_t Function( - System_Security_SecureString_t, - ffi.Pointer)>>( - 'System_Security_SecureString_Copy'); - late final _System_Security_SecureString_Copy = - _System_Security_SecureString_CopyPtr.asFunction< - System_Security_SecureString_t Function( - System_Security_SecureString_t, - ffi.Pointer)>(); - - void System_Security_SecureString_Dispose( - System_Security_SecureString_t self, - ffi.Pointer outException, - ) { - return _System_Security_SecureString_Dispose( - self, - outException, - ); - } - - late final _System_Security_SecureString_DisposePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Security_SecureString_t, - ffi.Pointer)>>( - 'System_Security_SecureString_Dispose'); - late final _System_Security_SecureString_Dispose = - _System_Security_SecureString_DisposePtr.asFunction< - void Function(System_Security_SecureString_t, - ffi.Pointer)>(); - - void System_Security_SecureString_InsertAt( - System_Security_SecureString_t self, - int index, - int c, - ffi.Pointer outException, - ) { - return _System_Security_SecureString_InsertAt( - self, - index, - c, - outException, - ); - } - - late final _System_Security_SecureString_InsertAtPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Security_SecureString_t, ffi.Int32, - ffi.WChar, ffi.Pointer)>>( - 'System_Security_SecureString_InsertAt'); - late final _System_Security_SecureString_InsertAt = - _System_Security_SecureString_InsertAtPtr.asFunction< - void Function(System_Security_SecureString_t, int, int, - ffi.Pointer)>(); - - bool System_Security_SecureString_IsReadOnly( - System_Security_SecureString_t self, - ffi.Pointer outException, - ) { - return _System_Security_SecureString_IsReadOnly( - self, - outException, - ); - } - - late final _System_Security_SecureString_IsReadOnlyPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Security_SecureString_t, - ffi.Pointer)>>( - 'System_Security_SecureString_IsReadOnly'); - late final _System_Security_SecureString_IsReadOnly = - _System_Security_SecureString_IsReadOnlyPtr.asFunction< - bool Function(System_Security_SecureString_t, - ffi.Pointer)>(); - - void System_Security_SecureString_MakeReadOnly( - System_Security_SecureString_t self, - ffi.Pointer outException, - ) { - return _System_Security_SecureString_MakeReadOnly( - self, - outException, - ); - } - - late final _System_Security_SecureString_MakeReadOnlyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Security_SecureString_t, - ffi.Pointer)>>( - 'System_Security_SecureString_MakeReadOnly'); - late final _System_Security_SecureString_MakeReadOnly = - _System_Security_SecureString_MakeReadOnlyPtr.asFunction< - void Function(System_Security_SecureString_t, - ffi.Pointer)>(); - - void System_Security_SecureString_RemoveAt( - System_Security_SecureString_t self, - int index, - ffi.Pointer outException, - ) { - return _System_Security_SecureString_RemoveAt( - self, - index, - outException, - ); - } - - late final _System_Security_SecureString_RemoveAtPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Security_SecureString_t, ffi.Int32, - ffi.Pointer)>>( - 'System_Security_SecureString_RemoveAt'); - late final _System_Security_SecureString_RemoveAt = - _System_Security_SecureString_RemoveAtPtr.asFunction< - void Function(System_Security_SecureString_t, int, - ffi.Pointer)>(); - - void System_Security_SecureString_SetAt( - System_Security_SecureString_t self, - int index, - int c, - ffi.Pointer outException, - ) { - return _System_Security_SecureString_SetAt( - self, - index, - c, - outException, - ); - } - - late final _System_Security_SecureString_SetAtPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Security_SecureString_t, ffi.Int32, - ffi.WChar, ffi.Pointer)>>( - 'System_Security_SecureString_SetAt'); - late final _System_Security_SecureString_SetAt = - _System_Security_SecureString_SetAtPtr.asFunction< - void Function(System_Security_SecureString_t, int, int, - ffi.Pointer)>(); - - System_Security_SecureString_t System_Security_SecureString_Create( - ffi.Pointer outException, - ) { - return _System_Security_SecureString_Create( - outException, - ); - } - - late final _System_Security_SecureString_CreatePtr = _lookup< - ffi.NativeFunction< - System_Security_SecureString_t Function( - ffi.Pointer)>>( - 'System_Security_SecureString_Create'); - late final _System_Security_SecureString_Create = - _System_Security_SecureString_CreatePtr.asFunction< - System_Security_SecureString_t Function( - ffi.Pointer)>(); - - int System_Security_SecureString_Length_Get( - System_Security_SecureString_t self, - ffi.Pointer outException, - ) { - return _System_Security_SecureString_Length_Get( - self, - outException, - ); - } - - late final _System_Security_SecureString_Length_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Security_SecureString_t, - ffi.Pointer)>>( - 'System_Security_SecureString_Length_Get'); - late final _System_Security_SecureString_Length_Get = - _System_Security_SecureString_Length_GetPtr.asFunction< - int Function(System_Security_SecureString_t, - ffi.Pointer)>(); - - System_Type_t System_Security_SecureString_TypeOf() { - return _System_Security_SecureString_TypeOf(); - } - - late final _System_Security_SecureString_TypeOfPtr = - _lookup>( - 'System_Security_SecureString_TypeOf'); - late final _System_Security_SecureString_TypeOf = - _System_Security_SecureString_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Security_SecureString_Destroy( - System_Security_SecureString_t self, - ) { - return _System_Security_SecureString_Destroy( - self, - ); - } - - late final _System_Security_SecureString_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Security_SecureString_Destroy'); - late final _System_Security_SecureString_Destroy = - _System_Security_SecureString_DestroyPtr.asFunction< - void Function(System_Security_SecureString_t)>(); - - System_NullReferenceException_t System_NullReferenceException_Create( - ffi.Pointer outException, - ) { - return _System_NullReferenceException_Create( - outException, - ); - } - - late final _System_NullReferenceException_CreatePtr = _lookup< - ffi.NativeFunction< - System_NullReferenceException_t Function( - ffi.Pointer)>>( - 'System_NullReferenceException_Create'); - late final _System_NullReferenceException_Create = - _System_NullReferenceException_CreatePtr.asFunction< - System_NullReferenceException_t Function( - ffi.Pointer)>(); - - System_NullReferenceException_t System_NullReferenceException_Create_1( - System_String_t message, - ffi.Pointer outException, - ) { - return _System_NullReferenceException_Create_1( - message, - outException, - ); - } - - late final _System_NullReferenceException_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_NullReferenceException_t Function( - System_String_t, ffi.Pointer)>>( - 'System_NullReferenceException_Create_1'); - late final _System_NullReferenceException_Create_1 = - _System_NullReferenceException_Create_1Ptr.asFunction< - System_NullReferenceException_t Function( - System_String_t, ffi.Pointer)>(); - - System_NullReferenceException_t System_NullReferenceException_Create_2( - System_String_t message, - System_Exception_t innerException, - ffi.Pointer outException, - ) { - return _System_NullReferenceException_Create_2( - message, - innerException, - outException, - ); - } - - late final _System_NullReferenceException_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_NullReferenceException_t Function(System_String_t, - System_Exception_t, ffi.Pointer)>>( - 'System_NullReferenceException_Create_2'); - late final _System_NullReferenceException_Create_2 = - _System_NullReferenceException_Create_2Ptr.asFunction< - System_NullReferenceException_t Function(System_String_t, - System_Exception_t, ffi.Pointer)>(); - - System_Type_t System_NullReferenceException_TypeOf() { - return _System_NullReferenceException_TypeOf(); - } - - late final _System_NullReferenceException_TypeOfPtr = - _lookup>( - 'System_NullReferenceException_TypeOf'); - late final _System_NullReferenceException_TypeOf = - _System_NullReferenceException_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_NullReferenceException_Destroy( - System_NullReferenceException_t self, - ) { - return _System_NullReferenceException_Destroy( - self, - ); - } - - late final _System_NullReferenceException_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_NullReferenceException_Destroy'); - late final _System_NullReferenceException_Destroy = - _System_NullReferenceException_DestroyPtr.asFunction< - void Function(System_NullReferenceException_t)>(); - - System_SystemException_t System_SystemException_Create( - ffi.Pointer outException, - ) { - return _System_SystemException_Create( - outException, - ); - } - - late final _System_SystemException_CreatePtr = _lookup< - ffi.NativeFunction< - System_SystemException_t Function( - ffi.Pointer)>>( - 'System_SystemException_Create'); - late final _System_SystemException_Create = - _System_SystemException_CreatePtr.asFunction< - System_SystemException_t Function(ffi.Pointer)>(); - - System_SystemException_t System_SystemException_Create_1( - System_String_t message, - ffi.Pointer outException, - ) { - return _System_SystemException_Create_1( - message, - outException, - ); - } - - late final _System_SystemException_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_SystemException_t Function( - System_String_t, ffi.Pointer)>>( - 'System_SystemException_Create_1'); - late final _System_SystemException_Create_1 = - _System_SystemException_Create_1Ptr.asFunction< - System_SystemException_t Function( - System_String_t, ffi.Pointer)>(); - - System_SystemException_t System_SystemException_Create_2( - System_String_t message, - System_Exception_t innerException, - ffi.Pointer outException, - ) { - return _System_SystemException_Create_2( - message, - innerException, - outException, - ); - } - - late final _System_SystemException_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_SystemException_t Function(System_String_t, - System_Exception_t, ffi.Pointer)>>( - 'System_SystemException_Create_2'); - late final _System_SystemException_Create_2 = - _System_SystemException_Create_2Ptr.asFunction< - System_SystemException_t Function(System_String_t, System_Exception_t, - ffi.Pointer)>(); - - System_Type_t System_SystemException_TypeOf() { - return _System_SystemException_TypeOf(); - } - - late final _System_SystemException_TypeOfPtr = - _lookup>( - 'System_SystemException_TypeOf'); - late final _System_SystemException_TypeOf = - _System_SystemException_TypeOfPtr.asFunction(); - - void System_SystemException_Destroy( - System_SystemException_t self, - ) { - return _System_SystemException_Destroy( - self, - ); - } - - late final _System_SystemException_DestroyPtr = - _lookup>( - 'System_SystemException_Destroy'); - late final _System_SystemException_Destroy = - _System_SystemException_DestroyPtr.asFunction< - void Function(System_SystemException_t)>(); - - System_PlatformNotSupportedException_t - System_PlatformNotSupportedException_Create( - ffi.Pointer outException, - ) { - return _System_PlatformNotSupportedException_Create( - outException, - ); - } - - late final _System_PlatformNotSupportedException_CreatePtr = _lookup< - ffi.NativeFunction< - System_PlatformNotSupportedException_t Function( - ffi.Pointer)>>( - 'System_PlatformNotSupportedException_Create'); - late final _System_PlatformNotSupportedException_Create = - _System_PlatformNotSupportedException_CreatePtr.asFunction< - System_PlatformNotSupportedException_t Function( - ffi.Pointer)>(); - - System_PlatformNotSupportedException_t - System_PlatformNotSupportedException_Create_1( - System_String_t message, - ffi.Pointer outException, - ) { - return _System_PlatformNotSupportedException_Create_1( - message, - outException, - ); - } - - late final _System_PlatformNotSupportedException_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_PlatformNotSupportedException_t Function( - System_String_t, ffi.Pointer)>>( - 'System_PlatformNotSupportedException_Create_1'); - late final _System_PlatformNotSupportedException_Create_1 = - _System_PlatformNotSupportedException_Create_1Ptr.asFunction< - System_PlatformNotSupportedException_t Function( - System_String_t, ffi.Pointer)>(); - - System_PlatformNotSupportedException_t - System_PlatformNotSupportedException_Create_2( - System_String_t message, - System_Exception_t inner, - ffi.Pointer outException, - ) { - return _System_PlatformNotSupportedException_Create_2( - message, - inner, - outException, - ); - } - - late final _System_PlatformNotSupportedException_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_PlatformNotSupportedException_t Function(System_String_t, - System_Exception_t, ffi.Pointer)>>( - 'System_PlatformNotSupportedException_Create_2'); - late final _System_PlatformNotSupportedException_Create_2 = - _System_PlatformNotSupportedException_Create_2Ptr.asFunction< - System_PlatformNotSupportedException_t Function(System_String_t, - System_Exception_t, ffi.Pointer)>(); - - System_Type_t System_PlatformNotSupportedException_TypeOf() { - return _System_PlatformNotSupportedException_TypeOf(); - } - - late final _System_PlatformNotSupportedException_TypeOfPtr = - _lookup>( - 'System_PlatformNotSupportedException_TypeOf'); - late final _System_PlatformNotSupportedException_TypeOf = - _System_PlatformNotSupportedException_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_PlatformNotSupportedException_Destroy( - System_PlatformNotSupportedException_t self, - ) { - return _System_PlatformNotSupportedException_Destroy( - self, - ); - } - - late final _System_PlatformNotSupportedException_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_PlatformNotSupportedException_t)>>( - 'System_PlatformNotSupportedException_Destroy'); - late final _System_PlatformNotSupportedException_Destroy = - _System_PlatformNotSupportedException_DestroyPtr.asFunction< - void Function(System_PlatformNotSupportedException_t)>(); - - System_NotSupportedException_t System_NotSupportedException_Create( - ffi.Pointer outException, - ) { - return _System_NotSupportedException_Create( - outException, - ); - } - - late final _System_NotSupportedException_CreatePtr = _lookup< - ffi.NativeFunction< - System_NotSupportedException_t Function( - ffi.Pointer)>>( - 'System_NotSupportedException_Create'); - late final _System_NotSupportedException_Create = - _System_NotSupportedException_CreatePtr.asFunction< - System_NotSupportedException_t Function( - ffi.Pointer)>(); - - System_NotSupportedException_t System_NotSupportedException_Create_1( - System_String_t message, - ffi.Pointer outException, - ) { - return _System_NotSupportedException_Create_1( - message, - outException, - ); - } - - late final _System_NotSupportedException_Create_1Ptr = _lookup< - ffi.NativeFunction< - System_NotSupportedException_t Function( - System_String_t, ffi.Pointer)>>( - 'System_NotSupportedException_Create_1'); - late final _System_NotSupportedException_Create_1 = - _System_NotSupportedException_Create_1Ptr.asFunction< - System_NotSupportedException_t Function( - System_String_t, ffi.Pointer)>(); - - System_NotSupportedException_t System_NotSupportedException_Create_2( - System_String_t message, - System_Exception_t innerException, - ffi.Pointer outException, - ) { - return _System_NotSupportedException_Create_2( - message, - innerException, - outException, - ); - } - - late final _System_NotSupportedException_Create_2Ptr = _lookup< - ffi.NativeFunction< - System_NotSupportedException_t Function(System_String_t, - System_Exception_t, ffi.Pointer)>>( - 'System_NotSupportedException_Create_2'); - late final _System_NotSupportedException_Create_2 = - _System_NotSupportedException_Create_2Ptr.asFunction< - System_NotSupportedException_t Function(System_String_t, - System_Exception_t, ffi.Pointer)>(); - - System_Type_t System_NotSupportedException_TypeOf() { - return _System_NotSupportedException_TypeOf(); - } - - late final _System_NotSupportedException_TypeOfPtr = - _lookup>( - 'System_NotSupportedException_TypeOf'); - late final _System_NotSupportedException_TypeOf = - _System_NotSupportedException_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_NotSupportedException_Destroy( - System_NotSupportedException_t self, - ) { - return _System_NotSupportedException_Destroy( - self, - ); - } - - late final _System_NotSupportedException_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_NotSupportedException_Destroy'); - late final _System_NotSupportedException_Destroy = - _System_NotSupportedException_DestroyPtr.asFunction< - void Function(System_NotSupportedException_t)>(); - - System_Type_t System_UIntPtr_TypeOf() { - return _System_UIntPtr_TypeOf(); - } - - late final _System_UIntPtr_TypeOfPtr = - _lookup>( - 'System_UIntPtr_TypeOf'); - late final _System_UIntPtr_TypeOf = - _System_UIntPtr_TypeOfPtr.asFunction(); - - System_Object_t System_AppContext_GetData( - System_String_t name, - ffi.Pointer outException, - ) { - return _System_AppContext_GetData( - name, - outException, - ); - } - - late final _System_AppContext_GetDataPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_String_t, - ffi.Pointer)>>('System_AppContext_GetData'); - late final _System_AppContext_GetData = - _System_AppContext_GetDataPtr.asFunction< - System_Object_t Function( - System_String_t, ffi.Pointer)>(); - - void System_AppContext_SetData( - System_String_t name, - System_Object_t data, - ffi.Pointer outException, - ) { - return _System_AppContext_SetData( - name, - data, - outException, - ); - } - - late final _System_AppContext_SetDataPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_String_t, System_Object_t, - ffi.Pointer)>>('System_AppContext_SetData'); - late final _System_AppContext_SetData = - _System_AppContext_SetDataPtr.asFunction< - void Function(System_String_t, System_Object_t, - ffi.Pointer)>(); - - bool System_AppContext_TryGetSwitch( - System_String_t switchName, - ffi.Pointer isEnabled, - ffi.Pointer outException, - ) { - return _System_AppContext_TryGetSwitch( - switchName, - isEnabled, - outException, - ); - } - - late final _System_AppContext_TryGetSwitchPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>>( - 'System_AppContext_TryGetSwitch'); - late final _System_AppContext_TryGetSwitch = - _System_AppContext_TryGetSwitchPtr.asFunction< - bool Function(System_String_t, ffi.Pointer, - ffi.Pointer)>(); - - void System_AppContext_SetSwitch( - System_String_t switchName, - bool isEnabled, - ffi.Pointer outException, - ) { - return _System_AppContext_SetSwitch( - switchName, - isEnabled, - outException, - ); - } - - late final _System_AppContext_SetSwitchPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_String_t, ffi.Bool, - ffi.Pointer)>>('System_AppContext_SetSwitch'); - late final _System_AppContext_SetSwitch = - _System_AppContext_SetSwitchPtr.asFunction< - void Function( - System_String_t, bool, ffi.Pointer)>(); - - System_String_t System_AppContext_BaseDirectory_Get( - ffi.Pointer outException, - ) { - return _System_AppContext_BaseDirectory_Get( - outException, - ); - } - - late final _System_AppContext_BaseDirectory_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(ffi.Pointer)>>( - 'System_AppContext_BaseDirectory_Get'); - late final _System_AppContext_BaseDirectory_Get = - _System_AppContext_BaseDirectory_GetPtr.asFunction< - System_String_t Function(ffi.Pointer)>(); - - System_String_t System_AppContext_TargetFrameworkName_Get( - ffi.Pointer outException, - ) { - return _System_AppContext_TargetFrameworkName_Get( - outException, - ); - } - - late final _System_AppContext_TargetFrameworkName_GetPtr = _lookup< - ffi.NativeFunction< - System_String_t Function(ffi.Pointer)>>( - 'System_AppContext_TargetFrameworkName_Get'); - late final _System_AppContext_TargetFrameworkName_Get = - _System_AppContext_TargetFrameworkName_GetPtr.asFunction< - System_String_t Function(ffi.Pointer)>(); - - System_Type_t System_AppContext_TypeOf() { - return _System_AppContext_TypeOf(); - } - - late final _System_AppContext_TypeOfPtr = - _lookup>( - 'System_AppContext_TypeOf'); - late final _System_AppContext_TypeOf = - _System_AppContext_TypeOfPtr.asFunction(); - - void System_AppContext_Destroy( - System_AppContext_t self, - ) { - return _System_AppContext_Destroy( - self, - ); - } - - late final _System_AppContext_DestroyPtr = - _lookup>( - 'System_AppContext_Destroy'); - late final _System_AppContext_Destroy = _System_AppContext_DestroyPtr - .asFunction(); - - int MyLib_Hello_Sum( - MyLib_Hello_t self, - int a, - int b, - ffi.Pointer outException, - ) { - return _MyLib_Hello_Sum( - self, - a, - b, - outException, - ); - } - - late final _MyLib_Hello_SumPtr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(MyLib_Hello_t, ffi.Int32, ffi.Int32, - ffi.Pointer)>>('MyLib_Hello_Sum'); - late final _MyLib_Hello_Sum = _MyLib_Hello_SumPtr.asFunction< - int Function(MyLib_Hello_t, int, int, ffi.Pointer)>(); - - MyLib_Hello_t MyLib_Hello_Create( - ffi.Pointer outException, - ) { - return _MyLib_Hello_Create( - outException, - ); - } - - late final _MyLib_Hello_CreatePtr = _lookup< - ffi.NativeFunction< - MyLib_Hello_t Function( - ffi.Pointer)>>('MyLib_Hello_Create'); - late final _MyLib_Hello_Create = _MyLib_Hello_CreatePtr.asFunction< - MyLib_Hello_t Function(ffi.Pointer)>(); - - System_Type_t MyLib_Hello_TypeOf() { - return _MyLib_Hello_TypeOf(); - } - - late final _MyLib_Hello_TypeOfPtr = - _lookup>( - 'MyLib_Hello_TypeOf'); - late final _MyLib_Hello_TypeOf = - _MyLib_Hello_TypeOfPtr.asFunction(); - - void MyLib_Hello_Destroy( - MyLib_Hello_t self, - ) { - return _MyLib_Hello_Destroy( - self, - ); - } - - late final _MyLib_Hello_DestroyPtr = - _lookup>( - 'MyLib_Hello_Destroy'); - late final _MyLib_Hello_Destroy = - _MyLib_Hello_DestroyPtr.asFunction(); - - System_Action_t System_Action_Create( - ffi.Pointer context, - System_Action_CFunction_t function, - System_Action_CDestructorFunction_t destructorFunction, - ) { - return _System_Action_Create( - context, - function, - destructorFunction, - ); - } - - late final _System_Action_CreatePtr = _lookup< - ffi.NativeFunction< - System_Action_t Function( - ffi.Pointer, - System_Action_CFunction_t, - System_Action_CDestructorFunction_t)>>('System_Action_Create'); - late final _System_Action_Create = _System_Action_CreatePtr.asFunction< - System_Action_t Function(ffi.Pointer, System_Action_CFunction_t, - System_Action_CDestructorFunction_t)>(); - - void System_Action_Invoke( - System_Action_t self, - ffi.Pointer outException, - ) { - return _System_Action_Invoke( - self, - outException, - ); - } - - late final _System_Action_InvokePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Action_t, - ffi.Pointer)>>('System_Action_Invoke'); - late final _System_Action_Invoke = _System_Action_InvokePtr.asFunction< - void Function(System_Action_t, ffi.Pointer)>(); - - ffi.Pointer System_Action_Context_Get( - System_Action_t self, - ) { - return _System_Action_Context_Get( - self, - ); - } - - late final _System_Action_Context_GetPtr = _lookup< - ffi.NativeFunction Function(System_Action_t)>>( - 'System_Action_Context_Get'); - late final _System_Action_Context_Get = _System_Action_Context_GetPtr - .asFunction Function(System_Action_t)>(); - - System_Action_CFunction_t System_Action_CFunction_Get( - System_Action_t self, - ) { - return _System_Action_CFunction_Get( - self, - ); - } - - late final _System_Action_CFunction_GetPtr = _lookup< - ffi - .NativeFunction>( - 'System_Action_CFunction_Get'); - late final _System_Action_CFunction_Get = _System_Action_CFunction_GetPtr - .asFunction(); - - System_Action_CDestructorFunction_t System_Action_CDestructorFunction_Get( - System_Action_t self, - ) { - return _System_Action_CDestructorFunction_Get( - self, - ); - } - - late final _System_Action_CDestructorFunction_GetPtr = _lookup< - ffi.NativeFunction< - System_Action_CDestructorFunction_t Function( - System_Action_t)>>('System_Action_CDestructorFunction_Get'); - late final _System_Action_CDestructorFunction_Get = - _System_Action_CDestructorFunction_GetPtr.asFunction< - System_Action_CDestructorFunction_t Function(System_Action_t)>(); - - System_Type_t System_Action_TypeOf() { - return _System_Action_TypeOf(); - } - - late final _System_Action_TypeOfPtr = - _lookup>( - 'System_Action_TypeOf'); - late final _System_Action_TypeOf = - _System_Action_TypeOfPtr.asFunction(); - - void System_Action_Destroy( - System_Action_t self, - ) { - return _System_Action_Destroy( - self, - ); - } - - late final _System_Action_DestroyPtr = - _lookup>( - 'System_Action_Destroy'); - late final _System_Action_Destroy = - _System_Action_DestroyPtr.asFunction(); - - System_MulticastDelegate_t System_MulticastDelegate_Create( - ffi.Pointer context, - System_MulticastDelegate_CFunction_t function, - System_MulticastDelegate_CDestructorFunction_t destructorFunction, - ) { - return _System_MulticastDelegate_Create( - context, - function, - destructorFunction, - ); - } - - late final _System_MulticastDelegate_CreatePtr = _lookup< - ffi.NativeFunction< - System_MulticastDelegate_t Function( - ffi.Pointer, - System_MulticastDelegate_CFunction_t, - System_MulticastDelegate_CDestructorFunction_t)>>( - 'System_MulticastDelegate_Create'); - late final _System_MulticastDelegate_Create = - _System_MulticastDelegate_CreatePtr.asFunction< - System_MulticastDelegate_t Function( - ffi.Pointer, - System_MulticastDelegate_CFunction_t, - System_MulticastDelegate_CDestructorFunction_t)>(); - - void System_MulticastDelegate_Invoke( - System_MulticastDelegate_t self, - ffi.Pointer outException, - ) { - return _System_MulticastDelegate_Invoke( - self, - outException, - ); - } - - late final _System_MulticastDelegate_InvokePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_MulticastDelegate_t, - ffi.Pointer)>>( - 'System_MulticastDelegate_Invoke'); - late final _System_MulticastDelegate_Invoke = - _System_MulticastDelegate_InvokePtr.asFunction< - void Function( - System_MulticastDelegate_t, ffi.Pointer)>(); - - ffi.Pointer System_MulticastDelegate_Context_Get( - System_MulticastDelegate_t self, - ) { - return _System_MulticastDelegate_Context_Get( - self, - ); - } - - late final _System_MulticastDelegate_Context_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(System_MulticastDelegate_t)>>( - 'System_MulticastDelegate_Context_Get'); - late final _System_MulticastDelegate_Context_Get = - _System_MulticastDelegate_Context_GetPtr.asFunction< - ffi.Pointer Function(System_MulticastDelegate_t)>(); - - System_MulticastDelegate_CFunction_t System_MulticastDelegate_CFunction_Get( - System_MulticastDelegate_t self, - ) { - return _System_MulticastDelegate_CFunction_Get( - self, - ); - } - - late final _System_MulticastDelegate_CFunction_GetPtr = _lookup< - ffi.NativeFunction< - System_MulticastDelegate_CFunction_t Function( - System_MulticastDelegate_t)>>( - 'System_MulticastDelegate_CFunction_Get'); - late final _System_MulticastDelegate_CFunction_Get = - _System_MulticastDelegate_CFunction_GetPtr.asFunction< - System_MulticastDelegate_CFunction_t Function( - System_MulticastDelegate_t)>(); - - System_MulticastDelegate_CDestructorFunction_t - System_MulticastDelegate_CDestructorFunction_Get( - System_MulticastDelegate_t self, - ) { - return _System_MulticastDelegate_CDestructorFunction_Get( - self, - ); - } - - late final _System_MulticastDelegate_CDestructorFunction_GetPtr = _lookup< - ffi.NativeFunction< - System_MulticastDelegate_CDestructorFunction_t Function( - System_MulticastDelegate_t)>>( - 'System_MulticastDelegate_CDestructorFunction_Get'); - late final _System_MulticastDelegate_CDestructorFunction_Get = - _System_MulticastDelegate_CDestructorFunction_GetPtr.asFunction< - System_MulticastDelegate_CDestructorFunction_t Function( - System_MulticastDelegate_t)>(); - - System_Type_t System_MulticastDelegate_TypeOf() { - return _System_MulticastDelegate_TypeOf(); - } - - late final _System_MulticastDelegate_TypeOfPtr = - _lookup>( - 'System_MulticastDelegate_TypeOf'); - late final _System_MulticastDelegate_TypeOf = - _System_MulticastDelegate_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_MulticastDelegate_Destroy( - System_MulticastDelegate_t self, - ) { - return _System_MulticastDelegate_Destroy( - self, - ); - } - - late final _System_MulticastDelegate_DestroyPtr = _lookup< - ffi.NativeFunction>( - 'System_MulticastDelegate_Destroy'); - late final _System_MulticastDelegate_Destroy = - _System_MulticastDelegate_DestroyPtr.asFunction< - void Function(System_MulticastDelegate_t)>(); - - System_Delegate_t System_Delegate_Create( - ffi.Pointer context, - System_Delegate_CFunction_t function, - System_Delegate_CDestructorFunction_t destructorFunction, - ) { - return _System_Delegate_Create( - context, - function, - destructorFunction, - ); - } - - late final _System_Delegate_CreatePtr = _lookup< - ffi.NativeFunction< - System_Delegate_t Function( - ffi.Pointer, - System_Delegate_CFunction_t, - System_Delegate_CDestructorFunction_t)>>( - 'System_Delegate_Create'); - late final _System_Delegate_Create = _System_Delegate_CreatePtr.asFunction< - System_Delegate_t Function( - ffi.Pointer, - System_Delegate_CFunction_t, - System_Delegate_CDestructorFunction_t)>(); - - void System_Delegate_Invoke( - System_Delegate_t self, - ffi.Pointer outException, - ) { - return _System_Delegate_Invoke( - self, - outException, - ); - } - - late final _System_Delegate_InvokePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Delegate_t, - ffi.Pointer)>>('System_Delegate_Invoke'); - late final _System_Delegate_Invoke = _System_Delegate_InvokePtr.asFunction< - void Function(System_Delegate_t, ffi.Pointer)>(); - - ffi.Pointer System_Delegate_Context_Get( - System_Delegate_t self, - ) { - return _System_Delegate_Context_Get( - self, - ); - } - - late final _System_Delegate_Context_GetPtr = _lookup< - ffi - .NativeFunction Function(System_Delegate_t)>>( - 'System_Delegate_Context_Get'); - late final _System_Delegate_Context_Get = _System_Delegate_Context_GetPtr - .asFunction Function(System_Delegate_t)>(); - - System_Delegate_CFunction_t System_Delegate_CFunction_Get( - System_Delegate_t self, - ) { - return _System_Delegate_CFunction_Get( - self, - ); - } - - late final _System_Delegate_CFunction_GetPtr = _lookup< - ffi.NativeFunction< - System_Delegate_CFunction_t Function( - System_Delegate_t)>>('System_Delegate_CFunction_Get'); - late final _System_Delegate_CFunction_Get = _System_Delegate_CFunction_GetPtr - .asFunction(); - - System_Delegate_CDestructorFunction_t System_Delegate_CDestructorFunction_Get( - System_Delegate_t self, - ) { - return _System_Delegate_CDestructorFunction_Get( - self, - ); - } - - late final _System_Delegate_CDestructorFunction_GetPtr = _lookup< - ffi.NativeFunction< - System_Delegate_CDestructorFunction_t Function( - System_Delegate_t)>>('System_Delegate_CDestructorFunction_Get'); - late final _System_Delegate_CDestructorFunction_Get = - _System_Delegate_CDestructorFunction_GetPtr.asFunction< - System_Delegate_CDestructorFunction_t Function(System_Delegate_t)>(); - - System_Type_t System_Delegate_TypeOf() { - return _System_Delegate_TypeOf(); - } - - late final _System_Delegate_TypeOfPtr = - _lookup>( - 'System_Delegate_TypeOf'); - late final _System_Delegate_TypeOf = - _System_Delegate_TypeOfPtr.asFunction(); - - void System_Delegate_Destroy( - System_Delegate_t self, - ) { - return _System_Delegate_Destroy( - self, - ); - } - - late final _System_Delegate_DestroyPtr = - _lookup>( - 'System_Delegate_Destroy'); - late final _System_Delegate_Destroy = _System_Delegate_DestroyPtr.asFunction< - void Function(System_Delegate_t)>(); - - System_Threading_TimerCallback_t System_Threading_TimerCallback_Create( - ffi.Pointer context, - System_Threading_TimerCallback_CFunction_t function, - System_Threading_TimerCallback_CDestructorFunction_t destructorFunction, - ) { - return _System_Threading_TimerCallback_Create( - context, - function, - destructorFunction, - ); - } - - late final _System_Threading_TimerCallback_CreatePtr = _lookup< - ffi.NativeFunction< - System_Threading_TimerCallback_t Function( - ffi.Pointer, - System_Threading_TimerCallback_CFunction_t, - System_Threading_TimerCallback_CDestructorFunction_t)>>( - 'System_Threading_TimerCallback_Create'); - late final _System_Threading_TimerCallback_Create = - _System_Threading_TimerCallback_CreatePtr.asFunction< - System_Threading_TimerCallback_t Function( - ffi.Pointer, - System_Threading_TimerCallback_CFunction_t, - System_Threading_TimerCallback_CDestructorFunction_t)>(); - - void System_Threading_TimerCallback_Invoke( - System_Threading_TimerCallback_t self, - System_Object_t state, - ffi.Pointer outException, - ) { - return _System_Threading_TimerCallback_Invoke( - self, - state, - outException, - ); - } - - late final _System_Threading_TimerCallback_InvokePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_Threading_TimerCallback_t, - System_Object_t, ffi.Pointer)>>( - 'System_Threading_TimerCallback_Invoke'); - late final _System_Threading_TimerCallback_Invoke = - _System_Threading_TimerCallback_InvokePtr.asFunction< - void Function(System_Threading_TimerCallback_t, System_Object_t, - ffi.Pointer)>(); - - ffi.Pointer System_Threading_TimerCallback_Context_Get( - System_Threading_TimerCallback_t self, - ) { - return _System_Threading_TimerCallback_Context_Get( - self, - ); - } - - late final _System_Threading_TimerCallback_Context_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - System_Threading_TimerCallback_t)>>( - 'System_Threading_TimerCallback_Context_Get'); - late final _System_Threading_TimerCallback_Context_Get = - _System_Threading_TimerCallback_Context_GetPtr.asFunction< - ffi.Pointer Function(System_Threading_TimerCallback_t)>(); - - System_Threading_TimerCallback_CFunction_t - System_Threading_TimerCallback_CFunction_Get( - System_Threading_TimerCallback_t self, - ) { - return _System_Threading_TimerCallback_CFunction_Get( - self, - ); - } - - late final _System_Threading_TimerCallback_CFunction_GetPtr = _lookup< - ffi.NativeFunction< - System_Threading_TimerCallback_CFunction_t Function( - System_Threading_TimerCallback_t)>>( - 'System_Threading_TimerCallback_CFunction_Get'); - late final _System_Threading_TimerCallback_CFunction_Get = - _System_Threading_TimerCallback_CFunction_GetPtr.asFunction< - System_Threading_TimerCallback_CFunction_t Function( - System_Threading_TimerCallback_t)>(); - - System_Threading_TimerCallback_CDestructorFunction_t - System_Threading_TimerCallback_CDestructorFunction_Get( - System_Threading_TimerCallback_t self, - ) { - return _System_Threading_TimerCallback_CDestructorFunction_Get( - self, - ); - } - - late final _System_Threading_TimerCallback_CDestructorFunction_GetPtr = - _lookup< - ffi.NativeFunction< - System_Threading_TimerCallback_CDestructorFunction_t Function( - System_Threading_TimerCallback_t)>>( - 'System_Threading_TimerCallback_CDestructorFunction_Get'); - late final _System_Threading_TimerCallback_CDestructorFunction_Get = - _System_Threading_TimerCallback_CDestructorFunction_GetPtr.asFunction< - System_Threading_TimerCallback_CDestructorFunction_t Function( - System_Threading_TimerCallback_t)>(); - - System_Type_t System_Threading_TimerCallback_TypeOf() { - return _System_Threading_TimerCallback_TypeOf(); - } - - late final _System_Threading_TimerCallback_TypeOfPtr = - _lookup>( - 'System_Threading_TimerCallback_TypeOf'); - late final _System_Threading_TimerCallback_TypeOf = - _System_Threading_TimerCallback_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Threading_TimerCallback_Destroy( - System_Threading_TimerCallback_t self, - ) { - return _System_Threading_TimerCallback_Destroy( - self, - ); - } - - late final _System_Threading_TimerCallback_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Threading_TimerCallback_Destroy'); - late final _System_Threading_TimerCallback_Destroy = - _System_Threading_TimerCallback_DestroyPtr.asFunction< - void Function(System_Threading_TimerCallback_t)>(); - - System_AsyncCallback_t System_AsyncCallback_Create( - ffi.Pointer context, - System_AsyncCallback_CFunction_t function, - System_AsyncCallback_CDestructorFunction_t destructorFunction, - ) { - return _System_AsyncCallback_Create( - context, - function, - destructorFunction, - ); - } - - late final _System_AsyncCallback_CreatePtr = _lookup< - ffi.NativeFunction< - System_AsyncCallback_t Function( - ffi.Pointer, - System_AsyncCallback_CFunction_t, - System_AsyncCallback_CDestructorFunction_t)>>( - 'System_AsyncCallback_Create'); - late final _System_AsyncCallback_Create = - _System_AsyncCallback_CreatePtr.asFunction< - System_AsyncCallback_t Function( - ffi.Pointer, - System_AsyncCallback_CFunction_t, - System_AsyncCallback_CDestructorFunction_t)>(); - - void System_AsyncCallback_Invoke( - System_AsyncCallback_t self, - System_IAsyncResult_t ar, - ffi.Pointer outException, - ) { - return _System_AsyncCallback_Invoke( - self, - ar, - outException, - ); - } - - late final _System_AsyncCallback_InvokePtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(System_AsyncCallback_t, System_IAsyncResult_t, - ffi.Pointer)>>('System_AsyncCallback_Invoke'); - late final _System_AsyncCallback_Invoke = - _System_AsyncCallback_InvokePtr.asFunction< - void Function(System_AsyncCallback_t, System_IAsyncResult_t, - ffi.Pointer)>(); - - ffi.Pointer System_AsyncCallback_Context_Get( - System_AsyncCallback_t self, - ) { - return _System_AsyncCallback_Context_Get( - self, - ); - } - - late final _System_AsyncCallback_Context_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - System_AsyncCallback_t)>>('System_AsyncCallback_Context_Get'); - late final _System_AsyncCallback_Context_Get = - _System_AsyncCallback_Context_GetPtr.asFunction< - ffi.Pointer Function(System_AsyncCallback_t)>(); - - System_AsyncCallback_CFunction_t System_AsyncCallback_CFunction_Get( - System_AsyncCallback_t self, - ) { - return _System_AsyncCallback_CFunction_Get( - self, - ); - } - - late final _System_AsyncCallback_CFunction_GetPtr = _lookup< - ffi.NativeFunction< - System_AsyncCallback_CFunction_t Function( - System_AsyncCallback_t)>>('System_AsyncCallback_CFunction_Get'); - late final _System_AsyncCallback_CFunction_Get = - _System_AsyncCallback_CFunction_GetPtr.asFunction< - System_AsyncCallback_CFunction_t Function(System_AsyncCallback_t)>(); - - System_AsyncCallback_CDestructorFunction_t - System_AsyncCallback_CDestructorFunction_Get( - System_AsyncCallback_t self, - ) { - return _System_AsyncCallback_CDestructorFunction_Get( - self, - ); - } - - late final _System_AsyncCallback_CDestructorFunction_GetPtr = _lookup< - ffi.NativeFunction< - System_AsyncCallback_CDestructorFunction_t Function( - System_AsyncCallback_t)>>( - 'System_AsyncCallback_CDestructorFunction_Get'); - late final _System_AsyncCallback_CDestructorFunction_Get = - _System_AsyncCallback_CDestructorFunction_GetPtr.asFunction< - System_AsyncCallback_CDestructorFunction_t Function( - System_AsyncCallback_t)>(); - - System_Type_t System_AsyncCallback_TypeOf() { - return _System_AsyncCallback_TypeOf(); - } - - late final _System_AsyncCallback_TypeOfPtr = - _lookup>( - 'System_AsyncCallback_TypeOf'); - late final _System_AsyncCallback_TypeOf = - _System_AsyncCallback_TypeOfPtr.asFunction(); - - void System_AsyncCallback_Destroy( - System_AsyncCallback_t self, - ) { - return _System_AsyncCallback_Destroy( - self, - ); - } - - late final _System_AsyncCallback_DestroyPtr = - _lookup>( - 'System_AsyncCallback_Destroy'); - late final _System_AsyncCallback_Destroy = _System_AsyncCallback_DestroyPtr - .asFunction(); - - System_Reflection_ModuleResolveEventHandler_t - System_Reflection_ModuleResolveEventHandler_Create( - ffi.Pointer context, - System_Reflection_ModuleResolveEventHandler_CFunction_t function, - System_Reflection_ModuleResolveEventHandler_CDestructorFunction_t - destructorFunction, - ) { - return _System_Reflection_ModuleResolveEventHandler_Create( - context, - function, - destructorFunction, - ); - } - - late final _System_Reflection_ModuleResolveEventHandler_CreatePtr = _lookup< - ffi.NativeFunction< - System_Reflection_ModuleResolveEventHandler_t Function( - ffi.Pointer, - System_Reflection_ModuleResolveEventHandler_CFunction_t, - System_Reflection_ModuleResolveEventHandler_CDestructorFunction_t)>>( - 'System_Reflection_ModuleResolveEventHandler_Create'); - late final _System_Reflection_ModuleResolveEventHandler_Create = - _System_Reflection_ModuleResolveEventHandler_CreatePtr.asFunction< - System_Reflection_ModuleResolveEventHandler_t Function( - ffi.Pointer, - System_Reflection_ModuleResolveEventHandler_CFunction_t, - System_Reflection_ModuleResolveEventHandler_CDestructorFunction_t)>(); - - System_Reflection_Module_t System_Reflection_ModuleResolveEventHandler_Invoke( - System_Reflection_ModuleResolveEventHandler_t self, - System_Object_t sender, - System_ResolveEventArgs_t e, - ffi.Pointer outException, - ) { - return _System_Reflection_ModuleResolveEventHandler_Invoke( - self, - sender, - e, - outException, - ); - } - - late final _System_Reflection_ModuleResolveEventHandler_InvokePtr = _lookup< - ffi.NativeFunction< - System_Reflection_Module_t Function( - System_Reflection_ModuleResolveEventHandler_t, - System_Object_t, - System_ResolveEventArgs_t, - ffi.Pointer)>>( - 'System_Reflection_ModuleResolveEventHandler_Invoke'); - late final _System_Reflection_ModuleResolveEventHandler_Invoke = - _System_Reflection_ModuleResolveEventHandler_InvokePtr.asFunction< - System_Reflection_Module_t Function( - System_Reflection_ModuleResolveEventHandler_t, - System_Object_t, - System_ResolveEventArgs_t, - ffi.Pointer)>(); - - ffi.Pointer System_Reflection_ModuleResolveEventHandler_Context_Get( - System_Reflection_ModuleResolveEventHandler_t self, - ) { - return _System_Reflection_ModuleResolveEventHandler_Context_Get( - self, - ); - } - - late final _System_Reflection_ModuleResolveEventHandler_Context_GetPtr = - _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - System_Reflection_ModuleResolveEventHandler_t)>>( - 'System_Reflection_ModuleResolveEventHandler_Context_Get'); - late final _System_Reflection_ModuleResolveEventHandler_Context_Get = - _System_Reflection_ModuleResolveEventHandler_Context_GetPtr.asFunction< - ffi.Pointer Function( - System_Reflection_ModuleResolveEventHandler_t)>(); - - System_Reflection_ModuleResolveEventHandler_CFunction_t - System_Reflection_ModuleResolveEventHandler_CFunction_Get( - System_Reflection_ModuleResolveEventHandler_t self, - ) { - return _System_Reflection_ModuleResolveEventHandler_CFunction_Get( - self, - ); - } - - late final _System_Reflection_ModuleResolveEventHandler_CFunction_GetPtr = - _lookup< - ffi.NativeFunction< - System_Reflection_ModuleResolveEventHandler_CFunction_t - Function(System_Reflection_ModuleResolveEventHandler_t)>>( - 'System_Reflection_ModuleResolveEventHandler_CFunction_Get'); - late final _System_Reflection_ModuleResolveEventHandler_CFunction_Get = - _System_Reflection_ModuleResolveEventHandler_CFunction_GetPtr.asFunction< - System_Reflection_ModuleResolveEventHandler_CFunction_t Function( - System_Reflection_ModuleResolveEventHandler_t)>(); - - System_Reflection_ModuleResolveEventHandler_CDestructorFunction_t - System_Reflection_ModuleResolveEventHandler_CDestructorFunction_Get( - System_Reflection_ModuleResolveEventHandler_t self, - ) { - return _System_Reflection_ModuleResolveEventHandler_CDestructorFunction_Get( - self, - ); - } - - late final _System_Reflection_ModuleResolveEventHandler_CDestructorFunction_GetPtr = - _lookup< - ffi.NativeFunction< - System_Reflection_ModuleResolveEventHandler_CDestructorFunction_t - Function(System_Reflection_ModuleResolveEventHandler_t)>>( - 'System_Reflection_ModuleResolveEventHandler_CDestructorFunction_Get'); - late final _System_Reflection_ModuleResolveEventHandler_CDestructorFunction_Get = - _System_Reflection_ModuleResolveEventHandler_CDestructorFunction_GetPtr - .asFunction< - System_Reflection_ModuleResolveEventHandler_CDestructorFunction_t - Function(System_Reflection_ModuleResolveEventHandler_t)>(); - - System_Type_t System_Reflection_ModuleResolveEventHandler_TypeOf() { - return _System_Reflection_ModuleResolveEventHandler_TypeOf(); - } - - late final _System_Reflection_ModuleResolveEventHandler_TypeOfPtr = - _lookup>( - 'System_Reflection_ModuleResolveEventHandler_TypeOf'); - late final _System_Reflection_ModuleResolveEventHandler_TypeOf = - _System_Reflection_ModuleResolveEventHandler_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_ModuleResolveEventHandler_Destroy( - System_Reflection_ModuleResolveEventHandler_t self, - ) { - return _System_Reflection_ModuleResolveEventHandler_Destroy( - self, - ); - } - - late final _System_Reflection_ModuleResolveEventHandler_DestroyPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - System_Reflection_ModuleResolveEventHandler_t)>>( - 'System_Reflection_ModuleResolveEventHandler_Destroy'); - late final _System_Reflection_ModuleResolveEventHandler_Destroy = - _System_Reflection_ModuleResolveEventHandler_DestroyPtr.asFunction< - void Function(System_Reflection_ModuleResolveEventHandler_t)>(); - - System_Reflection_TypeFilter_t System_Reflection_TypeFilter_Create( - ffi.Pointer context, - System_Reflection_TypeFilter_CFunction_t function, - System_Reflection_TypeFilter_CDestructorFunction_t destructorFunction, - ) { - return _System_Reflection_TypeFilter_Create( - context, - function, - destructorFunction, - ); - } - - late final _System_Reflection_TypeFilter_CreatePtr = _lookup< - ffi.NativeFunction< - System_Reflection_TypeFilter_t Function( - ffi.Pointer, - System_Reflection_TypeFilter_CFunction_t, - System_Reflection_TypeFilter_CDestructorFunction_t)>>( - 'System_Reflection_TypeFilter_Create'); - late final _System_Reflection_TypeFilter_Create = - _System_Reflection_TypeFilter_CreatePtr.asFunction< - System_Reflection_TypeFilter_t Function( - ffi.Pointer, - System_Reflection_TypeFilter_CFunction_t, - System_Reflection_TypeFilter_CDestructorFunction_t)>(); - - bool System_Reflection_TypeFilter_Invoke( - System_Reflection_TypeFilter_t self, - System_Type_t m, - System_Object_t filterCriteria, - ffi.Pointer outException, - ) { - return _System_Reflection_TypeFilter_Invoke( - self, - m, - filterCriteria, - outException, - ); - } - - late final _System_Reflection_TypeFilter_InvokePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Reflection_TypeFilter_t, System_Type_t, - System_Object_t, ffi.Pointer)>>( - 'System_Reflection_TypeFilter_Invoke'); - late final _System_Reflection_TypeFilter_Invoke = - _System_Reflection_TypeFilter_InvokePtr.asFunction< - bool Function(System_Reflection_TypeFilter_t, System_Type_t, - System_Object_t, ffi.Pointer)>(); - - ffi.Pointer System_Reflection_TypeFilter_Context_Get( - System_Reflection_TypeFilter_t self, - ) { - return _System_Reflection_TypeFilter_Context_Get( - self, - ); - } - - late final _System_Reflection_TypeFilter_Context_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(System_Reflection_TypeFilter_t)>>( - 'System_Reflection_TypeFilter_Context_Get'); - late final _System_Reflection_TypeFilter_Context_Get = - _System_Reflection_TypeFilter_Context_GetPtr.asFunction< - ffi.Pointer Function(System_Reflection_TypeFilter_t)>(); - - System_Reflection_TypeFilter_CFunction_t - System_Reflection_TypeFilter_CFunction_Get( - System_Reflection_TypeFilter_t self, - ) { - return _System_Reflection_TypeFilter_CFunction_Get( - self, - ); - } - - late final _System_Reflection_TypeFilter_CFunction_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_TypeFilter_CFunction_t Function( - System_Reflection_TypeFilter_t)>>( - 'System_Reflection_TypeFilter_CFunction_Get'); - late final _System_Reflection_TypeFilter_CFunction_Get = - _System_Reflection_TypeFilter_CFunction_GetPtr.asFunction< - System_Reflection_TypeFilter_CFunction_t Function( - System_Reflection_TypeFilter_t)>(); - - System_Reflection_TypeFilter_CDestructorFunction_t - System_Reflection_TypeFilter_CDestructorFunction_Get( - System_Reflection_TypeFilter_t self, - ) { - return _System_Reflection_TypeFilter_CDestructorFunction_Get( - self, - ); - } - - late final _System_Reflection_TypeFilter_CDestructorFunction_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_TypeFilter_CDestructorFunction_t Function( - System_Reflection_TypeFilter_t)>>( - 'System_Reflection_TypeFilter_CDestructorFunction_Get'); - late final _System_Reflection_TypeFilter_CDestructorFunction_Get = - _System_Reflection_TypeFilter_CDestructorFunction_GetPtr.asFunction< - System_Reflection_TypeFilter_CDestructorFunction_t Function( - System_Reflection_TypeFilter_t)>(); - - System_Type_t System_Reflection_TypeFilter_TypeOf() { - return _System_Reflection_TypeFilter_TypeOf(); - } - - late final _System_Reflection_TypeFilter_TypeOfPtr = - _lookup>( - 'System_Reflection_TypeFilter_TypeOf'); - late final _System_Reflection_TypeFilter_TypeOf = - _System_Reflection_TypeFilter_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_TypeFilter_Destroy( - System_Reflection_TypeFilter_t self, - ) { - return _System_Reflection_TypeFilter_Destroy( - self, - ); - } - - late final _System_Reflection_TypeFilter_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Reflection_TypeFilter_Destroy'); - late final _System_Reflection_TypeFilter_Destroy = - _System_Reflection_TypeFilter_DestroyPtr.asFunction< - void Function(System_Reflection_TypeFilter_t)>(); - - System_Reflection_MemberFilter_t System_Reflection_MemberFilter_Create( - ffi.Pointer context, - System_Reflection_MemberFilter_CFunction_t function, - System_Reflection_MemberFilter_CDestructorFunction_t destructorFunction, - ) { - return _System_Reflection_MemberFilter_Create( - context, - function, - destructorFunction, - ); - } - - late final _System_Reflection_MemberFilter_CreatePtr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberFilter_t Function( - ffi.Pointer, - System_Reflection_MemberFilter_CFunction_t, - System_Reflection_MemberFilter_CDestructorFunction_t)>>( - 'System_Reflection_MemberFilter_Create'); - late final _System_Reflection_MemberFilter_Create = - _System_Reflection_MemberFilter_CreatePtr.asFunction< - System_Reflection_MemberFilter_t Function( - ffi.Pointer, - System_Reflection_MemberFilter_CFunction_t, - System_Reflection_MemberFilter_CDestructorFunction_t)>(); - - bool System_Reflection_MemberFilter_Invoke( - System_Reflection_MemberFilter_t self, - System_Reflection_MemberInfo_t m, - System_Object_t filterCriteria, - ffi.Pointer outException, - ) { - return _System_Reflection_MemberFilter_Invoke( - self, - m, - filterCriteria, - outException, - ); - } - - late final _System_Reflection_MemberFilter_InvokePtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - System_Reflection_MemberFilter_t, - System_Reflection_MemberInfo_t, - System_Object_t, - ffi.Pointer)>>( - 'System_Reflection_MemberFilter_Invoke'); - late final _System_Reflection_MemberFilter_Invoke = - _System_Reflection_MemberFilter_InvokePtr.asFunction< - bool Function( - System_Reflection_MemberFilter_t, - System_Reflection_MemberInfo_t, - System_Object_t, - ffi.Pointer)>(); - - ffi.Pointer System_Reflection_MemberFilter_Context_Get( - System_Reflection_MemberFilter_t self, - ) { - return _System_Reflection_MemberFilter_Context_Get( - self, - ); - } - - late final _System_Reflection_MemberFilter_Context_GetPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - System_Reflection_MemberFilter_t)>>( - 'System_Reflection_MemberFilter_Context_Get'); - late final _System_Reflection_MemberFilter_Context_Get = - _System_Reflection_MemberFilter_Context_GetPtr.asFunction< - ffi.Pointer Function(System_Reflection_MemberFilter_t)>(); - - System_Reflection_MemberFilter_CFunction_t - System_Reflection_MemberFilter_CFunction_Get( - System_Reflection_MemberFilter_t self, - ) { - return _System_Reflection_MemberFilter_CFunction_Get( - self, - ); - } - - late final _System_Reflection_MemberFilter_CFunction_GetPtr = _lookup< - ffi.NativeFunction< - System_Reflection_MemberFilter_CFunction_t Function( - System_Reflection_MemberFilter_t)>>( - 'System_Reflection_MemberFilter_CFunction_Get'); - late final _System_Reflection_MemberFilter_CFunction_Get = - _System_Reflection_MemberFilter_CFunction_GetPtr.asFunction< - System_Reflection_MemberFilter_CFunction_t Function( - System_Reflection_MemberFilter_t)>(); - - System_Reflection_MemberFilter_CDestructorFunction_t - System_Reflection_MemberFilter_CDestructorFunction_Get( - System_Reflection_MemberFilter_t self, - ) { - return _System_Reflection_MemberFilter_CDestructorFunction_Get( - self, - ); - } - - late final _System_Reflection_MemberFilter_CDestructorFunction_GetPtr = - _lookup< - ffi.NativeFunction< - System_Reflection_MemberFilter_CDestructorFunction_t Function( - System_Reflection_MemberFilter_t)>>( - 'System_Reflection_MemberFilter_CDestructorFunction_Get'); - late final _System_Reflection_MemberFilter_CDestructorFunction_Get = - _System_Reflection_MemberFilter_CDestructorFunction_GetPtr.asFunction< - System_Reflection_MemberFilter_CDestructorFunction_t Function( - System_Reflection_MemberFilter_t)>(); - - System_Type_t System_Reflection_MemberFilter_TypeOf() { - return _System_Reflection_MemberFilter_TypeOf(); - } - - late final _System_Reflection_MemberFilter_TypeOfPtr = - _lookup>( - 'System_Reflection_MemberFilter_TypeOf'); - late final _System_Reflection_MemberFilter_TypeOf = - _System_Reflection_MemberFilter_TypeOfPtr.asFunction< - System_Type_t Function()>(); - - void System_Reflection_MemberFilter_Destroy( - System_Reflection_MemberFilter_t self, - ) { - return _System_Reflection_MemberFilter_Destroy( - self, - ); - } - - late final _System_Reflection_MemberFilter_DestroyPtr = _lookup< - ffi - .NativeFunction>( - 'System_Reflection_MemberFilter_Destroy'); - late final _System_Reflection_MemberFilter_Destroy = - _System_Reflection_MemberFilter_DestroyPtr.asFunction< - void Function(System_Reflection_MemberFilter_t)>(); - - CString DNStringToC( - System_String_t systemString, - ) { - return _DNStringToC( - systemString, - ); - } - - late final _DNStringToCPtr = - _lookup>( - 'DNStringToC'); - late final _DNStringToC = - _DNStringToCPtr.asFunction(); - - System_String_t DNStringFromC( - CString cString, - ) { - return _DNStringFromC( - cString, - ); - } - - late final _DNStringFromCPtr = - _lookup>( - 'DNStringFromC'); - late final _DNStringFromC = - _DNStringFromCPtr.asFunction(); - - System_Object_t DNObjectCastTo( - System_Object_t object, - System_Type_t type, - ffi.Pointer outException, - ) { - return _DNObjectCastTo( - object, - type, - outException, - ); - } - - late final _DNObjectCastToPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function(System_Object_t, System_Type_t, - ffi.Pointer)>>('DNObjectCastTo'); - late final _DNObjectCastTo = _DNObjectCastToPtr.asFunction< - System_Object_t Function( - System_Object_t, System_Type_t, ffi.Pointer)>(); - - System_Object_t DNObjectCastAs( - System_Object_t object, - System_Type_t type, - ) { - return _DNObjectCastAs( - object, - type, - ); - } - - late final _DNObjectCastAsPtr = _lookup< - ffi.NativeFunction< - System_Object_t Function( - System_Object_t, System_Type_t)>>('DNObjectCastAs'); - late final _DNObjectCastAs = _DNObjectCastAsPtr.asFunction< - System_Object_t Function(System_Object_t, System_Type_t)>(); - - bool DNObjectIs( - System_Object_t object, - System_Type_t type, - ) { - return _DNObjectIs( - object, - type, - ); - } - - late final _DNObjectIsPtr = _lookup< - ffi - .NativeFunction>( - 'DNObjectIs'); - late final _DNObjectIs = _DNObjectIsPtr.asFunction< - bool Function(System_Object_t, System_Type_t)>(); - - bool DNObjectCastToBool( - System_Object_t object, - ffi.Pointer outException, - ) { - return _DNObjectCastToBool( - object, - outException, - ); - } - - late final _DNObjectCastToBoolPtr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(System_Object_t, - ffi.Pointer)>>('DNObjectCastToBool'); - late final _DNObjectCastToBool = _DNObjectCastToBoolPtr.asFunction< - bool Function(System_Object_t, ffi.Pointer)>(); - - System_Object_t DNObjectFromBool( - bool value, - ) { - return _DNObjectFromBool( - value, - ); - } - - late final _DNObjectFromBoolPtr = - _lookup>( - 'DNObjectFromBool'); - late final _DNObjectFromBool = - _DNObjectFromBoolPtr.asFunction(); - - double DNObjectCastToFloat( - System_Object_t object, - ffi.Pointer outException, - ) { - return _DNObjectCastToFloat( - object, - outException, - ); - } - - late final _DNObjectCastToFloatPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(System_Object_t, - ffi.Pointer)>>('DNObjectCastToFloat'); - late final _DNObjectCastToFloat = _DNObjectCastToFloatPtr.asFunction< - double Function(System_Object_t, ffi.Pointer)>(); - - System_Object_t DNObjectFromFloat( - double value, - ) { - return _DNObjectFromFloat( - value, - ); - } - - late final _DNObjectFromFloatPtr = - _lookup>( - 'DNObjectFromFloat'); - late final _DNObjectFromFloat = - _DNObjectFromFloatPtr.asFunction(); - - double DNObjectCastToDouble( - System_Object_t object, - ffi.Pointer outException, - ) { - return _DNObjectCastToDouble( - object, - outException, - ); - } - - late final _DNObjectCastToDoublePtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(System_Object_t, - ffi.Pointer)>>('DNObjectCastToDouble'); - late final _DNObjectCastToDouble = _DNObjectCastToDoublePtr.asFunction< - double Function(System_Object_t, ffi.Pointer)>(); - - System_Object_t DNObjectFromDouble( - double value, - ) { - return _DNObjectFromDouble( - value, - ); - } - - late final _DNObjectFromDoublePtr = - _lookup>( - 'DNObjectFromDouble'); - late final _DNObjectFromDouble = - _DNObjectFromDoublePtr.asFunction(); - - int DNObjectCastToInt8( - System_Object_t object, - ffi.Pointer outException, - ) { - return _DNObjectCastToInt8( - object, - outException, - ); - } - - late final _DNObjectCastToInt8Ptr = _lookup< - ffi.NativeFunction< - ffi.Int8 Function(System_Object_t, - ffi.Pointer)>>('DNObjectCastToInt8'); - late final _DNObjectCastToInt8 = _DNObjectCastToInt8Ptr.asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - System_Object_t DNObjectFromInt8( - int number, - ) { - return _DNObjectFromInt8( - number, - ); - } - - late final _DNObjectFromInt8Ptr = - _lookup>( - 'DNObjectFromInt8'); - late final _DNObjectFromInt8 = - _DNObjectFromInt8Ptr.asFunction(); - - int DNObjectCastToUInt8( - System_Object_t object, - ffi.Pointer outException, - ) { - return _DNObjectCastToUInt8( - object, - outException, - ); - } - - late final _DNObjectCastToUInt8Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint8 Function(System_Object_t, - ffi.Pointer)>>('DNObjectCastToUInt8'); - late final _DNObjectCastToUInt8 = _DNObjectCastToUInt8Ptr.asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - System_Object_t DNObjectFromUInt8( - int number, - ) { - return _DNObjectFromUInt8( - number, - ); - } - - late final _DNObjectFromUInt8Ptr = - _lookup>( - 'DNObjectFromUInt8'); - late final _DNObjectFromUInt8 = - _DNObjectFromUInt8Ptr.asFunction(); - - int DNObjectCastToInt16( - System_Object_t object, - ffi.Pointer outException, - ) { - return _DNObjectCastToInt16( - object, - outException, - ); - } - - late final _DNObjectCastToInt16Ptr = _lookup< - ffi.NativeFunction< - ffi.Int16 Function(System_Object_t, - ffi.Pointer)>>('DNObjectCastToInt16'); - late final _DNObjectCastToInt16 = _DNObjectCastToInt16Ptr.asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - System_Object_t DNObjectFromInt16( - int number, - ) { - return _DNObjectFromInt16( - number, - ); - } - - late final _DNObjectFromInt16Ptr = - _lookup>( - 'DNObjectFromInt16'); - late final _DNObjectFromInt16 = - _DNObjectFromInt16Ptr.asFunction(); - - int DNObjectCastToUInt16( - System_Object_t object, - ffi.Pointer outException, - ) { - return _DNObjectCastToUInt16( - object, - outException, - ); - } - - late final _DNObjectCastToUInt16Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint16 Function(System_Object_t, - ffi.Pointer)>>('DNObjectCastToUInt16'); - late final _DNObjectCastToUInt16 = _DNObjectCastToUInt16Ptr.asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - System_Object_t DNObjectFromUInt16( - int number, - ) { - return _DNObjectFromUInt16( - number, - ); - } - - late final _DNObjectFromUInt16Ptr = - _lookup>( - 'DNObjectFromUInt16'); - late final _DNObjectFromUInt16 = - _DNObjectFromUInt16Ptr.asFunction(); - - int DNObjectCastToInt32( - System_Object_t object, - ffi.Pointer outException, - ) { - return _DNObjectCastToInt32( - object, - outException, - ); - } - - late final _DNObjectCastToInt32Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(System_Object_t, - ffi.Pointer)>>('DNObjectCastToInt32'); - late final _DNObjectCastToInt32 = _DNObjectCastToInt32Ptr.asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - System_Object_t DNObjectFromInt32( - int number, - ) { - return _DNObjectFromInt32( - number, - ); - } - - late final _DNObjectFromInt32Ptr = - _lookup>( - 'DNObjectFromInt32'); - late final _DNObjectFromInt32 = - _DNObjectFromInt32Ptr.asFunction(); - - int DNObjectCastToUInt32( - System_Object_t object, - ffi.Pointer outException, - ) { - return _DNObjectCastToUInt32( - object, - outException, - ); - } - - late final _DNObjectCastToUInt32Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function(System_Object_t, - ffi.Pointer)>>('DNObjectCastToUInt32'); - late final _DNObjectCastToUInt32 = _DNObjectCastToUInt32Ptr.asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - System_Object_t DNObjectFromUInt32( - int number, - ) { - return _DNObjectFromUInt32( - number, - ); - } - - late final _DNObjectFromUInt32Ptr = - _lookup>( - 'DNObjectFromUInt32'); - late final _DNObjectFromUInt32 = - _DNObjectFromUInt32Ptr.asFunction(); - - int DNObjectCastToInt64( - System_Object_t object, - ffi.Pointer outException, - ) { - return _DNObjectCastToInt64( - object, - outException, - ); - } - - late final _DNObjectCastToInt64Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(System_Object_t, - ffi.Pointer)>>('DNObjectCastToInt64'); - late final _DNObjectCastToInt64 = _DNObjectCastToInt64Ptr.asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - System_Object_t DNObjectFromInt64( - int number, - ) { - return _DNObjectFromInt64( - number, - ); - } - - late final _DNObjectFromInt64Ptr = - _lookup>( - 'DNObjectFromInt64'); - late final _DNObjectFromInt64 = - _DNObjectFromInt64Ptr.asFunction(); - - int DNObjectCastToUInt64( - System_Object_t object, - ffi.Pointer outException, - ) { - return _DNObjectCastToUInt64( - object, - outException, - ); - } - - late final _DNObjectCastToUInt64Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint64 Function(System_Object_t, - ffi.Pointer)>>('DNObjectCastToUInt64'); - late final _DNObjectCastToUInt64 = _DNObjectCastToUInt64Ptr.asFunction< - int Function(System_Object_t, ffi.Pointer)>(); - - System_Object_t DNObjectFromUInt64( - int number, - ) { - return _DNObjectFromUInt64( - number, - ); - } - - late final _DNObjectFromUInt64Ptr = - _lookup>( - 'DNObjectFromUInt64'); - late final _DNObjectFromUInt64 = - _DNObjectFromUInt64Ptr.asFunction(); -} - -final class __mbstate_t extends ffi.Union { - @ffi.Array.multi([128]) - external ffi.Array __mbstate8; - - @ffi.LongLong() - external int _mbstateL; -} - -final class __darwin_pthread_handler_rec extends ffi.Struct { - external ffi - .Pointer)>> - __routine; - - external ffi.Pointer __arg; - - external ffi.Pointer<__darwin_pthread_handler_rec> __next; -} - -final class _opaque_pthread_attr_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([56]) - external ffi.Array __opaque; -} - -final class _opaque_pthread_cond_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([40]) - external ffi.Array __opaque; -} - -final class _opaque_pthread_condattr_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([8]) - external ffi.Array __opaque; -} - -final class _opaque_pthread_mutex_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([56]) - external ffi.Array __opaque; -} - -final class _opaque_pthread_mutexattr_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([8]) - external ffi.Array __opaque; -} - -final class _opaque_pthread_once_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([8]) - external ffi.Array __opaque; -} - -final class _opaque_pthread_rwlock_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([192]) - external ffi.Array __opaque; -} - -final class _opaque_pthread_rwlockattr_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([16]) - external ffi.Array __opaque; -} - -final class _opaque_pthread_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - external ffi.Pointer<__darwin_pthread_handler_rec> __cleanup_stack; - - @ffi.Array.multi([8176]) - external ffi.Array __opaque; -} - -abstract class idtype_t { - static const int P_ALL = 0; - static const int P_PID = 1; - static const int P_PGID = 2; -} - -final class __darwin_i386_thread_state extends ffi.Struct { - @ffi.UnsignedInt() - external int __eax; - - @ffi.UnsignedInt() - external int __ebx; - - @ffi.UnsignedInt() - external int __ecx; - - @ffi.UnsignedInt() - external int __edx; - - @ffi.UnsignedInt() - external int __edi; - - @ffi.UnsignedInt() - external int __esi; - - @ffi.UnsignedInt() - external int __ebp; - - @ffi.UnsignedInt() - external int __esp; - - @ffi.UnsignedInt() - external int __ss; - - @ffi.UnsignedInt() - external int __eflags; - - @ffi.UnsignedInt() - external int __eip; - - @ffi.UnsignedInt() - external int __cs; - - @ffi.UnsignedInt() - external int __ds; - - @ffi.UnsignedInt() - external int __es; - - @ffi.UnsignedInt() - external int __fs; - - @ffi.UnsignedInt() - external int __gs; -} - -final class __darwin_fp_control extends ffi.Opaque {} - -final class __darwin_fp_status extends ffi.Opaque {} - -final class __darwin_mmst_reg extends ffi.Struct { - @ffi.Array.multi([10]) - external ffi.Array __mmst_reg; - - @ffi.Array.multi([6]) - external ffi.Array __mmst_rsrv; -} - -final class __darwin_xmm_reg extends ffi.Struct { - @ffi.Array.multi([16]) - external ffi.Array __xmm_reg; -} - -final class __darwin_ymm_reg extends ffi.Struct { - @ffi.Array.multi([32]) - external ffi.Array __ymm_reg; -} - -final class __darwin_zmm_reg extends ffi.Struct { - @ffi.Array.multi([64]) - external ffi.Array __zmm_reg; -} - -final class __darwin_opmask_reg extends ffi.Struct { - @ffi.Array.multi([8]) - external ffi.Array __opmask_reg; -} - -final class __darwin_i386_float_state extends ffi.Opaque {} - -final class __darwin_i386_avx_state extends ffi.Opaque {} - -final class __darwin_i386_avx512_state extends ffi.Opaque {} - -final class __darwin_i386_exception_state extends ffi.Struct { - @__uint16_t() - external int __trapno; - - @__uint16_t() - external int __cpu; - - @__uint32_t() - external int __err; - - @__uint32_t() - external int __faultvaddr; -} - -typedef __uint16_t = ffi.UnsignedShort; -typedef __uint32_t = ffi.UnsignedInt; - -final class __darwin_x86_debug_state32 extends ffi.Struct { - @ffi.UnsignedInt() - external int __dr0; - - @ffi.UnsignedInt() - external int __dr1; - - @ffi.UnsignedInt() - external int __dr2; - - @ffi.UnsignedInt() - external int __dr3; - - @ffi.UnsignedInt() - external int __dr4; - - @ffi.UnsignedInt() - external int __dr5; - - @ffi.UnsignedInt() - external int __dr6; - - @ffi.UnsignedInt() - external int __dr7; -} - -final class __x86_instruction_state extends ffi.Struct { - @ffi.Int() - external int __insn_stream_valid_bytes; - - @ffi.Int() - external int __insn_offset; - - @ffi.Int() - external int __out_of_synch; - - @ffi.Array.multi([2380]) - external ffi.Array<__uint8_t> __insn_bytes; - - @ffi.Array.multi([64]) - external ffi.Array<__uint8_t> __insn_cacheline; -} - -typedef __uint8_t = ffi.UnsignedChar; - -final class __last_branch_record extends ffi.Opaque {} - -final class __last_branch_state extends ffi.Opaque {} - -final class __x86_pagein_state extends ffi.Struct { - @ffi.Int() - external int __pagein_error; -} - -final class __darwin_x86_thread_state64 extends ffi.Struct { - @__uint64_t() - external int __rax; - - @__uint64_t() - external int __rbx; - - @__uint64_t() - external int __rcx; - - @__uint64_t() - external int __rdx; - - @__uint64_t() - external int __rdi; - - @__uint64_t() - external int __rsi; - - @__uint64_t() - external int __rbp; - - @__uint64_t() - external int __rsp; - - @__uint64_t() - external int __r8; - - @__uint64_t() - external int __r9; - - @__uint64_t() - external int __r10; - - @__uint64_t() - external int __r11; - - @__uint64_t() - external int __r12; - - @__uint64_t() - external int __r13; - - @__uint64_t() - external int __r14; - - @__uint64_t() - external int __r15; - - @__uint64_t() - external int __rip; - - @__uint64_t() - external int __rflags; - - @__uint64_t() - external int __cs; - - @__uint64_t() - external int __fs; - - @__uint64_t() - external int __gs; -} - -typedef __uint64_t = ffi.UnsignedLongLong; - -final class __darwin_x86_thread_full_state64 extends ffi.Struct { - external __darwin_x86_thread_state64 __ss64; - - @__uint64_t() - external int __ds; - - @__uint64_t() - external int __es; - - @__uint64_t() - external int __ss; - - @__uint64_t() - external int __gsbase; -} - -final class __darwin_x86_float_state64 extends ffi.Opaque {} - -final class __darwin_x86_avx_state64 extends ffi.Opaque {} - -final class __darwin_x86_avx512_state64 extends ffi.Opaque {} - -final class __darwin_x86_exception_state64 extends ffi.Struct { - @__uint16_t() - external int __trapno; - - @__uint16_t() - external int __cpu; - - @__uint32_t() - external int __err; - - @__uint64_t() - external int __faultvaddr; -} - -final class __darwin_x86_debug_state64 extends ffi.Struct { - @__uint64_t() - external int __dr0; - - @__uint64_t() - external int __dr1; - - @__uint64_t() - external int __dr2; - - @__uint64_t() - external int __dr3; - - @__uint64_t() - external int __dr4; - - @__uint64_t() - external int __dr5; - - @__uint64_t() - external int __dr6; - - @__uint64_t() - external int __dr7; -} - -final class __darwin_x86_cpmu_state64 extends ffi.Struct { - @ffi.Array.multi([16]) - external ffi.Array<__uint64_t> __ctrs; -} - -final class __darwin_mcontext32 extends ffi.Opaque {} - -final class __darwin_mcontext_avx32 extends ffi.Opaque {} - -final class __darwin_mcontext_avx512_32 extends ffi.Opaque {} - -final class __darwin_mcontext64 extends ffi.Opaque {} - -final class __darwin_mcontext64_full extends ffi.Opaque {} - -final class __darwin_mcontext_avx64 extends ffi.Opaque {} - -final class __darwin_mcontext_avx64_full extends ffi.Opaque {} - -final class __darwin_mcontext_avx512_64 extends ffi.Opaque {} - -final class __darwin_mcontext_avx512_64_full extends ffi.Opaque {} - -final class __darwin_sigaltstack extends ffi.Struct { - external ffi.Pointer ss_sp; - - @__darwin_size_t() - external int ss_size; - - @ffi.Int() - external int ss_flags; -} - -typedef __darwin_size_t = ffi.UnsignedLong; - -final class __darwin_ucontext extends ffi.Struct { - @ffi.Int() - external int uc_onstack; - - @__darwin_sigset_t() - external int uc_sigmask; - - external __darwin_sigaltstack uc_stack; - - external ffi.Pointer<__darwin_ucontext> uc_link; - - @__darwin_size_t() - external int uc_mcsize; - - external ffi.Pointer<__darwin_mcontext64> uc_mcontext; -} - -typedef __darwin_sigset_t = __uint32_t; - -final class sigval extends ffi.Union { - @ffi.Int() - external int sival_int; - - external ffi.Pointer sival_ptr; -} - -final class sigevent extends ffi.Struct { - @ffi.Int() - external int sigev_notify; - - @ffi.Int() - external int sigev_signo; - - external sigval sigev_value; - - external ffi.Pointer> - sigev_notify_function; - - external ffi.Pointer sigev_notify_attributes; -} - -typedef pthread_attr_t = __darwin_pthread_attr_t; -typedef __darwin_pthread_attr_t = _opaque_pthread_attr_t; - -final class __siginfo extends ffi.Struct { - @ffi.Int() - external int si_signo; - - @ffi.Int() - external int si_errno; - - @ffi.Int() - external int si_code; - - @pid_t() - external int si_pid; - - @uid_t() - external int si_uid; - - @ffi.Int() - external int si_status; - - external ffi.Pointer si_addr; - - external sigval si_value; - - @ffi.Long() - external int si_band; - - @ffi.Array.multi([7]) - external ffi.Array __pad; -} - -typedef pid_t = __darwin_pid_t; -typedef __darwin_pid_t = __int32_t; -typedef __int32_t = ffi.Int; -typedef uid_t = __darwin_uid_t; -typedef __darwin_uid_t = __uint32_t; - -final class __sigaction_u extends ffi.Union { - external ffi.Pointer> - __sa_handler; - - external ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Int, ffi.Pointer<__siginfo>, ffi.Pointer)>> - __sa_sigaction; -} - -final class __sigaction extends ffi.Struct { - external __sigaction_u __sigaction_u1; - - external ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Int, ffi.Int, - ffi.Pointer, ffi.Pointer)>> sa_tramp; - - @sigset_t() - external int sa_mask; - - @ffi.Int() - external int sa_flags; -} - -typedef siginfo_t = __siginfo; -typedef sigset_t = __darwin_sigset_t; - -final class sigaction extends ffi.Struct { - external __sigaction_u __sigaction_u1; - - @sigset_t() - external int sa_mask; - - @ffi.Int() - external int sa_flags; -} - -final class sigvec extends ffi.Struct { - external ffi.Pointer> - sv_handler; - - @ffi.Int() - external int sv_mask; - - @ffi.Int() - external int sv_flags; -} - -final class sigstack extends ffi.Struct { - external ffi.Pointer ss_sp; - - @ffi.Int() - external int ss_onstack; -} - -final class timeval extends ffi.Struct { - @__darwin_time_t() - external int tv_sec; - - @__darwin_suseconds_t() - external int tv_usec; -} - -typedef __darwin_time_t = ffi.Long; -typedef __darwin_suseconds_t = __int32_t; - -final class rusage extends ffi.Struct { - external timeval ru_utime; - - external timeval ru_stime; - - @ffi.Long() - external int ru_maxrss; - - @ffi.Long() - external int ru_ixrss; - - @ffi.Long() - external int ru_idrss; - - @ffi.Long() - external int ru_isrss; - - @ffi.Long() - external int ru_minflt; - - @ffi.Long() - external int ru_majflt; - - @ffi.Long() - external int ru_nswap; - - @ffi.Long() - external int ru_inblock; - - @ffi.Long() - external int ru_oublock; - - @ffi.Long() - external int ru_msgsnd; - - @ffi.Long() - external int ru_msgrcv; - - @ffi.Long() - external int ru_nsignals; - - @ffi.Long() - external int ru_nvcsw; - - @ffi.Long() - external int ru_nivcsw; -} - -final class rusage_info_v0 extends ffi.Struct { - @ffi.Array.multi([16]) - external ffi.Array ri_uuid; - - @ffi.Uint64() - external int ri_user_time; - - @ffi.Uint64() - external int ri_system_time; - - @ffi.Uint64() - external int ri_pkg_idle_wkups; - - @ffi.Uint64() - external int ri_interrupt_wkups; - - @ffi.Uint64() - external int ri_pageins; - - @ffi.Uint64() - external int ri_wired_size; - - @ffi.Uint64() - external int ri_resident_size; - - @ffi.Uint64() - external int ri_phys_footprint; - - @ffi.Uint64() - external int ri_proc_start_abstime; - - @ffi.Uint64() - external int ri_proc_exit_abstime; -} - -final class rusage_info_v1 extends ffi.Struct { - @ffi.Array.multi([16]) - external ffi.Array ri_uuid; - - @ffi.Uint64() - external int ri_user_time; - - @ffi.Uint64() - external int ri_system_time; - - @ffi.Uint64() - external int ri_pkg_idle_wkups; - - @ffi.Uint64() - external int ri_interrupt_wkups; - - @ffi.Uint64() - external int ri_pageins; - - @ffi.Uint64() - external int ri_wired_size; - - @ffi.Uint64() - external int ri_resident_size; - - @ffi.Uint64() - external int ri_phys_footprint; - - @ffi.Uint64() - external int ri_proc_start_abstime; - - @ffi.Uint64() - external int ri_proc_exit_abstime; - - @ffi.Uint64() - external int ri_child_user_time; - - @ffi.Uint64() - external int ri_child_system_time; - - @ffi.Uint64() - external int ri_child_pkg_idle_wkups; - - @ffi.Uint64() - external int ri_child_interrupt_wkups; - - @ffi.Uint64() - external int ri_child_pageins; - - @ffi.Uint64() - external int ri_child_elapsed_abstime; -} - -final class rusage_info_v2 extends ffi.Struct { - @ffi.Array.multi([16]) - external ffi.Array ri_uuid; - - @ffi.Uint64() - external int ri_user_time; - - @ffi.Uint64() - external int ri_system_time; - - @ffi.Uint64() - external int ri_pkg_idle_wkups; - - @ffi.Uint64() - external int ri_interrupt_wkups; - - @ffi.Uint64() - external int ri_pageins; - - @ffi.Uint64() - external int ri_wired_size; - - @ffi.Uint64() - external int ri_resident_size; - - @ffi.Uint64() - external int ri_phys_footprint; - - @ffi.Uint64() - external int ri_proc_start_abstime; - - @ffi.Uint64() - external int ri_proc_exit_abstime; - - @ffi.Uint64() - external int ri_child_user_time; - - @ffi.Uint64() - external int ri_child_system_time; - - @ffi.Uint64() - external int ri_child_pkg_idle_wkups; - - @ffi.Uint64() - external int ri_child_interrupt_wkups; - - @ffi.Uint64() - external int ri_child_pageins; - - @ffi.Uint64() - external int ri_child_elapsed_abstime; - - @ffi.Uint64() - external int ri_diskio_bytesread; - - @ffi.Uint64() - external int ri_diskio_byteswritten; -} - -final class rusage_info_v3 extends ffi.Struct { - @ffi.Array.multi([16]) - external ffi.Array ri_uuid; - - @ffi.Uint64() - external int ri_user_time; - - @ffi.Uint64() - external int ri_system_time; - - @ffi.Uint64() - external int ri_pkg_idle_wkups; - - @ffi.Uint64() - external int ri_interrupt_wkups; - - @ffi.Uint64() - external int ri_pageins; - - @ffi.Uint64() - external int ri_wired_size; - - @ffi.Uint64() - external int ri_resident_size; - - @ffi.Uint64() - external int ri_phys_footprint; - - @ffi.Uint64() - external int ri_proc_start_abstime; - - @ffi.Uint64() - external int ri_proc_exit_abstime; - - @ffi.Uint64() - external int ri_child_user_time; - - @ffi.Uint64() - external int ri_child_system_time; - - @ffi.Uint64() - external int ri_child_pkg_idle_wkups; - - @ffi.Uint64() - external int ri_child_interrupt_wkups; - - @ffi.Uint64() - external int ri_child_pageins; - - @ffi.Uint64() - external int ri_child_elapsed_abstime; - - @ffi.Uint64() - external int ri_diskio_bytesread; - - @ffi.Uint64() - external int ri_diskio_byteswritten; - - @ffi.Uint64() - external int ri_cpu_time_qos_default; - - @ffi.Uint64() - external int ri_cpu_time_qos_maintenance; - - @ffi.Uint64() - external int ri_cpu_time_qos_background; - - @ffi.Uint64() - external int ri_cpu_time_qos_utility; - - @ffi.Uint64() - external int ri_cpu_time_qos_legacy; - - @ffi.Uint64() - external int ri_cpu_time_qos_user_initiated; - - @ffi.Uint64() - external int ri_cpu_time_qos_user_interactive; - - @ffi.Uint64() - external int ri_billed_system_time; - - @ffi.Uint64() - external int ri_serviced_system_time; -} - -final class rusage_info_v4 extends ffi.Struct { - @ffi.Array.multi([16]) - external ffi.Array ri_uuid; - - @ffi.Uint64() - external int ri_user_time; - - @ffi.Uint64() - external int ri_system_time; - - @ffi.Uint64() - external int ri_pkg_idle_wkups; - - @ffi.Uint64() - external int ri_interrupt_wkups; - - @ffi.Uint64() - external int ri_pageins; - - @ffi.Uint64() - external int ri_wired_size; - - @ffi.Uint64() - external int ri_resident_size; - - @ffi.Uint64() - external int ri_phys_footprint; - - @ffi.Uint64() - external int ri_proc_start_abstime; - - @ffi.Uint64() - external int ri_proc_exit_abstime; - - @ffi.Uint64() - external int ri_child_user_time; - - @ffi.Uint64() - external int ri_child_system_time; - - @ffi.Uint64() - external int ri_child_pkg_idle_wkups; - - @ffi.Uint64() - external int ri_child_interrupt_wkups; - - @ffi.Uint64() - external int ri_child_pageins; - - @ffi.Uint64() - external int ri_child_elapsed_abstime; - - @ffi.Uint64() - external int ri_diskio_bytesread; - - @ffi.Uint64() - external int ri_diskio_byteswritten; - - @ffi.Uint64() - external int ri_cpu_time_qos_default; - - @ffi.Uint64() - external int ri_cpu_time_qos_maintenance; - - @ffi.Uint64() - external int ri_cpu_time_qos_background; - - @ffi.Uint64() - external int ri_cpu_time_qos_utility; - - @ffi.Uint64() - external int ri_cpu_time_qos_legacy; - - @ffi.Uint64() - external int ri_cpu_time_qos_user_initiated; - - @ffi.Uint64() - external int ri_cpu_time_qos_user_interactive; - - @ffi.Uint64() - external int ri_billed_system_time; - - @ffi.Uint64() - external int ri_serviced_system_time; - - @ffi.Uint64() - external int ri_logical_writes; - - @ffi.Uint64() - external int ri_lifetime_max_phys_footprint; - - @ffi.Uint64() - external int ri_instructions; - - @ffi.Uint64() - external int ri_cycles; - - @ffi.Uint64() - external int ri_billed_energy; - - @ffi.Uint64() - external int ri_serviced_energy; - - @ffi.Uint64() - external int ri_interval_max_phys_footprint; - - @ffi.Uint64() - external int ri_runnable_time; -} - -final class rusage_info_v5 extends ffi.Struct { - @ffi.Array.multi([16]) - external ffi.Array ri_uuid; - - @ffi.Uint64() - external int ri_user_time; - - @ffi.Uint64() - external int ri_system_time; - - @ffi.Uint64() - external int ri_pkg_idle_wkups; - - @ffi.Uint64() - external int ri_interrupt_wkups; - - @ffi.Uint64() - external int ri_pageins; - - @ffi.Uint64() - external int ri_wired_size; - - @ffi.Uint64() - external int ri_resident_size; - - @ffi.Uint64() - external int ri_phys_footprint; - - @ffi.Uint64() - external int ri_proc_start_abstime; - - @ffi.Uint64() - external int ri_proc_exit_abstime; - - @ffi.Uint64() - external int ri_child_user_time; - - @ffi.Uint64() - external int ri_child_system_time; - - @ffi.Uint64() - external int ri_child_pkg_idle_wkups; - - @ffi.Uint64() - external int ri_child_interrupt_wkups; - - @ffi.Uint64() - external int ri_child_pageins; - - @ffi.Uint64() - external int ri_child_elapsed_abstime; - - @ffi.Uint64() - external int ri_diskio_bytesread; - - @ffi.Uint64() - external int ri_diskio_byteswritten; - - @ffi.Uint64() - external int ri_cpu_time_qos_default; - - @ffi.Uint64() - external int ri_cpu_time_qos_maintenance; - - @ffi.Uint64() - external int ri_cpu_time_qos_background; - - @ffi.Uint64() - external int ri_cpu_time_qos_utility; - - @ffi.Uint64() - external int ri_cpu_time_qos_legacy; - - @ffi.Uint64() - external int ri_cpu_time_qos_user_initiated; - - @ffi.Uint64() - external int ri_cpu_time_qos_user_interactive; - - @ffi.Uint64() - external int ri_billed_system_time; - - @ffi.Uint64() - external int ri_serviced_system_time; - - @ffi.Uint64() - external int ri_logical_writes; - - @ffi.Uint64() - external int ri_lifetime_max_phys_footprint; - - @ffi.Uint64() - external int ri_instructions; - - @ffi.Uint64() - external int ri_cycles; - - @ffi.Uint64() - external int ri_billed_energy; - - @ffi.Uint64() - external int ri_serviced_energy; - - @ffi.Uint64() - external int ri_interval_max_phys_footprint; - - @ffi.Uint64() - external int ri_runnable_time; - - @ffi.Uint64() - external int ri_flags; -} - -final class rusage_info_v6 extends ffi.Struct { - @ffi.Array.multi([16]) - external ffi.Array ri_uuid; - - @ffi.Uint64() - external int ri_user_time; - - @ffi.Uint64() - external int ri_system_time; - - @ffi.Uint64() - external int ri_pkg_idle_wkups; - - @ffi.Uint64() - external int ri_interrupt_wkups; - - @ffi.Uint64() - external int ri_pageins; - - @ffi.Uint64() - external int ri_wired_size; - - @ffi.Uint64() - external int ri_resident_size; - - @ffi.Uint64() - external int ri_phys_footprint; - - @ffi.Uint64() - external int ri_proc_start_abstime; - - @ffi.Uint64() - external int ri_proc_exit_abstime; - - @ffi.Uint64() - external int ri_child_user_time; - - @ffi.Uint64() - external int ri_child_system_time; - - @ffi.Uint64() - external int ri_child_pkg_idle_wkups; - - @ffi.Uint64() - external int ri_child_interrupt_wkups; - - @ffi.Uint64() - external int ri_child_pageins; - - @ffi.Uint64() - external int ri_child_elapsed_abstime; - - @ffi.Uint64() - external int ri_diskio_bytesread; - - @ffi.Uint64() - external int ri_diskio_byteswritten; - - @ffi.Uint64() - external int ri_cpu_time_qos_default; - - @ffi.Uint64() - external int ri_cpu_time_qos_maintenance; - - @ffi.Uint64() - external int ri_cpu_time_qos_background; - - @ffi.Uint64() - external int ri_cpu_time_qos_utility; - - @ffi.Uint64() - external int ri_cpu_time_qos_legacy; - - @ffi.Uint64() - external int ri_cpu_time_qos_user_initiated; - - @ffi.Uint64() - external int ri_cpu_time_qos_user_interactive; - - @ffi.Uint64() - external int ri_billed_system_time; - - @ffi.Uint64() - external int ri_serviced_system_time; - - @ffi.Uint64() - external int ri_logical_writes; - - @ffi.Uint64() - external int ri_lifetime_max_phys_footprint; - - @ffi.Uint64() - external int ri_instructions; - - @ffi.Uint64() - external int ri_cycles; - - @ffi.Uint64() - external int ri_billed_energy; - - @ffi.Uint64() - external int ri_serviced_energy; - - @ffi.Uint64() - external int ri_interval_max_phys_footprint; - - @ffi.Uint64() - external int ri_runnable_time; - - @ffi.Uint64() - external int ri_flags; - - @ffi.Uint64() - external int ri_user_ptime; - - @ffi.Uint64() - external int ri_system_ptime; - - @ffi.Uint64() - external int ri_pinstructions; - - @ffi.Uint64() - external int ri_pcycles; - - @ffi.Uint64() - external int ri_energy_nj; - - @ffi.Uint64() - external int ri_penergy_nj; - - @ffi.Array.multi([14]) - external ffi.Array ri_reserved; -} - -final class rlimit extends ffi.Struct { - @rlim_t() - external int rlim_cur; - - @rlim_t() - external int rlim_max; -} - -typedef rlim_t = __uint64_t; - -final class proc_rlimit_control_wakeupmon extends ffi.Struct { - @ffi.Uint32() - external int wm_flags; - - @ffi.Int32() - external int wm_rate; -} - -typedef id_t = __darwin_id_t; -typedef __darwin_id_t = __uint32_t; - -final class wait extends ffi.Opaque {} - -final class div_t extends ffi.Struct { - @ffi.Int() - external int quot; - - @ffi.Int() - external int rem; -} - -final class ldiv_t extends ffi.Struct { - @ffi.Long() - external int quot; - - @ffi.Long() - external int rem; -} - -final class lldiv_t extends ffi.Struct { - @ffi.LongLong() - external int quot; - - @ffi.LongLong() - external int rem; -} - -typedef malloc_type_id_t = ffi.UnsignedLongLong; - -final class _malloc_zone_t extends ffi.Opaque {} - -typedef malloc_zone_t = _malloc_zone_t; -typedef dev_t = __darwin_dev_t; -typedef __darwin_dev_t = __int32_t; -typedef mode_t = __darwin_mode_t; -typedef __darwin_mode_t = __uint16_t; - -abstract class System_TypeCode_t { - static const int System_TypeCode_Empty = 0; - static const int System_TypeCode_Object = 1; - static const int System_TypeCode_DBNull = 2; - static const int System_TypeCode_Boolean = 3; - static const int System_TypeCode_Char = 4; - static const int System_TypeCode_SByte = 5; - static const int System_TypeCode_Byte = 6; - static const int System_TypeCode_Int16 = 7; - static const int System_TypeCode_UInt16 = 8; - static const int System_TypeCode_Int32 = 9; - static const int System_TypeCode_UInt32 = 10; - static const int System_TypeCode_Int64 = 11; - static const int System_TypeCode_UInt64 = 12; - static const int System_TypeCode_Single = 13; - static const int System_TypeCode_Double = 14; - static const int System_TypeCode_Decimal = 15; - static const int System_TypeCode_DateTime = 16; - static const int System_TypeCode_String = 18; -} - -abstract class System_StringComparison_t { - static const int System_StringComparison_CurrentCulture = 0; - static const int System_StringComparison_CurrentCultureIgnoreCase = 1; - static const int System_StringComparison_InvariantCulture = 2; - static const int System_StringComparison_InvariantCultureIgnoreCase = 3; - static const int System_StringComparison_Ordinal = 4; - static const int System_StringComparison_OrdinalIgnoreCase = 5; -} - -abstract class System_Globalization_CultureTypes_t { - static const int System_Globalization_CultureTypes_NeutralCultures = 1; - static const int System_Globalization_CultureTypes_SpecificCultures = 2; - static const int System_Globalization_CultureTypes_InstalledWin32Cultures = 4; - static const int System_Globalization_CultureTypes_AllCultures = 7; - static const int System_Globalization_CultureTypes_UserCustomCulture = 8; - static const int System_Globalization_CultureTypes_ReplacementCultures = 16; - static const int System_Globalization_CultureTypes_WindowsOnlyCultures = 32; - static const int System_Globalization_CultureTypes_FrameworkCultures = 64; -} - -abstract class System_Globalization_UnicodeCategory_t { - static const int System_Globalization_UnicodeCategory_UppercaseLetter = 0; - static const int System_Globalization_UnicodeCategory_LowercaseLetter = 1; - static const int System_Globalization_UnicodeCategory_TitlecaseLetter = 2; - static const int System_Globalization_UnicodeCategory_ModifierLetter = 3; - static const int System_Globalization_UnicodeCategory_OtherLetter = 4; - static const int System_Globalization_UnicodeCategory_NonSpacingMark = 5; - static const int System_Globalization_UnicodeCategory_SpacingCombiningMark = - 6; - static const int System_Globalization_UnicodeCategory_EnclosingMark = 7; - static const int System_Globalization_UnicodeCategory_DecimalDigitNumber = 8; - static const int System_Globalization_UnicodeCategory_LetterNumber = 9; - static const int System_Globalization_UnicodeCategory_OtherNumber = 10; - static const int System_Globalization_UnicodeCategory_SpaceSeparator = 11; - static const int System_Globalization_UnicodeCategory_LineSeparator = 12; - static const int System_Globalization_UnicodeCategory_ParagraphSeparator = 13; - static const int System_Globalization_UnicodeCategory_Control = 14; - static const int System_Globalization_UnicodeCategory_Format = 15; - static const int System_Globalization_UnicodeCategory_Surrogate = 16; - static const int System_Globalization_UnicodeCategory_PrivateUse = 17; - static const int System_Globalization_UnicodeCategory_ConnectorPunctuation = - 18; - static const int System_Globalization_UnicodeCategory_DashPunctuation = 19; - static const int System_Globalization_UnicodeCategory_OpenPunctuation = 20; - static const int System_Globalization_UnicodeCategory_ClosePunctuation = 21; - static const int - System_Globalization_UnicodeCategory_InitialQuotePunctuation = 22; - static const int System_Globalization_UnicodeCategory_FinalQuotePunctuation = - 23; - static const int System_Globalization_UnicodeCategory_OtherPunctuation = 24; - static const int System_Globalization_UnicodeCategory_MathSymbol = 25; - static const int System_Globalization_UnicodeCategory_CurrencySymbol = 26; - static const int System_Globalization_UnicodeCategory_ModifierSymbol = 27; - static const int System_Globalization_UnicodeCategory_OtherSymbol = 28; - static const int System_Globalization_UnicodeCategory_OtherNotAssigned = 29; -} - -abstract class System_Globalization_NumberStyles_t { - static const int System_Globalization_NumberStyles_None = 0; - static const int System_Globalization_NumberStyles_AllowLeadingWhite = 1; - static const int System_Globalization_NumberStyles_AllowTrailingWhite = 2; - static const int System_Globalization_NumberStyles_AllowLeadingSign = 4; - static const int System_Globalization_NumberStyles_Integer = 7; - static const int System_Globalization_NumberStyles_AllowTrailingSign = 8; - static const int System_Globalization_NumberStyles_AllowParentheses = 16; - static const int System_Globalization_NumberStyles_AllowDecimalPoint = 32; - static const int System_Globalization_NumberStyles_AllowThousands = 64; - static const int System_Globalization_NumberStyles_Number = 111; - static const int System_Globalization_NumberStyles_AllowExponent = 128; - static const int System_Globalization_NumberStyles_Float = 167; - static const int System_Globalization_NumberStyles_AllowCurrencySymbol = 256; - static const int System_Globalization_NumberStyles_Currency = 383; - static const int System_Globalization_NumberStyles_Any = 511; - static const int System_Globalization_NumberStyles_AllowHexSpecifier = 512; - static const int System_Globalization_NumberStyles_HexNumber = 515; - static const int System_Globalization_NumberStyles_AllowBinarySpecifier = - 1024; - static const int System_Globalization_NumberStyles_BinaryNumber = 1027; -} - -abstract class System_MidpointRounding_t { - static const int System_MidpointRounding_ToEven = 0; - static const int System_MidpointRounding_AwayFromZero = 1; - static const int System_MidpointRounding_ToZero = 2; - static const int System_MidpointRounding_ToNegativeInfinity = 3; - static const int System_MidpointRounding_ToPositiveInfinity = 4; -} - -abstract class System_Globalization_TimeSpanStyles_t { - static const int System_Globalization_TimeSpanStyles_None = 0; - static const int System_Globalization_TimeSpanStyles_AssumeNegative = 1; -} - -abstract class System_DateTimeKind_t { - static const int System_DateTimeKind_Unspecified = 0; - static const int System_DateTimeKind_Utc = 1; - static const int System_DateTimeKind_Local = 2; -} - -abstract class System_DayOfWeek_t { - static const int System_DayOfWeek_Sunday = 0; - static const int System_DayOfWeek_Monday = 1; - static const int System_DayOfWeek_Tuesday = 2; - static const int System_DayOfWeek_Wednesday = 3; - static const int System_DayOfWeek_Thursday = 4; - static const int System_DayOfWeek_Friday = 5; - static const int System_DayOfWeek_Saturday = 6; -} - -abstract class System_Globalization_DateTimeStyles_t { - static const int System_Globalization_DateTimeStyles_None = 0; - static const int System_Globalization_DateTimeStyles_AllowLeadingWhite = 1; - static const int System_Globalization_DateTimeStyles_AllowTrailingWhite = 2; - static const int System_Globalization_DateTimeStyles_AllowInnerWhite = 4; - static const int System_Globalization_DateTimeStyles_AllowWhiteSpaces = 7; - static const int System_Globalization_DateTimeStyles_NoCurrentDateDefault = 8; - static const int System_Globalization_DateTimeStyles_AdjustToUniversal = 16; - static const int System_Globalization_DateTimeStyles_AssumeLocal = 32; - static const int System_Globalization_DateTimeStyles_AssumeUniversal = 64; - static const int System_Globalization_DateTimeStyles_RoundtripKind = 128; -} - -abstract class System_Globalization_CalendarAlgorithmType_t { - static const int System_Globalization_CalendarAlgorithmType_Unknown = 0; - static const int System_Globalization_CalendarAlgorithmType_SolarCalendar = 1; - static const int System_Globalization_CalendarAlgorithmType_LunarCalendar = 2; - static const int - System_Globalization_CalendarAlgorithmType_LunisolarCalendar = 3; -} - -abstract class System_Globalization_CalendarWeekRule_t { - static const int System_Globalization_CalendarWeekRule_FirstDay = 0; - static const int System_Globalization_CalendarWeekRule_FirstFullWeek = 1; - static const int System_Globalization_CalendarWeekRule_FirstFourDayWeek = 2; -} - -abstract class System_Runtime_Serialization_StreamingContextStates_t { - static const int - System_Runtime_Serialization_StreamingContextStates_CrossProcess = 1; - static const int - System_Runtime_Serialization_StreamingContextStates_CrossMachine = 2; - static const int System_Runtime_Serialization_StreamingContextStates_File = 4; - static const int - System_Runtime_Serialization_StreamingContextStates_Persistence = 8; - static const int - System_Runtime_Serialization_StreamingContextStates_Remoting = 16; - static const int System_Runtime_Serialization_StreamingContextStates_Other = - 32; - static const int System_Runtime_Serialization_StreamingContextStates_Clone = - 64; - static const int - System_Runtime_Serialization_StreamingContextStates_CrossAppDomain = 128; - static const int System_Runtime_Serialization_StreamingContextStates_All = - 255; -} - -abstract class System_Reflection_ProcessorArchitecture_t { - static const int System_Reflection_ProcessorArchitecture_None = 0; - static const int System_Reflection_ProcessorArchitecture_MSIL = 1; - static const int System_Reflection_ProcessorArchitecture_X86 = 2; - static const int System_Reflection_ProcessorArchitecture_IA64 = 3; - static const int System_Reflection_ProcessorArchitecture_Amd64 = 4; - static const int System_Reflection_ProcessorArchitecture_Arm = 5; -} - -abstract class System_Reflection_AssemblyContentType_t { - static const int System_Reflection_AssemblyContentType_Default = 0; - static const int System_Reflection_AssemblyContentType_WindowsRuntime = 1; -} - -abstract class System_Reflection_AssemblyNameFlags_t { - static const int System_Reflection_AssemblyNameFlags_None = 0; - static const int System_Reflection_AssemblyNameFlags_PublicKey = 1; - static const int System_Reflection_AssemblyNameFlags_Retargetable = 256; - static const int - System_Reflection_AssemblyNameFlags_EnableJITcompileOptimizer = 16384; - static const int - System_Reflection_AssemblyNameFlags_EnableJITcompileTracking = 32768; -} - -abstract class System_Configuration_Assemblies_AssemblyHashAlgorithm_t { - static const int System_Configuration_Assemblies_AssemblyHashAlgorithm_None = - 0; - static const int System_Configuration_Assemblies_AssemblyHashAlgorithm_MD5 = - 32771; - static const int System_Configuration_Assemblies_AssemblyHashAlgorithm_SHA1 = - 32772; - static const int - System_Configuration_Assemblies_AssemblyHashAlgorithm_SHA256 = 32780; - static const int - System_Configuration_Assemblies_AssemblyHashAlgorithm_SHA384 = 32781; - static const int - System_Configuration_Assemblies_AssemblyHashAlgorithm_SHA512 = 32782; -} - -abstract class System_Configuration_Assemblies_AssemblyVersionCompatibility_t { - static const int - System_Configuration_Assemblies_AssemblyVersionCompatibility_SameMachine = - 1; - static const int - System_Configuration_Assemblies_AssemblyVersionCompatibility_SameProcess = - 2; - static const int - System_Configuration_Assemblies_AssemblyVersionCompatibility_SameDomain = - 3; -} - -abstract class System_Reflection_ParameterAttributes_t { - static const int System_Reflection_ParameterAttributes_None = 0; - static const int System_Reflection_ParameterAttributes_In = 1; - static const int System_Reflection_ParameterAttributes_Out = 2; - static const int System_Reflection_ParameterAttributes_Lcid = 4; - static const int System_Reflection_ParameterAttributes_Retval = 8; - static const int System_Reflection_ParameterAttributes_Optional = 16; - static const int System_Reflection_ParameterAttributes_HasDefault = 4096; - static const int System_Reflection_ParameterAttributes_HasFieldMarshal = 8192; - static const int System_Reflection_ParameterAttributes_Reserved3 = 16384; - static const int System_Reflection_ParameterAttributes_Reserved4 = 32768; - static const int System_Reflection_ParameterAttributes_ReservedMask = 61440; -} - -abstract class System_Reflection_MethodAttributes_t { - static const int System_Reflection_MethodAttributes_PrivateScope = 0; - static const int System_Reflection_MethodAttributes_ReuseSlot = 0; - static const int System_Reflection_MethodAttributes_Private = 1; - static const int System_Reflection_MethodAttributes_FamANDAssem = 2; - static const int System_Reflection_MethodAttributes_Assembly = 3; - static const int System_Reflection_MethodAttributes_Family = 4; - static const int System_Reflection_MethodAttributes_FamORAssem = 5; - static const int System_Reflection_MethodAttributes_Public = 6; - static const int System_Reflection_MethodAttributes_MemberAccessMask = 7; - static const int System_Reflection_MethodAttributes_UnmanagedExport = 8; - static const int System_Reflection_MethodAttributes_Static = 16; - static const int System_Reflection_MethodAttributes_Final = 32; - static const int System_Reflection_MethodAttributes_Virtual = 64; - static const int System_Reflection_MethodAttributes_HideBySig = 128; - static const int System_Reflection_MethodAttributes_NewSlot = 256; - static const int System_Reflection_MethodAttributes_VtableLayoutMask = 256; - static const int System_Reflection_MethodAttributes_CheckAccessOnOverride = - 512; - static const int System_Reflection_MethodAttributes_Abstract = 1024; - static const int System_Reflection_MethodAttributes_SpecialName = 2048; - static const int System_Reflection_MethodAttributes_RTSpecialName = 4096; - static const int System_Reflection_MethodAttributes_PinvokeImpl = 8192; - static const int System_Reflection_MethodAttributes_HasSecurity = 16384; - static const int System_Reflection_MethodAttributes_RequireSecObject = 32768; - static const int System_Reflection_MethodAttributes_ReservedMask = 53248; -} - -abstract class System_Reflection_MethodImplAttributes_t { - static const int System_Reflection_MethodImplAttributes_IL = 0; - static const int System_Reflection_MethodImplAttributes_Managed = 0; - static const int System_Reflection_MethodImplAttributes_Native = 1; - static const int System_Reflection_MethodImplAttributes_OPTIL = 2; - static const int System_Reflection_MethodImplAttributes_CodeTypeMask = 3; - static const int System_Reflection_MethodImplAttributes_Runtime = 3; - static const int System_Reflection_MethodImplAttributes_ManagedMask = 4; - static const int System_Reflection_MethodImplAttributes_Unmanaged = 4; - static const int System_Reflection_MethodImplAttributes_NoInlining = 8; - static const int System_Reflection_MethodImplAttributes_ForwardRef = 16; - static const int System_Reflection_MethodImplAttributes_Synchronized = 32; - static const int System_Reflection_MethodImplAttributes_NoOptimization = 64; - static const int System_Reflection_MethodImplAttributes_PreserveSig = 128; - static const int System_Reflection_MethodImplAttributes_AggressiveInlining = - 256; - static const int - System_Reflection_MethodImplAttributes_AggressiveOptimization = 512; - static const int System_Reflection_MethodImplAttributes_InternalCall = 4096; - static const int System_Reflection_MethodImplAttributes_MaxMethodImplVal = - 65535; -} - -abstract class System_Reflection_CallingConventions_t { - static const int System_Reflection_CallingConventions_Standard = 1; - static const int System_Reflection_CallingConventions_VarArgs = 2; - static const int System_Reflection_CallingConventions_Any = 3; - static const int System_Reflection_CallingConventions_HasThis = 32; - static const int System_Reflection_CallingConventions_ExplicitThis = 64; -} - -abstract class System_Reflection_BindingFlags_t { - static const int System_Reflection_BindingFlags_Default = 0; - static const int System_Reflection_BindingFlags_IgnoreCase = 1; - static const int System_Reflection_BindingFlags_DeclaredOnly = 2; - static const int System_Reflection_BindingFlags_Instance = 4; - static const int System_Reflection_BindingFlags_Static = 8; - static const int System_Reflection_BindingFlags_Public = 16; - static const int System_Reflection_BindingFlags_NonPublic = 32; - static const int System_Reflection_BindingFlags_FlattenHierarchy = 64; - static const int System_Reflection_BindingFlags_InvokeMethod = 256; - static const int System_Reflection_BindingFlags_CreateInstance = 512; - static const int System_Reflection_BindingFlags_GetField = 1024; - static const int System_Reflection_BindingFlags_SetField = 2048; - static const int System_Reflection_BindingFlags_GetProperty = 4096; - static const int System_Reflection_BindingFlags_SetProperty = 8192; - static const int System_Reflection_BindingFlags_PutDispProperty = 16384; - static const int System_Reflection_BindingFlags_PutRefDispProperty = 32768; - static const int System_Reflection_BindingFlags_ExactBinding = 65536; - static const int System_Reflection_BindingFlags_SuppressChangeType = 131072; - static const int System_Reflection_BindingFlags_OptionalParamBinding = 262144; - static const int System_Reflection_BindingFlags_IgnoreReturn = 16777216; - static const int System_Reflection_BindingFlags_DoNotWrapExceptions = - 33554432; -} - -abstract class System_Reflection_MemberTypes_t { - static const int System_Reflection_MemberTypes_Constructor = 1; - static const int System_Reflection_MemberTypes_Event = 2; - static const int System_Reflection_MemberTypes_Field = 4; - static const int System_Reflection_MemberTypes_Method = 8; - static const int System_Reflection_MemberTypes_Property = 16; - static const int System_Reflection_MemberTypes_TypeInfo = 32; - static const int System_Reflection_MemberTypes_Custom = 64; - static const int System_Reflection_MemberTypes_NestedType = 128; - static const int System_Reflection_MemberTypes_All = 191; -} - -abstract class System_Reflection_FieldAttributes_t { - static const int System_Reflection_FieldAttributes_PrivateScope = 0; - static const int System_Reflection_FieldAttributes_Private = 1; - static const int System_Reflection_FieldAttributes_FamANDAssem = 2; - static const int System_Reflection_FieldAttributes_Assembly = 3; - static const int System_Reflection_FieldAttributes_Family = 4; - static const int System_Reflection_FieldAttributes_FamORAssem = 5; - static const int System_Reflection_FieldAttributes_Public = 6; - static const int System_Reflection_FieldAttributes_FieldAccessMask = 7; - static const int System_Reflection_FieldAttributes_Static = 16; - static const int System_Reflection_FieldAttributes_InitOnly = 32; - static const int System_Reflection_FieldAttributes_Literal = 64; - static const int System_Reflection_FieldAttributes_NotSerialized = 128; - static const int System_Reflection_FieldAttributes_HasFieldRVA = 256; - static const int System_Reflection_FieldAttributes_SpecialName = 512; - static const int System_Reflection_FieldAttributes_RTSpecialName = 1024; - static const int System_Reflection_FieldAttributes_HasFieldMarshal = 4096; - static const int System_Reflection_FieldAttributes_PinvokeImpl = 8192; - static const int System_Reflection_FieldAttributes_HasDefault = 32768; - static const int System_Reflection_FieldAttributes_ReservedMask = 38144; -} - -abstract class System_Reflection_PropertyAttributes_t { - static const int System_Reflection_PropertyAttributes_None = 0; - static const int System_Reflection_PropertyAttributes_SpecialName = 512; - static const int System_Reflection_PropertyAttributes_RTSpecialName = 1024; - static const int System_Reflection_PropertyAttributes_HasDefault = 4096; - static const int System_Reflection_PropertyAttributes_Reserved2 = 8192; - static const int System_Reflection_PropertyAttributes_Reserved3 = 16384; - static const int System_Reflection_PropertyAttributes_Reserved4 = 32768; - static const int System_Reflection_PropertyAttributes_ReservedMask = 62464; -} - -abstract class System_Threading_Tasks_TaskStatus_t { - static const int System_Threading_Tasks_TaskStatus_Created = 0; - static const int System_Threading_Tasks_TaskStatus_WaitingForActivation = 1; - static const int System_Threading_Tasks_TaskStatus_WaitingToRun = 2; - static const int System_Threading_Tasks_TaskStatus_Running = 3; - static const int - System_Threading_Tasks_TaskStatus_WaitingForChildrenToComplete = 4; - static const int System_Threading_Tasks_TaskStatus_RanToCompletion = 5; - static const int System_Threading_Tasks_TaskStatus_Canceled = 6; - static const int System_Threading_Tasks_TaskStatus_Faulted = 7; -} - -abstract class System_Threading_Tasks_TaskCreationOptions_t { - static const int System_Threading_Tasks_TaskCreationOptions_None = 0; - static const int System_Threading_Tasks_TaskCreationOptions_PreferFairness = - 1; - static const int System_Threading_Tasks_TaskCreationOptions_LongRunning = 2; - static const int System_Threading_Tasks_TaskCreationOptions_AttachedToParent = - 4; - static const int System_Threading_Tasks_TaskCreationOptions_DenyChildAttach = - 8; - static const int System_Threading_Tasks_TaskCreationOptions_HideScheduler = - 16; - static const int - System_Threading_Tasks_TaskCreationOptions_RunContinuationsAsynchronously = - 64; -} - -abstract class System_Threading_Tasks_TaskContinuationOptions_t { - static const int System_Threading_Tasks_TaskContinuationOptions_None = 0; - static const int - System_Threading_Tasks_TaskContinuationOptions_PreferFairness = 1; - static const int System_Threading_Tasks_TaskContinuationOptions_LongRunning = - 2; - static const int - System_Threading_Tasks_TaskContinuationOptions_AttachedToParent = 4; - static const int - System_Threading_Tasks_TaskContinuationOptions_DenyChildAttach = 8; - static const int - System_Threading_Tasks_TaskContinuationOptions_HideScheduler = 16; - static const int - System_Threading_Tasks_TaskContinuationOptions_LazyCancellation = 32; - static const int - System_Threading_Tasks_TaskContinuationOptions_RunContinuationsAsynchronously = - 64; - static const int - System_Threading_Tasks_TaskContinuationOptions_NotOnRanToCompletion = - 65536; - static const int System_Threading_Tasks_TaskContinuationOptions_NotOnFaulted = - 131072; - static const int - System_Threading_Tasks_TaskContinuationOptions_OnlyOnCanceled = 196608; - static const int - System_Threading_Tasks_TaskContinuationOptions_NotOnCanceled = 262144; - static const int - System_Threading_Tasks_TaskContinuationOptions_OnlyOnFaulted = 327680; - static const int - System_Threading_Tasks_TaskContinuationOptions_OnlyOnRanToCompletion = - 393216; - static const int - System_Threading_Tasks_TaskContinuationOptions_ExecuteSynchronously = - 524288; -} - -abstract class System_Threading_Tasks_ConfigureAwaitOptions_t { - static const int System_Threading_Tasks_ConfigureAwaitOptions_None = 0; - static const int - System_Threading_Tasks_ConfigureAwaitOptions_ContinueOnCapturedContext = - 1; - static const int - System_Threading_Tasks_ConfigureAwaitOptions_SuppressThrowing = 2; - static const int System_Threading_Tasks_ConfigureAwaitOptions_ForceYielding = - 4; -} - -abstract class System_Threading_Tasks_Sources_ValueTaskSourceStatus_t { - static const int - System_Threading_Tasks_Sources_ValueTaskSourceStatus_Pending = 0; - static const int - System_Threading_Tasks_Sources_ValueTaskSourceStatus_Succeeded = 1; - static const int - System_Threading_Tasks_Sources_ValueTaskSourceStatus_Faulted = 2; - static const int - System_Threading_Tasks_Sources_ValueTaskSourceStatus_Canceled = 3; -} - -abstract class System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_t { - static const int - System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_None = 0; - static const int - System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_UseSchedulingContext = - 1; - static const int - System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_FlowExecutionContext = - 2; -} - -abstract class System_IO_SeekOrigin_t { - static const int System_IO_SeekOrigin_Begin = 0; - static const int System_IO_SeekOrigin_Current = 1; - static const int System_IO_SeekOrigin_End = 2; -} - -abstract class System_IO_FileAccess_t { - static const int System_IO_FileAccess_Read = 1; - static const int System_IO_FileAccess_Write = 2; - static const int System_IO_FileAccess_ReadWrite = 3; -} - -abstract class System_IO_FileMode_t { - static const int System_IO_FileMode_CreateNew = 1; - static const int System_IO_FileMode_Create = 2; - static const int System_IO_FileMode_Open = 3; - static const int System_IO_FileMode_OpenOrCreate = 4; - static const int System_IO_FileMode_Truncate = 5; - static const int System_IO_FileMode_Append = 6; -} - -abstract class System_IO_FileShare_t { - static const int System_IO_FileShare_None = 0; - static const int System_IO_FileShare_Read = 1; - static const int System_IO_FileShare_Write = 2; - static const int System_IO_FileShare_ReadWrite = 3; - static const int System_IO_FileShare_Delete = 4; - static const int System_IO_FileShare_Inheritable = 16; -} - -abstract class System_IO_FileOptions_t { - static const int System_IO_FileOptions_None = 0; - static const int System_IO_FileOptions_Encrypted = 16384; - static const int System_IO_FileOptions_DeleteOnClose = 67108864; - static const int System_IO_FileOptions_SequentialScan = 134217728; - static const int System_IO_FileOptions_RandomAccess = 268435456; - static const int System_IO_FileOptions_Asynchronous = 1073741824; - static const int System_IO_FileOptions_WriteThrough = -2147483648; -} - -abstract class System_Reflection_ResourceLocation_t { - static const int System_Reflection_ResourceLocation_Embedded = 1; - static const int - System_Reflection_ResourceLocation_ContainedInAnotherAssembly = 2; - static const int System_Reflection_ResourceLocation_ContainedInManifestFile = - 4; -} - -abstract class System_Reflection_PortableExecutableKinds_t { - static const int - System_Reflection_PortableExecutableKinds_NotAPortableExecutableImage = 0; - static const int System_Reflection_PortableExecutableKinds_ILOnly = 1; - static const int System_Reflection_PortableExecutableKinds_Required32Bit = 2; - static const int System_Reflection_PortableExecutableKinds_PE32Plus = 4; - static const int System_Reflection_PortableExecutableKinds_Unmanaged32Bit = 8; - static const int System_Reflection_PortableExecutableKinds_Preferred32Bit = - 16; -} - -abstract class System_Reflection_ImageFileMachine_t { - static const int System_Reflection_ImageFileMachine_I386 = 332; - static const int System_Reflection_ImageFileMachine_ARM = 452; - static const int System_Reflection_ImageFileMachine_IA64 = 512; - static const int System_Reflection_ImageFileMachine_AMD64 = 34404; -} - -abstract class System_Security_SecurityRuleSet_t { - static const int System_Security_SecurityRuleSet_None = 0; - static const int System_Security_SecurityRuleSet_Level1 = 1; - static const int System_Security_SecurityRuleSet_Level2 = 2; -} - -abstract class System_Buffers_OperationStatus_t { - static const int System_Buffers_OperationStatus_Done = 0; - static const int System_Buffers_OperationStatus_DestinationTooSmall = 1; - static const int System_Buffers_OperationStatus_NeedMoreData = 2; - static const int System_Buffers_OperationStatus_InvalidData = 3; -} - -abstract class System_Globalization_CompareOptions_t { - static const int System_Globalization_CompareOptions_None = 0; - static const int System_Globalization_CompareOptions_IgnoreCase = 1; - static const int System_Globalization_CompareOptions_IgnoreNonSpace = 2; - static const int System_Globalization_CompareOptions_IgnoreSymbols = 4; - static const int System_Globalization_CompareOptions_IgnoreKanaType = 8; - static const int System_Globalization_CompareOptions_IgnoreWidth = 16; - static const int System_Globalization_CompareOptions_OrdinalIgnoreCase = - 268435456; - static const int System_Globalization_CompareOptions_StringSort = 536870912; - static const int System_Globalization_CompareOptions_Ordinal = 1073741824; -} - -abstract class System_Globalization_DigitShapes_t { - static const int System_Globalization_DigitShapes_Context = 0; - static const int System_Globalization_DigitShapes_None = 1; - static const int System_Globalization_DigitShapes_NativeNational = 2; -} - -abstract class System_Text_NormalizationForm_t { - static const int System_Text_NormalizationForm_FormC = 1; - static const int System_Text_NormalizationForm_FormD = 2; - static const int System_Text_NormalizationForm_FormKC = 5; - static const int System_Text_NormalizationForm_FormKD = 6; -} - -abstract class System_StringSplitOptions_t { - static const int System_StringSplitOptions_None = 0; - static const int System_StringSplitOptions_RemoveEmptyEntries = 1; - static const int System_StringSplitOptions_TrimEntries = 2; -} - -abstract class System_Reflection_GenericParameterAttributes_t { - static const int System_Reflection_GenericParameterAttributes_None = 0; - static const int System_Reflection_GenericParameterAttributes_Covariant = 1; - static const int System_Reflection_GenericParameterAttributes_Contravariant = - 2; - static const int System_Reflection_GenericParameterAttributes_VarianceMask = - 3; - static const int - System_Reflection_GenericParameterAttributes_ReferenceTypeConstraint = 4; - static const int - System_Reflection_GenericParameterAttributes_NotNullableValueTypeConstraint = - 8; - static const int - System_Reflection_GenericParameterAttributes_DefaultConstructorConstraint = - 16; - static const int - System_Reflection_GenericParameterAttributes_SpecialConstraintMask = 28; -} - -abstract class System_Reflection_TypeAttributes_t { - static const int System_Reflection_TypeAttributes_NotPublic = 0; - static const int System_Reflection_TypeAttributes_AutoLayout = 0; - static const int System_Reflection_TypeAttributes_AnsiClass = 0; - static const int System_Reflection_TypeAttributes_Class = 0; - static const int System_Reflection_TypeAttributes_Public = 1; - static const int System_Reflection_TypeAttributes_NestedPublic = 2; - static const int System_Reflection_TypeAttributes_NestedPrivate = 3; - static const int System_Reflection_TypeAttributes_NestedFamily = 4; - static const int System_Reflection_TypeAttributes_NestedAssembly = 5; - static const int System_Reflection_TypeAttributes_NestedFamANDAssem = 6; - static const int System_Reflection_TypeAttributes_VisibilityMask = 7; - static const int System_Reflection_TypeAttributes_NestedFamORAssem = 7; - static const int System_Reflection_TypeAttributes_SequentialLayout = 8; - static const int System_Reflection_TypeAttributes_ExplicitLayout = 16; - static const int System_Reflection_TypeAttributes_LayoutMask = 24; - static const int System_Reflection_TypeAttributes_Interface = 32; - static const int System_Reflection_TypeAttributes_ClassSemanticsMask = 32; - static const int System_Reflection_TypeAttributes_Abstract = 128; - static const int System_Reflection_TypeAttributes_Sealed = 256; - static const int System_Reflection_TypeAttributes_SpecialName = 1024; - static const int System_Reflection_TypeAttributes_RTSpecialName = 2048; - static const int System_Reflection_TypeAttributes_Import = 4096; - static const int System_Reflection_TypeAttributes_Serializable = 8192; - static const int System_Reflection_TypeAttributes_WindowsRuntime = 16384; - static const int System_Reflection_TypeAttributes_UnicodeClass = 65536; - static const int System_Reflection_TypeAttributes_AutoClass = 131072; - static const int System_Reflection_TypeAttributes_StringFormatMask = 196608; - static const int System_Reflection_TypeAttributes_CustomFormatClass = 196608; - static const int System_Reflection_TypeAttributes_HasSecurity = 262144; - static const int System_Reflection_TypeAttributes_ReservedMask = 264192; - static const int System_Reflection_TypeAttributes_BeforeFieldInit = 1048576; - static const int System_Reflection_TypeAttributes_CustomFormatMask = 12582912; -} - -abstract class System_Runtime_InteropServices_LayoutKind_t { - static const int System_Runtime_InteropServices_LayoutKind_Sequential = 0; - static const int System_Runtime_InteropServices_LayoutKind_Explicit = 2; - static const int System_Runtime_InteropServices_LayoutKind_Auto = 3; -} - -abstract class System_Runtime_InteropServices_CharSet_t { - static const int System_Runtime_InteropServices_CharSet_None = 1; - static const int System_Runtime_InteropServices_CharSet_Ansi = 2; - static const int System_Runtime_InteropServices_CharSet_Unicode = 3; - static const int System_Runtime_InteropServices_CharSet_Auto = 4; -} - -abstract class System_Reflection_EventAttributes_t { - static const int System_Reflection_EventAttributes_None = 0; - static const int System_Reflection_EventAttributes_SpecialName = 512; - static const int System_Reflection_EventAttributes_RTSpecialName = 1024; - static const int System_Reflection_EventAttributes_ReservedMask = 1024; -} - -abstract class System_Runtime_InteropServices_CustomQueryInterfaceMode_t { - static const int - System_Runtime_InteropServices_CustomQueryInterfaceMode_Ignore = 0; - static const int - System_Runtime_InteropServices_CustomQueryInterfaceMode_Allow = 1; -} - -typedef System_Type_t = ffi.Pointer; -typedef System_Object_t = ffi.Pointer; -typedef System_Exception_t = ffi.Pointer; -typedef System_String_t = ffi.Pointer; -typedef System_RuntimeTypeHandle_t = ffi.Pointer; -typedef System_Type_Array_t = ffi.Pointer; -typedef System_Reflection_ConstructorInfo_t = ffi.Pointer; -typedef System_Reflection_Binder_t = ffi.Pointer; -typedef System_Reflection_ParameterModifier_Array_t = ffi.Pointer; -typedef System_Reflection_ConstructorInfo_Array_t = ffi.Pointer; -typedef System_Reflection_EventInfo_t = ffi.Pointer; -typedef System_Reflection_EventInfo_Array_t = ffi.Pointer; -typedef System_Reflection_FieldInfo_t = ffi.Pointer; -typedef System_Reflection_FieldInfo_Array_t = ffi.Pointer; -typedef System_Reflection_MemberInfo_Array_t = ffi.Pointer; -typedef System_Reflection_MemberInfo_t = ffi.Pointer; -typedef System_Reflection_MethodInfo_t = ffi.Pointer; -typedef System_Reflection_MethodInfo_Array_t = ffi.Pointer; -typedef System_Reflection_PropertyInfo_t = ffi.Pointer; -typedef System_Reflection_PropertyInfo_Array_t = ffi.Pointer; -typedef System_Object_Array_t = ffi.Pointer; -typedef System_Guid_t = ffi.Pointer; -typedef System_Globalization_CultureInfo_t = ffi.Pointer; -typedef System_String_Array_t = ffi.Pointer; -typedef System_Reflection_InterfaceMapping_t = ffi.Pointer; -typedef System_Array_t = ffi.Pointer; -typedef System_Reflection_TypeFilter_t = ffi.Pointer; -typedef System_Reflection_MemberFilter_t = ffi.Pointer; -typedef System_Reflection_Assembly_t = ffi.Pointer; -typedef System_Reflection_Module_t = ffi.Pointer; -typedef System_Reflection_MethodBase_t = ffi.Pointer; -typedef System_Runtime_InteropServices_StructLayoutAttribute_t - = ffi.Pointer; -typedef System_Reflection_ICustomAttributeProvider_t = ffi.Pointer; -typedef System_Int32_Array_t = ffi.Pointer; -typedef System_Int64_Array_t = ffi.Pointer; -typedef System_Collections_IComparer_t = ffi.Pointer; -typedef System_Collections_IEnumerator_t = ffi.Pointer; -typedef System_ICloneable_t = ffi.Pointer; -typedef System_Collections_IList_t = ffi.Pointer; -typedef System_Collections_ICollection_t = ffi.Pointer; -typedef System_Collections_IEnumerable_t = ffi.Pointer; -typedef System_ValueType_t = ffi.Pointer; -typedef System_IComparable_t = ffi.Pointer; -typedef System_IConvertible_t = ffi.Pointer; -typedef System_IFormatProvider_t = ffi.Pointer; -typedef System_Decimal_t = ffi.Pointer; -typedef System_DateTime_t = ffi.Pointer; -typedef System_Enum_t = ffi.Pointer; -typedef System_ISpanFormattable_t = ffi.Pointer; -typedef System_IFormattable_t = ffi.Pointer; -typedef System_Char_Array_t = ffi.Pointer; -typedef System_CharEnumerator_t = ffi.Pointer; -typedef System_Text_StringRuneEnumerator_t = ffi.Pointer; -typedef System_Text_CompositeFormat_t = ffi.Pointer; -typedef System_Globalization_CultureInfo_Array_t = ffi.Pointer; -typedef System_Globalization_CompareInfo_t = ffi.Pointer; -typedef System_Globalization_TextInfo_t = ffi.Pointer; -typedef System_Globalization_NumberFormatInfo_t = ffi.Pointer; -typedef System_Globalization_DateTimeFormatInfo_t = ffi.Pointer; -typedef System_Globalization_Calendar_t = ffi.Pointer; -typedef System_Globalization_Calendar_Array_t = ffi.Pointer; -typedef System_Collections_IStructuralComparable_t = ffi.Pointer; -typedef System_Collections_IStructuralEquatable_t = ffi.Pointer; -typedef System_Collections_IEqualityComparer_t = ffi.Pointer; -typedef System_Text_Rune_t = ffi.Pointer; -typedef System_Globalization_SortKey_t = ffi.Pointer; -typedef System_Globalization_SortVersion_t = ffi.Pointer; -typedef System_Runtime_Serialization_IDeserializationCallback_t - = ffi.Pointer; -typedef System_Reflection_AssemblyName_t = ffi.Pointer; -typedef System_Reflection_ManifestResourceInfo_t = ffi.Pointer; -typedef System_IO_Stream_t = ffi.Pointer; -typedef System_Reflection_Module_Array_t = ffi.Pointer; -typedef System_Reflection_AssemblyName_Array_t = ffi.Pointer; -typedef System_Version_t = ffi.Pointer; -typedef System_IO_FileStream_t = ffi.Pointer; -typedef System_IO_FileStream_Array_t = ffi.Pointer; -typedef System_Runtime_Serialization_SerializationInfo_t - = ffi.Pointer; -typedef System_Runtime_Serialization_StreamingContext_t = ffi.Pointer; -typedef System_Byte_Array_t = ffi.Pointer; -typedef System_Reflection_ModuleResolveEventHandler_t = ffi.Pointer; -typedef System_Runtime_Serialization_ISerializable_t = ffi.Pointer; -typedef System_Runtime_Serialization_SerializationInfoEnumerator_t - = ffi.Pointer; -typedef System_Runtime_Serialization_IFormatterConverter_t - = ffi.Pointer; -typedef System_Runtime_Serialization_SerializationEntry_t - = ffi.Pointer; -typedef System_IUtf8SpanFormattable_t = ffi.Pointer; -typedef System_TimeSpan_t = ffi.Pointer; -typedef System_DateOnly_t = ffi.Pointer; -typedef System_TimeOnly_t = ffi.Pointer; -typedef System_Reflection_StrongNameKeyPair_t = ffi.Pointer; -typedef System_Threading_Tasks_Task_t = ffi.Pointer; -typedef System_Threading_CancellationToken_t = ffi.Pointer; -typedef System_Threading_Tasks_ValueTask_t = ffi.Pointer; -typedef System_IAsyncResult_t = ffi.Pointer; -typedef System_AsyncCallback_t = ffi.Pointer; -typedef Microsoft_Win32_SafeHandles_SafeFileHandle_t = ffi.Pointer; -typedef System_IO_FileStreamOptions_t = ffi.Pointer; -typedef System_MarshalByRefObject_t = ffi.Pointer; -typedef System_IDisposable_t = ffi.Pointer; -typedef System_IAsyncDisposable_t = ffi.Pointer; -typedef System_Runtime_CompilerServices_ValueTaskAwaiter_t - = ffi.Pointer; -typedef System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t - = ffi.Pointer; -typedef System_Threading_Tasks_Sources_IValueTaskSource_t - = ffi.Pointer; -typedef System_Threading_CancellationTokenRegistration_t - = ffi.Pointer; -typedef System_Action_t = ffi.Pointer; -typedef System_Threading_WaitHandle_t = ffi.Pointer; -typedef System_Threading_WaitHandle_Array_t = ffi.Pointer; -typedef Microsoft_Win32_SafeHandles_SafeWaitHandle_t = ffi.Pointer; -typedef Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_t - = ffi.Pointer; -typedef System_Runtime_InteropServices_SafeHandle_t = ffi.Pointer; -typedef System_Runtime_ConstrainedExecution_CriticalFinalizerObject_t - = ffi.Pointer; -typedef System_Collections_IDictionary_t = ffi.Pointer; -typedef System_RuntimeMethodHandle_t = ffi.Pointer; -typedef System_Reflection_ParameterInfo_Array_t = ffi.Pointer; -typedef System_Reflection_MethodBody_t = ffi.Pointer; -typedef System_ModuleHandle_t = ffi.Pointer; -typedef System_RuntimeTypeHandle_Array_t = ffi.Pointer; -typedef System_RuntimeFieldHandle_t = ffi.Pointer; -typedef System_Reflection_ParameterInfo_t = ffi.Pointer; -typedef System_Runtime_Serialization_IObjectReference_t = ffi.Pointer; -typedef System_Reflection_MethodBase_Array_t = ffi.Pointer; -typedef System_Reflection_ParameterModifier_t = ffi.Pointer; -typedef System_Delegate_t = ffi.Pointer; -typedef System_Collections_IDictionaryEnumerator_t = ffi.Pointer; -typedef System_Collections_DictionaryEntry_t = ffi.Pointer; -typedef System_Threading_Tasks_TaskScheduler_t = ffi.Pointer; -typedef System_Runtime_CompilerServices_TaskAwaiter_t = ffi.Pointer; -typedef System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t - = ffi.Pointer; -typedef System_Runtime_CompilerServices_YieldAwaitable_t - = ffi.Pointer; -typedef System_TimeProvider_t = ffi.Pointer; -typedef System_Threading_Tasks_Task_Array_t = ffi.Pointer; -typedef System_AggregateException_t = ffi.Pointer; -typedef System_Threading_Tasks_TaskFactory_t = ffi.Pointer; -typedef System_Exception_Array_t = ffi.Pointer; -typedef System_Runtime_CompilerServices_ICriticalNotifyCompletion_t - = ffi.Pointer; -typedef System_Runtime_CompilerServices_INotifyCompletion_t - = ffi.Pointer; -typedef System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t - = ffi.Pointer; -typedef System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t - = ffi.Pointer; -typedef System_DateTimeOffset_t = ffi.Pointer; -typedef System_Threading_ITimer_t = ffi.Pointer; -typedef System_Threading_TimerCallback_t = ffi.Pointer; -typedef System_TimeZoneInfo_t = ffi.Pointer; -typedef System_TimeSpan_Array_t = ffi.Pointer; -typedef System_TimeZoneInfo_AdjustmentRule_Array_t = ffi.Pointer; -typedef System_TimeZoneInfo_AdjustmentRule_t = ffi.Pointer; -typedef System_TimeZoneInfo_TransitionTime_t = ffi.Pointer; -typedef System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t - = ffi.Pointer; -typedef System_ResolveEventArgs_t = ffi.Pointer; -typedef System_EventArgs_t = ffi.Pointer; -typedef System_Text_Encoding_t = ffi.Pointer; -typedef System_Text_EncodingProvider_t = ffi.Pointer; -typedef System_Text_EncoderFallback_t = ffi.Pointer; -typedef System_Text_DecoderFallback_t = ffi.Pointer; -typedef System_Text_EncodingInfo_Array_t = ffi.Pointer; -typedef System_Text_Decoder_t = ffi.Pointer; -typedef System_Text_Encoder_t = ffi.Pointer; -typedef System_Text_EncoderFallbackBuffer_t = ffi.Pointer; -typedef System_Text_DecoderFallbackBuffer_t = ffi.Pointer; -typedef System_Text_EncodingInfo_t = ffi.Pointer; -typedef System_Reflection_IReflect_t = ffi.Pointer; -typedef System_Attribute_Array_t = ffi.Pointer; -typedef System_Attribute_t = ffi.Pointer; -typedef System_Int16_Array_t = ffi.Pointer; -typedef System_Single_Array_t = ffi.Pointer; -typedef System_Double_Array_t = ffi.Pointer; -typedef System_IntPtr_Array_t = ffi.Pointer; -typedef System_Security_SecureString_t = ffi.Pointer; -typedef System_Runtime_InteropServices_Marshal_t = ffi.Pointer; -typedef System_NullReferenceException_t = ffi.Pointer; -typedef System_SystemException_t = ffi.Pointer; -typedef System_PlatformNotSupportedException_t = ffi.Pointer; -typedef System_NotSupportedException_t = ffi.Pointer; -typedef System_AppContext_t = ffi.Pointer; -typedef MyLib_Hello_t = ffi.Pointer; -typedef System_Action_CFunction_t = ffi.Pointer< - ffi.NativeFunction context)>>; -typedef System_Action_CDestructorFunction_t = ffi.Pointer< - ffi.NativeFunction context)>>; -typedef System_MulticastDelegate_t = ffi.Pointer; -typedef System_MulticastDelegate_CFunction_t = ffi.Pointer< - ffi.NativeFunction context)>>; -typedef System_MulticastDelegate_CDestructorFunction_t = ffi.Pointer< - ffi.NativeFunction context)>>; -typedef System_Delegate_CFunction_t = ffi.Pointer< - ffi.NativeFunction context)>>; -typedef System_Delegate_CDestructorFunction_t = ffi.Pointer< - ffi.NativeFunction context)>>; -typedef System_Threading_TimerCallback_CFunction_t = ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer context, System_Object_t state)>>; -typedef System_Threading_TimerCallback_CDestructorFunction_t = ffi.Pointer< - ffi.NativeFunction context)>>; -typedef System_AsyncCallback_CFunction_t = ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer context, System_IAsyncResult_t ar)>>; -typedef System_AsyncCallback_CDestructorFunction_t = ffi.Pointer< - ffi.NativeFunction context)>>; -typedef System_Reflection_ModuleResolveEventHandler_CFunction_t = ffi.Pointer< - ffi.NativeFunction< - System_Reflection_Module_t Function(ffi.Pointer context, - System_Object_t sender, System_ResolveEventArgs_t e)>>; -typedef System_Reflection_ModuleResolveEventHandler_CDestructorFunction_t = ffi - .Pointer< - ffi.NativeFunction context)>>; -typedef System_Reflection_TypeFilter_CFunction_t = ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer context, System_Type_t m, - System_Object_t filterCriteria)>>; -typedef System_Reflection_TypeFilter_CDestructorFunction_t = ffi.Pointer< - ffi.NativeFunction context)>>; -typedef System_Reflection_MemberFilter_CFunction_t = ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer context, - System_Reflection_MemberInfo_t m, System_Object_t filterCriteria)>>; -typedef System_Reflection_MemberFilter_CDestructorFunction_t = ffi.Pointer< - ffi.NativeFunction context)>>; -typedef CString = ffi.Pointer; - -const int __API_TO_BE_DEPRECATED = 100000; - -const int __API_TO_BE_DEPRECATED_MACOS = 100000; - -const int __API_TO_BE_DEPRECATED_IOS = 100000; - -const int __API_TO_BE_DEPRECATED_MACCATALYST = 100000; - -const int __API_TO_BE_DEPRECATED_WATCHOS = 100000; - -const int __API_TO_BE_DEPRECATED_TVOS = 100000; - -const int __API_TO_BE_DEPRECATED_DRIVERKIT = 100000; - -const int __API_TO_BE_DEPRECATED_XROS = 100000; - -const int __MAC_10_0 = 1000; - -const int __MAC_10_1 = 1010; - -const int __MAC_10_2 = 1020; - -const int __MAC_10_3 = 1030; - -const int __MAC_10_4 = 1040; - -const int __MAC_10_5 = 1050; - -const int __MAC_10_6 = 1060; - -const int __MAC_10_7 = 1070; - -const int __MAC_10_8 = 1080; - -const int __MAC_10_9 = 1090; - -const int __MAC_10_10 = 101000; - -const int __MAC_10_10_2 = 101002; - -const int __MAC_10_10_3 = 101003; - -const int __MAC_10_11 = 101100; - -const int __MAC_10_11_2 = 101102; - -const int __MAC_10_11_3 = 101103; - -const int __MAC_10_11_4 = 101104; - -const int __MAC_10_12 = 101200; - -const int __MAC_10_12_1 = 101201; - -const int __MAC_10_12_2 = 101202; - -const int __MAC_10_12_4 = 101204; - -const int __MAC_10_13 = 101300; - -const int __MAC_10_13_1 = 101301; - -const int __MAC_10_13_2 = 101302; - -const int __MAC_10_13_4 = 101304; - -const int __MAC_10_14 = 101400; - -const int __MAC_10_14_1 = 101401; - -const int __MAC_10_14_4 = 101404; - -const int __MAC_10_14_5 = 101405; - -const int __MAC_10_14_6 = 101406; - -const int __MAC_10_15 = 101500; - -const int __MAC_10_15_1 = 101501; - -const int __MAC_10_15_4 = 101504; - -const int __MAC_10_16 = 101600; - -const int __MAC_11_0 = 110000; - -const int __MAC_11_1 = 110100; - -const int __MAC_11_3 = 110300; - -const int __MAC_11_4 = 110400; - -const int __MAC_11_5 = 110500; - -const int __MAC_11_6 = 110600; - -const int __MAC_12_0 = 120000; - -const int __MAC_12_1 = 120100; - -const int __MAC_12_2 = 120200; - -const int __MAC_12_3 = 120300; - -const int __MAC_12_4 = 120400; - -const int __MAC_12_5 = 120500; - -const int __MAC_13_0 = 130000; - -const int __MAC_13_1 = 130100; - -const int __MAC_13_2 = 130200; - -const int __MAC_13_3 = 130300; - -const int __MAC_13_4 = 130400; - -const int __MAC_14_0 = 140000; - -const int __IPHONE_2_0 = 20000; - -const int __IPHONE_2_1 = 20100; - -const int __IPHONE_2_2 = 20200; - -const int __IPHONE_3_0 = 30000; - -const int __IPHONE_3_1 = 30100; - -const int __IPHONE_3_2 = 30200; - -const int __IPHONE_4_0 = 40000; - -const int __IPHONE_4_1 = 40100; - -const int __IPHONE_4_2 = 40200; - -const int __IPHONE_4_3 = 40300; - -const int __IPHONE_5_0 = 50000; - -const int __IPHONE_5_1 = 50100; - -const int __IPHONE_6_0 = 60000; - -const int __IPHONE_6_1 = 60100; - -const int __IPHONE_7_0 = 70000; - -const int __IPHONE_7_1 = 70100; - -const int __IPHONE_8_0 = 80000; - -const int __IPHONE_8_1 = 80100; - -const int __IPHONE_8_2 = 80200; - -const int __IPHONE_8_3 = 80300; - -const int __IPHONE_8_4 = 80400; - -const int __IPHONE_9_0 = 90000; - -const int __IPHONE_9_1 = 90100; - -const int __IPHONE_9_2 = 90200; - -const int __IPHONE_9_3 = 90300; - -const int __IPHONE_10_0 = 100000; - -const int __IPHONE_10_1 = 100100; - -const int __IPHONE_10_2 = 100200; - -const int __IPHONE_10_3 = 100300; - -const int __IPHONE_11_0 = 110000; - -const int __IPHONE_11_1 = 110100; - -const int __IPHONE_11_2 = 110200; - -const int __IPHONE_11_3 = 110300; - -const int __IPHONE_11_4 = 110400; - -const int __IPHONE_12_0 = 120000; - -const int __IPHONE_12_1 = 120100; - -const int __IPHONE_12_2 = 120200; - -const int __IPHONE_12_3 = 120300; - -const int __IPHONE_12_4 = 120400; - -const int __IPHONE_13_0 = 130000; - -const int __IPHONE_13_1 = 130100; - -const int __IPHONE_13_2 = 130200; - -const int __IPHONE_13_3 = 130300; - -const int __IPHONE_13_4 = 130400; - -const int __IPHONE_13_5 = 130500; - -const int __IPHONE_13_6 = 130600; - -const int __IPHONE_13_7 = 130700; - -const int __IPHONE_14_0 = 140000; - -const int __IPHONE_14_1 = 140100; - -const int __IPHONE_14_2 = 140200; - -const int __IPHONE_14_3 = 140300; - -const int __IPHONE_14_5 = 140500; - -const int __IPHONE_14_4 = 140400; - -const int __IPHONE_14_6 = 140600; - -const int __IPHONE_14_7 = 140700; - -const int __IPHONE_14_8 = 140800; - -const int __IPHONE_15_0 = 150000; - -const int __IPHONE_15_1 = 150100; - -const int __IPHONE_15_2 = 150200; - -const int __IPHONE_15_3 = 150300; - -const int __IPHONE_15_4 = 150400; - -const int __IPHONE_15_5 = 150500; - -const int __IPHONE_15_6 = 150600; - -const int __IPHONE_16_0 = 160000; - -const int __IPHONE_16_1 = 160100; - -const int __IPHONE_16_2 = 160200; - -const int __IPHONE_16_3 = 160300; - -const int __IPHONE_16_4 = 160400; - -const int __IPHONE_16_5 = 160500; - -const int __IPHONE_17_0 = 170000; - -const int __WATCHOS_1_0 = 10000; - -const int __WATCHOS_2_0 = 20000; - -const int __WATCHOS_2_1 = 20100; - -const int __WATCHOS_2_2 = 20200; - -const int __WATCHOS_3_0 = 30000; - -const int __WATCHOS_3_1 = 30100; - -const int __WATCHOS_3_1_1 = 30101; - -const int __WATCHOS_3_2 = 30200; - -const int __WATCHOS_4_0 = 40000; - -const int __WATCHOS_4_1 = 40100; - -const int __WATCHOS_4_2 = 40200; - -const int __WATCHOS_4_3 = 40300; - -const int __WATCHOS_5_0 = 50000; - -const int __WATCHOS_5_1 = 50100; - -const int __WATCHOS_5_2 = 50200; - -const int __WATCHOS_5_3 = 50300; - -const int __WATCHOS_6_0 = 60000; - -const int __WATCHOS_6_1 = 60100; - -const int __WATCHOS_6_2 = 60200; - -const int __WATCHOS_7_0 = 70000; - -const int __WATCHOS_7_1 = 70100; - -const int __WATCHOS_7_2 = 70200; - -const int __WATCHOS_7_3 = 70300; - -const int __WATCHOS_7_4 = 70400; - -const int __WATCHOS_7_5 = 70500; - -const int __WATCHOS_7_6 = 70600; - -const int __WATCHOS_8_0 = 80000; - -const int __WATCHOS_8_1 = 80100; - -const int __WATCHOS_8_3 = 80300; - -const int __WATCHOS_8_4 = 80400; - -const int __WATCHOS_8_5 = 80500; - -const int __WATCHOS_8_6 = 80600; - -const int __WATCHOS_8_7 = 80700; - -const int __WATCHOS_9_0 = 90000; - -const int __WATCHOS_9_1 = 90100; - -const int __WATCHOS_9_2 = 90200; - -const int __WATCHOS_9_3 = 90300; - -const int __WATCHOS_9_4 = 90400; - -const int __WATCHOS_9_5 = 90500; - -const int __WATCHOS_10_0 = 100000; - -const int __TVOS_9_0 = 90000; - -const int __TVOS_9_1 = 90100; - -const int __TVOS_9_2 = 90200; - -const int __TVOS_10_0 = 100000; - -const int __TVOS_10_0_1 = 100001; - -const int __TVOS_10_1 = 100100; - -const int __TVOS_10_2 = 100200; - -const int __TVOS_11_0 = 110000; - -const int __TVOS_11_1 = 110100; - -const int __TVOS_11_2 = 110200; - -const int __TVOS_11_3 = 110300; - -const int __TVOS_11_4 = 110400; - -const int __TVOS_12_0 = 120000; - -const int __TVOS_12_1 = 120100; - -const int __TVOS_12_2 = 120200; - -const int __TVOS_12_3 = 120300; - -const int __TVOS_12_4 = 120400; - -const int __TVOS_13_0 = 130000; - -const int __TVOS_13_2 = 130200; - -const int __TVOS_13_3 = 130300; - -const int __TVOS_13_4 = 130400; - -const int __TVOS_14_0 = 140000; - -const int __TVOS_14_1 = 140100; - -const int __TVOS_14_2 = 140200; - -const int __TVOS_14_3 = 140300; - -const int __TVOS_14_5 = 140500; - -const int __TVOS_14_6 = 140600; - -const int __TVOS_14_7 = 140700; - -const int __TVOS_15_0 = 150000; - -const int __TVOS_15_1 = 150100; - -const int __TVOS_15_2 = 150200; - -const int __TVOS_15_3 = 150300; - -const int __TVOS_15_4 = 150400; - -const int __TVOS_15_5 = 150500; - -const int __TVOS_15_6 = 150600; - -const int __TVOS_16_0 = 160000; - -const int __TVOS_16_1 = 160100; - -const int __TVOS_16_2 = 160200; - -const int __TVOS_16_3 = 160300; - -const int __TVOS_16_4 = 160400; - -const int __TVOS_16_5 = 160500; - -const int __TVOS_17_0 = 170000; - -const int __BRIDGEOS_2_0 = 20000; - -const int __BRIDGEOS_3_0 = 30000; - -const int __BRIDGEOS_3_1 = 30100; - -const int __BRIDGEOS_3_4 = 30400; - -const int __BRIDGEOS_4_0 = 40000; - -const int __BRIDGEOS_4_1 = 40100; - -const int __BRIDGEOS_5_0 = 50000; - -const int __BRIDGEOS_5_1 = 50100; - -const int __BRIDGEOS_5_3 = 50300; - -const int __BRIDGEOS_6_0 = 60000; - -const int __BRIDGEOS_6_2 = 60200; - -const int __BRIDGEOS_6_4 = 60400; - -const int __BRIDGEOS_6_5 = 60500; - -const int __BRIDGEOS_6_6 = 60600; - -const int __BRIDGEOS_7_0 = 70000; - -const int __BRIDGEOS_7_1 = 70100; - -const int __BRIDGEOS_7_2 = 70200; - -const int __BRIDGEOS_7_3 = 70300; - -const int __BRIDGEOS_7_4 = 70400; - -const int __BRIDGEOS_8_0 = 80000; - -const int __DRIVERKIT_19_0 = 190000; - -const int __DRIVERKIT_20_0 = 200000; - -const int __DRIVERKIT_21_0 = 210000; - -const int __DRIVERKIT_22_0 = 220000; - -const int __DRIVERKIT_22_4 = 220400; - -const int __DRIVERKIT_22_5 = 220500; - -const int __DRIVERKIT_23_0 = 230000; - -const int __XROS_1_0 = 10000; - -const int MAC_OS_X_VERSION_10_0 = 1000; - -const int MAC_OS_X_VERSION_10_1 = 1010; - -const int MAC_OS_X_VERSION_10_2 = 1020; - -const int MAC_OS_X_VERSION_10_3 = 1030; - -const int MAC_OS_X_VERSION_10_4 = 1040; - -const int MAC_OS_X_VERSION_10_5 = 1050; - -const int MAC_OS_X_VERSION_10_6 = 1060; - -const int MAC_OS_X_VERSION_10_7 = 1070; - -const int MAC_OS_X_VERSION_10_8 = 1080; - -const int MAC_OS_X_VERSION_10_9 = 1090; - -const int MAC_OS_X_VERSION_10_10 = 101000; - -const int MAC_OS_X_VERSION_10_10_2 = 101002; - -const int MAC_OS_X_VERSION_10_10_3 = 101003; - -const int MAC_OS_X_VERSION_10_11 = 101100; - -const int MAC_OS_X_VERSION_10_11_2 = 101102; - -const int MAC_OS_X_VERSION_10_11_3 = 101103; - -const int MAC_OS_X_VERSION_10_11_4 = 101104; - -const int MAC_OS_X_VERSION_10_12 = 101200; - -const int MAC_OS_X_VERSION_10_12_1 = 101201; - -const int MAC_OS_X_VERSION_10_12_2 = 101202; - -const int MAC_OS_X_VERSION_10_12_4 = 101204; - -const int MAC_OS_X_VERSION_10_13 = 101300; - -const int MAC_OS_X_VERSION_10_13_1 = 101301; - -const int MAC_OS_X_VERSION_10_13_2 = 101302; - -const int MAC_OS_X_VERSION_10_13_4 = 101304; - -const int MAC_OS_X_VERSION_10_14 = 101400; - -const int MAC_OS_X_VERSION_10_14_1 = 101401; - -const int MAC_OS_X_VERSION_10_14_4 = 101404; - -const int MAC_OS_X_VERSION_10_14_5 = 101405; - -const int MAC_OS_X_VERSION_10_14_6 = 101406; - -const int MAC_OS_X_VERSION_10_15 = 101500; - -const int MAC_OS_X_VERSION_10_15_1 = 101501; - -const int MAC_OS_X_VERSION_10_15_4 = 101504; - -const int MAC_OS_X_VERSION_10_16 = 101600; - -const int MAC_OS_VERSION_11_0 = 110000; - -const int MAC_OS_VERSION_11_1 = 110100; - -const int MAC_OS_VERSION_11_3 = 110300; - -const int MAC_OS_VERSION_11_4 = 110400; - -const int MAC_OS_VERSION_11_5 = 110500; - -const int MAC_OS_VERSION_11_6 = 110600; - -const int MAC_OS_VERSION_12_0 = 120000; - -const int MAC_OS_VERSION_12_1 = 120100; - -const int MAC_OS_VERSION_12_2 = 120200; - -const int MAC_OS_VERSION_12_3 = 120300; - -const int MAC_OS_VERSION_12_4 = 120400; - -const int MAC_OS_VERSION_12_5 = 120500; - -const int MAC_OS_VERSION_13_0 = 130000; - -const int MAC_OS_VERSION_13_1 = 130100; - -const int MAC_OS_VERSION_13_2 = 130200; - -const int MAC_OS_VERSION_13_3 = 130300; - -const int MAC_OS_VERSION_13_4 = 130400; - -const int MAC_OS_VERSION_14_0 = 140000; - -const int __MAC_OS_X_VERSION_MIN_REQUIRED = 140000; - -const int __MAC_OS_X_VERSION_MAX_ALLOWED = 140000; - -const int __ENABLE_LEGACY_MAC_AVAILABILITY = 1; - -const int __DARWIN_ONLY_64_BIT_INO_T = 0; - -const int __DARWIN_ONLY_UNIX_CONFORMANCE = 1; - -const int __DARWIN_ONLY_VERS_1050 = 0; - -const int __DARWIN_UNIX03 = 1; - -const int __DARWIN_64_BIT_INO_T = 1; - -const int __DARWIN_VERS_1050 = 1; - -const int __DARWIN_NON_CANCELABLE = 0; - -const String __DARWIN_SUF_64_BIT_INO_T = '\$INODE64'; - -const String __DARWIN_SUF_1050 = '\$1050'; - -const String __DARWIN_SUF_EXTSN = '\$DARWIN_EXTSN'; - -const int __DARWIN_C_ANSI = 4096; - -const int __DARWIN_C_FULL = 900000; - -const int __DARWIN_C_LEVEL = 900000; - -const int __STDC_WANT_LIB_EXT1__ = 1; - -const int __DARWIN_NO_LONG_LONG = 0; - -const int _DARWIN_FEATURE_64_BIT_INODE = 1; - -const int _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1; - -const int _DARWIN_FEATURE_UNIX_CONFORMANCE = 3; - -const int __has_ptrcheck = 0; - -const int __DARWIN_NULL = 0; - -const int __PTHREAD_SIZE__ = 8176; - -const int __PTHREAD_ATTR_SIZE__ = 56; - -const int __PTHREAD_MUTEXATTR_SIZE__ = 8; - -const int __PTHREAD_MUTEX_SIZE__ = 56; - -const int __PTHREAD_CONDATTR_SIZE__ = 8; - -const int __PTHREAD_COND_SIZE__ = 40; - -const int __PTHREAD_ONCE_SIZE__ = 8; - -const int __PTHREAD_RWLOCK_SIZE__ = 192; - -const int __PTHREAD_RWLOCKATTR_SIZE__ = 16; - -const int __DARWIN_WCHAR_MAX = 2147483647; - -const int __DARWIN_WCHAR_MIN = -2147483648; - -const int __DARWIN_WEOF = -1; - -const int _FORTIFY_SOURCE = 2; - -const int __DARWIN_NSIG = 32; - -const int NSIG = 32; - -const int _I386_SIGNAL_H_ = 1; - -const int SIGHUP = 1; - -const int SIGINT = 2; - -const int SIGQUIT = 3; - -const int SIGILL = 4; - -const int SIGTRAP = 5; - -const int SIGABRT = 6; - -const int SIGIOT = 6; - -const int SIGEMT = 7; - -const int SIGFPE = 8; - -const int SIGKILL = 9; - -const int SIGBUS = 10; - -const int SIGSEGV = 11; - -const int SIGSYS = 12; - -const int SIGPIPE = 13; - -const int SIGALRM = 14; - -const int SIGTERM = 15; - -const int SIGURG = 16; - -const int SIGSTOP = 17; - -const int SIGTSTP = 18; - -const int SIGCONT = 19; - -const int SIGCHLD = 20; - -const int SIGTTIN = 21; - -const int SIGTTOU = 22; - -const int SIGIO = 23; - -const int SIGXCPU = 24; - -const int SIGXFSZ = 25; - -const int SIGVTALRM = 26; - -const int SIGPROF = 27; - -const int SIGWINCH = 28; - -const int SIGINFO = 29; - -const int SIGUSR1 = 30; - -const int SIGUSR2 = 31; - -const int USER_ADDR_NULL = 0; - -const int FP_PREC_24B = 0; - -const int FP_PREC_53B = 2; - -const int FP_PREC_64B = 3; - -const int FP_RND_NEAR = 0; - -const int FP_RND_DOWN = 1; - -const int FP_RND_UP = 2; - -const int FP_CHOP = 3; - -const int FP_STATE_BYTES = 512; - -const int _X86_INSTRUCTION_STATE_MAX_INSN_BYTES = 2380; - -const int _X86_INSTRUCTION_STATE_CACHELINE_SIZE = 64; - -const int __LASTBRANCH_MAX = 32; - -const int SIGEV_NONE = 0; - -const int SIGEV_SIGNAL = 1; - -const int SIGEV_THREAD = 3; - -const int ILL_NOOP = 0; - -const int ILL_ILLOPC = 1; - -const int ILL_ILLTRP = 2; - -const int ILL_PRVOPC = 3; - -const int ILL_ILLOPN = 4; - -const int ILL_ILLADR = 5; - -const int ILL_PRVREG = 6; - -const int ILL_COPROC = 7; - -const int ILL_BADSTK = 8; - -const int FPE_NOOP = 0; - -const int FPE_FLTDIV = 1; - -const int FPE_FLTOVF = 2; - -const int FPE_FLTUND = 3; - -const int FPE_FLTRES = 4; - -const int FPE_FLTINV = 5; - -const int FPE_FLTSUB = 6; - -const int FPE_INTDIV = 7; - -const int FPE_INTOVF = 8; - -const int SEGV_NOOP = 0; - -const int SEGV_MAPERR = 1; - -const int SEGV_ACCERR = 2; - -const int BUS_NOOP = 0; - -const int BUS_ADRALN = 1; - -const int BUS_ADRERR = 2; - -const int BUS_OBJERR = 3; - -const int TRAP_BRKPT = 1; - -const int TRAP_TRACE = 2; - -const int CLD_NOOP = 0; - -const int CLD_EXITED = 1; - -const int CLD_KILLED = 2; - -const int CLD_DUMPED = 3; - -const int CLD_TRAPPED = 4; - -const int CLD_STOPPED = 5; - -const int CLD_CONTINUED = 6; - -const int POLL_IN = 1; - -const int POLL_OUT = 2; - -const int POLL_MSG = 3; - -const int POLL_ERR = 4; - -const int POLL_PRI = 5; - -const int POLL_HUP = 6; - -const int SA_ONSTACK = 1; - -const int SA_RESTART = 2; - -const int SA_RESETHAND = 4; - -const int SA_NOCLDSTOP = 8; - -const int SA_NODEFER = 16; - -const int SA_NOCLDWAIT = 32; - -const int SA_SIGINFO = 64; - -const int SA_USERTRAMP = 256; - -const int SA_64REGSET = 512; - -const int SA_USERSPACE_MASK = 127; - -const int SIG_BLOCK = 1; - -const int SIG_UNBLOCK = 2; - -const int SIG_SETMASK = 3; - -const int SI_USER = 65537; - -const int SI_QUEUE = 65538; - -const int SI_TIMER = 65539; - -const int SI_ASYNCIO = 65540; - -const int SI_MESGQ = 65541; - -const int SS_ONSTACK = 1; - -const int SS_DISABLE = 4; - -const int MINSIGSTKSZ = 32768; - -const int SIGSTKSZ = 131072; - -const int SV_ONSTACK = 1; - -const int SV_INTERRUPT = 2; - -const int SV_RESETHAND = 4; - -const int SV_NODEFER = 16; - -const int SV_NOCLDSTOP = 8; - -const int SV_SIGINFO = 64; - -const int __WORDSIZE = 64; - -const int INT8_MAX = 127; - -const int INT16_MAX = 32767; - -const int INT32_MAX = 2147483647; - -const int INT64_MAX = 9223372036854775807; - -const int INT8_MIN = -128; - -const int INT16_MIN = -32768; - -const int INT32_MIN = -2147483648; - -const int INT64_MIN = -9223372036854775808; - -const int UINT8_MAX = 255; - -const int UINT16_MAX = 65535; - -const int UINT32_MAX = 4294967295; - -const int UINT64_MAX = -1; - -const int INT_LEAST8_MIN = -128; - -const int INT_LEAST16_MIN = -32768; - -const int INT_LEAST32_MIN = -2147483648; - -const int INT_LEAST64_MIN = -9223372036854775808; - -const int INT_LEAST8_MAX = 127; - -const int INT_LEAST16_MAX = 32767; - -const int INT_LEAST32_MAX = 2147483647; - -const int INT_LEAST64_MAX = 9223372036854775807; - -const int UINT_LEAST8_MAX = 255; - -const int UINT_LEAST16_MAX = 65535; - -const int UINT_LEAST32_MAX = 4294967295; - -const int UINT_LEAST64_MAX = -1; - -const int INT_FAST8_MIN = -128; - -const int INT_FAST16_MIN = -32768; - -const int INT_FAST32_MIN = -2147483648; - -const int INT_FAST64_MIN = -9223372036854775808; - -const int INT_FAST8_MAX = 127; - -const int INT_FAST16_MAX = 32767; - -const int INT_FAST32_MAX = 2147483647; - -const int INT_FAST64_MAX = 9223372036854775807; - -const int UINT_FAST8_MAX = 255; - -const int UINT_FAST16_MAX = 65535; - -const int UINT_FAST32_MAX = 4294967295; - -const int UINT_FAST64_MAX = -1; - -const int INTPTR_MAX = 9223372036854775807; - -const int INTPTR_MIN = -9223372036854775808; - -const int UINTPTR_MAX = -1; - -const int INTMAX_MAX = 9223372036854775807; - -const int UINTMAX_MAX = -1; - -const int INTMAX_MIN = -9223372036854775808; - -const int PTRDIFF_MIN = -9223372036854775808; - -const int PTRDIFF_MAX = 9223372036854775807; - -const int SIZE_MAX = -1; - -const int RSIZE_MAX = 9223372036854775807; - -const int WCHAR_MAX = 2147483647; - -const int WCHAR_MIN = -2147483648; - -const int WINT_MIN = -2147483648; - -const int WINT_MAX = 2147483647; - -const int SIG_ATOMIC_MIN = -2147483648; - -const int SIG_ATOMIC_MAX = 2147483647; - -const int PRIO_PROCESS = 0; - -const int PRIO_PGRP = 1; - -const int PRIO_USER = 2; - -const int PRIO_DARWIN_THREAD = 3; - -const int PRIO_DARWIN_PROCESS = 4; - -const int PRIO_MIN = -20; - -const int PRIO_MAX = 20; - -const int PRIO_DARWIN_BG = 4096; - -const int PRIO_DARWIN_NONUI = 4097; - -const int RUSAGE_SELF = 0; - -const int RUSAGE_CHILDREN = -1; - -const int RUSAGE_INFO_V0 = 0; - -const int RUSAGE_INFO_V1 = 1; - -const int RUSAGE_INFO_V2 = 2; - -const int RUSAGE_INFO_V3 = 3; - -const int RUSAGE_INFO_V4 = 4; - -const int RUSAGE_INFO_V5 = 5; - -const int RUSAGE_INFO_V6 = 6; - -const int RUSAGE_INFO_CURRENT = 6; - -const int RU_PROC_RUNS_RESLIDE = 1; - -const int RLIM_INFINITY = 9223372036854775807; - -const int RLIM_SAVED_MAX = 9223372036854775807; - -const int RLIM_SAVED_CUR = 9223372036854775807; - -const int RLIMIT_CPU = 0; - -const int RLIMIT_FSIZE = 1; - -const int RLIMIT_DATA = 2; - -const int RLIMIT_STACK = 3; - -const int RLIMIT_CORE = 4; - -const int RLIMIT_AS = 5; - -const int RLIMIT_RSS = 5; - -const int RLIMIT_MEMLOCK = 6; - -const int RLIMIT_NPROC = 7; - -const int RLIMIT_NOFILE = 8; - -const int RLIM_NLIMITS = 9; - -const int _RLIMIT_POSIX_FLAG = 4096; - -const int RLIMIT_WAKEUPS_MONITOR = 1; - -const int RLIMIT_CPU_USAGE_MONITOR = 2; - -const int RLIMIT_THREAD_CPULIMITS = 3; - -const int RLIMIT_FOOTPRINT_INTERVAL = 4; - -const int WAKEMON_ENABLE = 1; - -const int WAKEMON_DISABLE = 2; - -const int WAKEMON_GET_PARAMS = 4; - -const int WAKEMON_SET_DEFAULTS = 8; - -const int WAKEMON_MAKE_FATAL = 16; - -const int CPUMON_MAKE_FATAL = 4096; - -const int FOOTPRINT_INTERVAL_RESET = 1; - -const int IOPOL_TYPE_DISK = 0; - -const int IOPOL_TYPE_VFS_ATIME_UPDATES = 2; - -const int IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES = 3; - -const int IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME = 4; - -const int IOPOL_TYPE_VFS_TRIGGER_RESOLVE = 5; - -const int IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION = 6; - -const int IOPOL_TYPE_VFS_IGNORE_PERMISSIONS = 7; - -const int IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE = 8; - -const int IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES = 9; - -const int IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY = 10; - -const int IOPOL_SCOPE_PROCESS = 0; - -const int IOPOL_SCOPE_THREAD = 1; - -const int IOPOL_SCOPE_DARWIN_BG = 2; - -const int IOPOL_DEFAULT = 0; - -const int IOPOL_IMPORTANT = 1; - -const int IOPOL_PASSIVE = 2; - -const int IOPOL_THROTTLE = 3; - -const int IOPOL_UTILITY = 4; - -const int IOPOL_STANDARD = 5; - -const int IOPOL_APPLICATION = 5; - -const int IOPOL_NORMAL = 1; - -const int IOPOL_ATIME_UPDATES_DEFAULT = 0; - -const int IOPOL_ATIME_UPDATES_OFF = 1; - -const int IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT = 0; - -const int IOPOL_MATERIALIZE_DATALESS_FILES_OFF = 1; - -const int IOPOL_MATERIALIZE_DATALESS_FILES_ON = 2; - -const int IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT = 0; - -const int IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME = 1; - -const int IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT = 0; - -const int IOPOL_VFS_TRIGGER_RESOLVE_OFF = 1; - -const int IOPOL_VFS_CONTENT_PROTECTION_DEFAULT = 0; - -const int IOPOL_VFS_CONTENT_PROTECTION_IGNORE = 1; - -const int IOPOL_VFS_IGNORE_PERMISSIONS_OFF = 0; - -const int IOPOL_VFS_IGNORE_PERMISSIONS_ON = 1; - -const int IOPOL_VFS_SKIP_MTIME_UPDATE_OFF = 0; - -const int IOPOL_VFS_SKIP_MTIME_UPDATE_ON = 1; - -const int IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF = 0; - -const int IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON = 1; - -const int IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_DEFAULT = 0; - -const int IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_ON = 1; - -const int IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_DEFAULT = 0; - -const int IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_ON = 1; - -const int WNOHANG = 1; - -const int WUNTRACED = 2; - -const int WCOREFLAG = 128; - -const int _WSTOPPED = 127; - -const int WEXITED = 4; - -const int WSTOPPED = 8; - -const int WCONTINUED = 16; - -const int WNOWAIT = 32; - -const int WAIT_ANY = -1; - -const int WAIT_MYPGRP = 0; - -const int _QUAD_HIGHWORD = 1; - -const int _QUAD_LOWWORD = 0; - -const int __DARWIN_LITTLE_ENDIAN = 1234; - -const int __DARWIN_BIG_ENDIAN = 4321; - -const int __DARWIN_PDP_ENDIAN = 3412; - -const int __DARWIN_BYTE_ORDER = 1234; - -const int LITTLE_ENDIAN = 1234; - -const int BIG_ENDIAN = 4321; - -const int PDP_ENDIAN = 3412; - -const int BYTE_ORDER = 1234; - -const int NULL = 0; - -const int EXIT_FAILURE = 1; - -const int EXIT_SUCCESS = 0; - -const int RAND_MAX = 2147483647; - -const int __bool_true_false_are_defined = 1; - -const int true1 = 1; - -const int false1 = 0;