From 223ad767b1d941f23aeab524c4e03ffa5095da44 Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Mon, 6 Nov 2023 16:04:00 +0100 Subject: [PATCH] chore: initial commit --- .gitignore | 736 + MyLib.Generated/Hello.cs | 82217 ++++++++++++++++ MyLib.Generated/Hello.h | 22256 +++++ MyLib.Generated/MyLib.Generated.csproj | 80 + MyLib.Generated/android_fake_clang.cmd | 9 + MyLib.Generated/android_fake_clang.command | 6 + MyLib.Generated/android_fake_clang.sh | 6 + MyLib.Generated/build-android-arm64.sh | 3 + MyLib.Generated/build-android-x64.sh | 3 + MyLib.Managed/Hello.cs | 9 + MyLib.Managed/MyLib.Managed.csproj | 9 + README.md | 18 + beyondnetgen.config.json | 9 + build.sh | 49 + flutter_example/.gitignore | 47 + flutter_example/.metadata | 36 + flutter_example/README.md | 16 + flutter_example/analysis_options.yaml | 32 + flutter_example/android/.gitignore | 13 + flutter_example/android/app/build.gradle | 67 + .../android/app/src/main/AndroidManifest.xml | 33 + .../example/flutter_example/MainActivity.kt | 6 + .../res/drawable-v21/launch_background.xml | 12 + .../main/res/drawable/launch_background.xml | 12 + .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 544 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 442 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 721 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 1031 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 1443 bytes .../app/src/main/res/values-night/styles.xml | 18 + .../app/src/main/res/values/styles.xml | 18 + .../app/src/profile/AndroidManifest.xml | 7 + flutter_example/android/build.gradle | 31 + flutter_example/android/gradle.properties | 3 + .../gradle/wrapper/gradle-wrapper.properties | 5 + flutter_example/android/settings.gradle | 20 + flutter_example/ffigen.yaml | 4 + flutter_example/ios/.gitignore | 34 + .../ios/Flutter/AppFrameworkInfo.plist | 26 + flutter_example/ios/Flutter/Debug.xcconfig | 1 + flutter_example/ios/Flutter/Release.xcconfig | 1 + .../ios/Runner.xcodeproj/project.pbxproj | 614 + .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcshareddata/WorkspaceSettings.xcsettings | 8 + .../xcshareddata/xcschemes/Runner.xcscheme | 98 + .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcshareddata/WorkspaceSettings.xcsettings | 8 + flutter_example/ios/Runner/AppDelegate.swift | 13 + .../AppIcon.appiconset/Contents.json | 122 + .../Icon-App-1024x1024@1x.png | Bin 0 -> 10932 bytes .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 0 -> 295 bytes .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 0 -> 406 bytes .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 0 -> 450 bytes .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 0 -> 282 bytes .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 0 -> 462 bytes .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 0 -> 704 bytes .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 0 -> 406 bytes .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 0 -> 586 bytes .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 0 -> 862 bytes .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 0 -> 862 bytes .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 0 -> 1674 bytes .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 0 -> 762 bytes .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 0 -> 1226 bytes .../Icon-App-83.5x83.5@2x.png | Bin 0 -> 1418 bytes .../LaunchImage.imageset/Contents.json | 23 + .../LaunchImage.imageset/LaunchImage.png | Bin 0 -> 68 bytes .../LaunchImage.imageset/LaunchImage@2x.png | Bin 0 -> 68 bytes .../LaunchImage.imageset/LaunchImage@3x.png | Bin 0 -> 68 bytes .../LaunchImage.imageset/README.md | 5 + .../Runner/Base.lproj/LaunchScreen.storyboard | 37 + .../ios/Runner/Base.lproj/Main.storyboard | 26 + flutter_example/ios/Runner/Info.plist | 49 + .../ios/Runner/Runner-Bridging-Header.h | 1 + .../ios/RunnerTests/RunnerTests.swift | 12 + flutter_example/lib/bindings.dart | 43 + flutter_example/lib/generated_bindings.dart | 69111 +++++++++++++ flutter_example/lib/main.dart | 65 + flutter_example/macos/.gitignore | 7 + .../macos/Flutter/Flutter-Debug.xcconfig | 1 + .../macos/Flutter/Flutter-Release.xcconfig | 1 + .../Flutter/GeneratedPluginRegistrant.swift | 10 + .../macos/Runner.xcodeproj/project.pbxproj | 695 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcshareddata/xcschemes/Runner.xcscheme | 98 + .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../macos/Runner/AppDelegate.swift | 9 + .../AppIcon.appiconset/Contents.json | 68 + .../AppIcon.appiconset/app_icon_1024.png | Bin 0 -> 102994 bytes .../AppIcon.appiconset/app_icon_128.png | Bin 0 -> 5680 bytes .../AppIcon.appiconset/app_icon_16.png | Bin 0 -> 520 bytes .../AppIcon.appiconset/app_icon_256.png | Bin 0 -> 14142 bytes .../AppIcon.appiconset/app_icon_32.png | Bin 0 -> 1066 bytes .../AppIcon.appiconset/app_icon_512.png | Bin 0 -> 36406 bytes .../AppIcon.appiconset/app_icon_64.png | Bin 0 -> 2218 bytes .../macos/Runner/Base.lproj/MainMenu.xib | 343 + .../macos/Runner/Configs/AppInfo.xcconfig | 14 + .../macos/Runner/Configs/Debug.xcconfig | 2 + .../macos/Runner/Configs/Release.xcconfig | 2 + .../macos/Runner/Configs/Warnings.xcconfig | 13 + .../macos/Runner/DebugProfile.entitlements | 12 + flutter_example/macos/Runner/Info.plist | 32 + .../macos/Runner/MainFlutterWindow.swift | 15 + .../macos/Runner/Release.entitlements | 8 + .../macos/RunnerTests/RunnerTests.swift | 12 + flutter_example/pubspec.yaml | 92 + flutter_example/test/widget_test.dart | 30 + 109 files changed, 177604 insertions(+) create mode 100644 .gitignore create mode 100644 MyLib.Generated/Hello.cs create mode 100644 MyLib.Generated/Hello.h create mode 100644 MyLib.Generated/MyLib.Generated.csproj create mode 100755 MyLib.Generated/android_fake_clang.cmd create mode 100755 MyLib.Generated/android_fake_clang.command create mode 100755 MyLib.Generated/android_fake_clang.sh create mode 100755 MyLib.Generated/build-android-arm64.sh create mode 100755 MyLib.Generated/build-android-x64.sh create mode 100644 MyLib.Managed/Hello.cs create mode 100644 MyLib.Managed/MyLib.Managed.csproj create mode 100644 README.md create mode 100644 beyondnetgen.config.json create mode 100755 build.sh create mode 100644 flutter_example/.gitignore create mode 100644 flutter_example/.metadata create mode 100644 flutter_example/README.md create mode 100644 flutter_example/analysis_options.yaml create mode 100644 flutter_example/android/.gitignore create mode 100644 flutter_example/android/app/build.gradle create mode 100644 flutter_example/android/app/src/main/AndroidManifest.xml create mode 100644 flutter_example/android/app/src/main/kotlin/com/example/flutter_example/MainActivity.kt create mode 100644 flutter_example/android/app/src/main/res/drawable-v21/launch_background.xml create mode 100644 flutter_example/android/app/src/main/res/drawable/launch_background.xml create mode 100644 flutter_example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png create mode 100644 flutter_example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png create mode 100644 flutter_example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png create mode 100644 flutter_example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png create mode 100644 flutter_example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png create mode 100644 flutter_example/android/app/src/main/res/values-night/styles.xml create mode 100644 flutter_example/android/app/src/main/res/values/styles.xml create mode 100644 flutter_example/android/app/src/profile/AndroidManifest.xml create mode 100644 flutter_example/android/build.gradle create mode 100644 flutter_example/android/gradle.properties create mode 100644 flutter_example/android/gradle/wrapper/gradle-wrapper.properties create mode 100644 flutter_example/android/settings.gradle create mode 100644 flutter_example/ffigen.yaml create mode 100644 flutter_example/ios/.gitignore create mode 100644 flutter_example/ios/Flutter/AppFrameworkInfo.plist create mode 100644 flutter_example/ios/Flutter/Debug.xcconfig create mode 100644 flutter_example/ios/Flutter/Release.xcconfig create mode 100644 flutter_example/ios/Runner.xcodeproj/project.pbxproj create mode 100644 flutter_example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 flutter_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 flutter_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings create mode 100644 flutter_example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme create mode 100644 flutter_example/ios/Runner.xcworkspace/contents.xcworkspacedata create mode 100644 flutter_example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 flutter_example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings create mode 100644 flutter_example/ios/Runner/AppDelegate.swift create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json create mode 100644 flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png create mode 100644 flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md create mode 100644 flutter_example/ios/Runner/Base.lproj/LaunchScreen.storyboard create mode 100644 flutter_example/ios/Runner/Base.lproj/Main.storyboard create mode 100644 flutter_example/ios/Runner/Info.plist create mode 100644 flutter_example/ios/Runner/Runner-Bridging-Header.h create mode 100644 flutter_example/ios/RunnerTests/RunnerTests.swift create mode 100644 flutter_example/lib/bindings.dart create mode 100644 flutter_example/lib/generated_bindings.dart create mode 100644 flutter_example/lib/main.dart create mode 100644 flutter_example/macos/.gitignore create mode 100644 flutter_example/macos/Flutter/Flutter-Debug.xcconfig create mode 100644 flutter_example/macos/Flutter/Flutter-Release.xcconfig create mode 100644 flutter_example/macos/Flutter/GeneratedPluginRegistrant.swift create mode 100644 flutter_example/macos/Runner.xcodeproj/project.pbxproj create mode 100644 flutter_example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 flutter_example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme create mode 100644 flutter_example/macos/Runner.xcworkspace/contents.xcworkspacedata create mode 100644 flutter_example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 flutter_example/macos/Runner/AppDelegate.swift create mode 100644 flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png create mode 100644 flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png create mode 100644 flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png create mode 100644 flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png create mode 100644 flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png create mode 100644 flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png create mode 100644 flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png create mode 100644 flutter_example/macos/Runner/Base.lproj/MainMenu.xib create mode 100644 flutter_example/macos/Runner/Configs/AppInfo.xcconfig create mode 100644 flutter_example/macos/Runner/Configs/Debug.xcconfig create mode 100644 flutter_example/macos/Runner/Configs/Release.xcconfig create mode 100644 flutter_example/macos/Runner/Configs/Warnings.xcconfig create mode 100644 flutter_example/macos/Runner/DebugProfile.entitlements create mode 100644 flutter_example/macos/Runner/Info.plist create mode 100644 flutter_example/macos/Runner/MainFlutterWindow.swift create mode 100644 flutter_example/macos/Runner/Release.entitlements create mode 100644 flutter_example/macos/RunnerTests/RunnerTests.swift create mode 100644 flutter_example/pubspec.yaml create mode 100644 flutter_example/test/widget_test.dart diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7b64f0e --- /dev/null +++ b/.gitignore @@ -0,0 +1,736 @@ +# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig +# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,macos,csharp,dart,dotnetcore,flutter,visualstudio,xamarinstudio +# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,macos,csharp,dart,dotnetcore,flutter,visualstudio,xamarinstudio + +### Csharp ### +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.tlog +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio 6 auto-generated project file (contains which files were open etc.) +*.vbp + +# Visual Studio 6 workspace and project file (working project files containing files to include in project) +*.dsw +*.dsp + +# Visual Studio 6 technical files + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# Visual Studio History (VSHistory) files +.vshistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd + +# VS Code files for those working on multiple tools +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# Local History for Visual Studio Code +.history/ + +# Windows Installer files from build outputs +*.cab +*.msi +*.msix +*.msm +*.msp + +# JetBrains Rider +*.sln.iml + +### Dart ### +# See https://www.dartlang.org/guides/libraries/private-files + +# Files and directories created by pub +.dart_tool/ +.packages +build/ +# If you're building an application, you may want to check-in your pubspec.lock +pubspec.lock + +# Directory created by dartdoc +# If you don't generate documentation locally you can remove this line. +doc/api/ + +# dotenv environment variables file +.env* + +# Avoid committing generated Javascript files: +*.dart.js +*.info.json # Produced by the --dump-info flag. +*.js # When generated by dart2js. Don't specify *.js if your + # project includes source files written in JavaScript. +*.js_ +*.js.deps +*.js.map + +.flutter-plugins +.flutter-plugins-dependencies + +### Dart Patch ### +# dotenv environment variables file +.env + +### DotnetCore ### +# .NET Core build folders +bin/ +obj/ + +# Common node modules locations +/node_modules +/wwwroot/node_modules + +### Flutter ### +# Flutter/Dart/Pub related +**/doc/api/ +.fvm/flutter_sdk +.pub-cache/ +.pub/ +coverage/ +lib/generated_plugin_registrant.dart +# For library packages, don’t commit the pubspec.lock file. +# Regenerating the pubspec.lock file lets you test your package against the latest compatible versions of its dependencies. +# See https://dart.dev/guides/libraries/private-files#pubspeclock +#pubspec.lock + +# Android related +**/android/**/gradle-wrapper.jar +**/android/.gradle +**/android/captures/ +**/android/gradlew +**/android/gradlew.bat +**/android/key.properties +**/android/local.properties +**/android/**/GeneratedPluginRegistrant.java + +# iOS/XCode related +**/ios/**/*.mode1v3 +**/ios/**/*.mode2v3 +**/ios/**/*.moved-aside +**/ios/**/*.pbxuser +**/ios/**/*.perspectivev3 +**/ios/**/*sync/ +**/ios/**/.sconsign.dblite +**/ios/**/.tags* +**/ios/**/.vagrant/ +**/ios/**/DerivedData/ +**/ios/**/Icon? +**/ios/**/Pods/ +**/ios/**/.symlinks/ +**/ios/**/profile +**/ios/**/xcuserdata +**/ios/.generated/ +**/ios/Flutter/.last_build_id +**/ios/Flutter/App.framework +**/ios/Flutter/Flutter.framework +**/ios/Flutter/Flutter.podspec +**/ios/Flutter/Generated.xcconfig +**/ios/Flutter/app.flx +**/ios/Flutter/app.zip +**/ios/Flutter/flutter_assets/ +**/ios/Flutter/flutter_export_environment.sh +**/ios/ServiceDefinitions.json +**/ios/Runner/GeneratedPluginRegistrant.* + +# Exceptions to above rules. +!**/ios/**/default.mode1v3 +!**/ios/**/default.mode2v3 +!**/ios/**/default.pbxuser +!**/ios/**/default.perspectivev3 +!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### macOS Patch ### +# iCloud generated files +*.icloud + +### VisualStudioCode ### +!.vscode/*.code-snippets + +# Local History for Visual Studio Code + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +### XamarinStudio ### + +### VisualStudio ### + +# User-specific files + +# User-specific files (MonoDevelop/Xamarin Studio) + +# Mono auto generated files + +# Build results + +# Visual Studio 2015/2017 cache/options directory +# Uncomment if you have tasks that create the project's static files in wwwroot + +# Visual Studio 2017 auto generated files + +# MSTest test Results + +# NUnit + +# Build Results of an ATL Project + +# Benchmark Results + +# .NET Core + +# ASP.NET Scaffolding + +# StyleCop + +# Files built by Visual Studio + +# Chutzpah Test files + +# Visual C++ cache files + +# Visual Studio profiler + +# Visual Studio Trace Files + +# TFS 2012 Local Workspace + +# Guidance Automation Toolkit + +# ReSharper is a .NET coding add-in + +# TeamCity is a build add-in + +# DotCover is a Code Coverage Tool + +# AxoCover is a Code Coverage Tool + +# Coverlet is a free, cross platform Code Coverage Tool + +# Visual Studio code coverage results + +# NCrunch + +# MightyMoose + +# Web workbench (sass) + +# Installshield output folder + +# DocProject is a documentation generator add-in + +# Click-Once directory + +# Publish Web Output +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted + +# NuGet Packages +# NuGet Symbol Packages +# The packages folder can be ignored because of Package Restore +# except build/, which is used as an MSBuild target. +# Uncomment if necessary however generally it will be regenerated when needed +# NuGet v3's project.json files produces more ignorable files + +# Microsoft Azure Build Output + +# Microsoft Azure Emulator + +# Windows Store app package directories and files + +# Visual Studio cache files +# files ending in .cache can be ignored +# but keep track of directories ending in .cache + +# Others + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) + +# RIA/Silverlight projects + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) + +# SQL Server files + +# Business Intelligence projects + +# Microsoft Fakes + +# GhostDoc plugin setting file + +# Node.js Tools for Visual Studio + +# Visual Studio 6 build log + +# Visual Studio 6 workspace options file + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) + +# Visual Studio 6 auto-generated project file (contains which files were open etc.) + +# Visual Studio 6 workspace and project file (working project files containing files to include in project) + +# Visual Studio 6 technical files + +# Visual Studio LightSwitch build output + +# Paket dependency manager + +# FAKE - F# Make + +# CodeRush personal settings + +# Python Tools for Visual Studio (PTVS) + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio + +# Telerik's JustMock configuration file + +# BizTalk build output + +# OpenCover UI analysis results + +# Azure Stream Analytics local run output + +# MSBuild Binary and Structured Log + +# NVidia Nsight GPU debugger configuration file + +# MFractors (Xamarin productivity tool) working folder + +# Local History for Visual Studio + +# Visual Studio History (VSHistory) files + +# BeatPulse healthcheck temp database + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 + +# Ionide (cross platform F# VS Code tools) working folder + +# Fody - auto-generated XML schema + +# VS Code files for those working on multiple tools + +# Local History for Visual Studio Code + +# Windows Installer files from build outputs + +# JetBrains Rider + +### VisualStudio Patch ### +# Additional files built by Visual Studio + +# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,macos,csharp,dart,dotnetcore,flutter,visualstudio,xamarinstudio + +# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) + diff --git a/MyLib.Generated/Hello.cs b/MyLib.Generated/Hello.cs new file mode 100644 index 0000000..657876c --- /dev/null +++ b/MyLib.Generated/Hello.cs @@ -0,0 +1,82217 @@ +// Number of generated types: 338 +// Number of generated members: 2889 + +//
+using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace NativeGeneratedCode; + + +//
+// +internal class __BeyondNETNativeModuleInitializer +{ + [System.Runtime.CompilerServices.ModuleInitializer] + internal static unsafe void BeyondNETNativeModuleInitializer() + { + // TODO: We could probably remove the native implementation if we port it to C# by using DllImport's for CoreFoundation stuff + + const string dnLibraryInitFuncName = "_DNLibraryInit"; + + var selfHandle = System.Runtime.InteropServices.NativeLibrary.GetMainProgramHandle(); + + if (selfHandle == IntPtr.Zero) { + return; + } + + bool getExportSuccess = System.Runtime.InteropServices.NativeLibrary.TryGetExport( + selfHandle, + dnLibraryInitFuncName, + out IntPtr dnLibraryInitSymbol + ); + + if (!getExportSuccess || + dnLibraryInitSymbol == IntPtr.Zero) { + return; + } + + delegate* unmanaged dnLibraryInitFunc = (delegate* unmanaged)dnLibraryInitSymbol; + + dnLibraryInitFunc(); + } +} + +internal unsafe class NativeDelegateBox + where TDelegateType: Delegate + where TFunctionPointerType: unmanaged +{ + internal TDelegateType Trampoline { get; } + internal void* Context { get; } + internal TFunctionPointerType FunctionPointer { get; } + + internal NativeDelegateBox( + TDelegateType trampoline, + void* context, + TFunctionPointerType? functionPointer + ) + { + Trampoline = trampoline ?? throw new ArgumentNullException(nameof(trampoline)); + Context = context is not null ? context : throw new ArgumentNullException(nameof(context)); + FunctionPointer = functionPointer ?? throw new ArgumentNullException(nameof(functionPointer)); + } +} + +internal static unsafe class InteropUtils +{ + #region Allocation + internal static GCHandle AllocateGCHandle(this object instance, GCHandleType handleType) + { + GCHandle handle = GCHandle.Alloc(instance, handleType); + + return handle; + } + + internal static void* AllocateGCHandleAndGetAddress(this object? instance) + { + if (instance is null) { + return null; + } + + GCHandle handle = instance.AllocateGCHandle(GCHandleType.Normal); + void* handleAddress = handle.ToHandleAddress(); + + return handleAddress; + } + #endregion Allocation + + #region Free + internal static void FreeIfAllocated(void* handleAddress) + { + if (handleAddress is null) { + return; + } + + GCHandle? handle = GetGCHandle(handleAddress); + + handle?.FreeIfAllocated(); + } + + internal static void CheckedFreeIfAllocated(void* handleAddress) + { + if (handleAddress is null) { + return; + } + + GCHandle? handle = GetGCHandle(handleAddress); + + if (handle is null) { + return; + } + + object? target = handle?.Target; + + if (target is not null && + !(target is T)) { + throw new Exception("Type of handle is unexpected"); + } + + handle?.FreeIfAllocated(); + } + + internal static void FreeIfAllocated(this GCHandle handle) + { + if (!handle.IsAllocated) { + return; + } + + handle.Free(); + } + #endregion Free + + #region Handle Address/GCHandle <-> Object Conversion + internal static void* ToHandleAddress(this GCHandle handle) + { + void* handleAddress = (void*)GCHandle.ToIntPtr(handle); + + return handleAddress; + } + + internal static GCHandle? GetGCHandle(void* handleAddress) + { + if (handleAddress is null) { + return null; + } + + GCHandle handle = GCHandle.FromIntPtr((nint)handleAddress); + + return handle; + } + + internal static T? GetInstance(void* handleAddress) + { + GCHandle? handle = GetGCHandle(handleAddress); + + object? target = handle?.Target; + + if (target is null) { + return default; + } + + T instance = (T)target; + + return instance; + } + + internal static void ReplaceInstance(void* handleAddress, object? newInstance) + { + GCHandle? maybeHandle = GetGCHandle(handleAddress); + + if (!maybeHandle.HasValue) { + return; + } + + GCHandle handle = maybeHandle.Value; + + handle.Target = newInstance; + } + #endregion Handle Address/GCHandle <-> Object Conversion + + #region Type Conversion + [UnmanagedCallersOnly(EntryPoint = "DNObjectCastTo")] + internal static void* /* System.Object */ DNObjectCastTo(void* /* System.Object */ @object, void* /* System.Type */ type, void** /* out System.Exception */ outException) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + System.Type typeConverted = InteropUtils.GetInstance(type); + + try { + System.Type currentType = objectConverted.GetType(); + bool isValidCast = currentType.IsAssignableTo(typeConverted); + + if (!isValidCast) { + throw new InvalidCastException(); + } + + if (outException is not null) { + *outException = null; + } + + return objectConverted.AllocateGCHandleAndGetAddress(); + } catch (Exception exception) { + if (outException is not null) { + void* exceptionHandleAddress = exception.AllocateGCHandleAndGetAddress(); + + *outException = exceptionHandleAddress; + } + + return null; + } + } + + [UnmanagedCallersOnly(EntryPoint = "DNObjectCastAs")] + internal static void* /* System.Object */ DNObjectCastAs(void* /* System.Object */ @object, void* /* System.Type */ type) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + System.Type typeConverted = InteropUtils.GetInstance(type); + + try { + System.Type currentType = objectConverted.GetType(); + bool isValidCast = currentType.IsAssignableTo(typeConverted); + + if (!isValidCast) { + return null; + } + + return objectConverted.AllocateGCHandleAndGetAddress(); + } catch { + return null; + } + } + + [UnmanagedCallersOnly(EntryPoint = "DNObjectIs")] + internal static byte DNObjectIs(void* /* System.Object */ @object, void* /* System.Type */ type) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + System.Type typeConverted = InteropUtils.GetInstance(type); + + try { + System.Type currentType = objectConverted.GetType(); + bool isValidCast = currentType.IsAssignableTo(typeConverted); + + return isValidCast.ToCBool(); + } catch { + return false.ToCBool(); + } + } + #endregion Type Conversion + + #region Strings + /// + /// This allocates a native char* and copies the contents of the managed string into it. + /// The allocated native string must be freed when not needed anymore! + /// + [UnmanagedCallersOnly(EntryPoint = "DNStringToC")] + internal static byte* DNStringToC(void* /* System.String? */ systemString) + { + if (systemString is null) { + return null; + } + + System.String? systemStringConverted = InteropUtils.GetInstance(systemString); + + if (systemStringConverted is null) { + return null; + } + + byte* cString = (byte*)Marshal.StringToHGlobalAuto(systemStringConverted); + + return cString; + } + + /// + /// This allocates a managed string and copies the contents of the native char* into it. + /// + [UnmanagedCallersOnly(EntryPoint = "DNStringFromC")] + internal static void* /* System.String? */ DNStringFromC(byte* cString) + { + if (cString is null) { + return null; + } + + System.String? systemString = Marshal.PtrToStringAuto((nint)cString); + + if (systemString is null) { + return null; + } + + void* systemStringNative = systemString.AllocateGCHandleAndGetAddress(); + + return systemStringNative; + } + #endregion Strings + + #region Bools + internal static byte ToCBool(this bool @bool) + { + if (@bool) { + return 1; + } else { + return 0; + } + } + + public static bool ToBool(this byte cBool) + { + return cBool == 1; + } + #endregion Bools + + #region Boxing/Unboxing of primitives + #region Bool + [UnmanagedCallersOnly(EntryPoint = "DNObjectCastToBool")] + internal static byte DNObjectCastToBool(void* /* System.Object */ @object, void** /* out System.Exception */ outException) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + + try { + bool returnValue = (bool)objectConverted; + + if (outException is not null) { + *outException = null; + } + + return returnValue.ToCBool(); + } catch (Exception exception) { + if (outException is not null) { + void* exceptionHandleAddress = exception.AllocateGCHandleAndGetAddress(); + + *outException = exceptionHandleAddress; + } + + return default(bool).ToCBool(); + } + } + + [UnmanagedCallersOnly(EntryPoint = "DNObjectFromBool")] + internal static void* /* System.Object */ DNObjectFromBool(byte value) + { + return ((System.Object)value.ToBool()).AllocateGCHandleAndGetAddress(); + } + #endregion Bool + + #region Float + [UnmanagedCallersOnly(EntryPoint = "DNObjectCastToFloat")] + internal static float DNObjectCastToFloat(void* /* System.Object */ @object, void** /* out System.Exception */ outException) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + + try { + float returnValue = (float)objectConverted; + + if (outException is not null) { + *outException = null; + } + + return returnValue; + } catch (Exception exception) { + if (outException is not null) { + void* exceptionHandleAddress = exception.AllocateGCHandleAndGetAddress(); + + *outException = exceptionHandleAddress; + } + + return default(float); + } + } + + [UnmanagedCallersOnly(EntryPoint = "DNObjectFromFloat")] + internal static void* /* System.Object */ DNObjectFromFloat(float number) + { + return ((System.Object)number).AllocateGCHandleAndGetAddress(); + } + #endregion Float + + #region Double + [UnmanagedCallersOnly(EntryPoint = "DNObjectCastToDouble")] + internal static double DNObjectCastToDouble(void* /* System.Object */ @object, void** /* out System.Exception */ outException) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + + try { + double returnValue = (double)objectConverted; + + if (outException is not null) { + *outException = null; + } + + return returnValue; + } catch (Exception exception) { + if (outException is not null) { + void* exceptionHandleAddress = exception.AllocateGCHandleAndGetAddress(); + + *outException = exceptionHandleAddress; + } + + return default(double); + } + } + + [UnmanagedCallersOnly(EntryPoint = "DNObjectFromDouble")] + internal static void* /* System.Object */ DNObjectFromDouble(double number) + { + return ((System.Object)number).AllocateGCHandleAndGetAddress(); + } + #endregion Double + + #region Int8 + [UnmanagedCallersOnly(EntryPoint = "DNObjectCastToInt8")] + internal static sbyte DNObjectCastToInt8(void* /* System.Object */ @object, void** /* out System.Exception */ outException) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + + try { + sbyte returnValue = (sbyte)objectConverted; + + if (outException is not null) { + *outException = null; + } + + return returnValue; + } catch (Exception exception) { + if (outException is not null) { + void* exceptionHandleAddress = exception.AllocateGCHandleAndGetAddress(); + + *outException = exceptionHandleAddress; + } + + return default(sbyte); + } + } + + [UnmanagedCallersOnly(EntryPoint = "DNObjectFromInt8")] + internal static void* /* System.Object */ DNObjectFromInt8(sbyte number) + { + return ((System.Object)number).AllocateGCHandleAndGetAddress(); + } + #endregion Int8 + + #region UInt8 + [UnmanagedCallersOnly(EntryPoint = "DNObjectCastToUInt8")] + internal static byte DNObjectCastToUInt8(void* /* System.Object */ @object, void** /* out System.Exception */ outException) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + + try { + byte returnValue = (byte)objectConverted; + + if (outException is not null) { + *outException = null; + } + + return returnValue; + } catch (Exception exception) { + if (outException is not null) { + void* exceptionHandleAddress = exception.AllocateGCHandleAndGetAddress(); + + *outException = exceptionHandleAddress; + } + + return default(byte); + } + } + + [UnmanagedCallersOnly(EntryPoint = "DNObjectFromUInt8")] + internal static void* /* System.Object */ DNObjectFromUInt8(byte number) + { + return ((System.Object)number).AllocateGCHandleAndGetAddress(); + } + #endregion UInt8 + + #region Int16 + [UnmanagedCallersOnly(EntryPoint = "DNObjectCastToInt16")] + internal static Int16 DNObjectCastToInt16(void* /* System.Object */ @object, void** /* out System.Exception */ outException) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + + try { + Int16 returnValue = (Int16)objectConverted; + + if (outException is not null) { + *outException = null; + } + + return returnValue; + } catch (Exception exception) { + if (outException is not null) { + void* exceptionHandleAddress = exception.AllocateGCHandleAndGetAddress(); + + *outException = exceptionHandleAddress; + } + + return default(Int16); + } + } + + [UnmanagedCallersOnly(EntryPoint = "DNObjectFromInt16")] + internal static void* /* System.Object */ DNObjectFromInt16(Int16 number) + { + return ((System.Object)number).AllocateGCHandleAndGetAddress(); + } + #endregion Int16 + + #region UInt16 + [UnmanagedCallersOnly(EntryPoint = "DNObjectCastToUInt16")] + internal static UInt16 DNObjectCastToUInt16(void* /* System.Object */ @object, void** /* out System.Exception */ outException) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + + try { + UInt16 returnValue = (UInt16)objectConverted; + + if (outException is not null) { + *outException = null; + } + + return returnValue; + } catch (Exception exception) { + if (outException is not null) { + void* exceptionHandleAddress = exception.AllocateGCHandleAndGetAddress(); + + *outException = exceptionHandleAddress; + } + + return default(UInt16); + } + } + + [UnmanagedCallersOnly(EntryPoint = "DNObjectFromUInt16")] + internal static void* /* System.Object */ DNObjectFromUInt16(UInt16 number) + { + return ((System.Object)number).AllocateGCHandleAndGetAddress(); + } + #endregion UInt16 + + #region Int32 + [UnmanagedCallersOnly(EntryPoint = "DNObjectCastToInt32")] + internal static Int32 DNObjectCastToInt32(void* /* System.Object */ @object, void** /* out System.Exception */ outException) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + + try { + Int32 returnValue = (Int32)objectConverted; + + if (outException is not null) { + *outException = null; + } + + return returnValue; + } catch (Exception exception) { + if (outException is not null) { + void* exceptionHandleAddress = exception.AllocateGCHandleAndGetAddress(); + + *outException = exceptionHandleAddress; + } + + return default(Int32); + } + } + + [UnmanagedCallersOnly(EntryPoint = "DNObjectFromInt32")] + internal static void* /* System.Object */ DNObjectFromInt32(Int32 number) + { + return ((System.Object)number).AllocateGCHandleAndGetAddress(); + } + #endregion Int32 + + #region UInt32 + [UnmanagedCallersOnly(EntryPoint = "DNObjectCastToUInt32")] + internal static UInt32 DNObjectCastToUInt32(void* /* System.Object */ @object, void** /* out System.Exception */ outException) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + + try { + UInt32 returnValue = (UInt32)objectConverted; + + if (outException is not null) { + *outException = null; + } + + return returnValue; + } catch (Exception exception) { + if (outException is not null) { + void* exceptionHandleAddress = exception.AllocateGCHandleAndGetAddress(); + + *outException = exceptionHandleAddress; + } + + return default(UInt32); + } + } + + [UnmanagedCallersOnly(EntryPoint = "DNObjectFromUInt32")] + internal static void* /* System.Object */ DNObjectFromUInt32(UInt32 number) + { + return ((System.Object)number).AllocateGCHandleAndGetAddress(); + } + #endregion UInt32 + + #region Int64 + [UnmanagedCallersOnly(EntryPoint = "DNObjectCastToInt64")] + internal static Int64 DNObjectCastToInt64(void* /* System.Object */ @object, void** /* out System.Exception */ outException) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + + try { + Int64 returnValue = (Int64)objectConverted; + + if (outException is not null) { + *outException = null; + } + + return returnValue; + } catch (Exception exception) { + if (outException is not null) { + void* exceptionHandleAddress = exception.AllocateGCHandleAndGetAddress(); + + *outException = exceptionHandleAddress; + } + + return default(Int64); + } + } + + [UnmanagedCallersOnly(EntryPoint = "DNObjectFromInt64")] + internal static void* /* System.Object */ DNObjectFromInt64(Int64 number) + { + return ((System.Object)number).AllocateGCHandleAndGetAddress(); + } + #endregion Int64 + + #region UInt64 + [UnmanagedCallersOnly(EntryPoint = "DNObjectCastToUInt64")] + internal static UInt64 DNObjectCastToUInt64(void* /* System.Object */ @object, void** /* out System.Exception */ outException) + { + System.Object objectConverted = InteropUtils.GetInstance(@object); + + try { + UInt64 returnValue = (UInt64)objectConverted; + + if (outException is not null) { + *outException = null; + } + + return returnValue; + } catch (Exception exception) { + if (outException is not null) { + void* exceptionHandleAddress = exception.AllocateGCHandleAndGetAddress(); + + *outException = exceptionHandleAddress; + } + + return default(UInt64); + } + } + + [UnmanagedCallersOnly(EntryPoint = "DNObjectFromUInt64")] + internal static void* /* System.Object */ DNObjectFromUInt64(UInt64 number) + { + return ((System.Object)number).AllocateGCHandleAndGetAddress(); + } + #endregion UInt64 + #endregion Boxing/Unboxing of primitives +} + +// +// +// Omitted due to settings + +// +// +internal unsafe class System_Object +{ + [UnmanagedCallersOnly(EntryPoint = "System_Object_GetType")] + internal static void* /* System.Type */ System_Object_GetType(void* /* System.Object */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Object __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.GetType(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Object_ToString")] + internal static void* /* System.String */ System_Object_ToString(void* /* System.Object */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Object __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Object_Equals")] + internal static byte /* System.Boolean */ System_Object_Equals(void* /* System.Object */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Object __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Object_Equals_1")] + internal static byte /* System.Boolean */ System_Object_Equals_1(void* /* System.Object */ objA, void* /* System.Object */ objB, void** /* System.Exception */ __outException) + { + System.Object objAConverted = InteropUtils.GetInstance(objA); + System.Object objBConverted = InteropUtils.GetInstance(objB); + + try { + System.Boolean __returnValue = System.Object.Equals(objAConverted, objBConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Object_ReferenceEquals")] + internal static byte /* System.Boolean */ System_Object_ReferenceEquals(void* /* System.Object */ objA, void* /* System.Object */ objB, void** /* System.Exception */ __outException) + { + System.Object objAConverted = InteropUtils.GetInstance(objA); + System.Object objBConverted = InteropUtils.GetInstance(objB); + + try { + System.Boolean __returnValue = System.Object.ReferenceEquals(objAConverted, objBConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Object_GetHashCode")] + internal static int /* System.Int32 */ System_Object_GetHashCode(void* /* System.Object */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Object __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Object_Create")] + internal static void* /* System.Object */ System_Object_Create(void** /* System.Exception */ __outException) + { + + try { + System.Object __returnValue = new System.Object(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Object_TypeOf")] + internal static void* /* System.Type */ System_Object_TypeOf() + { + + System.Type __returnValue = typeof(System.Object); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Object_Destroy")] + internal static void /* System.Void */ System_Object_Destroy(void* /* System.Object */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Type +{ + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetType")] + internal static void* /* System.Type */ System_Type_GetType(void* /* System.String */ typeName, byte /* System.Boolean */ throwOnError, byte /* System.Boolean */ ignoreCase, void** /* System.Exception */ __outException) + { + System.String typeNameConverted = InteropUtils.GetInstance(typeName); + System.Boolean throwOnErrorConverted = throwOnError.ToBool(); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + + try { + System.Type __returnValue = System.Type.GetType(typeNameConverted, throwOnErrorConverted, ignoreCaseConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetType_1")] + internal static void* /* System.Type */ System_Type_GetType_1(void* /* System.String */ typeName, byte /* System.Boolean */ throwOnError, void** /* System.Exception */ __outException) + { + System.String typeNameConverted = InteropUtils.GetInstance(typeName); + System.Boolean throwOnErrorConverted = throwOnError.ToBool(); + + try { + System.Type __returnValue = System.Type.GetType(typeNameConverted, throwOnErrorConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetType_2")] + internal static void* /* System.Type */ System_Type_GetType_2(void* /* System.String */ typeName, void** /* System.Exception */ __outException) + { + System.String typeNameConverted = InteropUtils.GetInstance(typeName); + + try { + System.Type __returnValue = System.Type.GetType(typeNameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetTypeFromHandle")] + internal static void* /* System.Type */ System_Type_GetTypeFromHandle(void* /* System.RuntimeTypeHandle */ handle, void** /* System.Exception */ __outException) + { + System.RuntimeTypeHandle handleConverted = InteropUtils.GetInstance(handle); + + try { + System.Type __returnValue = System.Type.GetTypeFromHandle(handleConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetType_3")] + internal static void* /* System.Type */ System_Type_GetType_3(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.GetType(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetElementType")] + internal static void* /* System.Type */ System_Type_GetElementType(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.GetElementType(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetArrayRank")] + internal static int /* System.Int32 */ System_Type_GetArrayRank(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetArrayRank(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetGenericTypeDefinition")] + internal static void* /* System.Type */ System_Type_GetGenericTypeDefinition(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.GetGenericTypeDefinition(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetGenericArguments")] + internal static void* /* System.Type[] */ System_Type_GetGenericArguments(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetGenericArguments(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetOptionalCustomModifiers")] + internal static void* /* System.Type[] */ System_Type_GetOptionalCustomModifiers(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetOptionalCustomModifiers(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetRequiredCustomModifiers")] + internal static void* /* System.Type[] */ System_Type_GetRequiredCustomModifiers(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetRequiredCustomModifiers(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetGenericParameterConstraints")] + internal static void* /* System.Type[] */ System_Type_GetGenericParameterConstraints(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetGenericParameterConstraints(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsAssignableTo")] + internal static byte /* System.Boolean */ System_Type_IsAssignableTo(void* /* System.Type */ __self, void* /* System.Type */ targetType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Type targetTypeConverted = InteropUtils.GetInstance(targetType); + + try { + System.Boolean __returnValue = __selfConverted.IsAssignableTo(targetTypeConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetConstructor")] + internal static void* /* System.Reflection.ConstructorInfo */ System_Type_GetConstructor(void* /* System.Type */ __self, void* /* System.Type[] */ types, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Type[] typesConverted = InteropUtils.GetInstance(types); + + try { + System.Reflection.ConstructorInfo __returnValue = __selfConverted.GetConstructor(typesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetConstructor_1")] + internal static void* /* System.Reflection.ConstructorInfo */ System_Type_GetConstructor_1(void* /* System.Type */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Type[] */ types, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Type[] typesConverted = InteropUtils.GetInstance(types); + + try { + System.Reflection.ConstructorInfo __returnValue = __selfConverted.GetConstructor(bindingAttr, typesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetConstructor_2")] + internal static void* /* System.Reflection.ConstructorInfo */ System_Type_GetConstructor_2(void* /* System.Type */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.ConstructorInfo __returnValue = __selfConverted.GetConstructor(bindingAttr, binderConverted, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetConstructor_3")] + internal static void* /* System.Reflection.ConstructorInfo */ System_Type_GetConstructor_3(void* /* System.Type */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.Binder */ binder, System.Reflection.CallingConventions /* System.Reflection.CallingConventions */ callConvention, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.ConstructorInfo __returnValue = __selfConverted.GetConstructor(bindingAttr, binderConverted, callConvention, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetConstructors")] + internal static void* /* System.Reflection.ConstructorInfo[] */ System_Type_GetConstructors(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.ConstructorInfo[] __returnValue = __selfConverted.GetConstructors(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetConstructors_1")] + internal static void* /* System.Reflection.ConstructorInfo[] */ System_Type_GetConstructors_1(void* /* System.Type */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.ConstructorInfo[] __returnValue = __selfConverted.GetConstructors(bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetEvent")] + internal static void* /* System.Reflection.EventInfo */ System_Type_GetEvent(void* /* System.Type */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.EventInfo __returnValue = __selfConverted.GetEvent(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetEvent_1")] + internal static void* /* System.Reflection.EventInfo */ System_Type_GetEvent_1(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.EventInfo __returnValue = __selfConverted.GetEvent(nameConverted, bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetEvents")] + internal static void* /* System.Reflection.EventInfo[] */ System_Type_GetEvents(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.EventInfo[] __returnValue = __selfConverted.GetEvents(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetEvents_1")] + internal static void* /* System.Reflection.EventInfo[] */ System_Type_GetEvents_1(void* /* System.Type */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.EventInfo[] __returnValue = __selfConverted.GetEvents(bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetField")] + internal static void* /* System.Reflection.FieldInfo */ System_Type_GetField(void* /* System.Type */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.FieldInfo __returnValue = __selfConverted.GetField(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetField_1")] + internal static void* /* System.Reflection.FieldInfo */ System_Type_GetField_1(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.FieldInfo __returnValue = __selfConverted.GetField(nameConverted, bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetFields")] + internal static void* /* System.Reflection.FieldInfo[] */ System_Type_GetFields(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.FieldInfo[] __returnValue = __selfConverted.GetFields(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetFields_1")] + internal static void* /* System.Reflection.FieldInfo[] */ System_Type_GetFields_1(void* /* System.Type */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.FieldInfo[] __returnValue = __selfConverted.GetFields(bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetFunctionPointerCallingConventions")] + internal static void* /* System.Type[] */ System_Type_GetFunctionPointerCallingConventions(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetFunctionPointerCallingConventions(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetFunctionPointerReturnType")] + internal static void* /* System.Type */ System_Type_GetFunctionPointerReturnType(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.GetFunctionPointerReturnType(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetFunctionPointerParameterTypes")] + internal static void* /* System.Type[] */ System_Type_GetFunctionPointerParameterTypes(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetFunctionPointerParameterTypes(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMember")] + internal static void* /* System.Reflection.MemberInfo[] */ System_Type_GetMember(void* /* System.Type */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.MemberInfo[] __returnValue = __selfConverted.GetMember(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMember_1")] + internal static void* /* System.Reflection.MemberInfo[] */ System_Type_GetMember_1(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.MemberInfo[] __returnValue = __selfConverted.GetMember(nameConverted, bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMember_2")] + internal static void* /* System.Reflection.MemberInfo[] */ System_Type_GetMember_2(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.MemberTypes /* System.Reflection.MemberTypes */ type, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.MemberInfo[] __returnValue = __selfConverted.GetMember(nameConverted, type, bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMembers")] + internal static void* /* System.Reflection.MemberInfo[] */ System_Type_GetMembers(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MemberInfo[] __returnValue = __selfConverted.GetMembers(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMemberWithSameMetadataDefinitionAs")] + internal static void* /* System.Reflection.MemberInfo */ System_Type_GetMemberWithSameMetadataDefinitionAs(void* /* System.Type */ __self, void* /* System.Reflection.MemberInfo */ member, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Reflection.MemberInfo memberConverted = InteropUtils.GetInstance(member); + + try { + System.Reflection.MemberInfo __returnValue = __selfConverted.GetMemberWithSameMetadataDefinitionAs(memberConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMembers_1")] + internal static void* /* System.Reflection.MemberInfo[] */ System_Type_GetMembers_1(void* /* System.Type */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MemberInfo[] __returnValue = __selfConverted.GetMembers(bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMethod")] + internal static void* /* System.Reflection.MethodInfo */ System_Type_GetMethod(void* /* System.Type */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMethod_1")] + internal static void* /* System.Reflection.MethodInfo */ System_Type_GetMethod_1(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMethod_2")] + internal static void* /* System.Reflection.MethodInfo */ System_Type_GetMethod_2(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Type[] */ types, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, bindingAttr, typesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMethod_3")] + internal static void* /* System.Reflection.MethodInfo */ System_Type_GetMethod_3(void* /* System.Type */ __self, void* /* System.String */ name, void* /* System.Type[] */ types, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, typesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMethod_4")] + internal static void* /* System.Reflection.MethodInfo */ System_Type_GetMethod_4(void* /* System.Type */ __self, void* /* System.String */ name, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMethod_5")] + internal static void* /* System.Reflection.MethodInfo */ System_Type_GetMethod_5(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, bindingAttr, binderConverted, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMethod_6")] + internal static void* /* System.Reflection.MethodInfo */ System_Type_GetMethod_6(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.Binder */ binder, System.Reflection.CallingConventions /* System.Reflection.CallingConventions */ callConvention, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, bindingAttr, binderConverted, callConvention, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMethod_7")] + internal static void* /* System.Reflection.MethodInfo */ System_Type_GetMethod_7(void* /* System.Type */ __self, void* /* System.String */ name, int /* System.Int32 */ genericParameterCount, void* /* System.Type[] */ types, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, genericParameterCount, typesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMethod_8")] + internal static void* /* System.Reflection.MethodInfo */ System_Type_GetMethod_8(void* /* System.Type */ __self, void* /* System.String */ name, int /* System.Int32 */ genericParameterCount, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, genericParameterCount, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMethod_9")] + internal static void* /* System.Reflection.MethodInfo */ System_Type_GetMethod_9(void* /* System.Type */ __self, void* /* System.String */ name, int /* System.Int32 */ genericParameterCount, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, genericParameterCount, bindingAttr, binderConverted, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMethod_10")] + internal static void* /* System.Reflection.MethodInfo */ System_Type_GetMethod_10(void* /* System.Type */ __self, void* /* System.String */ name, int /* System.Int32 */ genericParameterCount, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.Binder */ binder, System.Reflection.CallingConventions /* System.Reflection.CallingConventions */ callConvention, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, genericParameterCount, bindingAttr, binderConverted, callConvention, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMethods")] + internal static void* /* System.Reflection.MethodInfo[] */ System_Type_GetMethods(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo[] __returnValue = __selfConverted.GetMethods(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetMethods_1")] + internal static void* /* System.Reflection.MethodInfo[] */ System_Type_GetMethods_1(void* /* System.Type */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo[] __returnValue = __selfConverted.GetMethods(bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetNestedType")] + internal static void* /* System.Type */ System_Type_GetNestedType(void* /* System.Type */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Type __returnValue = __selfConverted.GetNestedType(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetNestedType_1")] + internal static void* /* System.Type */ System_Type_GetNestedType_1(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Type __returnValue = __selfConverted.GetNestedType(nameConverted, bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetNestedTypes")] + internal static void* /* System.Type[] */ System_Type_GetNestedTypes(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetNestedTypes(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetNestedTypes_1")] + internal static void* /* System.Type[] */ System_Type_GetNestedTypes_1(void* /* System.Type */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetNestedTypes(bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetProperty")] + internal static void* /* System.Reflection.PropertyInfo */ System_Type_GetProperty(void* /* System.Type */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.PropertyInfo __returnValue = __selfConverted.GetProperty(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetProperty_1")] + internal static void* /* System.Reflection.PropertyInfo */ System_Type_GetProperty_1(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.PropertyInfo __returnValue = __selfConverted.GetProperty(nameConverted, bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetProperty_2")] + internal static void* /* System.Reflection.PropertyInfo */ System_Type_GetProperty_2(void* /* System.Type */ __self, void* /* System.String */ name, void* /* System.Type */ returnType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Type returnTypeConverted = InteropUtils.GetInstance(returnType); + + try { + System.Reflection.PropertyInfo __returnValue = __selfConverted.GetProperty(nameConverted, returnTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetProperty_3")] + internal static void* /* System.Reflection.PropertyInfo */ System_Type_GetProperty_3(void* /* System.Type */ __self, void* /* System.String */ name, void* /* System.Type[] */ types, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + + try { + System.Reflection.PropertyInfo __returnValue = __selfConverted.GetProperty(nameConverted, typesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetProperty_4")] + internal static void* /* System.Reflection.PropertyInfo */ System_Type_GetProperty_4(void* /* System.Type */ __self, void* /* System.String */ name, void* /* System.Type */ returnType, void* /* System.Type[] */ types, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Type returnTypeConverted = InteropUtils.GetInstance(returnType); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + + try { + System.Reflection.PropertyInfo __returnValue = __selfConverted.GetProperty(nameConverted, returnTypeConverted, typesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetProperty_5")] + internal static void* /* System.Reflection.PropertyInfo */ System_Type_GetProperty_5(void* /* System.Type */ __self, void* /* System.String */ name, void* /* System.Type */ returnType, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Type returnTypeConverted = InteropUtils.GetInstance(returnType); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.PropertyInfo __returnValue = __selfConverted.GetProperty(nameConverted, returnTypeConverted, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetProperty_6")] + internal static void* /* System.Reflection.PropertyInfo */ System_Type_GetProperty_6(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Type */ returnType, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Type returnTypeConverted = InteropUtils.GetInstance(returnType); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.PropertyInfo __returnValue = __selfConverted.GetProperty(nameConverted, bindingAttr, binderConverted, returnTypeConverted, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetProperties")] + internal static void* /* System.Reflection.PropertyInfo[] */ System_Type_GetProperties(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.PropertyInfo[] __returnValue = __selfConverted.GetProperties(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetProperties_1")] + internal static void* /* System.Reflection.PropertyInfo[] */ System_Type_GetProperties_1(void* /* System.Type */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.PropertyInfo[] __returnValue = __selfConverted.GetProperties(bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetDefaultMembers")] + internal static void* /* System.Reflection.MemberInfo[] */ System_Type_GetDefaultMembers(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MemberInfo[] __returnValue = __selfConverted.GetDefaultMembers(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetTypeHandle")] + internal static void* /* System.RuntimeTypeHandle */ System_Type_GetTypeHandle(void* /* System.Object */ o, void** /* System.Exception */ __outException) + { + System.Object oConverted = InteropUtils.GetInstance(o); + + try { + System.RuntimeTypeHandle __returnValue = System.Type.GetTypeHandle(oConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetTypeArray")] + internal static void* /* System.Type[] */ System_Type_GetTypeArray(void* /* System.Object[] */ args, void** /* System.Exception */ __outException) + { + System.Object[] argsConverted = InteropUtils.GetInstance(args); + + try { + System.Type[] __returnValue = System.Type.GetTypeArray(argsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetTypeCode")] + internal static System.TypeCode /* System.TypeCode */ System_Type_GetTypeCode(void* /* System.Type */ type, void** /* System.Exception */ __outException) + { + System.Type typeConverted = InteropUtils.GetInstance(type); + + try { + System.TypeCode __returnValue = System.Type.GetTypeCode(typeConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.TypeCode); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetTypeFromCLSID")] + internal static void* /* System.Type */ System_Type_GetTypeFromCLSID(void* /* System.Guid */ clsid, void** /* System.Exception */ __outException) + { + System.Guid clsidConverted = InteropUtils.GetInstance(clsid); + + try { + System.Type __returnValue = System.Type.GetTypeFromCLSID(clsidConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetTypeFromCLSID_1")] + internal static void* /* System.Type */ System_Type_GetTypeFromCLSID_1(void* /* System.Guid */ clsid, byte /* System.Boolean */ throwOnError, void** /* System.Exception */ __outException) + { + System.Guid clsidConverted = InteropUtils.GetInstance(clsid); + System.Boolean throwOnErrorConverted = throwOnError.ToBool(); + + try { + System.Type __returnValue = System.Type.GetTypeFromCLSID(clsidConverted, throwOnErrorConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetTypeFromCLSID_2")] + internal static void* /* System.Type */ System_Type_GetTypeFromCLSID_2(void* /* System.Guid */ clsid, void* /* System.String */ server, void** /* System.Exception */ __outException) + { + System.Guid clsidConverted = InteropUtils.GetInstance(clsid); + System.String serverConverted = InteropUtils.GetInstance(server); + + try { + System.Type __returnValue = System.Type.GetTypeFromCLSID(clsidConverted, serverConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetTypeFromCLSID_3")] + internal static void* /* System.Type */ System_Type_GetTypeFromCLSID_3(void* /* System.Guid */ clsid, void* /* System.String */ server, byte /* System.Boolean */ throwOnError, void** /* System.Exception */ __outException) + { + System.Guid clsidConverted = InteropUtils.GetInstance(clsid); + System.String serverConverted = InteropUtils.GetInstance(server); + System.Boolean throwOnErrorConverted = throwOnError.ToBool(); + + try { + System.Type __returnValue = System.Type.GetTypeFromCLSID(clsidConverted, serverConverted, throwOnErrorConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetTypeFromProgID")] + internal static void* /* System.Type */ System_Type_GetTypeFromProgID(void* /* System.String */ progID, void** /* System.Exception */ __outException) + { + System.String progIDConverted = InteropUtils.GetInstance(progID); + + try { + System.Type __returnValue = System.Type.GetTypeFromProgID(progIDConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetTypeFromProgID_1")] + internal static void* /* System.Type */ System_Type_GetTypeFromProgID_1(void* /* System.String */ progID, byte /* System.Boolean */ throwOnError, void** /* System.Exception */ __outException) + { + System.String progIDConverted = InteropUtils.GetInstance(progID); + System.Boolean throwOnErrorConverted = throwOnError.ToBool(); + + try { + System.Type __returnValue = System.Type.GetTypeFromProgID(progIDConverted, throwOnErrorConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetTypeFromProgID_2")] + internal static void* /* System.Type */ System_Type_GetTypeFromProgID_2(void* /* System.String */ progID, void* /* System.String */ server, void** /* System.Exception */ __outException) + { + System.String progIDConverted = InteropUtils.GetInstance(progID); + System.String serverConverted = InteropUtils.GetInstance(server); + + try { + System.Type __returnValue = System.Type.GetTypeFromProgID(progIDConverted, serverConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetTypeFromProgID_3")] + internal static void* /* System.Type */ System_Type_GetTypeFromProgID_3(void* /* System.String */ progID, void* /* System.String */ server, byte /* System.Boolean */ throwOnError, void** /* System.Exception */ __outException) + { + System.String progIDConverted = InteropUtils.GetInstance(progID); + System.String serverConverted = InteropUtils.GetInstance(server); + System.Boolean throwOnErrorConverted = throwOnError.ToBool(); + + try { + System.Type __returnValue = System.Type.GetTypeFromProgID(progIDConverted, serverConverted, throwOnErrorConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_InvokeMember")] + internal static void* /* System.Object */ System_Type_InvokeMember(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ invokeAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Object */ target, void* /* System.Object[] */ args, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Object targetConverted = InteropUtils.GetInstance(target); + System.Object[] argsConverted = InteropUtils.GetInstance(args); + + try { + System.Object __returnValue = __selfConverted.InvokeMember(nameConverted, invokeAttr, binderConverted, targetConverted, argsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_InvokeMember_1")] + internal static void* /* System.Object */ System_Type_InvokeMember_1(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ invokeAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Object */ target, void* /* System.Object[] */ args, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Object targetConverted = InteropUtils.GetInstance(target); + System.Object[] argsConverted = InteropUtils.GetInstance(args); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Object __returnValue = __selfConverted.InvokeMember(nameConverted, invokeAttr, binderConverted, targetConverted, argsConverted, cultureConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_InvokeMember_2")] + internal static void* /* System.Object */ System_Type_InvokeMember_2(void* /* System.Type */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ invokeAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Object */ target, void* /* System.Object[] */ args, void* /* System.Reflection.ParameterModifier[] */ modifiers, void* /* System.Globalization.CultureInfo */ culture, void* /* System.String[] */ namedParameters, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Object targetConverted = InteropUtils.GetInstance(target); + System.Object[] argsConverted = InteropUtils.GetInstance(args); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + System.String[] namedParametersConverted = InteropUtils.GetInstance(namedParameters); + + try { + System.Object __returnValue = __selfConverted.InvokeMember(nameConverted, invokeAttr, binderConverted, targetConverted, argsConverted, modifiersConverted, cultureConverted, namedParametersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetInterface")] + internal static void* /* System.Type */ System_Type_GetInterface(void* /* System.Type */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Type __returnValue = __selfConverted.GetInterface(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetInterface_1")] + internal static void* /* System.Type */ System_Type_GetInterface_1(void* /* System.Type */ __self, void* /* System.String */ name, byte /* System.Boolean */ ignoreCase, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + + try { + System.Type __returnValue = __selfConverted.GetInterface(nameConverted, ignoreCaseConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetInterfaces")] + internal static void* /* System.Type[] */ System_Type_GetInterfaces(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetInterfaces(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetInterfaceMap")] + internal static void* /* System.Reflection.InterfaceMapping */ System_Type_GetInterfaceMap(void* /* System.Type */ __self, void* /* System.Type */ interfaceType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Type interfaceTypeConverted = InteropUtils.GetInstance(interfaceType); + + try { + System.Reflection.InterfaceMapping __returnValue = __selfConverted.GetInterfaceMap(interfaceTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsInstanceOfType")] + internal static byte /* System.Boolean */ System_Type_IsInstanceOfType(void* /* System.Type */ __self, void* /* System.Object */ o, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Object oConverted = InteropUtils.GetInstance(o); + + try { + System.Boolean __returnValue = __selfConverted.IsInstanceOfType(oConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsEquivalentTo")] + internal static byte /* System.Boolean */ System_Type_IsEquivalentTo(void* /* System.Type */ __self, void* /* System.Type */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Type otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.IsEquivalentTo(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetEnumUnderlyingType")] + internal static void* /* System.Type */ System_Type_GetEnumUnderlyingType(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.GetEnumUnderlyingType(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetEnumValues")] + internal static void* /* System.Array */ System_Type_GetEnumValues(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Array __returnValue = __selfConverted.GetEnumValues(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetEnumValuesAsUnderlyingType")] + internal static void* /* System.Array */ System_Type_GetEnumValuesAsUnderlyingType(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Array __returnValue = __selfConverted.GetEnumValuesAsUnderlyingType(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_MakeArrayType")] + internal static void* /* System.Type */ System_Type_MakeArrayType(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.MakeArrayType(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_MakeArrayType_1")] + internal static void* /* System.Type */ System_Type_MakeArrayType_1(void* /* System.Type */ __self, int /* System.Int32 */ rank, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.MakeArrayType(rank); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_MakeByRefType")] + internal static void* /* System.Type */ System_Type_MakeByRefType(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.MakeByRefType(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_MakeGenericType")] + internal static void* /* System.Type */ System_Type_MakeGenericType(void* /* System.Type */ __self, void* /* System.Type[] */ typeArguments, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Type[] typeArgumentsConverted = InteropUtils.GetInstance(typeArguments); + + try { + System.Type __returnValue = __selfConverted.MakeGenericType(typeArgumentsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_MakePointerType")] + internal static void* /* System.Type */ System_Type_MakePointerType(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.MakePointerType(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_MakeGenericSignatureType")] + internal static void* /* System.Type */ System_Type_MakeGenericSignatureType(void* /* System.Type */ genericTypeDefinition, void* /* System.Type[] */ typeArguments, void** /* System.Exception */ __outException) + { + System.Type genericTypeDefinitionConverted = InteropUtils.GetInstance(genericTypeDefinition); + System.Type[] typeArgumentsConverted = InteropUtils.GetInstance(typeArguments); + + try { + System.Type __returnValue = System.Type.MakeGenericSignatureType(genericTypeDefinitionConverted, typeArgumentsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_MakeGenericMethodParameter")] + internal static void* /* System.Type */ System_Type_MakeGenericMethodParameter(int /* System.Int32 */ position, void** /* System.Exception */ __outException) + { + + try { + System.Type __returnValue = System.Type.MakeGenericMethodParameter(position); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_ToString")] + internal static void* /* System.String */ System_Type_ToString(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_Equals")] + internal static byte /* System.Boolean */ System_Type_Equals(void* /* System.Type */ __self, void* /* System.Object */ o, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Object oConverted = InteropUtils.GetInstance(o); + + try { + System.Boolean __returnValue = __selfConverted.Equals(oConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetHashCode")] + internal static int /* System.Int32 */ System_Type_GetHashCode(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_Equals_1")] + internal static byte /* System.Boolean */ System_Type_Equals_1(void* /* System.Type */ __self, void* /* System.Type */ o, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Type oConverted = InteropUtils.GetInstance(o); + + try { + System.Boolean __returnValue = __selfConverted.Equals(oConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_ReflectionOnlyGetType")] + internal static void* /* System.Type */ System_Type_ReflectionOnlyGetType(void* /* System.String */ typeName, byte /* System.Boolean */ throwIfNotFound, byte /* System.Boolean */ ignoreCase, void** /* System.Exception */ __outException) + { + System.String typeNameConverted = InteropUtils.GetInstance(typeName); + System.Boolean throwIfNotFoundConverted = throwIfNotFound.ToBool(); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + + try { + System.Type __returnValue = System.Type.ReflectionOnlyGetType(typeNameConverted, throwIfNotFoundConverted, ignoreCaseConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsEnumDefined")] + internal static byte /* System.Boolean */ System_Type_IsEnumDefined(void* /* System.Type */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.IsEnumDefined(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetEnumName")] + internal static void* /* System.String */ System_Type_GetEnumName(void* /* System.Type */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.String __returnValue = __selfConverted.GetEnumName(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GetEnumNames")] + internal static void* /* System.String[] */ System_Type_GetEnumNames(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.GetEnumNames(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_FindInterfaces")] + internal static void* /* System.Type[] */ System_Type_FindInterfaces(void* /* System.Type */ __self, void* /* System.Reflection.TypeFilter */ filter, void* /* System.Object */ filterCriteria, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Reflection.TypeFilter filterConverted = InteropUtils.GetInstance(filter)?.Trampoline; + System.Object filterCriteriaConverted = InteropUtils.GetInstance(filterCriteria); + + try { + System.Type[] __returnValue = __selfConverted.FindInterfaces(filterConverted, filterCriteriaConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_FindMembers")] + internal static void* /* System.Reflection.MemberInfo[] */ System_Type_FindMembers(void* /* System.Type */ __self, System.Reflection.MemberTypes /* System.Reflection.MemberTypes */ memberType, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.MemberFilter */ filter, void* /* System.Object */ filterCriteria, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Reflection.MemberFilter filterConverted = InteropUtils.GetInstance(filter)?.Trampoline; + System.Object filterCriteriaConverted = InteropUtils.GetInstance(filterCriteria); + + try { + System.Reflection.MemberInfo[] __returnValue = __selfConverted.FindMembers(memberType, bindingAttr, filterConverted, filterCriteriaConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsSubclassOf")] + internal static byte /* System.Boolean */ System_Type_IsSubclassOf(void* /* System.Type */ __self, void* /* System.Type */ c, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Type cConverted = InteropUtils.GetInstance(c); + + try { + System.Boolean __returnValue = __selfConverted.IsSubclassOf(cConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsAssignableFrom")] + internal static byte /* System.Boolean */ System_Type_IsAssignableFrom(void* /* System.Type */ __self, void* /* System.Type */ c, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + System.Type cConverted = InteropUtils.GetInstance(c); + + try { + System.Boolean __returnValue = __selfConverted.IsAssignableFrom(cConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsInterface_Get")] + internal static byte /* System.Boolean */ System_Type_IsInterface_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsInterface; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_MemberType_Get")] + internal static System.Reflection.MemberTypes /* System.Reflection.MemberTypes */ System_Type_MemberType_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MemberTypes __returnValue = __selfConverted.MemberType; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.MemberTypes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_Namespace_Get")] + internal static void* /* System.String */ System_Type_Namespace_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Namespace; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_AssemblyQualifiedName_Get")] + internal static void* /* System.String */ System_Type_AssemblyQualifiedName_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.AssemblyQualifiedName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_FullName_Get")] + internal static void* /* System.String */ System_Type_FullName_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.FullName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_Assembly_Get")] + internal static void* /* System.Reflection.Assembly */ System_Type_Assembly_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.Assembly __returnValue = __selfConverted.Assembly; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_Module_Get")] + internal static void* /* System.Reflection.Module */ System_Type_Module_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.Module __returnValue = __selfConverted.Module; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsNested_Get")] + internal static byte /* System.Boolean */ System_Type_IsNested_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsNested; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_DeclaringType_Get")] + internal static void* /* System.Type */ System_Type_DeclaringType_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.DeclaringType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_DeclaringMethod_Get")] + internal static void* /* System.Reflection.MethodBase */ System_Type_DeclaringMethod_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodBase __returnValue = __selfConverted.DeclaringMethod; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_ReflectedType_Get")] + internal static void* /* System.Type */ System_Type_ReflectedType_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.ReflectedType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_UnderlyingSystemType_Get")] + internal static void* /* System.Type */ System_Type_UnderlyingSystemType_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.UnderlyingSystemType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsTypeDefinition_Get")] + internal static byte /* System.Boolean */ System_Type_IsTypeDefinition_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsTypeDefinition; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsArray_Get")] + internal static byte /* System.Boolean */ System_Type_IsArray_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsArray; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsByRef_Get")] + internal static byte /* System.Boolean */ System_Type_IsByRef_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsByRef; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsPointer_Get")] + internal static byte /* System.Boolean */ System_Type_IsPointer_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsPointer; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsConstructedGenericType_Get")] + internal static byte /* System.Boolean */ System_Type_IsConstructedGenericType_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsConstructedGenericType; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsGenericParameter_Get")] + internal static byte /* System.Boolean */ System_Type_IsGenericParameter_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsGenericParameter; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsGenericTypeParameter_Get")] + internal static byte /* System.Boolean */ System_Type_IsGenericTypeParameter_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsGenericTypeParameter; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsGenericMethodParameter_Get")] + internal static byte /* System.Boolean */ System_Type_IsGenericMethodParameter_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsGenericMethodParameter; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsGenericType_Get")] + internal static byte /* System.Boolean */ System_Type_IsGenericType_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsGenericType; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsGenericTypeDefinition_Get")] + internal static byte /* System.Boolean */ System_Type_IsGenericTypeDefinition_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsGenericTypeDefinition; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsSZArray_Get")] + internal static byte /* System.Boolean */ System_Type_IsSZArray_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSZArray; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsVariableBoundArray_Get")] + internal static byte /* System.Boolean */ System_Type_IsVariableBoundArray_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsVariableBoundArray; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsByRefLike_Get")] + internal static byte /* System.Boolean */ System_Type_IsByRefLike_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsByRefLike; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsFunctionPointer_Get")] + internal static byte /* System.Boolean */ System_Type_IsFunctionPointer_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFunctionPointer; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsUnmanagedFunctionPointer_Get")] + internal static byte /* System.Boolean */ System_Type_IsUnmanagedFunctionPointer_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsUnmanagedFunctionPointer; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_HasElementType_Get")] + internal static byte /* System.Boolean */ System_Type_HasElementType_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.HasElementType; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GenericTypeArguments_Get")] + internal static void* /* System.Type[] */ System_Type_GenericTypeArguments_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GenericTypeArguments; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GenericParameterPosition_Get")] + internal static int /* System.Int32 */ System_Type_GenericParameterPosition_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GenericParameterPosition; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GenericParameterAttributes_Get")] + internal static System.Reflection.GenericParameterAttributes /* System.Reflection.GenericParameterAttributes */ System_Type_GenericParameterAttributes_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.GenericParameterAttributes __returnValue = __selfConverted.GenericParameterAttributes; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.GenericParameterAttributes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_Attributes_Get")] + internal static System.Reflection.TypeAttributes /* System.Reflection.TypeAttributes */ System_Type_Attributes_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.TypeAttributes __returnValue = __selfConverted.Attributes; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.TypeAttributes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsAbstract_Get")] + internal static byte /* System.Boolean */ System_Type_IsAbstract_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsAbstract; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsImport_Get")] + internal static byte /* System.Boolean */ System_Type_IsImport_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsImport; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsSealed_Get")] + internal static byte /* System.Boolean */ System_Type_IsSealed_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSealed; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsSpecialName_Get")] + internal static byte /* System.Boolean */ System_Type_IsSpecialName_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSpecialName; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsClass_Get")] + internal static byte /* System.Boolean */ System_Type_IsClass_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsClass; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsNestedAssembly_Get")] + internal static byte /* System.Boolean */ System_Type_IsNestedAssembly_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsNestedAssembly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsNestedFamANDAssem_Get")] + internal static byte /* System.Boolean */ System_Type_IsNestedFamANDAssem_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsNestedFamANDAssem; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsNestedFamily_Get")] + internal static byte /* System.Boolean */ System_Type_IsNestedFamily_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsNestedFamily; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsNestedFamORAssem_Get")] + internal static byte /* System.Boolean */ System_Type_IsNestedFamORAssem_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsNestedFamORAssem; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsNestedPrivate_Get")] + internal static byte /* System.Boolean */ System_Type_IsNestedPrivate_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsNestedPrivate; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsNestedPublic_Get")] + internal static byte /* System.Boolean */ System_Type_IsNestedPublic_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsNestedPublic; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsNotPublic_Get")] + internal static byte /* System.Boolean */ System_Type_IsNotPublic_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsNotPublic; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsPublic_Get")] + internal static byte /* System.Boolean */ System_Type_IsPublic_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsPublic; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsAutoLayout_Get")] + internal static byte /* System.Boolean */ System_Type_IsAutoLayout_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsAutoLayout; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsExplicitLayout_Get")] + internal static byte /* System.Boolean */ System_Type_IsExplicitLayout_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsExplicitLayout; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsLayoutSequential_Get")] + internal static byte /* System.Boolean */ System_Type_IsLayoutSequential_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsLayoutSequential; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsAnsiClass_Get")] + internal static byte /* System.Boolean */ System_Type_IsAnsiClass_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsAnsiClass; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsAutoClass_Get")] + internal static byte /* System.Boolean */ System_Type_IsAutoClass_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsAutoClass; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsUnicodeClass_Get")] + internal static byte /* System.Boolean */ System_Type_IsUnicodeClass_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsUnicodeClass; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsCOMObject_Get")] + internal static byte /* System.Boolean */ System_Type_IsCOMObject_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCOMObject; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsContextful_Get")] + internal static byte /* System.Boolean */ System_Type_IsContextful_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsContextful; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsEnum_Get")] + internal static byte /* System.Boolean */ System_Type_IsEnum_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsEnum; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsMarshalByRef_Get")] + internal static byte /* System.Boolean */ System_Type_IsMarshalByRef_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsMarshalByRef; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsPrimitive_Get")] + internal static byte /* System.Boolean */ System_Type_IsPrimitive_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsPrimitive; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsValueType_Get")] + internal static byte /* System.Boolean */ System_Type_IsValueType_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsValueType; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsSignatureType_Get")] + internal static byte /* System.Boolean */ System_Type_IsSignatureType_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSignatureType; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsSecurityCritical_Get")] + internal static byte /* System.Boolean */ System_Type_IsSecurityCritical_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSecurityCritical; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsSecuritySafeCritical_Get")] + internal static byte /* System.Boolean */ System_Type_IsSecuritySafeCritical_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSecuritySafeCritical; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsSecurityTransparent_Get")] + internal static byte /* System.Boolean */ System_Type_IsSecurityTransparent_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSecurityTransparent; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_StructLayoutAttribute_Get")] + internal static void* /* System.Runtime.InteropServices.StructLayoutAttribute */ System_Type_StructLayoutAttribute_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Runtime.InteropServices.StructLayoutAttribute __returnValue = __selfConverted.StructLayoutAttribute; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_TypeInitializer_Get")] + internal static void* /* System.Reflection.ConstructorInfo */ System_Type_TypeInitializer_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.ConstructorInfo __returnValue = __selfConverted.TypeInitializer; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_TypeHandle_Get")] + internal static void* /* System.RuntimeTypeHandle */ System_Type_TypeHandle_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.RuntimeTypeHandle __returnValue = __selfConverted.TypeHandle; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_GUID_Get")] + internal static void* /* System.Guid */ System_Type_GUID_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Guid __returnValue = __selfConverted.GUID; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_BaseType_Get")] + internal static void* /* System.Type */ System_Type_BaseType_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.BaseType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_DefaultBinder_Get")] + internal static void* /* System.Reflection.Binder */ System_Type_DefaultBinder_Get(void** /* System.Exception */ __outException) + { + + try { + System.Reflection.Binder __returnValue = System.Type.DefaultBinder; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsSerializable_Get")] + internal static byte /* System.Boolean */ System_Type_IsSerializable_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSerializable; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_ContainsGenericParameters_Get")] + internal static byte /* System.Boolean */ System_Type_ContainsGenericParameters_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.ContainsGenericParameters; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_IsVisible_Get")] + internal static byte /* System.Boolean */ System_Type_IsVisible_Get(void* /* System.Type */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Type __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsVisible; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_Delimiter_Get")] + internal static char /* System.Char */ System_Type_Delimiter_Get() + { + + System.Char __returnValue = System.Type.Delimiter; + return __returnValue; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_EmptyTypes_Get")] + internal static void* /* System.Type[] */ System_Type_EmptyTypes_Get() + { + + System.Type[] __returnValue = System.Type.EmptyTypes; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_Missing_Get")] + internal static void* /* System.Object */ System_Type_Missing_Get() + { + + System.Object __returnValue = System.Type.Missing; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_FilterAttribute_Get")] + internal static void* /* System.Reflection.MemberFilter */ System_Type_FilterAttribute_Get() + { + + System.Reflection.MemberFilter __returnValue = System.Type.FilterAttribute; + void* __returnValueNative = new System_Reflection_MemberFilter(__returnValue).AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_FilterName_Get")] + internal static void* /* System.Reflection.MemberFilter */ System_Type_FilterName_Get() + { + + System.Reflection.MemberFilter __returnValue = System.Type.FilterName; + void* __returnValueNative = new System_Reflection_MemberFilter(__returnValue).AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_FilterNameIgnoreCase_Get")] + internal static void* /* System.Reflection.MemberFilter */ System_Type_FilterNameIgnoreCase_Get() + { + + System.Reflection.MemberFilter __returnValue = System.Type.FilterNameIgnoreCase; + void* __returnValueNative = new System_Reflection_MemberFilter(__returnValue).AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Type_TypeOf")] + internal static void* /* System.Type */ System_Type_TypeOf() + { + + System.Type __returnValue = typeof(System.Type); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Type_Destroy")] + internal static void /* System.Void */ System_Type_Destroy(void* /* System.Type */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_MemberInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_HasSameMetadataDefinitionAs")] + internal static byte /* System.Boolean */ System_Reflection_MemberInfo_HasSameMetadataDefinitionAs(void* /* System.Reflection.MemberInfo */ __self, void* /* System.Reflection.MemberInfo */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MemberInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Reflection.MemberInfo otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.HasSameMetadataDefinitionAs(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_IsDefined")] + internal static byte /* System.Boolean */ System_Reflection_MemberInfo_IsDefined(void* /* System.Reflection.MemberInfo */ __self, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MemberInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Boolean __returnValue = __selfConverted.IsDefined(attributeTypeConverted, inheritConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_GetCustomAttributes")] + internal static void* /* System.Object[] */ System_Reflection_MemberInfo_GetCustomAttributes(void* /* System.Reflection.MemberInfo */ __self, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MemberInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Object[] __returnValue = __selfConverted.GetCustomAttributes(inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_GetCustomAttributes_1")] + internal static void* /* System.Object[] */ System_Reflection_MemberInfo_GetCustomAttributes_1(void* /* System.Reflection.MemberInfo */ __self, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MemberInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Object[] __returnValue = __selfConverted.GetCustomAttributes(attributeTypeConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_Equals")] + internal static byte /* System.Boolean */ System_Reflection_MemberInfo_Equals(void* /* System.Reflection.MemberInfo */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MemberInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_GetHashCode")] + internal static int /* System.Int32 */ System_Reflection_MemberInfo_GetHashCode(void* /* System.Reflection.MemberInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MemberInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_MemberType_Get")] + internal static System.Reflection.MemberTypes /* System.Reflection.MemberTypes */ System_Reflection_MemberInfo_MemberType_Get(void* /* System.Reflection.MemberInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MemberInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MemberTypes __returnValue = __selfConverted.MemberType; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.MemberTypes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_Name_Get")] + internal static void* /* System.String */ System_Reflection_MemberInfo_Name_Get(void* /* System.Reflection.MemberInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MemberInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Name; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_DeclaringType_Get")] + internal static void* /* System.Type */ System_Reflection_MemberInfo_DeclaringType_Get(void* /* System.Reflection.MemberInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MemberInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.DeclaringType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_ReflectedType_Get")] + internal static void* /* System.Type */ System_Reflection_MemberInfo_ReflectedType_Get(void* /* System.Reflection.MemberInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MemberInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.ReflectedType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_Module_Get")] + internal static void* /* System.Reflection.Module */ System_Reflection_MemberInfo_Module_Get(void* /* System.Reflection.MemberInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MemberInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.Module __returnValue = __selfConverted.Module; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_IsCollectible_Get")] + internal static byte /* System.Boolean */ System_Reflection_MemberInfo_IsCollectible_Get(void* /* System.Reflection.MemberInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MemberInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCollectible; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_MetadataToken_Get")] + internal static int /* System.Int32 */ System_Reflection_MemberInfo_MetadataToken_Get(void* /* System.Reflection.MemberInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MemberInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.MetadataToken; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_TypeOf")] + internal static void* /* System.Type */ System_Reflection_MemberInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.MemberInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberInfo_Destroy")] + internal static void /* System.Void */ System_Reflection_MemberInfo_Destroy(void* /* System.Reflection.MemberInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_ICustomAttributeProvider +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ICustomAttributeProvider_GetCustomAttributes")] + internal static void* /* System.Object[] */ System_Reflection_ICustomAttributeProvider_GetCustomAttributes(void* /* System.Reflection.ICustomAttributeProvider */ __self, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ICustomAttributeProvider __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Object[] __returnValue = __selfConverted.GetCustomAttributes(inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ICustomAttributeProvider_GetCustomAttributes_1")] + internal static void* /* System.Object[] */ System_Reflection_ICustomAttributeProvider_GetCustomAttributes_1(void* /* System.Reflection.ICustomAttributeProvider */ __self, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ICustomAttributeProvider __selfConverted = InteropUtils.GetInstance(__self); + + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Object[] __returnValue = __selfConverted.GetCustomAttributes(attributeTypeConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ICustomAttributeProvider_IsDefined")] + internal static byte /* System.Boolean */ System_Reflection_ICustomAttributeProvider_IsDefined(void* /* System.Reflection.ICustomAttributeProvider */ __self, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ICustomAttributeProvider __selfConverted = InteropUtils.GetInstance(__self); + + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Boolean __returnValue = __selfConverted.IsDefined(attributeTypeConverted, inheritConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ICustomAttributeProvider_TypeOf")] + internal static void* /* System.Type */ System_Reflection_ICustomAttributeProvider_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.ICustomAttributeProvider); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ICustomAttributeProvider_Destroy")] + internal static void /* System.Void */ System_Reflection_ICustomAttributeProvider_Destroy(void* /* System.Reflection.ICustomAttributeProvider */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + +internal unsafe class System_Array +{ + [UnmanagedCallersOnly(EntryPoint = "System_Array_ConstrainedCopy")] + internal static void /* System.Void */ System_Array_ConstrainedCopy(void* /* System.Array */ sourceArray, int /* System.Int32 */ sourceIndex, void* /* System.Array */ destinationArray, int /* System.Int32 */ destinationIndex, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Array sourceArrayConverted = InteropUtils.GetInstance(sourceArray); + System.Array destinationArrayConverted = InteropUtils.GetInstance(destinationArray); + + try { + System.Array.ConstrainedCopy(sourceArrayConverted, sourceIndex, destinationArrayConverted, destinationIndex, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Clear")] + internal static void /* System.Void */ System_Array_Clear(void* /* System.Array */ array, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + + try { + System.Array.Clear(arrayConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Clear_1")] + internal static void /* System.Void */ System_Array_Clear_1(void* /* System.Array */ array, int /* System.Int32 */ index, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + + try { + System.Array.Clear(arrayConverted, index, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_GetLength")] + internal static int /* System.Int32 */ System_Array_GetLength(void* /* System.Array */ __self, int /* System.Int32 */ dimension, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetLength(dimension); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_GetUpperBound")] + internal static int /* System.Int32 */ System_Array_GetUpperBound(void* /* System.Array */ __self, int /* System.Int32 */ dimension, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetUpperBound(dimension); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_GetLowerBound")] + internal static int /* System.Int32 */ System_Array_GetLowerBound(void* /* System.Array */ __self, int /* System.Int32 */ dimension, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetLowerBound(dimension); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Initialize")] + internal static void /* System.Void */ System_Array_Initialize(void* /* System.Array */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Initialize(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + // TODO: Generic Methods with out/ref parameters that are arrays are not supported + [UnmanagedCallersOnly(EntryPoint = "System_Array_CreateInstance")] + internal static void* /* System.Array */ System_Array_CreateInstance(void* /* System.Type */ elementType, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Type elementTypeConverted = InteropUtils.GetInstance(elementType); + + try { + System.Array __returnValue = System.Array.CreateInstance(elementTypeConverted, length); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_CreateInstance_1")] + internal static void* /* System.Array */ System_Array_CreateInstance_1(void* /* System.Type */ elementType, int /* System.Int32 */ length1, int /* System.Int32 */ length2, void** /* System.Exception */ __outException) + { + System.Type elementTypeConverted = InteropUtils.GetInstance(elementType); + + try { + System.Array __returnValue = System.Array.CreateInstance(elementTypeConverted, length1, length2); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_CreateInstance_2")] + internal static void* /* System.Array */ System_Array_CreateInstance_2(void* /* System.Type */ elementType, int /* System.Int32 */ length1, int /* System.Int32 */ length2, int /* System.Int32 */ length3, void** /* System.Exception */ __outException) + { + System.Type elementTypeConverted = InteropUtils.GetInstance(elementType); + + try { + System.Array __returnValue = System.Array.CreateInstance(elementTypeConverted, length1, length2, length3); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_CreateInstance_3")] + internal static void* /* System.Array */ System_Array_CreateInstance_3(void* /* System.Type */ elementType, void* /* System.Int32[] */ lengths, void** /* System.Exception */ __outException) + { + System.Type elementTypeConverted = InteropUtils.GetInstance(elementType); + System.Int32[] lengthsConverted = InteropUtils.GetInstance(lengths); + + try { + System.Array __returnValue = System.Array.CreateInstance(elementTypeConverted, lengthsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_CreateInstance_4")] + internal static void* /* System.Array */ System_Array_CreateInstance_4(void* /* System.Type */ elementType, void* /* System.Int32[] */ lengths, void* /* System.Int32[] */ lowerBounds, void** /* System.Exception */ __outException) + { + System.Type elementTypeConverted = InteropUtils.GetInstance(elementType); + System.Int32[] lengthsConverted = InteropUtils.GetInstance(lengths); + System.Int32[] lowerBoundsConverted = InteropUtils.GetInstance(lowerBounds); + + try { + System.Array __returnValue = System.Array.CreateInstance(elementTypeConverted, lengthsConverted, lowerBoundsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_CreateInstance_5")] + internal static void* /* System.Array */ System_Array_CreateInstance_5(void* /* System.Type */ elementType, void* /* System.Int64[] */ lengths, void** /* System.Exception */ __outException) + { + System.Type elementTypeConverted = InteropUtils.GetInstance(elementType); + System.Int64[] lengthsConverted = InteropUtils.GetInstance(lengths); + + try { + System.Array __returnValue = System.Array.CreateInstance(elementTypeConverted, lengthsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Copy")] + internal static void /* System.Void */ System_Array_Copy(void* /* System.Array */ sourceArray, void* /* System.Array */ destinationArray, long /* System.Int64 */ length, void** /* System.Exception */ __outException) + { + System.Array sourceArrayConverted = InteropUtils.GetInstance(sourceArray); + System.Array destinationArrayConverted = InteropUtils.GetInstance(destinationArray); + + try { + System.Array.Copy(sourceArrayConverted, destinationArrayConverted, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Copy_1")] + internal static void /* System.Void */ System_Array_Copy_1(void* /* System.Array */ sourceArray, long /* System.Int64 */ sourceIndex, void* /* System.Array */ destinationArray, long /* System.Int64 */ destinationIndex, long /* System.Int64 */ length, void** /* System.Exception */ __outException) + { + System.Array sourceArrayConverted = InteropUtils.GetInstance(sourceArray); + System.Array destinationArrayConverted = InteropUtils.GetInstance(destinationArray); + + try { + System.Array.Copy(sourceArrayConverted, sourceIndex, destinationArrayConverted, destinationIndex, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Copy_2")] + internal static void /* System.Void */ System_Array_Copy_2(void* /* System.Array */ sourceArray, void* /* System.Array */ destinationArray, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Array sourceArrayConverted = InteropUtils.GetInstance(sourceArray); + System.Array destinationArrayConverted = InteropUtils.GetInstance(destinationArray); + + try { + System.Array.Copy(sourceArrayConverted, destinationArrayConverted, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Copy_3")] + internal static void /* System.Void */ System_Array_Copy_3(void* /* System.Array */ sourceArray, int /* System.Int32 */ sourceIndex, void* /* System.Array */ destinationArray, int /* System.Int32 */ destinationIndex, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Array sourceArrayConverted = InteropUtils.GetInstance(sourceArray); + System.Array destinationArrayConverted = InteropUtils.GetInstance(destinationArray); + + try { + System.Array.Copy(sourceArrayConverted, sourceIndex, destinationArrayConverted, destinationIndex, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_GetValue")] + internal static void* /* System.Object */ System_Array_GetValue(void* /* System.Array */ __self, void* /* System.Int32[] */ indices, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + System.Int32[] indicesConverted = InteropUtils.GetInstance(indices); + + try { + System.Object __returnValue = __selfConverted.GetValue(indicesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_GetValue_1")] + internal static void* /* System.Object */ System_Array_GetValue_1(void* /* System.Array */ __self, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.GetValue(index); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_GetValue_2")] + internal static void* /* System.Object */ System_Array_GetValue_2(void* /* System.Array */ __self, int /* System.Int32 */ index1, int /* System.Int32 */ index2, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.GetValue(index1, index2); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_GetValue_3")] + internal static void* /* System.Object */ System_Array_GetValue_3(void* /* System.Array */ __self, int /* System.Int32 */ index1, int /* System.Int32 */ index2, int /* System.Int32 */ index3, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.GetValue(index1, index2, index3); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_SetValue")] + internal static void /* System.Void */ System_Array_SetValue(void* /* System.Array */ __self, void* /* System.Object */ value, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.SetValue(valueConverted, index); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_SetValue_1")] + internal static void /* System.Void */ System_Array_SetValue_1(void* /* System.Array */ __self, void* /* System.Object */ value, int /* System.Int32 */ index1, int /* System.Int32 */ index2, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.SetValue(valueConverted, index1, index2); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_SetValue_2")] + internal static void /* System.Void */ System_Array_SetValue_2(void* /* System.Array */ __self, void* /* System.Object */ value, int /* System.Int32 */ index1, int /* System.Int32 */ index2, int /* System.Int32 */ index3, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.SetValue(valueConverted, index1, index2, index3); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_SetValue_3")] + internal static void /* System.Void */ System_Array_SetValue_3(void* /* System.Array */ __self, void* /* System.Object */ value, void* /* System.Int32[] */ indices, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + System.Int32[] indicesConverted = InteropUtils.GetInstance(indices); + + try { + __selfConverted.SetValue(valueConverted, indicesConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_GetValue_4")] + internal static void* /* System.Object */ System_Array_GetValue_4(void* /* System.Array */ __self, long /* System.Int64 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.GetValue(index); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_GetValue_5")] + internal static void* /* System.Object */ System_Array_GetValue_5(void* /* System.Array */ __self, long /* System.Int64 */ index1, long /* System.Int64 */ index2, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.GetValue(index1, index2); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_GetValue_6")] + internal static void* /* System.Object */ System_Array_GetValue_6(void* /* System.Array */ __self, long /* System.Int64 */ index1, long /* System.Int64 */ index2, long /* System.Int64 */ index3, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.GetValue(index1, index2, index3); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_GetValue_7")] + internal static void* /* System.Object */ System_Array_GetValue_7(void* /* System.Array */ __self, void* /* System.Int64[] */ indices, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + System.Int64[] indicesConverted = InteropUtils.GetInstance(indices); + + try { + System.Object __returnValue = __selfConverted.GetValue(indicesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_SetValue_4")] + internal static void /* System.Void */ System_Array_SetValue_4(void* /* System.Array */ __self, void* /* System.Object */ value, long /* System.Int64 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.SetValue(valueConverted, index); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_SetValue_5")] + internal static void /* System.Void */ System_Array_SetValue_5(void* /* System.Array */ __self, void* /* System.Object */ value, long /* System.Int64 */ index1, long /* System.Int64 */ index2, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.SetValue(valueConverted, index1, index2); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_SetValue_6")] + internal static void /* System.Void */ System_Array_SetValue_6(void* /* System.Array */ __self, void* /* System.Object */ value, long /* System.Int64 */ index1, long /* System.Int64 */ index2, long /* System.Int64 */ index3, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.SetValue(valueConverted, index1, index2, index3); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_SetValue_7")] + internal static void /* System.Void */ System_Array_SetValue_7(void* /* System.Array */ __self, void* /* System.Object */ value, void* /* System.Int64[] */ indices, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + System.Int64[] indicesConverted = InteropUtils.GetInstance(indices); + + try { + __selfConverted.SetValue(valueConverted, indicesConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_GetLongLength")] + internal static long /* System.Int64 */ System_Array_GetLongLength(void* /* System.Array */ __self, int /* System.Int32 */ dimension, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.GetLongLength(dimension); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Clone")] + internal static void* /* System.Object */ System_Array_Clone(void* /* System.Array */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Clone(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_BinarySearch")] + internal static int /* System.Int32 */ System_Array_BinarySearch(void* /* System.Array */ array, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = System.Array.BinarySearch(arrayConverted, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_BinarySearch_1")] + internal static int /* System.Int32 */ System_Array_BinarySearch_1(void* /* System.Array */ array, int /* System.Int32 */ index, int /* System.Int32 */ length, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = System.Array.BinarySearch(arrayConverted, index, length, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_BinarySearch_2")] + internal static int /* System.Int32 */ System_Array_BinarySearch_2(void* /* System.Array */ array, void* /* System.Object */ value, void* /* System.Collections.IComparer */ comparer, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + System.Object valueConverted = InteropUtils.GetInstance(value); + System.Collections.IComparer comparerConverted = InteropUtils.GetInstance(comparer); + + try { + System.Int32 __returnValue = System.Array.BinarySearch(arrayConverted, valueConverted, comparerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_BinarySearch_3")] + internal static int /* System.Int32 */ System_Array_BinarySearch_3(void* /* System.Array */ array, int /* System.Int32 */ index, int /* System.Int32 */ length, void* /* System.Object */ value, void* /* System.Collections.IComparer */ comparer, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + System.Object valueConverted = InteropUtils.GetInstance(value); + System.Collections.IComparer comparerConverted = InteropUtils.GetInstance(comparer); + + try { + System.Int32 __returnValue = System.Array.BinarySearch(arrayConverted, index, length, valueConverted, comparerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_CopyTo")] + internal static void /* System.Void */ System_Array_CopyTo(void* /* System.Array */ __self, void* /* System.Array */ array, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + System.Array arrayConverted = InteropUtils.GetInstance(array); + + try { + __selfConverted.CopyTo(arrayConverted, index); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_CopyTo_1")] + internal static void /* System.Void */ System_Array_CopyTo_1(void* /* System.Array */ __self, void* /* System.Array */ array, long /* System.Int64 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + System.Array arrayConverted = InteropUtils.GetInstance(array); + + try { + __selfConverted.CopyTo(arrayConverted, index); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Empty_A1")] + internal static void* /* System.Array */ System_Array_Empty_A1(void* /* System.Type */ T, void** /* System.Exception */ __outException) + { + System.Type TConverted = InteropUtils.GetInstance(T); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Array); + System.String __memberNameForGenericCall = nameof(System.Array.Empty); + System.Object? __methodTargetForGenericCall = null; + + System.Object[]? __parametersForGenericCall = null; + System.Type[] __parameterTypesForGenericCall = System.Type.EmptyTypes; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 1, __parameterTypesForGenericCall) ?? throw new Exception("Method Empty not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + System.Array __returnValue = (System.Array)__genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_IndexOf")] + internal static int /* System.Int32 */ System_Array_IndexOf(void* /* System.Array */ array, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = System.Array.IndexOf(arrayConverted, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_IndexOf_1")] + internal static int /* System.Int32 */ System_Array_IndexOf_1(void* /* System.Array */ array, void* /* System.Object */ value, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = System.Array.IndexOf(arrayConverted, valueConverted, startIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_IndexOf_2")] + internal static int /* System.Int32 */ System_Array_IndexOf_2(void* /* System.Array */ array, void* /* System.Object */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = System.Array.IndexOf(arrayConverted, valueConverted, startIndex, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_LastIndexOf")] + internal static int /* System.Int32 */ System_Array_LastIndexOf(void* /* System.Array */ array, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = System.Array.LastIndexOf(arrayConverted, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_LastIndexOf_1")] + internal static int /* System.Int32 */ System_Array_LastIndexOf_1(void* /* System.Array */ array, void* /* System.Object */ value, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = System.Array.LastIndexOf(arrayConverted, valueConverted, startIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_LastIndexOf_2")] + internal static int /* System.Int32 */ System_Array_LastIndexOf_2(void* /* System.Array */ array, void* /* System.Object */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = System.Array.LastIndexOf(arrayConverted, valueConverted, startIndex, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Reverse")] + internal static void /* System.Void */ System_Array_Reverse(void* /* System.Array */ array, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + + try { + System.Array.Reverse(arrayConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Reverse_1")] + internal static void /* System.Void */ System_Array_Reverse_1(void* /* System.Array */ array, int /* System.Int32 */ index, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + + try { + System.Array.Reverse(arrayConverted, index, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Reverse_A1")] + internal static void /* System.Void */ System_Array_Reverse_A1(void* /* System.Type */ T, void* /* T[] */ array, void** /* System.Exception */ __outException) + { + System.Type TConverted = InteropUtils.GetInstance(T); + System.Array arrayConverted = InteropUtils.GetInstance(array); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Array); + System.String __memberNameForGenericCall = nameof(System.Array.Reverse); + System.Object? __methodTargetForGenericCall = null; + + System.Object[] __parametersForGenericCall = new System.Object[] { arrayConverted }; + System.Type[] __parameterTypesForGenericCall = new System.Type[] { System.Type.MakeGenericMethodParameter(0).MakeArrayType() }; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 1, __parameterTypesForGenericCall) ?? throw new Exception("Method Reverse not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + __genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Reverse_A1_1")] + internal static void /* System.Void */ System_Array_Reverse_A1_1(void* /* System.Type */ T, void* /* T[] */ array, int /* System.Int32 */ index, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Type TConverted = InteropUtils.GetInstance(T); + System.Array arrayConverted = InteropUtils.GetInstance(array); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Array); + System.String __memberNameForGenericCall = nameof(System.Array.Reverse); + System.Object? __methodTargetForGenericCall = null; + + System.Object[] __parametersForGenericCall = new System.Object[] { arrayConverted, index, length }; + System.Type[] __parameterTypesForGenericCall = new System.Type[] { System.Type.MakeGenericMethodParameter(0).MakeArrayType(), typeof(System.Int32), typeof(System.Int32) }; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 1, __parameterTypesForGenericCall) ?? throw new Exception("Method Reverse not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + __genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Sort")] + internal static void /* System.Void */ System_Array_Sort(void* /* System.Array */ array, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + + try { + System.Array.Sort(arrayConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Sort_1")] + internal static void /* System.Void */ System_Array_Sort_1(void* /* System.Array */ keys, void* /* System.Array */ items, void** /* System.Exception */ __outException) + { + System.Array keysConverted = InteropUtils.GetInstance(keys); + System.Array itemsConverted = InteropUtils.GetInstance(items); + + try { + System.Array.Sort(keysConverted, itemsConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Sort_2")] + internal static void /* System.Void */ System_Array_Sort_2(void* /* System.Array */ array, int /* System.Int32 */ index, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + + try { + System.Array.Sort(arrayConverted, index, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Sort_3")] + internal static void /* System.Void */ System_Array_Sort_3(void* /* System.Array */ keys, void* /* System.Array */ items, int /* System.Int32 */ index, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Array keysConverted = InteropUtils.GetInstance(keys); + System.Array itemsConverted = InteropUtils.GetInstance(items); + + try { + System.Array.Sort(keysConverted, itemsConverted, index, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Sort_4")] + internal static void /* System.Void */ System_Array_Sort_4(void* /* System.Array */ array, void* /* System.Collections.IComparer */ comparer, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + System.Collections.IComparer comparerConverted = InteropUtils.GetInstance(comparer); + + try { + System.Array.Sort(arrayConverted, comparerConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Sort_5")] + internal static void /* System.Void */ System_Array_Sort_5(void* /* System.Array */ keys, void* /* System.Array */ items, void* /* System.Collections.IComparer */ comparer, void** /* System.Exception */ __outException) + { + System.Array keysConverted = InteropUtils.GetInstance(keys); + System.Array itemsConverted = InteropUtils.GetInstance(items); + System.Collections.IComparer comparerConverted = InteropUtils.GetInstance(comparer); + + try { + System.Array.Sort(keysConverted, itemsConverted, comparerConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Sort_6")] + internal static void /* System.Void */ System_Array_Sort_6(void* /* System.Array */ array, int /* System.Int32 */ index, int /* System.Int32 */ length, void* /* System.Collections.IComparer */ comparer, void** /* System.Exception */ __outException) + { + System.Array arrayConverted = InteropUtils.GetInstance(array); + System.Collections.IComparer comparerConverted = InteropUtils.GetInstance(comparer); + + try { + System.Array.Sort(arrayConverted, index, length, comparerConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Sort_7")] + internal static void /* System.Void */ System_Array_Sort_7(void* /* System.Array */ keys, void* /* System.Array */ items, int /* System.Int32 */ index, int /* System.Int32 */ length, void* /* System.Collections.IComparer */ comparer, void** /* System.Exception */ __outException) + { + System.Array keysConverted = InteropUtils.GetInstance(keys); + System.Array itemsConverted = InteropUtils.GetInstance(items); + System.Collections.IComparer comparerConverted = InteropUtils.GetInstance(comparer); + + try { + System.Array.Sort(keysConverted, itemsConverted, index, length, comparerConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Sort_A1")] + internal static void /* System.Void */ System_Array_Sort_A1(void* /* System.Type */ T, void* /* T[] */ array, void** /* System.Exception */ __outException) + { + System.Type TConverted = InteropUtils.GetInstance(T); + System.Array arrayConverted = InteropUtils.GetInstance(array); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Array); + System.String __memberNameForGenericCall = nameof(System.Array.Sort); + System.Object? __methodTargetForGenericCall = null; + + System.Object[] __parametersForGenericCall = new System.Object[] { arrayConverted }; + System.Type[] __parameterTypesForGenericCall = new System.Type[] { System.Type.MakeGenericMethodParameter(0).MakeArrayType() }; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 1, __parameterTypesForGenericCall) ?? throw new Exception("Method Sort not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + __genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Sort_A2")] + internal static void /* System.Void */ System_Array_Sort_A2(void* /* System.Type */ TKey, void* /* System.Type */ TValue, void* /* TKey[] */ keys, void* /* TValue[] */ items, void** /* System.Exception */ __outException) + { + System.Type TKeyConverted = InteropUtils.GetInstance(TKey); + System.Type TValueConverted = InteropUtils.GetInstance(TValue); + System.Array keysConverted = InteropUtils.GetInstance(keys); + System.Array itemsConverted = InteropUtils.GetInstance(items); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Array); + System.String __memberNameForGenericCall = nameof(System.Array.Sort); + System.Object? __methodTargetForGenericCall = null; + + System.Object[] __parametersForGenericCall = new System.Object[] { keysConverted, itemsConverted }; + System.Type[] __parameterTypesForGenericCall = new System.Type[] { System.Type.MakeGenericMethodParameter(0).MakeArrayType(), System.Type.MakeGenericMethodParameter(1).MakeArrayType() }; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TKeyConverted, TValueConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 2, __parameterTypesForGenericCall) ?? throw new Exception("Method Sort not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + __genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Sort_A1_1")] + internal static void /* System.Void */ System_Array_Sort_A1_1(void* /* System.Type */ T, void* /* T[] */ array, int /* System.Int32 */ index, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Type TConverted = InteropUtils.GetInstance(T); + System.Array arrayConverted = InteropUtils.GetInstance(array); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Array); + System.String __memberNameForGenericCall = nameof(System.Array.Sort); + System.Object? __methodTargetForGenericCall = null; + + System.Object[] __parametersForGenericCall = new System.Object[] { arrayConverted, index, length }; + System.Type[] __parameterTypesForGenericCall = new System.Type[] { System.Type.MakeGenericMethodParameter(0).MakeArrayType(), typeof(System.Int32), typeof(System.Int32) }; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 1, __parameterTypesForGenericCall) ?? throw new Exception("Method Sort not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + __genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Sort_A2_1")] + internal static void /* System.Void */ System_Array_Sort_A2_1(void* /* System.Type */ TKey, void* /* System.Type */ TValue, void* /* TKey[] */ keys, void* /* TValue[] */ items, int /* System.Int32 */ index, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Type TKeyConverted = InteropUtils.GetInstance(TKey); + System.Type TValueConverted = InteropUtils.GetInstance(TValue); + System.Array keysConverted = InteropUtils.GetInstance(keys); + System.Array itemsConverted = InteropUtils.GetInstance(items); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Array); + System.String __memberNameForGenericCall = nameof(System.Array.Sort); + System.Object? __methodTargetForGenericCall = null; + + System.Object[] __parametersForGenericCall = new System.Object[] { keysConverted, itemsConverted, index, length }; + System.Type[] __parameterTypesForGenericCall = new System.Type[] { System.Type.MakeGenericMethodParameter(0).MakeArrayType(), System.Type.MakeGenericMethodParameter(1).MakeArrayType(), typeof(System.Int32), typeof(System.Int32) }; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TKeyConverted, TValueConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 2, __parameterTypesForGenericCall) ?? throw new Exception("Method Sort not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + __genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_GetEnumerator")] + internal static void* /* System.Collections.IEnumerator */ System_Array_GetEnumerator(void* /* System.Array */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Collections.IEnumerator __returnValue = __selfConverted.GetEnumerator(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Length_Get")] + internal static int /* System.Int32 */ System_Array_Length_Get(void* /* System.Array */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Length; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Array_LongLength_Get")] + internal static long /* System.Int64 */ System_Array_LongLength_Get(void* /* System.Array */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.LongLength; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Rank_Get")] + internal static int /* System.Int32 */ System_Array_Rank_Get(void* /* System.Array */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Rank; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Array_SyncRoot_Get")] + internal static void* /* System.Object */ System_Array_SyncRoot_Get(void* /* System.Array */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.SyncRoot; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Array_IsReadOnly_Get")] + internal static byte /* System.Boolean */ System_Array_IsReadOnly_Get(void* /* System.Array */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsReadOnly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Array_IsFixedSize_Get")] + internal static byte /* System.Boolean */ System_Array_IsFixedSize_Get(void* /* System.Array */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFixedSize; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Array_IsSynchronized_Get")] + internal static byte /* System.Boolean */ System_Array_IsSynchronized_Get(void* /* System.Array */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Array __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSynchronized; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Array_MaxLength_Get")] + internal static int /* System.Int32 */ System_Array_MaxLength_Get(void** /* System.Exception */ __outException) + { + + try { + System.Int32 __returnValue = System.Array.MaxLength; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Array_TypeOf")] + internal static void* /* System.Type */ System_Array_TypeOf() + { + + System.Type __returnValue = typeof(System.Array); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Array_Destroy")] + internal static void /* System.Void */ System_Array_Destroy(void* /* System.Array */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_ICloneable +{ + [UnmanagedCallersOnly(EntryPoint = "System_ICloneable_Clone")] + internal static void* /* System.Object */ System_ICloneable_Clone(void* /* System.ICloneable */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ICloneable __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Clone(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ICloneable_TypeOf")] + internal static void* /* System.Type */ System_ICloneable_TypeOf() + { + + System.Type __returnValue = typeof(System.ICloneable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_ICloneable_Destroy")] + internal static void /* System.Void */ System_ICloneable_Destroy(void* /* System.ICloneable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Collections_IList +{ + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IList_Add")] + internal static int /* System.Int32 */ System_Collections_IList_Add(void* /* System.Collections.IList */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IList __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.Add(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IList_Contains")] + internal static byte /* System.Boolean */ System_Collections_IList_Contains(void* /* System.Collections.IList */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IList __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Contains(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IList_Clear")] + internal static void /* System.Void */ System_Collections_IList_Clear(void* /* System.Collections.IList */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IList __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Clear(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IList_IndexOf")] + internal static int /* System.Int32 */ System_Collections_IList_IndexOf(void* /* System.Collections.IList */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IList __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IList_Insert")] + internal static void /* System.Void */ System_Collections_IList_Insert(void* /* System.Collections.IList */ __self, int /* System.Int32 */ index, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IList __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.Insert(index, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IList_Remove")] + internal static void /* System.Void */ System_Collections_IList_Remove(void* /* System.Collections.IList */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IList __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.Remove(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IList_RemoveAt")] + internal static void /* System.Void */ System_Collections_IList_RemoveAt(void* /* System.Collections.IList */ __self, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IList __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.RemoveAt(index); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IList_Item_Get")] + internal static void* /* System.Object */ System_Collections_IList_Item_Get(void* /* System.Collections.IList */ __self, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IList __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted[index]; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IList_Item_Set")] + internal static void /* System.Void */ System_Collections_IList_Item_Set(void* /* System.Collections.IList */ __self, int /* System.Int32 */ index, void* /* System.Object */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IList __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted[index] = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IList_IsReadOnly_Get")] + internal static byte /* System.Boolean */ System_Collections_IList_IsReadOnly_Get(void* /* System.Collections.IList */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IList __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsReadOnly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IList_IsFixedSize_Get")] + internal static byte /* System.Boolean */ System_Collections_IList_IsFixedSize_Get(void* /* System.Collections.IList */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IList __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFixedSize; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IList_TypeOf")] + internal static void* /* System.Type */ System_Collections_IList_TypeOf() + { + + System.Type __returnValue = typeof(System.Collections.IList); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IList_Destroy")] + internal static void /* System.Void */ System_Collections_IList_Destroy(void* /* System.Collections.IList */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Collections_ICollection +{ + [UnmanagedCallersOnly(EntryPoint = "System_Collections_ICollection_CopyTo")] + internal static void /* System.Void */ System_Collections_ICollection_CopyTo(void* /* System.Collections.ICollection */ __self, void* /* System.Array */ array, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.ICollection __selfConverted = InteropUtils.GetInstance(__self); + + System.Array arrayConverted = InteropUtils.GetInstance(array); + + try { + __selfConverted.CopyTo(arrayConverted, index); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_ICollection_Count_Get")] + internal static int /* System.Int32 */ System_Collections_ICollection_Count_Get(void* /* System.Collections.ICollection */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.ICollection __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Count; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_ICollection_SyncRoot_Get")] + internal static void* /* System.Object */ System_Collections_ICollection_SyncRoot_Get(void* /* System.Collections.ICollection */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.ICollection __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.SyncRoot; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_ICollection_IsSynchronized_Get")] + internal static byte /* System.Boolean */ System_Collections_ICollection_IsSynchronized_Get(void* /* System.Collections.ICollection */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.ICollection __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSynchronized; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_ICollection_TypeOf")] + internal static void* /* System.Type */ System_Collections_ICollection_TypeOf() + { + + System.Type __returnValue = typeof(System.Collections.ICollection); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_ICollection_Destroy")] + internal static void /* System.Void */ System_Collections_ICollection_Destroy(void* /* System.Collections.ICollection */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Collections_IEnumerable +{ + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IEnumerable_GetEnumerator")] + internal static void* /* System.Collections.IEnumerator */ System_Collections_IEnumerable_GetEnumerator(void* /* System.Collections.IEnumerable */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IEnumerable __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Collections.IEnumerator __returnValue = __selfConverted.GetEnumerator(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IEnumerable_TypeOf")] + internal static void* /* System.Type */ System_Collections_IEnumerable_TypeOf() + { + + System.Type __returnValue = typeof(System.Collections.IEnumerable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IEnumerable_Destroy")] + internal static void /* System.Void */ System_Collections_IEnumerable_Destroy(void* /* System.Collections.IEnumerable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Collections_IEnumerator +{ + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IEnumerator_MoveNext")] + internal static byte /* System.Boolean */ System_Collections_IEnumerator_MoveNext(void* /* System.Collections.IEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.MoveNext(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IEnumerator_Reset")] + internal static void /* System.Void */ System_Collections_IEnumerator_Reset(void* /* System.Collections.IEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Reset(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IEnumerator_Current_Get")] + internal static void* /* System.Object */ System_Collections_IEnumerator_Current_Get(void* /* System.Collections.IEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Current; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IEnumerator_TypeOf")] + internal static void* /* System.Type */ System_Collections_IEnumerator_TypeOf() + { + + System.Type __returnValue = typeof(System.Collections.IEnumerator); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IEnumerator_Destroy")] + internal static void /* System.Void */ System_Collections_IEnumerator_Destroy(void* /* System.Collections.IEnumerator */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Boolean +{ + [UnmanagedCallersOnly(EntryPoint = "System_Boolean_TypeOf")] + internal static void* /* System.Type */ System_Boolean_TypeOf() + { + + System.Type __returnValue = typeof(System.Boolean); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_ValueType +{ + [UnmanagedCallersOnly(EntryPoint = "System_ValueType_Equals")] + internal static byte /* System.Boolean */ System_ValueType_Equals(void* /* System.ValueType */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ValueType __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ValueType_GetHashCode")] + internal static int /* System.Int32 */ System_ValueType_GetHashCode(void* /* System.ValueType */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ValueType __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ValueType_ToString")] + internal static void* /* System.String */ System_ValueType_ToString(void* /* System.ValueType */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ValueType __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ValueType_TypeOf")] + internal static void* /* System.Type */ System_ValueType_TypeOf() + { + + System.Type __returnValue = typeof(System.ValueType); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_ValueType_Destroy")] + internal static void /* System.Void */ System_ValueType_Destroy(void* /* System.ValueType */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Int32 +{ + [UnmanagedCallersOnly(EntryPoint = "System_Int32_TypeOf")] + internal static void* /* System.Type */ System_Int32_TypeOf() + { + + System.Type __returnValue = typeof(System.Int32); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_IComparable +{ + [UnmanagedCallersOnly(EntryPoint = "System_IComparable_CompareTo")] + internal static int /* System.Int32 */ System_IComparable_CompareTo(void* /* System.IComparable */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IComparable __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(objConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IComparable_TypeOf")] + internal static void* /* System.Type */ System_IComparable_TypeOf() + { + + System.Type __returnValue = typeof(System.IComparable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_IComparable_Destroy")] + internal static void /* System.Void */ System_IComparable_Destroy(void* /* System.IComparable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_IConvertible +{ + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_GetTypeCode")] + internal static System.TypeCode /* System.TypeCode */ System_IConvertible_GetTypeCode(void* /* System.IConvertible */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TypeCode __returnValue = __selfConverted.GetTypeCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.TypeCode); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToBoolean")] + internal static byte /* System.Boolean */ System_IConvertible_ToBoolean(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Boolean __returnValue = __selfConverted.ToBoolean(providerConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToChar")] + internal static char /* System.Char */ System_IConvertible_ToChar(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Char __returnValue = __selfConverted.ToChar(providerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return (char)0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToSByte")] + internal static sbyte /* System.SByte */ System_IConvertible_ToSByte(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.SByte __returnValue = __selfConverted.ToSByte(providerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToByte")] + internal static byte /* System.Byte */ System_IConvertible_ToByte(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Byte __returnValue = __selfConverted.ToByte(providerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToInt16")] + internal static short /* System.Int16 */ System_IConvertible_ToInt16(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Int16 __returnValue = __selfConverted.ToInt16(providerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToUInt16")] + internal static ushort /* System.UInt16 */ System_IConvertible_ToUInt16(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.UInt16 __returnValue = __selfConverted.ToUInt16(providerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToInt32")] + internal static int /* System.Int32 */ System_IConvertible_ToInt32(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Int32 __returnValue = __selfConverted.ToInt32(providerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToUInt32")] + internal static uint /* System.UInt32 */ System_IConvertible_ToUInt32(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.UInt32 __returnValue = __selfConverted.ToUInt32(providerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToInt64")] + internal static long /* System.Int64 */ System_IConvertible_ToInt64(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Int64 __returnValue = __selfConverted.ToInt64(providerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToUInt64")] + internal static ulong /* System.UInt64 */ System_IConvertible_ToUInt64(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.UInt64 __returnValue = __selfConverted.ToUInt64(providerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToSingle")] + internal static float /* System.Single */ System_IConvertible_ToSingle(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Single __returnValue = __selfConverted.ToSingle(providerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToDouble")] + internal static double /* System.Double */ System_IConvertible_ToDouble(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Double __returnValue = __selfConverted.ToDouble(providerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToDecimal")] + internal static void* /* System.Decimal */ System_IConvertible_ToDecimal(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Decimal __returnValue = __selfConverted.ToDecimal(providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToDateTime")] + internal static void* /* System.DateTime */ System_IConvertible_ToDateTime(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.DateTime __returnValue = __selfConverted.ToDateTime(providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToString")] + internal static void* /* System.String */ System_IConvertible_ToString(void* /* System.IConvertible */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String __returnValue = __selfConverted.ToString(providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_ToType")] + internal static void* /* System.Object */ System_IConvertible_ToType(void* /* System.IConvertible */ __self, void* /* System.Type */ conversionType, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IConvertible __selfConverted = InteropUtils.GetInstance(__self); + + System.Type conversionTypeConverted = InteropUtils.GetInstance(conversionType); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Object __returnValue = __selfConverted.ToType(conversionTypeConverted, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_TypeOf")] + internal static void* /* System.Type */ System_IConvertible_TypeOf() + { + + System.Type __returnValue = typeof(System.IConvertible); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_IConvertible_Destroy")] + internal static void /* System.Void */ System_IConvertible_Destroy(void* /* System.IConvertible */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_TypeCode +{ + [UnmanagedCallersOnly(EntryPoint = "System_TypeCode_TypeOf")] + internal static void* /* System.Type */ System_TypeCode_TypeOf() + { + + System.Type __returnValue = typeof(System.TypeCode); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Enum +{ + [UnmanagedCallersOnly(EntryPoint = "System_Enum_GetName")] + internal static void* /* System.String */ System_Enum_GetName(void* /* System.Type */ enumType, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.String __returnValue = System.Enum.GetName(enumTypeConverted, valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_GetNames_A1")] + internal static void* /* System.String[] */ System_Enum_GetNames_A1(void* /* System.Type */ TEnum, void** /* System.Exception */ __outException) + { + System.Type TEnumConverted = InteropUtils.GetInstance(TEnum); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Enum); + System.String __memberNameForGenericCall = nameof(System.Enum.GetNames); + System.Object? __methodTargetForGenericCall = null; + + System.Object[]? __parametersForGenericCall = null; + System.Type[] __parameterTypesForGenericCall = System.Type.EmptyTypes; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TEnumConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 1, __parameterTypesForGenericCall) ?? throw new Exception("Method GetNames not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + System.String[] __returnValue = (System.String[])__genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_GetNames_1")] + internal static void* /* System.String[] */ System_Enum_GetNames_1(void* /* System.Type */ enumType, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + + try { + System.String[] __returnValue = System.Enum.GetNames(enumTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_GetUnderlyingType")] + internal static void* /* System.Type */ System_Enum_GetUnderlyingType(void* /* System.Type */ enumType, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + + try { + System.Type __returnValue = System.Enum.GetUnderlyingType(enumTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_GetValues_A1")] + internal static void* /* System.Array */ System_Enum_GetValues_A1(void* /* System.Type */ TEnum, void** /* System.Exception */ __outException) + { + System.Type TEnumConverted = InteropUtils.GetInstance(TEnum); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Enum); + System.String __memberNameForGenericCall = nameof(System.Enum.GetValues); + System.Object? __methodTargetForGenericCall = null; + + System.Object[]? __parametersForGenericCall = null; + System.Type[] __parameterTypesForGenericCall = System.Type.EmptyTypes; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TEnumConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 1, __parameterTypesForGenericCall) ?? throw new Exception("Method GetValues not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + System.Array __returnValue = (System.Array)__genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_GetValues_1")] + internal static void* /* System.Array */ System_Enum_GetValues_1(void* /* System.Type */ enumType, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + + try { + System.Array __returnValue = System.Enum.GetValues(enumTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_GetValuesAsUnderlyingType_A1")] + internal static void* /* System.Array */ System_Enum_GetValuesAsUnderlyingType_A1(void* /* System.Type */ TEnum, void** /* System.Exception */ __outException) + { + System.Type TEnumConverted = InteropUtils.GetInstance(TEnum); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Enum); + System.String __memberNameForGenericCall = nameof(System.Enum.GetValuesAsUnderlyingType); + System.Object? __methodTargetForGenericCall = null; + + System.Object[]? __parametersForGenericCall = null; + System.Type[] __parameterTypesForGenericCall = System.Type.EmptyTypes; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TEnumConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 1, __parameterTypesForGenericCall) ?? throw new Exception("Method GetValuesAsUnderlyingType not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + System.Array __returnValue = (System.Array)__genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_GetValuesAsUnderlyingType_1")] + internal static void* /* System.Array */ System_Enum_GetValuesAsUnderlyingType_1(void* /* System.Type */ enumType, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + + try { + System.Array __returnValue = System.Enum.GetValuesAsUnderlyingType(enumTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_HasFlag")] + internal static byte /* System.Boolean */ System_Enum_HasFlag(void* /* System.Enum */ __self, void* /* System.Enum */ flag, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Enum __selfConverted = InteropUtils.GetInstance(__self); + + System.Enum flagConverted = InteropUtils.GetInstance(flag); + + try { + System.Boolean __returnValue = __selfConverted.HasFlag(flagConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_IsDefined")] + internal static byte /* System.Boolean */ System_Enum_IsDefined(void* /* System.Type */ enumType, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Enum.IsDefined(enumTypeConverted, valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_Parse")] + internal static void* /* System.Object */ System_Enum_Parse(void* /* System.Type */ enumType, void* /* System.String */ value, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Object __returnValue = System.Enum.Parse(enumTypeConverted, valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_Parse_1")] + internal static void* /* System.Object */ System_Enum_Parse_1(void* /* System.Type */ enumType, void* /* System.String */ value, byte /* System.Boolean */ ignoreCase, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + System.String valueConverted = InteropUtils.GetInstance(value); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + + try { + System.Object __returnValue = System.Enum.Parse(enumTypeConverted, valueConverted, ignoreCaseConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_TryParse")] + internal static byte /* System.Boolean */ System_Enum_TryParse(void* /* System.Type */ enumType, void* /* System.String */ value, void** /* System.Object */ result, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + System.String valueConverted = InteropUtils.GetInstance(value); + System.Object resultConverted; + + try { + System.Boolean __returnValue = System.Enum.TryParse(enumTypeConverted, valueConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_TryParse_1")] + internal static byte /* System.Boolean */ System_Enum_TryParse_1(void* /* System.Type */ enumType, void* /* System.String */ value, byte /* System.Boolean */ ignoreCase, void** /* System.Object */ result, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + System.String valueConverted = InteropUtils.GetInstance(value); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + System.Object resultConverted; + + try { + System.Boolean __returnValue = System.Enum.TryParse(enumTypeConverted, valueConverted, ignoreCaseConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_Equals")] + internal static byte /* System.Boolean */ System_Enum_Equals(void* /* System.Enum */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Enum __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_GetHashCode")] + internal static int /* System.Int32 */ System_Enum_GetHashCode(void* /* System.Enum */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Enum __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_CompareTo")] + internal static int /* System.Int32 */ System_Enum_CompareTo(void* /* System.Enum */ __self, void* /* System.Object */ target, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Enum __selfConverted = InteropUtils.GetInstance(__self); + + System.Object targetConverted = InteropUtils.GetInstance(target); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(targetConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_ToString")] + internal static void* /* System.String */ System_Enum_ToString(void* /* System.Enum */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Enum __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_ToString_1")] + internal static void* /* System.String */ System_Enum_ToString_1(void* /* System.Enum */ __self, void* /* System.String */ format, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Enum __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_ToString_2")] + internal static void* /* System.String */ System_Enum_ToString_2(void* /* System.Enum */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Enum __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String __returnValue = __selfConverted.ToString(providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_ToString_3")] + internal static void* /* System.String */ System_Enum_ToString_3(void* /* System.Enum */ __self, void* /* System.String */ format, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Enum __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_Format")] + internal static void* /* System.String */ System_Enum_Format(void* /* System.Type */ enumType, void* /* System.Object */ value, void* /* System.String */ format, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + System.Object valueConverted = InteropUtils.GetInstance(value); + System.String formatConverted = InteropUtils.GetInstance(format); + + try { + System.String __returnValue = System.Enum.Format(enumTypeConverted, valueConverted, formatConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_GetTypeCode")] + internal static System.TypeCode /* System.TypeCode */ System_Enum_GetTypeCode(void* /* System.Enum */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Enum __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TypeCode __returnValue = __selfConverted.GetTypeCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.TypeCode); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_ToObject")] + internal static void* /* System.Object */ System_Enum_ToObject(void* /* System.Type */ enumType, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Object __returnValue = System.Enum.ToObject(enumTypeConverted, valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_ToObject_1")] + internal static void* /* System.Object */ System_Enum_ToObject_1(void* /* System.Type */ enumType, sbyte /* System.SByte */ value, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + + try { + System.Object __returnValue = System.Enum.ToObject(enumTypeConverted, value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_ToObject_2")] + internal static void* /* System.Object */ System_Enum_ToObject_2(void* /* System.Type */ enumType, short /* System.Int16 */ value, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + + try { + System.Object __returnValue = System.Enum.ToObject(enumTypeConverted, value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_ToObject_3")] + internal static void* /* System.Object */ System_Enum_ToObject_3(void* /* System.Type */ enumType, int /* System.Int32 */ value, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + + try { + System.Object __returnValue = System.Enum.ToObject(enumTypeConverted, value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_ToObject_4")] + internal static void* /* System.Object */ System_Enum_ToObject_4(void* /* System.Type */ enumType, byte /* System.Byte */ value, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + + try { + System.Object __returnValue = System.Enum.ToObject(enumTypeConverted, value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_ToObject_5")] + internal static void* /* System.Object */ System_Enum_ToObject_5(void* /* System.Type */ enumType, ushort /* System.UInt16 */ value, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + + try { + System.Object __returnValue = System.Enum.ToObject(enumTypeConverted, value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_ToObject_6")] + internal static void* /* System.Object */ System_Enum_ToObject_6(void* /* System.Type */ enumType, uint /* System.UInt32 */ value, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + + try { + System.Object __returnValue = System.Enum.ToObject(enumTypeConverted, value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_ToObject_7")] + internal static void* /* System.Object */ System_Enum_ToObject_7(void* /* System.Type */ enumType, long /* System.Int64 */ value, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + + try { + System.Object __returnValue = System.Enum.ToObject(enumTypeConverted, value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_ToObject_8")] + internal static void* /* System.Object */ System_Enum_ToObject_8(void* /* System.Type */ enumType, ulong /* System.UInt64 */ value, void** /* System.Exception */ __outException) + { + System.Type enumTypeConverted = InteropUtils.GetInstance(enumType); + + try { + System.Object __returnValue = System.Enum.ToObject(enumTypeConverted, value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_TypeOf")] + internal static void* /* System.Type */ System_Enum_TypeOf() + { + + System.Type __returnValue = typeof(System.Enum); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Enum_Destroy")] + internal static void /* System.Void */ System_Enum_Destroy(void* /* System.Enum */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_ISpanFormattable +{ + [UnmanagedCallersOnly(EntryPoint = "System_ISpanFormattable_TypeOf")] + internal static void* /* System.Type */ System_ISpanFormattable_TypeOf() + { + + System.Type __returnValue = typeof(System.ISpanFormattable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_ISpanFormattable_Destroy")] + internal static void /* System.Void */ System_ISpanFormattable_Destroy(void* /* System.ISpanFormattable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_IFormattable +{ + [UnmanagedCallersOnly(EntryPoint = "System_IFormattable_ToString")] + internal static void* /* System.String */ System_IFormattable_ToString(void* /* System.IFormattable */ __self, void* /* System.String */ format, void* /* System.IFormatProvider */ formatProvider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IFormattable __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted, formatProviderConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IFormattable_TypeOf")] + internal static void* /* System.Type */ System_IFormattable_TypeOf() + { + + System.Type __returnValue = typeof(System.IFormattable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_IFormattable_Destroy")] + internal static void /* System.Void */ System_IFormattable_Destroy(void* /* System.IFormattable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_String +{ + [UnmanagedCallersOnly(EntryPoint = "System_String_Intern")] + internal static void* /* System.String */ System_String_Intern(void* /* System.String */ str, void** /* System.Exception */ __outException) + { + System.String strConverted = InteropUtils.GetInstance(str); + + try { + System.String __returnValue = System.String.Intern(strConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IsInterned")] + internal static void* /* System.String */ System_String_IsInterned(void* /* System.String */ str, void** /* System.Exception */ __outException) + { + System.String strConverted = InteropUtils.GetInstance(str); + + try { + System.String __returnValue = System.String.IsInterned(strConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Compare")] + internal static int /* System.Int32 */ System_String_Compare(void* /* System.String */ strA, void* /* System.String */ strB, void** /* System.Exception */ __outException) + { + System.String strAConverted = InteropUtils.GetInstance(strA); + System.String strBConverted = InteropUtils.GetInstance(strB); + + try { + System.Int32 __returnValue = System.String.Compare(strAConverted, strBConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Compare_1")] + internal static int /* System.Int32 */ System_String_Compare_1(void* /* System.String */ strA, void* /* System.String */ strB, byte /* System.Boolean */ ignoreCase, void** /* System.Exception */ __outException) + { + System.String strAConverted = InteropUtils.GetInstance(strA); + System.String strBConverted = InteropUtils.GetInstance(strB); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + + try { + System.Int32 __returnValue = System.String.Compare(strAConverted, strBConverted, ignoreCaseConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Compare_2")] + internal static int /* System.Int32 */ System_String_Compare_2(void* /* System.String */ strA, void* /* System.String */ strB, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + System.String strAConverted = InteropUtils.GetInstance(strA); + System.String strBConverted = InteropUtils.GetInstance(strB); + + try { + System.Int32 __returnValue = System.String.Compare(strAConverted, strBConverted, comparisonType); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Compare_3")] + internal static int /* System.Int32 */ System_String_Compare_3(void* /* System.String */ strA, void* /* System.String */ strB, void* /* System.Globalization.CultureInfo */ culture, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + System.String strAConverted = InteropUtils.GetInstance(strA); + System.String strBConverted = InteropUtils.GetInstance(strB); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Int32 __returnValue = System.String.Compare(strAConverted, strBConverted, cultureConverted, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Compare_4")] + internal static int /* System.Int32 */ System_String_Compare_4(void* /* System.String */ strA, void* /* System.String */ strB, byte /* System.Boolean */ ignoreCase, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + System.String strAConverted = InteropUtils.GetInstance(strA); + System.String strBConverted = InteropUtils.GetInstance(strB); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Int32 __returnValue = System.String.Compare(strAConverted, strBConverted, ignoreCaseConverted, cultureConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Compare_5")] + internal static int /* System.Int32 */ System_String_Compare_5(void* /* System.String */ strA, int /* System.Int32 */ indexA, void* /* System.String */ strB, int /* System.Int32 */ indexB, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.String strAConverted = InteropUtils.GetInstance(strA); + System.String strBConverted = InteropUtils.GetInstance(strB); + + try { + System.Int32 __returnValue = System.String.Compare(strAConverted, indexA, strBConverted, indexB, length); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Compare_6")] + internal static int /* System.Int32 */ System_String_Compare_6(void* /* System.String */ strA, int /* System.Int32 */ indexA, void* /* System.String */ strB, int /* System.Int32 */ indexB, int /* System.Int32 */ length, byte /* System.Boolean */ ignoreCase, void** /* System.Exception */ __outException) + { + System.String strAConverted = InteropUtils.GetInstance(strA); + System.String strBConverted = InteropUtils.GetInstance(strB); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + + try { + System.Int32 __returnValue = System.String.Compare(strAConverted, indexA, strBConverted, indexB, length, ignoreCaseConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Compare_7")] + internal static int /* System.Int32 */ System_String_Compare_7(void* /* System.String */ strA, int /* System.Int32 */ indexA, void* /* System.String */ strB, int /* System.Int32 */ indexB, int /* System.Int32 */ length, byte /* System.Boolean */ ignoreCase, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + System.String strAConverted = InteropUtils.GetInstance(strA); + System.String strBConverted = InteropUtils.GetInstance(strB); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Int32 __returnValue = System.String.Compare(strAConverted, indexA, strBConverted, indexB, length, ignoreCaseConverted, cultureConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Compare_8")] + internal static int /* System.Int32 */ System_String_Compare_8(void* /* System.String */ strA, int /* System.Int32 */ indexA, void* /* System.String */ strB, int /* System.Int32 */ indexB, int /* System.Int32 */ length, void* /* System.Globalization.CultureInfo */ culture, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + System.String strAConverted = InteropUtils.GetInstance(strA); + System.String strBConverted = InteropUtils.GetInstance(strB); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Int32 __returnValue = System.String.Compare(strAConverted, indexA, strBConverted, indexB, length, cultureConverted, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Compare_9")] + internal static int /* System.Int32 */ System_String_Compare_9(void* /* System.String */ strA, int /* System.Int32 */ indexA, void* /* System.String */ strB, int /* System.Int32 */ indexB, int /* System.Int32 */ length, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + System.String strAConverted = InteropUtils.GetInstance(strA); + System.String strBConverted = InteropUtils.GetInstance(strB); + + try { + System.Int32 __returnValue = System.String.Compare(strAConverted, indexA, strBConverted, indexB, length, comparisonType); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_CompareOrdinal")] + internal static int /* System.Int32 */ System_String_CompareOrdinal(void* /* System.String */ strA, void* /* System.String */ strB, void** /* System.Exception */ __outException) + { + System.String strAConverted = InteropUtils.GetInstance(strA); + System.String strBConverted = InteropUtils.GetInstance(strB); + + try { + System.Int32 __returnValue = System.String.CompareOrdinal(strAConverted, strBConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_CompareOrdinal_1")] + internal static int /* System.Int32 */ System_String_CompareOrdinal_1(void* /* System.String */ strA, int /* System.Int32 */ indexA, void* /* System.String */ strB, int /* System.Int32 */ indexB, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.String strAConverted = InteropUtils.GetInstance(strA); + System.String strBConverted = InteropUtils.GetInstance(strB); + + try { + System.Int32 __returnValue = System.String.CompareOrdinal(strAConverted, indexA, strBConverted, indexB, length); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_CompareTo")] + internal static int /* System.Int32 */ System_String_CompareTo(void* /* System.String */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_CompareTo_1")] + internal static int /* System.Int32 */ System_String_CompareTo_1(void* /* System.String */ __self, void* /* System.String */ strB, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String strBConverted = InteropUtils.GetInstance(strB); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(strBConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_EndsWith")] + internal static byte /* System.Boolean */ System_String_EndsWith(void* /* System.String */ __self, void* /* System.String */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.EndsWith(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_EndsWith_1")] + internal static byte /* System.Boolean */ System_String_EndsWith_1(void* /* System.String */ __self, void* /* System.String */ value, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.EndsWith(valueConverted, comparisonType); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_EndsWith_2")] + internal static byte /* System.Boolean */ System_String_EndsWith_2(void* /* System.String */ __self, void* /* System.String */ value, byte /* System.Boolean */ ignoreCase, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Boolean __returnValue = __selfConverted.EndsWith(valueConverted, ignoreCaseConverted, cultureConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_EndsWith_3")] + internal static byte /* System.Boolean */ System_String_EndsWith_3(void* /* System.String */ __self, char /* System.Char */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.EndsWith(value); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Equals")] + internal static byte /* System.Boolean */ System_String_Equals(void* /* System.String */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Equals_1")] + internal static byte /* System.Boolean */ System_String_Equals_1(void* /* System.String */ __self, void* /* System.String */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Equals_2")] + internal static byte /* System.Boolean */ System_String_Equals_2(void* /* System.String */ __self, void* /* System.String */ value, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted, comparisonType); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Equals_3")] + internal static byte /* System.Boolean */ System_String_Equals_3(void* /* System.String */ a, void* /* System.String */ b, void** /* System.Exception */ __outException) + { + System.String aConverted = InteropUtils.GetInstance(a); + System.String bConverted = InteropUtils.GetInstance(b); + + try { + System.Boolean __returnValue = System.String.Equals(aConverted, bConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Equals_4")] + internal static byte /* System.Boolean */ System_String_Equals_4(void* /* System.String */ a, void* /* System.String */ b, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + System.String aConverted = InteropUtils.GetInstance(a); + System.String bConverted = InteropUtils.GetInstance(b); + + try { + System.Boolean __returnValue = System.String.Equals(aConverted, bConverted, comparisonType); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_GetHashCode")] + internal static int /* System.Int32 */ System_String_GetHashCode(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_GetHashCode_1")] + internal static int /* System.Int32 */ System_String_GetHashCode_1(void* /* System.String */ __self, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(comparisonType); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_StartsWith")] + internal static byte /* System.Boolean */ System_String_StartsWith(void* /* System.String */ __self, void* /* System.String */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.StartsWith(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_StartsWith_1")] + internal static byte /* System.Boolean */ System_String_StartsWith_1(void* /* System.String */ __self, void* /* System.String */ value, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.StartsWith(valueConverted, comparisonType); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_StartsWith_2")] + internal static byte /* System.Boolean */ System_String_StartsWith_2(void* /* System.String */ __self, void* /* System.String */ value, byte /* System.Boolean */ ignoreCase, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Boolean __returnValue = __selfConverted.StartsWith(valueConverted, ignoreCaseConverted, cultureConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_StartsWith_3")] + internal static byte /* System.Boolean */ System_String_StartsWith_3(void* /* System.String */ __self, char /* System.Char */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.StartsWith(value); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Clone")] + internal static void* /* System.Object */ System_String_Clone(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Clone(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Copy")] + internal static void* /* System.String */ System_String_Copy(void* /* System.String */ str, void** /* System.Exception */ __outException) + { + System.String strConverted = InteropUtils.GetInstance(str); + + try { + System.String __returnValue = System.String.Copy(strConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_CopyTo")] + internal static void /* System.Void */ System_String_CopyTo(void* /* System.String */ __self, int /* System.Int32 */ sourceIndex, void* /* System.Char[] */ destination, int /* System.Int32 */ destinationIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] destinationConverted = InteropUtils.GetInstance(destination); + + try { + __selfConverted.CopyTo(sourceIndex, destinationConverted, destinationIndex, count); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_ToCharArray")] + internal static void* /* System.Char[] */ System_String_ToCharArray(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Char[] __returnValue = __selfConverted.ToCharArray(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_ToCharArray_1")] + internal static void* /* System.Char[] */ System_String_ToCharArray_1(void* /* System.String */ __self, int /* System.Int32 */ startIndex, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Char[] __returnValue = __selfConverted.ToCharArray(startIndex, length); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IsNullOrEmpty")] + internal static byte /* System.Boolean */ System_String_IsNullOrEmpty(void* /* System.String */ value, void** /* System.Exception */ __outException) + { + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.String.IsNullOrEmpty(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IsNullOrWhiteSpace")] + internal static byte /* System.Boolean */ System_String_IsNullOrWhiteSpace(void* /* System.String */ value, void** /* System.Exception */ __outException) + { + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.String.IsNullOrWhiteSpace(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_ToString")] + internal static void* /* System.String */ System_String_ToString(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_ToString_1")] + internal static void* /* System.String */ System_String_ToString_1(void* /* System.String */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String __returnValue = __selfConverted.ToString(providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_GetEnumerator")] + internal static void* /* System.CharEnumerator */ System_String_GetEnumerator(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.CharEnumerator __returnValue = __selfConverted.GetEnumerator(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_EnumerateRunes")] + internal static void* /* System.Text.StringRuneEnumerator */ System_String_EnumerateRunes(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.StringRuneEnumerator __returnValue = __selfConverted.EnumerateRunes(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_GetTypeCode")] + internal static System.TypeCode /* System.TypeCode */ System_String_GetTypeCode(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TypeCode __returnValue = __selfConverted.GetTypeCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.TypeCode); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IsNormalized")] + internal static byte /* System.Boolean */ System_String_IsNormalized(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsNormalized(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IsNormalized_1")] + internal static byte /* System.Boolean */ System_String_IsNormalized_1(void* /* System.String */ __self, System.Text.NormalizationForm /* System.Text.NormalizationForm */ normalizationForm, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsNormalized(normalizationForm); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Normalize")] + internal static void* /* System.String */ System_String_Normalize(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Normalize(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Normalize_1")] + internal static void* /* System.String */ System_String_Normalize_1(void* /* System.String */ __self, System.Text.NormalizationForm /* System.Text.NormalizationForm */ normalizationForm, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Normalize(normalizationForm); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Concat")] + internal static void* /* System.String */ System_String_Concat(void* /* System.Object */ arg0, void** /* System.Exception */ __outException) + { + System.Object arg0Converted = InteropUtils.GetInstance(arg0); + + try { + System.String __returnValue = System.String.Concat(arg0Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Concat_1")] + internal static void* /* System.String */ System_String_Concat_1(void* /* System.Object */ arg0, void* /* System.Object */ arg1, void** /* System.Exception */ __outException) + { + System.Object arg0Converted = InteropUtils.GetInstance(arg0); + System.Object arg1Converted = InteropUtils.GetInstance(arg1); + + try { + System.String __returnValue = System.String.Concat(arg0Converted, arg1Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Concat_2")] + internal static void* /* System.String */ System_String_Concat_2(void* /* System.Object */ arg0, void* /* System.Object */ arg1, void* /* System.Object */ arg2, void** /* System.Exception */ __outException) + { + System.Object arg0Converted = InteropUtils.GetInstance(arg0); + System.Object arg1Converted = InteropUtils.GetInstance(arg1); + System.Object arg2Converted = InteropUtils.GetInstance(arg2); + + try { + System.String __returnValue = System.String.Concat(arg0Converted, arg1Converted, arg2Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Concat_3")] + internal static void* /* System.String */ System_String_Concat_3(void* /* System.Object[] */ args, void** /* System.Exception */ __outException) + { + System.Object[] argsConverted = InteropUtils.GetInstance(args); + + try { + System.String __returnValue = System.String.Concat(argsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Concat_4")] + internal static void* /* System.String */ System_String_Concat_4(void* /* System.String */ str0, void* /* System.String */ str1, void** /* System.Exception */ __outException) + { + System.String str0Converted = InteropUtils.GetInstance(str0); + System.String str1Converted = InteropUtils.GetInstance(str1); + + try { + System.String __returnValue = System.String.Concat(str0Converted, str1Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Concat_5")] + internal static void* /* System.String */ System_String_Concat_5(void* /* System.String */ str0, void* /* System.String */ str1, void* /* System.String */ str2, void** /* System.Exception */ __outException) + { + System.String str0Converted = InteropUtils.GetInstance(str0); + System.String str1Converted = InteropUtils.GetInstance(str1); + System.String str2Converted = InteropUtils.GetInstance(str2); + + try { + System.String __returnValue = System.String.Concat(str0Converted, str1Converted, str2Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Concat_6")] + internal static void* /* System.String */ System_String_Concat_6(void* /* System.String */ str0, void* /* System.String */ str1, void* /* System.String */ str2, void* /* System.String */ str3, void** /* System.Exception */ __outException) + { + System.String str0Converted = InteropUtils.GetInstance(str0); + System.String str1Converted = InteropUtils.GetInstance(str1); + System.String str2Converted = InteropUtils.GetInstance(str2); + System.String str3Converted = InteropUtils.GetInstance(str3); + + try { + System.String __returnValue = System.String.Concat(str0Converted, str1Converted, str2Converted, str3Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Concat_7")] + internal static void* /* System.String */ System_String_Concat_7(void* /* System.String[] */ values, void** /* System.Exception */ __outException) + { + System.String[] valuesConverted = InteropUtils.GetInstance(values); + + try { + System.String __returnValue = System.String.Concat(valuesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Format")] + internal static void* /* System.String */ System_String_Format(void* /* System.String */ format, void* /* System.Object */ arg0, void** /* System.Exception */ __outException) + { + System.String formatConverted = InteropUtils.GetInstance(format); + System.Object arg0Converted = InteropUtils.GetInstance(arg0); + + try { + System.String __returnValue = System.String.Format(formatConverted, arg0Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Format_1")] + internal static void* /* System.String */ System_String_Format_1(void* /* System.String */ format, void* /* System.Object */ arg0, void* /* System.Object */ arg1, void** /* System.Exception */ __outException) + { + System.String formatConverted = InteropUtils.GetInstance(format); + System.Object arg0Converted = InteropUtils.GetInstance(arg0); + System.Object arg1Converted = InteropUtils.GetInstance(arg1); + + try { + System.String __returnValue = System.String.Format(formatConverted, arg0Converted, arg1Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Format_2")] + internal static void* /* System.String */ System_String_Format_2(void* /* System.String */ format, void* /* System.Object */ arg0, void* /* System.Object */ arg1, void* /* System.Object */ arg2, void** /* System.Exception */ __outException) + { + System.String formatConverted = InteropUtils.GetInstance(format); + System.Object arg0Converted = InteropUtils.GetInstance(arg0); + System.Object arg1Converted = InteropUtils.GetInstance(arg1); + System.Object arg2Converted = InteropUtils.GetInstance(arg2); + + try { + System.String __returnValue = System.String.Format(formatConverted, arg0Converted, arg1Converted, arg2Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Format_3")] + internal static void* /* System.String */ System_String_Format_3(void* /* System.String */ format, void* /* System.Object[] */ args, void** /* System.Exception */ __outException) + { + System.String formatConverted = InteropUtils.GetInstance(format); + System.Object[] argsConverted = InteropUtils.GetInstance(args); + + try { + System.String __returnValue = System.String.Format(formatConverted, argsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Format_4")] + internal static void* /* System.String */ System_String_Format_4(void* /* System.IFormatProvider */ provider, void* /* System.String */ format, void* /* System.Object */ arg0, void** /* System.Exception */ __outException) + { + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.String formatConverted = InteropUtils.GetInstance(format); + System.Object arg0Converted = InteropUtils.GetInstance(arg0); + + try { + System.String __returnValue = System.String.Format(providerConverted, formatConverted, arg0Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Format_5")] + internal static void* /* System.String */ System_String_Format_5(void* /* System.IFormatProvider */ provider, void* /* System.String */ format, void* /* System.Object */ arg0, void* /* System.Object */ arg1, void** /* System.Exception */ __outException) + { + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.String formatConverted = InteropUtils.GetInstance(format); + System.Object arg0Converted = InteropUtils.GetInstance(arg0); + System.Object arg1Converted = InteropUtils.GetInstance(arg1); + + try { + System.String __returnValue = System.String.Format(providerConverted, formatConverted, arg0Converted, arg1Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Format_6")] + internal static void* /* System.String */ System_String_Format_6(void* /* System.IFormatProvider */ provider, void* /* System.String */ format, void* /* System.Object */ arg0, void* /* System.Object */ arg1, void* /* System.Object */ arg2, void** /* System.Exception */ __outException) + { + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.String formatConverted = InteropUtils.GetInstance(format); + System.Object arg0Converted = InteropUtils.GetInstance(arg0); + System.Object arg1Converted = InteropUtils.GetInstance(arg1); + System.Object arg2Converted = InteropUtils.GetInstance(arg2); + + try { + System.String __returnValue = System.String.Format(providerConverted, formatConverted, arg0Converted, arg1Converted, arg2Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Format_7")] + internal static void* /* System.String */ System_String_Format_7(void* /* System.IFormatProvider */ provider, void* /* System.String */ format, void* /* System.Object[] */ args, void** /* System.Exception */ __outException) + { + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.String formatConverted = InteropUtils.GetInstance(format); + System.Object[] argsConverted = InteropUtils.GetInstance(args); + + try { + System.String __returnValue = System.String.Format(providerConverted, formatConverted, argsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Format_8")] + internal static void* /* System.String */ System_String_Format_8(void* /* System.IFormatProvider */ provider, void* /* System.Text.CompositeFormat */ format, void* /* System.Object[] */ args, void** /* System.Exception */ __outException) + { + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.Text.CompositeFormat formatConverted = InteropUtils.GetInstance(format); + System.Object[] argsConverted = InteropUtils.GetInstance(args); + + try { + System.String __returnValue = System.String.Format(providerConverted, formatConverted, argsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Insert")] + internal static void* /* System.String */ System_String_Insert(void* /* System.String */ __self, int /* System.Int32 */ startIndex, void* /* System.String */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.String __returnValue = __selfConverted.Insert(startIndex, valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Join")] + internal static void* /* System.String */ System_String_Join(char /* System.Char */ separator, void* /* System.String[] */ value, void** /* System.Exception */ __outException) + { + System.String[] valueConverted = InteropUtils.GetInstance(value); + + try { + System.String __returnValue = System.String.Join(separator, valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Join_1")] + internal static void* /* System.String */ System_String_Join_1(void* /* System.String */ separator, void* /* System.String[] */ value, void** /* System.Exception */ __outException) + { + System.String separatorConverted = InteropUtils.GetInstance(separator); + System.String[] valueConverted = InteropUtils.GetInstance(value); + + try { + System.String __returnValue = System.String.Join(separatorConverted, valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Join_2")] + internal static void* /* System.String */ System_String_Join_2(char /* System.Char */ separator, void* /* System.String[] */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + System.String[] valueConverted = InteropUtils.GetInstance(value); + + try { + System.String __returnValue = System.String.Join(separator, valueConverted, startIndex, count); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Join_3")] + internal static void* /* System.String */ System_String_Join_3(void* /* System.String */ separator, void* /* System.String[] */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + System.String separatorConverted = InteropUtils.GetInstance(separator); + System.String[] valueConverted = InteropUtils.GetInstance(value); + + try { + System.String __returnValue = System.String.Join(separatorConverted, valueConverted, startIndex, count); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Join_4")] + internal static void* /* System.String */ System_String_Join_4(char /* System.Char */ separator, void* /* System.Object[] */ values, void** /* System.Exception */ __outException) + { + System.Object[] valuesConverted = InteropUtils.GetInstance(values); + + try { + System.String __returnValue = System.String.Join(separator, valuesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Join_5")] + internal static void* /* System.String */ System_String_Join_5(void* /* System.String */ separator, void* /* System.Object[] */ values, void** /* System.Exception */ __outException) + { + System.String separatorConverted = InteropUtils.GetInstance(separator); + System.Object[] valuesConverted = InteropUtils.GetInstance(values); + + try { + System.String __returnValue = System.String.Join(separatorConverted, valuesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_PadLeft")] + internal static void* /* System.String */ System_String_PadLeft(void* /* System.String */ __self, int /* System.Int32 */ totalWidth, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.PadLeft(totalWidth); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_PadLeft_1")] + internal static void* /* System.String */ System_String_PadLeft_1(void* /* System.String */ __self, int /* System.Int32 */ totalWidth, char /* System.Char */ paddingChar, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.PadLeft(totalWidth, paddingChar); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_PadRight")] + internal static void* /* System.String */ System_String_PadRight(void* /* System.String */ __self, int /* System.Int32 */ totalWidth, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.PadRight(totalWidth); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_PadRight_1")] + internal static void* /* System.String */ System_String_PadRight_1(void* /* System.String */ __self, int /* System.Int32 */ totalWidth, char /* System.Char */ paddingChar, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.PadRight(totalWidth, paddingChar); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Remove")] + internal static void* /* System.String */ System_String_Remove(void* /* System.String */ __self, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Remove(startIndex, count); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Remove_1")] + internal static void* /* System.String */ System_String_Remove_1(void* /* System.String */ __self, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Remove(startIndex); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Replace")] + internal static void* /* System.String */ System_String_Replace(void* /* System.String */ __self, void* /* System.String */ oldValue, void* /* System.String */ newValue, byte /* System.Boolean */ ignoreCase, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String oldValueConverted = InteropUtils.GetInstance(oldValue); + System.String newValueConverted = InteropUtils.GetInstance(newValue); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.String __returnValue = __selfConverted.Replace(oldValueConverted, newValueConverted, ignoreCaseConverted, cultureConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Replace_1")] + internal static void* /* System.String */ System_String_Replace_1(void* /* System.String */ __self, void* /* System.String */ oldValue, void* /* System.String */ newValue, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String oldValueConverted = InteropUtils.GetInstance(oldValue); + System.String newValueConverted = InteropUtils.GetInstance(newValue); + + try { + System.String __returnValue = __selfConverted.Replace(oldValueConverted, newValueConverted, comparisonType); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Replace_2")] + internal static void* /* System.String */ System_String_Replace_2(void* /* System.String */ __self, char /* System.Char */ oldChar, char /* System.Char */ newChar, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Replace(oldChar, newChar); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Replace_3")] + internal static void* /* System.String */ System_String_Replace_3(void* /* System.String */ __self, void* /* System.String */ oldValue, void* /* System.String */ newValue, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String oldValueConverted = InteropUtils.GetInstance(oldValue); + System.String newValueConverted = InteropUtils.GetInstance(newValue); + + try { + System.String __returnValue = __selfConverted.Replace(oldValueConverted, newValueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_ReplaceLineEndings")] + internal static void* /* System.String */ System_String_ReplaceLineEndings(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ReplaceLineEndings(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_ReplaceLineEndings_1")] + internal static void* /* System.String */ System_String_ReplaceLineEndings_1(void* /* System.String */ __self, void* /* System.String */ replacementText, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String replacementTextConverted = InteropUtils.GetInstance(replacementText); + + try { + System.String __returnValue = __selfConverted.ReplaceLineEndings(replacementTextConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Split")] + internal static void* /* System.String[] */ System_String_Split(void* /* System.String */ __self, char /* System.Char */ separator, System.StringSplitOptions /* System.StringSplitOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.Split(separator, options); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Split_1")] + internal static void* /* System.String[] */ System_String_Split_1(void* /* System.String */ __self, char /* System.Char */ separator, int /* System.Int32 */ count, System.StringSplitOptions /* System.StringSplitOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.Split(separator, count, options); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Split_2")] + internal static void* /* System.String[] */ System_String_Split_2(void* /* System.String */ __self, void* /* System.Char[] */ separator, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] separatorConverted = InteropUtils.GetInstance(separator); + + try { + System.String[] __returnValue = __selfConverted.Split(separatorConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Split_3")] + internal static void* /* System.String[] */ System_String_Split_3(void* /* System.String */ __self, void* /* System.Char[] */ separator, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] separatorConverted = InteropUtils.GetInstance(separator); + + try { + System.String[] __returnValue = __selfConverted.Split(separatorConverted, count); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Split_4")] + internal static void* /* System.String[] */ System_String_Split_4(void* /* System.String */ __self, void* /* System.Char[] */ separator, System.StringSplitOptions /* System.StringSplitOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] separatorConverted = InteropUtils.GetInstance(separator); + + try { + System.String[] __returnValue = __selfConverted.Split(separatorConverted, options); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Split_5")] + internal static void* /* System.String[] */ System_String_Split_5(void* /* System.String */ __self, void* /* System.Char[] */ separator, int /* System.Int32 */ count, System.StringSplitOptions /* System.StringSplitOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] separatorConverted = InteropUtils.GetInstance(separator); + + try { + System.String[] __returnValue = __selfConverted.Split(separatorConverted, count, options); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Split_6")] + internal static void* /* System.String[] */ System_String_Split_6(void* /* System.String */ __self, void* /* System.String */ separator, System.StringSplitOptions /* System.StringSplitOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String separatorConverted = InteropUtils.GetInstance(separator); + + try { + System.String[] __returnValue = __selfConverted.Split(separatorConverted, options); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Split_7")] + internal static void* /* System.String[] */ System_String_Split_7(void* /* System.String */ __self, void* /* System.String */ separator, int /* System.Int32 */ count, System.StringSplitOptions /* System.StringSplitOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String separatorConverted = InteropUtils.GetInstance(separator); + + try { + System.String[] __returnValue = __selfConverted.Split(separatorConverted, count, options); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Split_8")] + internal static void* /* System.String[] */ System_String_Split_8(void* /* System.String */ __self, void* /* System.String[] */ separator, System.StringSplitOptions /* System.StringSplitOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String[] separatorConverted = InteropUtils.GetInstance(separator); + + try { + System.String[] __returnValue = __selfConverted.Split(separatorConverted, options); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Split_9")] + internal static void* /* System.String[] */ System_String_Split_9(void* /* System.String */ __self, void* /* System.String[] */ separator, int /* System.Int32 */ count, System.StringSplitOptions /* System.StringSplitOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String[] separatorConverted = InteropUtils.GetInstance(separator); + + try { + System.String[] __returnValue = __selfConverted.Split(separatorConverted, count, options); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Substring")] + internal static void* /* System.String */ System_String_Substring(void* /* System.String */ __self, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Substring(startIndex); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Substring_1")] + internal static void* /* System.String */ System_String_Substring_1(void* /* System.String */ __self, int /* System.Int32 */ startIndex, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Substring(startIndex, length); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_ToLower")] + internal static void* /* System.String */ System_String_ToLower(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToLower(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_ToLower_1")] + internal static void* /* System.String */ System_String_ToLower_1(void* /* System.String */ __self, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.String __returnValue = __selfConverted.ToLower(cultureConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_ToLowerInvariant")] + internal static void* /* System.String */ System_String_ToLowerInvariant(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToLowerInvariant(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_ToUpper")] + internal static void* /* System.String */ System_String_ToUpper(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToUpper(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_ToUpper_1")] + internal static void* /* System.String */ System_String_ToUpper_1(void* /* System.String */ __self, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.String __returnValue = __selfConverted.ToUpper(cultureConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_ToUpperInvariant")] + internal static void* /* System.String */ System_String_ToUpperInvariant(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToUpperInvariant(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Trim")] + internal static void* /* System.String */ System_String_Trim(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Trim(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Trim_1")] + internal static void* /* System.String */ System_String_Trim_1(void* /* System.String */ __self, char /* System.Char */ trimChar, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Trim(trimChar); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Trim_2")] + internal static void* /* System.String */ System_String_Trim_2(void* /* System.String */ __self, void* /* System.Char[] */ trimChars, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] trimCharsConverted = InteropUtils.GetInstance(trimChars); + + try { + System.String __returnValue = __selfConverted.Trim(trimCharsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_TrimStart")] + internal static void* /* System.String */ System_String_TrimStart(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.TrimStart(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_TrimStart_1")] + internal static void* /* System.String */ System_String_TrimStart_1(void* /* System.String */ __self, char /* System.Char */ trimChar, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.TrimStart(trimChar); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_TrimStart_2")] + internal static void* /* System.String */ System_String_TrimStart_2(void* /* System.String */ __self, void* /* System.Char[] */ trimChars, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] trimCharsConverted = InteropUtils.GetInstance(trimChars); + + try { + System.String __returnValue = __selfConverted.TrimStart(trimCharsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_TrimEnd")] + internal static void* /* System.String */ System_String_TrimEnd(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.TrimEnd(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_TrimEnd_1")] + internal static void* /* System.String */ System_String_TrimEnd_1(void* /* System.String */ __self, char /* System.Char */ trimChar, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.TrimEnd(trimChar); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_TrimEnd_2")] + internal static void* /* System.String */ System_String_TrimEnd_2(void* /* System.String */ __self, void* /* System.Char[] */ trimChars, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] trimCharsConverted = InteropUtils.GetInstance(trimChars); + + try { + System.String __returnValue = __selfConverted.TrimEnd(trimCharsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Contains")] + internal static byte /* System.Boolean */ System_String_Contains(void* /* System.String */ __self, void* /* System.String */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Contains(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Contains_1")] + internal static byte /* System.Boolean */ System_String_Contains_1(void* /* System.String */ __self, void* /* System.String */ value, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Contains(valueConverted, comparisonType); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Contains_2")] + internal static byte /* System.Boolean */ System_String_Contains_2(void* /* System.String */ __self, char /* System.Char */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.Contains(value); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Contains_3")] + internal static byte /* System.Boolean */ System_String_Contains_3(void* /* System.String */ __self, char /* System.Char */ value, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.Contains(value, comparisonType); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IndexOf")] + internal static int /* System.Int32 */ System_String_IndexOf(void* /* System.String */ __self, char /* System.Char */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(value); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IndexOf_1")] + internal static int /* System.Int32 */ System_String_IndexOf_1(void* /* System.String */ __self, char /* System.Char */ value, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(value, startIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IndexOf_2")] + internal static int /* System.Int32 */ System_String_IndexOf_2(void* /* System.String */ __self, char /* System.Char */ value, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(value, comparisonType); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IndexOf_3")] + internal static int /* System.Int32 */ System_String_IndexOf_3(void* /* System.String */ __self, char /* System.Char */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(value, startIndex, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IndexOfAny")] + internal static int /* System.Int32 */ System_String_IndexOfAny(void* /* System.String */ __self, void* /* System.Char[] */ anyOf, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] anyOfConverted = InteropUtils.GetInstance(anyOf); + + try { + System.Int32 __returnValue = __selfConverted.IndexOfAny(anyOfConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IndexOfAny_1")] + internal static int /* System.Int32 */ System_String_IndexOfAny_1(void* /* System.String */ __self, void* /* System.Char[] */ anyOf, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] anyOfConverted = InteropUtils.GetInstance(anyOf); + + try { + System.Int32 __returnValue = __selfConverted.IndexOfAny(anyOfConverted, startIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IndexOfAny_2")] + internal static int /* System.Int32 */ System_String_IndexOfAny_2(void* /* System.String */ __self, void* /* System.Char[] */ anyOf, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] anyOfConverted = InteropUtils.GetInstance(anyOf); + + try { + System.Int32 __returnValue = __selfConverted.IndexOfAny(anyOfConverted, startIndex, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IndexOf_4")] + internal static int /* System.Int32 */ System_String_IndexOf_4(void* /* System.String */ __self, void* /* System.String */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IndexOf_5")] + internal static int /* System.Int32 */ System_String_IndexOf_5(void* /* System.String */ __self, void* /* System.String */ value, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(valueConverted, startIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IndexOf_6")] + internal static int /* System.Int32 */ System_String_IndexOf_6(void* /* System.String */ __self, void* /* System.String */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(valueConverted, startIndex, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IndexOf_7")] + internal static int /* System.Int32 */ System_String_IndexOf_7(void* /* System.String */ __self, void* /* System.String */ value, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(valueConverted, comparisonType); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IndexOf_8")] + internal static int /* System.Int32 */ System_String_IndexOf_8(void* /* System.String */ __self, void* /* System.String */ value, int /* System.Int32 */ startIndex, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(valueConverted, startIndex, comparisonType); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_IndexOf_9")] + internal static int /* System.Int32 */ System_String_IndexOf_9(void* /* System.String */ __self, void* /* System.String */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(valueConverted, startIndex, count, comparisonType); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_LastIndexOf")] + internal static int /* System.Int32 */ System_String_LastIndexOf(void* /* System.String */ __self, char /* System.Char */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(value); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_LastIndexOf_1")] + internal static int /* System.Int32 */ System_String_LastIndexOf_1(void* /* System.String */ __self, char /* System.Char */ value, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(value, startIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_LastIndexOf_2")] + internal static int /* System.Int32 */ System_String_LastIndexOf_2(void* /* System.String */ __self, char /* System.Char */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(value, startIndex, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_LastIndexOfAny")] + internal static int /* System.Int32 */ System_String_LastIndexOfAny(void* /* System.String */ __self, void* /* System.Char[] */ anyOf, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] anyOfConverted = InteropUtils.GetInstance(anyOf); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOfAny(anyOfConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_LastIndexOfAny_1")] + internal static int /* System.Int32 */ System_String_LastIndexOfAny_1(void* /* System.String */ __self, void* /* System.Char[] */ anyOf, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] anyOfConverted = InteropUtils.GetInstance(anyOf); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOfAny(anyOfConverted, startIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_LastIndexOfAny_2")] + internal static int /* System.Int32 */ System_String_LastIndexOfAny_2(void* /* System.String */ __self, void* /* System.Char[] */ anyOf, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] anyOfConverted = InteropUtils.GetInstance(anyOf); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOfAny(anyOfConverted, startIndex, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_LastIndexOf_3")] + internal static int /* System.Int32 */ System_String_LastIndexOf_3(void* /* System.String */ __self, void* /* System.String */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_LastIndexOf_4")] + internal static int /* System.Int32 */ System_String_LastIndexOf_4(void* /* System.String */ __self, void* /* System.String */ value, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(valueConverted, startIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_LastIndexOf_5")] + internal static int /* System.Int32 */ System_String_LastIndexOf_5(void* /* System.String */ __self, void* /* System.String */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(valueConverted, startIndex, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_LastIndexOf_6")] + internal static int /* System.Int32 */ System_String_LastIndexOf_6(void* /* System.String */ __self, void* /* System.String */ value, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(valueConverted, comparisonType); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_LastIndexOf_7")] + internal static int /* System.Int32 */ System_String_LastIndexOf_7(void* /* System.String */ __self, void* /* System.String */ value, int /* System.Int32 */ startIndex, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(valueConverted, startIndex, comparisonType); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_LastIndexOf_8")] + internal static int /* System.Int32 */ System_String_LastIndexOf_8(void* /* System.String */ __self, void* /* System.String */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, System.StringComparison /* System.StringComparison */ comparisonType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(valueConverted, startIndex, count, comparisonType); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Create")] + internal static void* /* System.String */ System_String_Create(void* /* System.Char[] */ value, void** /* System.Exception */ __outException) + { + System.Char[] valueConverted = InteropUtils.GetInstance(value); + + try { + System.String __returnValue = new System.String(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Create_1")] + internal static void* /* System.String */ System_String_Create_1(void* /* System.Char[] */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Char[] valueConverted = InteropUtils.GetInstance(value); + + try { + System.String __returnValue = new System.String(valueConverted, startIndex, length); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Create_2")] + internal static void* /* System.String */ System_String_Create_2(char /* System.Char */ c, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = new System.String(c, count); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Chars_Get")] + internal static char /* System.Char */ System_String_Chars_Get(void* /* System.String */ __self, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Char __returnValue = __selfConverted[index]; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return (char)0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_String_Length_Get")] + internal static int /* System.Int32 */ System_String_Length_Get(void* /* System.String */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.String __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Length; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_String_Empty_Get")] + internal static void* /* System.String */ System_String_Empty_Get() + { + + System.String __returnValue = System.String.Empty; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_String_TypeOf")] + internal static void* /* System.Type */ System_String_TypeOf() + { + + System.Type __returnValue = typeof(System.String); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_String_Destroy")] + internal static void /* System.Void */ System_String_Destroy(void* /* System.String */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_StringComparison +{ + [UnmanagedCallersOnly(EntryPoint = "System_StringComparison_TypeOf")] + internal static void* /* System.Type */ System_StringComparison_TypeOf() + { + + System.Type __returnValue = typeof(System.StringComparison); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Globalization_CultureInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_CreateSpecificCulture")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_CreateSpecificCulture(void* /* System.String */ name, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Globalization.CultureInfo __returnValue = System.Globalization.CultureInfo.CreateSpecificCulture(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_GetCultures")] + internal static void* /* System.Globalization.CultureInfo[] */ System_Globalization_CultureInfo_GetCultures(System.Globalization.CultureTypes /* System.Globalization.CultureTypes */ types, void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CultureInfo[] __returnValue = System.Globalization.CultureInfo.GetCultures(types); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_Equals")] + internal static byte /* System.Boolean */ System_Globalization_CultureInfo_Equals(void* /* System.Globalization.CultureInfo */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_GetHashCode")] + internal static int /* System.Int32 */ System_Globalization_CultureInfo_GetHashCode(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_ToString")] + internal static void* /* System.String */ System_Globalization_CultureInfo_ToString(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_GetFormat")] + internal static void* /* System.Object */ System_Globalization_CultureInfo_GetFormat(void* /* System.Globalization.CultureInfo */ __self, void* /* System.Type */ formatType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Type formatTypeConverted = InteropUtils.GetInstance(formatType); + + try { + System.Object __returnValue = __selfConverted.GetFormat(formatTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_ClearCachedData")] + internal static void /* System.Void */ System_Globalization_CultureInfo_ClearCachedData(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.ClearCachedData(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_GetConsoleFallbackUICulture")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_GetConsoleFallbackUICulture(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.CultureInfo __returnValue = __selfConverted.GetConsoleFallbackUICulture(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_Clone")] + internal static void* /* System.Object */ System_Globalization_CultureInfo_Clone(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Clone(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_ReadOnly")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_ReadOnly(void* /* System.Globalization.CultureInfo */ ci, void** /* System.Exception */ __outException) + { + System.Globalization.CultureInfo ciConverted = InteropUtils.GetInstance(ci); + + try { + System.Globalization.CultureInfo __returnValue = System.Globalization.CultureInfo.ReadOnly(ciConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_GetCultureInfo")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_GetCultureInfo(int /* System.Int32 */ culture, void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CultureInfo __returnValue = System.Globalization.CultureInfo.GetCultureInfo(culture); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_GetCultureInfo_1")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_GetCultureInfo_1(void* /* System.String */ name, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Globalization.CultureInfo __returnValue = System.Globalization.CultureInfo.GetCultureInfo(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_GetCultureInfo_2")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_GetCultureInfo_2(void* /* System.String */ name, void* /* System.String */ altName, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + System.String altNameConverted = InteropUtils.GetInstance(altName); + + try { + System.Globalization.CultureInfo __returnValue = System.Globalization.CultureInfo.GetCultureInfo(nameConverted, altNameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_GetCultureInfo_3")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_GetCultureInfo_3(void* /* System.String */ name, byte /* System.Boolean */ predefinedOnly, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + System.Boolean predefinedOnlyConverted = predefinedOnly.ToBool(); + + try { + System.Globalization.CultureInfo __returnValue = System.Globalization.CultureInfo.GetCultureInfo(nameConverted, predefinedOnlyConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_GetCultureInfoByIetfLanguageTag")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_GetCultureInfoByIetfLanguageTag(void* /* System.String */ name, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Globalization.CultureInfo __returnValue = System.Globalization.CultureInfo.GetCultureInfoByIetfLanguageTag(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_Create_1")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_Create_1(void* /* System.String */ name, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Globalization.CultureInfo __returnValue = new System.Globalization.CultureInfo(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_Create_2")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_Create_2(void* /* System.String */ name, byte /* System.Boolean */ useUserOverride, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + System.Boolean useUserOverrideConverted = useUserOverride.ToBool(); + + try { + System.Globalization.CultureInfo __returnValue = new System.Globalization.CultureInfo(nameConverted, useUserOverrideConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_Create_3")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_Create_3(int /* System.Int32 */ culture, void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CultureInfo __returnValue = new System.Globalization.CultureInfo(culture); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_Create_4")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_Create_4(int /* System.Int32 */ culture, byte /* System.Boolean */ useUserOverride, void** /* System.Exception */ __outException) + { + System.Boolean useUserOverrideConverted = useUserOverride.ToBool(); + + try { + System.Globalization.CultureInfo __returnValue = new System.Globalization.CultureInfo(culture, useUserOverrideConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_CurrentCulture_Get")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_CurrentCulture_Get(void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CultureInfo __returnValue = System.Globalization.CultureInfo.CurrentCulture; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_CurrentCulture_Set")] + internal static void /* System.Void */ System_Globalization_CultureInfo_CurrentCulture_Set(void* /* System.Globalization.CultureInfo */ __value, void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CultureInfo.CurrentCulture = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_CurrentUICulture_Get")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_CurrentUICulture_Get(void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CultureInfo __returnValue = System.Globalization.CultureInfo.CurrentUICulture; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_CurrentUICulture_Set")] + internal static void /* System.Void */ System_Globalization_CultureInfo_CurrentUICulture_Set(void* /* System.Globalization.CultureInfo */ __value, void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CultureInfo.CurrentUICulture = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_InstalledUICulture_Get")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_InstalledUICulture_Get(void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CultureInfo __returnValue = System.Globalization.CultureInfo.InstalledUICulture; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Get")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Get(void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CultureInfo __returnValue = System.Globalization.CultureInfo.DefaultThreadCurrentCulture; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Set")] + internal static void /* System.Void */ System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Set(void* /* System.Globalization.CultureInfo */ __value, void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CultureInfo.DefaultThreadCurrentCulture = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Get")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Get(void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CultureInfo __returnValue = System.Globalization.CultureInfo.DefaultThreadCurrentUICulture; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Set")] + internal static void /* System.Void */ System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Set(void* /* System.Globalization.CultureInfo */ __value, void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CultureInfo.DefaultThreadCurrentUICulture = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_InvariantCulture_Get")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_InvariantCulture_Get(void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CultureInfo __returnValue = System.Globalization.CultureInfo.InvariantCulture; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_Parent_Get")] + internal static void* /* System.Globalization.CultureInfo */ System_Globalization_CultureInfo_Parent_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.CultureInfo __returnValue = __selfConverted.Parent; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_LCID_Get")] + internal static int /* System.Int32 */ System_Globalization_CultureInfo_LCID_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.LCID; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_KeyboardLayoutId_Get")] + internal static int /* System.Int32 */ System_Globalization_CultureInfo_KeyboardLayoutId_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.KeyboardLayoutId; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_Name_Get")] + internal static void* /* System.String */ System_Globalization_CultureInfo_Name_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Name; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_IetfLanguageTag_Get")] + internal static void* /* System.String */ System_Globalization_CultureInfo_IetfLanguageTag_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.IetfLanguageTag; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_DisplayName_Get")] + internal static void* /* System.String */ System_Globalization_CultureInfo_DisplayName_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.DisplayName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_NativeName_Get")] + internal static void* /* System.String */ System_Globalization_CultureInfo_NativeName_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.NativeName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_EnglishName_Get")] + internal static void* /* System.String */ System_Globalization_CultureInfo_EnglishName_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.EnglishName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_TwoLetterISOLanguageName_Get")] + internal static void* /* System.String */ System_Globalization_CultureInfo_TwoLetterISOLanguageName_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.TwoLetterISOLanguageName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_ThreeLetterISOLanguageName_Get")] + internal static void* /* System.String */ System_Globalization_CultureInfo_ThreeLetterISOLanguageName_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ThreeLetterISOLanguageName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_ThreeLetterWindowsLanguageName_Get")] + internal static void* /* System.String */ System_Globalization_CultureInfo_ThreeLetterWindowsLanguageName_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ThreeLetterWindowsLanguageName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_CompareInfo_Get")] + internal static void* /* System.Globalization.CompareInfo */ System_Globalization_CultureInfo_CompareInfo_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.CompareInfo __returnValue = __selfConverted.CompareInfo; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_TextInfo_Get")] + internal static void* /* System.Globalization.TextInfo */ System_Globalization_CultureInfo_TextInfo_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.TextInfo __returnValue = __selfConverted.TextInfo; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_IsNeutralCulture_Get")] + internal static byte /* System.Boolean */ System_Globalization_CultureInfo_IsNeutralCulture_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsNeutralCulture; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_CultureTypes_Get")] + internal static System.Globalization.CultureTypes /* System.Globalization.CultureTypes */ System_Globalization_CultureInfo_CultureTypes_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.CultureTypes __returnValue = __selfConverted.CultureTypes; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Globalization.CultureTypes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_NumberFormat_Get")] + internal static void* /* System.Globalization.NumberFormatInfo */ System_Globalization_CultureInfo_NumberFormat_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.NumberFormatInfo __returnValue = __selfConverted.NumberFormat; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_NumberFormat_Set")] + internal static void /* System.Void */ System_Globalization_CultureInfo_NumberFormat_Set(void* /* System.Globalization.CultureInfo */ __self, void* /* System.Globalization.NumberFormatInfo */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.NumberFormat = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_DateTimeFormat_Get")] + internal static void* /* System.Globalization.DateTimeFormatInfo */ System_Globalization_CultureInfo_DateTimeFormat_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.DateTimeFormatInfo __returnValue = __selfConverted.DateTimeFormat; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_DateTimeFormat_Set")] + internal static void /* System.Void */ System_Globalization_CultureInfo_DateTimeFormat_Set(void* /* System.Globalization.CultureInfo */ __self, void* /* System.Globalization.DateTimeFormatInfo */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.DateTimeFormat = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_Calendar_Get")] + internal static void* /* System.Globalization.Calendar */ System_Globalization_CultureInfo_Calendar_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.Calendar __returnValue = __selfConverted.Calendar; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_OptionalCalendars_Get")] + internal static void* /* System.Globalization.Calendar[] */ System_Globalization_CultureInfo_OptionalCalendars_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.Calendar[] __returnValue = __selfConverted.OptionalCalendars; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_UseUserOverride_Get")] + internal static byte /* System.Boolean */ System_Globalization_CultureInfo_UseUserOverride_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.UseUserOverride; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_IsReadOnly_Get")] + internal static byte /* System.Boolean */ System_Globalization_CultureInfo_IsReadOnly_Get(void* /* System.Globalization.CultureInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CultureInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsReadOnly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_TypeOf")] + internal static void* /* System.Type */ System_Globalization_CultureInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.CultureInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureInfo_Destroy")] + internal static void /* System.Void */ System_Globalization_CultureInfo_Destroy(void* /* System.Globalization.CultureInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_IFormatProvider +{ + [UnmanagedCallersOnly(EntryPoint = "System_IFormatProvider_GetFormat")] + internal static void* /* System.Object */ System_IFormatProvider_GetFormat(void* /* System.IFormatProvider */ __self, void* /* System.Type */ formatType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IFormatProvider __selfConverted = InteropUtils.GetInstance(__self); + + System.Type formatTypeConverted = InteropUtils.GetInstance(formatType); + + try { + System.Object __returnValue = __selfConverted.GetFormat(formatTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IFormatProvider_TypeOf")] + internal static void* /* System.Type */ System_IFormatProvider_TypeOf() + { + + System.Type __returnValue = typeof(System.IFormatProvider); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_IFormatProvider_Destroy")] + internal static void /* System.Void */ System_IFormatProvider_Destroy(void* /* System.IFormatProvider */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + +internal unsafe class System_Collections_IStructuralComparable +{ + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IStructuralComparable_CompareTo")] + internal static int /* System.Int32 */ System_Collections_IStructuralComparable_CompareTo(void* /* System.Collections.IStructuralComparable */ __self, void* /* System.Object */ other, void* /* System.Collections.IComparer */ comparer, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IStructuralComparable __selfConverted = InteropUtils.GetInstance(__self); + + System.Object otherConverted = InteropUtils.GetInstance(other); + System.Collections.IComparer comparerConverted = InteropUtils.GetInstance(comparer); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(otherConverted, comparerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IStructuralComparable_TypeOf")] + internal static void* /* System.Type */ System_Collections_IStructuralComparable_TypeOf() + { + + System.Type __returnValue = typeof(System.Collections.IStructuralComparable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IStructuralComparable_Destroy")] + internal static void /* System.Void */ System_Collections_IStructuralComparable_Destroy(void* /* System.Collections.IStructuralComparable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Collections_IComparer +{ + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IComparer_Compare")] + internal static int /* System.Int32 */ System_Collections_IComparer_Compare(void* /* System.Collections.IComparer */ __self, void* /* System.Object */ x, void* /* System.Object */ y, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IComparer __selfConverted = InteropUtils.GetInstance(__self); + + System.Object xConverted = InteropUtils.GetInstance(x); + System.Object yConverted = InteropUtils.GetInstance(y); + + try { + System.Int32 __returnValue = __selfConverted.Compare(xConverted, yConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IComparer_TypeOf")] + internal static void* /* System.Type */ System_Collections_IComparer_TypeOf() + { + + System.Type __returnValue = typeof(System.Collections.IComparer); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IComparer_Destroy")] + internal static void /* System.Void */ System_Collections_IComparer_Destroy(void* /* System.Collections.IComparer */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Collections_IStructuralEquatable +{ + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IStructuralEquatable_Equals")] + internal static byte /* System.Boolean */ System_Collections_IStructuralEquatable_Equals(void* /* System.Collections.IStructuralEquatable */ __self, void* /* System.Object */ other, void* /* System.Collections.IEqualityComparer */ comparer, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IStructuralEquatable __selfConverted = InteropUtils.GetInstance(__self); + + System.Object otherConverted = InteropUtils.GetInstance(other); + System.Collections.IEqualityComparer comparerConverted = InteropUtils.GetInstance(comparer); + + try { + System.Boolean __returnValue = __selfConverted.Equals(otherConverted, comparerConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IStructuralEquatable_GetHashCode")] + internal static int /* System.Int32 */ System_Collections_IStructuralEquatable_GetHashCode(void* /* System.Collections.IStructuralEquatable */ __self, void* /* System.Collections.IEqualityComparer */ comparer, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IStructuralEquatable __selfConverted = InteropUtils.GetInstance(__self); + + System.Collections.IEqualityComparer comparerConverted = InteropUtils.GetInstance(comparer); + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(comparerConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IStructuralEquatable_TypeOf")] + internal static void* /* System.Type */ System_Collections_IStructuralEquatable_TypeOf() + { + + System.Type __returnValue = typeof(System.Collections.IStructuralEquatable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IStructuralEquatable_Destroy")] + internal static void /* System.Void */ System_Collections_IStructuralEquatable_Destroy(void* /* System.Collections.IStructuralEquatable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Collections_IEqualityComparer +{ + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IEqualityComparer_Equals")] + internal static byte /* System.Boolean */ System_Collections_IEqualityComparer_Equals(void* /* System.Collections.IEqualityComparer */ __self, void* /* System.Object */ x, void* /* System.Object */ y, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IEqualityComparer __selfConverted = InteropUtils.GetInstance(__self); + + System.Object xConverted = InteropUtils.GetInstance(x); + System.Object yConverted = InteropUtils.GetInstance(y); + + try { + System.Boolean __returnValue = __selfConverted.Equals(xConverted, yConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IEqualityComparer_GetHashCode")] + internal static int /* System.Int32 */ System_Collections_IEqualityComparer_GetHashCode(void* /* System.Collections.IEqualityComparer */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IEqualityComparer __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(objConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IEqualityComparer_TypeOf")] + internal static void* /* System.Type */ System_Collections_IEqualityComparer_TypeOf() + { + + System.Type __returnValue = typeof(System.Collections.IEqualityComparer); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IEqualityComparer_Destroy")] + internal static void /* System.Void */ System_Collections_IEqualityComparer_Destroy(void* /* System.Collections.IEqualityComparer */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + +internal unsafe class System_Globalization_CultureTypes +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CultureTypes_TypeOf")] + internal static void* /* System.Type */ System_Globalization_CultureTypes_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.CultureTypes); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Globalization_CompareInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_GetCompareInfo")] + internal static void* /* System.Globalization.CompareInfo */ System_Globalization_CompareInfo_GetCompareInfo(int /* System.Int32 */ culture, void* /* System.Reflection.Assembly */ assembly, void** /* System.Exception */ __outException) + { + System.Reflection.Assembly assemblyConverted = InteropUtils.GetInstance(assembly); + + try { + System.Globalization.CompareInfo __returnValue = System.Globalization.CompareInfo.GetCompareInfo(culture, assemblyConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_GetCompareInfo_1")] + internal static void* /* System.Globalization.CompareInfo */ System_Globalization_CompareInfo_GetCompareInfo_1(void* /* System.String */ name, void* /* System.Reflection.Assembly */ assembly, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Assembly assemblyConverted = InteropUtils.GetInstance(assembly); + + try { + System.Globalization.CompareInfo __returnValue = System.Globalization.CompareInfo.GetCompareInfo(nameConverted, assemblyConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_GetCompareInfo_2")] + internal static void* /* System.Globalization.CompareInfo */ System_Globalization_CompareInfo_GetCompareInfo_2(int /* System.Int32 */ culture, void** /* System.Exception */ __outException) + { + + try { + System.Globalization.CompareInfo __returnValue = System.Globalization.CompareInfo.GetCompareInfo(culture); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_GetCompareInfo_3")] + internal static void* /* System.Globalization.CompareInfo */ System_Globalization_CompareInfo_GetCompareInfo_3(void* /* System.String */ name, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Globalization.CompareInfo __returnValue = System.Globalization.CompareInfo.GetCompareInfo(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IsSortable")] + internal static byte /* System.Boolean */ System_Globalization_CompareInfo_IsSortable(char /* System.Char */ ch, void** /* System.Exception */ __outException) + { + + try { + System.Boolean __returnValue = System.Globalization.CompareInfo.IsSortable(ch); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IsSortable_1")] + internal static byte /* System.Boolean */ System_Globalization_CompareInfo_IsSortable_1(void* /* System.String */ text, void** /* System.Exception */ __outException) + { + System.String textConverted = InteropUtils.GetInstance(text); + + try { + System.Boolean __returnValue = System.Globalization.CompareInfo.IsSortable(textConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IsSortable_2")] + internal static byte /* System.Boolean */ System_Globalization_CompareInfo_IsSortable_2(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Globalization.CompareInfo.IsSortable(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_Compare")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_Compare(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ string1, void* /* System.String */ string2, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String string1Converted = InteropUtils.GetInstance(string1); + System.String string2Converted = InteropUtils.GetInstance(string2); + + try { + System.Int32 __returnValue = __selfConverted.Compare(string1Converted, string2Converted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_Compare_1")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_Compare_1(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ string1, void* /* System.String */ string2, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String string1Converted = InteropUtils.GetInstance(string1); + System.String string2Converted = InteropUtils.GetInstance(string2); + + try { + System.Int32 __returnValue = __selfConverted.Compare(string1Converted, string2Converted, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_Compare_2")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_Compare_2(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ string1, int /* System.Int32 */ offset1, int /* System.Int32 */ length1, void* /* System.String */ string2, int /* System.Int32 */ offset2, int /* System.Int32 */ length2, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String string1Converted = InteropUtils.GetInstance(string1); + System.String string2Converted = InteropUtils.GetInstance(string2); + + try { + System.Int32 __returnValue = __selfConverted.Compare(string1Converted, offset1, length1, string2Converted, offset2, length2); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_Compare_3")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_Compare_3(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ string1, int /* System.Int32 */ offset1, void* /* System.String */ string2, int /* System.Int32 */ offset2, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String string1Converted = InteropUtils.GetInstance(string1); + System.String string2Converted = InteropUtils.GetInstance(string2); + + try { + System.Int32 __returnValue = __selfConverted.Compare(string1Converted, offset1, string2Converted, offset2, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_Compare_4")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_Compare_4(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ string1, int /* System.Int32 */ offset1, void* /* System.String */ string2, int /* System.Int32 */ offset2, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String string1Converted = InteropUtils.GetInstance(string1); + System.String string2Converted = InteropUtils.GetInstance(string2); + + try { + System.Int32 __returnValue = __selfConverted.Compare(string1Converted, offset1, string2Converted, offset2); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_Compare_5")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_Compare_5(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ string1, int /* System.Int32 */ offset1, int /* System.Int32 */ length1, void* /* System.String */ string2, int /* System.Int32 */ offset2, int /* System.Int32 */ length2, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String string1Converted = InteropUtils.GetInstance(string1); + System.String string2Converted = InteropUtils.GetInstance(string2); + + try { + System.Int32 __returnValue = __selfConverted.Compare(string1Converted, offset1, length1, string2Converted, offset2, length2, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IsPrefix")] + internal static byte /* System.Boolean */ System_Globalization_CompareInfo_IsPrefix(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ prefix, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String prefixConverted = InteropUtils.GetInstance(prefix); + + try { + System.Boolean __returnValue = __selfConverted.IsPrefix(sourceConverted, prefixConverted, options); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IsPrefix_1")] + internal static byte /* System.Boolean */ System_Globalization_CompareInfo_IsPrefix_1(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ prefix, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String prefixConverted = InteropUtils.GetInstance(prefix); + + try { + System.Boolean __returnValue = __selfConverted.IsPrefix(sourceConverted, prefixConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IsSuffix")] + internal static byte /* System.Boolean */ System_Globalization_CompareInfo_IsSuffix(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ suffix, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String suffixConverted = InteropUtils.GetInstance(suffix); + + try { + System.Boolean __returnValue = __selfConverted.IsSuffix(sourceConverted, suffixConverted, options); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IsSuffix_1")] + internal static byte /* System.Boolean */ System_Globalization_CompareInfo_IsSuffix_1(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ suffix, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String suffixConverted = InteropUtils.GetInstance(suffix); + + try { + System.Boolean __returnValue = __selfConverted.IsSuffix(sourceConverted, suffixConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IndexOf")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_IndexOf(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, char /* System.Char */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(sourceConverted, value); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IndexOf_1")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_IndexOf_1(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(sourceConverted, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IndexOf_2")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_IndexOf_2(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, char /* System.Char */ value, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(sourceConverted, value, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IndexOf_3")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_IndexOf_3(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ value, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(sourceConverted, valueConverted, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IndexOf_4")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_IndexOf_4(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, char /* System.Char */ value, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(sourceConverted, value, startIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IndexOf_5")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_IndexOf_5(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ value, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(sourceConverted, valueConverted, startIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IndexOf_6")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_IndexOf_6(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, char /* System.Char */ value, int /* System.Int32 */ startIndex, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(sourceConverted, value, startIndex, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IndexOf_7")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_IndexOf_7(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ value, int /* System.Int32 */ startIndex, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(sourceConverted, valueConverted, startIndex, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IndexOf_8")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_IndexOf_8(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, char /* System.Char */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(sourceConverted, value, startIndex, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IndexOf_9")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_IndexOf_9(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(sourceConverted, valueConverted, startIndex, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IndexOf_10")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_IndexOf_10(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, char /* System.Char */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(sourceConverted, value, startIndex, count, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_IndexOf_11")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_IndexOf_11(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.IndexOf(sourceConverted, valueConverted, startIndex, count, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_LastIndexOf")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_LastIndexOf(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, char /* System.Char */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(sourceConverted, value); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_LastIndexOf_1")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_LastIndexOf_1(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(sourceConverted, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_LastIndexOf_2")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_LastIndexOf_2(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, char /* System.Char */ value, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(sourceConverted, value, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_LastIndexOf_3")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_LastIndexOf_3(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ value, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(sourceConverted, valueConverted, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_LastIndexOf_4")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_LastIndexOf_4(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, char /* System.Char */ value, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(sourceConverted, value, startIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_LastIndexOf_5")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_LastIndexOf_5(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ value, int /* System.Int32 */ startIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(sourceConverted, valueConverted, startIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_LastIndexOf_6")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_LastIndexOf_6(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, char /* System.Char */ value, int /* System.Int32 */ startIndex, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(sourceConverted, value, startIndex, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_LastIndexOf_7")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_LastIndexOf_7(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ value, int /* System.Int32 */ startIndex, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(sourceConverted, valueConverted, startIndex, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_LastIndexOf_8")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_LastIndexOf_8(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, char /* System.Char */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(sourceConverted, value, startIndex, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_LastIndexOf_9")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_LastIndexOf_9(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(sourceConverted, valueConverted, startIndex, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_LastIndexOf_10")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_LastIndexOf_10(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, char /* System.Char */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(sourceConverted, value, startIndex, count, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_LastIndexOf_11")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_LastIndexOf_11(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void* /* System.String */ value, int /* System.Int32 */ startIndex, int /* System.Int32 */ count, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + System.String valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.LastIndexOf(sourceConverted, valueConverted, startIndex, count, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_GetSortKey")] + internal static void* /* System.Globalization.SortKey */ System_Globalization_CompareInfo_GetSortKey(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Globalization.SortKey __returnValue = __selfConverted.GetSortKey(sourceConverted, options); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_GetSortKey_1")] + internal static void* /* System.Globalization.SortKey */ System_Globalization_CompareInfo_GetSortKey_1(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Globalization.SortKey __returnValue = __selfConverted.GetSortKey(sourceConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_Equals")] + internal static byte /* System.Boolean */ System_Globalization_CompareInfo_Equals(void* /* System.Globalization.CompareInfo */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_GetHashCode")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_GetHashCode(void* /* System.Globalization.CompareInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_GetHashCode_1")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_GetHashCode_1(void* /* System.Globalization.CompareInfo */ __self, void* /* System.String */ source, System.Globalization.CompareOptions /* System.Globalization.CompareOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(sourceConverted, options); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_ToString")] + internal static void* /* System.String */ System_Globalization_CompareInfo_ToString(void* /* System.Globalization.CompareInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_Name_Get")] + internal static void* /* System.String */ System_Globalization_CompareInfo_Name_Get(void* /* System.Globalization.CompareInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Name; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_Version_Get")] + internal static void* /* System.Globalization.SortVersion */ System_Globalization_CompareInfo_Version_Get(void* /* System.Globalization.CompareInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.SortVersion __returnValue = __selfConverted.Version; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_LCID_Get")] + internal static int /* System.Int32 */ System_Globalization_CompareInfo_LCID_Get(void* /* System.Globalization.CompareInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.CompareInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.LCID; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_TypeOf")] + internal static void* /* System.Type */ System_Globalization_CompareInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.CompareInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareInfo_Destroy")] + internal static void /* System.Void */ System_Globalization_CompareInfo_Destroy(void* /* System.Globalization.CompareInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_Serialization_IDeserializationCallback +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IDeserializationCallback_OnDeserialization")] + internal static void /* System.Void */ System_Runtime_Serialization_IDeserializationCallback_OnDeserialization(void* /* System.Runtime.Serialization.IDeserializationCallback */ __self, void* /* System.Object */ sender, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IDeserializationCallback __selfConverted = InteropUtils.GetInstance(__self); + + System.Object senderConverted = InteropUtils.GetInstance(sender); + + try { + __selfConverted.OnDeserialization(senderConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IDeserializationCallback_TypeOf")] + internal static void* /* System.Type */ System_Runtime_Serialization_IDeserializationCallback_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.Serialization.IDeserializationCallback); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IDeserializationCallback_Destroy")] + internal static void /* System.Void */ System_Runtime_Serialization_IDeserializationCallback_Destroy(void* /* System.Runtime.Serialization.IDeserializationCallback */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_Assembly +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_Load")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_Load(void* /* System.String */ assemblyString, void** /* System.Exception */ __outException) + { + System.String assemblyStringConverted = InteropUtils.GetInstance(assemblyString); + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.Load(assemblyStringConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_LoadWithPartialName")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_LoadWithPartialName(void* /* System.String */ partialName, void** /* System.Exception */ __outException) + { + System.String partialNameConverted = InteropUtils.GetInstance(partialName); + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.LoadWithPartialName(partialNameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_Load_1")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_Load_1(void* /* System.Reflection.AssemblyName */ assemblyRef, void** /* System.Exception */ __outException) + { + System.Reflection.AssemblyName assemblyRefConverted = InteropUtils.GetInstance(assemblyRef); + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.Load(assemblyRefConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetExecutingAssembly")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_GetExecutingAssembly(void** /* System.Exception */ __outException) + { + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.GetExecutingAssembly(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetCallingAssembly")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_GetCallingAssembly(void** /* System.Exception */ __outException) + { + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.GetCallingAssembly(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetTypes")] + internal static void* /* System.Type[] */ System_Reflection_Assembly_GetTypes(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetTypes(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetExportedTypes")] + internal static void* /* System.Type[] */ System_Reflection_Assembly_GetExportedTypes(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetExportedTypes(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetForwardedTypes")] + internal static void* /* System.Type[] */ System_Reflection_Assembly_GetForwardedTypes(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetForwardedTypes(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetManifestResourceInfo")] + internal static void* /* System.Reflection.ManifestResourceInfo */ System_Reflection_Assembly_GetManifestResourceInfo(void* /* System.Reflection.Assembly */ __self, void* /* System.String */ resourceName, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.String resourceNameConverted = InteropUtils.GetInstance(resourceName); + + try { + System.Reflection.ManifestResourceInfo __returnValue = __selfConverted.GetManifestResourceInfo(resourceNameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetManifestResourceNames")] + internal static void* /* System.String[] */ System_Reflection_Assembly_GetManifestResourceNames(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.GetManifestResourceNames(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetManifestResourceStream")] + internal static void* /* System.IO.Stream */ System_Reflection_Assembly_GetManifestResourceStream(void* /* System.Reflection.Assembly */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.IO.Stream __returnValue = __selfConverted.GetManifestResourceStream(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetManifestResourceStream_1")] + internal static void* /* System.IO.Stream */ System_Reflection_Assembly_GetManifestResourceStream_1(void* /* System.Reflection.Assembly */ __self, void* /* System.Type */ type, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.Type typeConverted = InteropUtils.GetInstance(type); + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.IO.Stream __returnValue = __selfConverted.GetManifestResourceStream(typeConverted, nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetName")] + internal static void* /* System.Reflection.AssemblyName */ System_Reflection_Assembly_GetName(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.AssemblyName __returnValue = __selfConverted.GetName(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetName_1")] + internal static void* /* System.Reflection.AssemblyName */ System_Reflection_Assembly_GetName_1(void* /* System.Reflection.Assembly */ __self, byte /* System.Boolean */ copiedName, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean copiedNameConverted = copiedName.ToBool(); + + try { + System.Reflection.AssemblyName __returnValue = __selfConverted.GetName(copiedNameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetType_1")] + internal static void* /* System.Type */ System_Reflection_Assembly_GetType_1(void* /* System.Reflection.Assembly */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Type __returnValue = __selfConverted.GetType(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetType_2")] + internal static void* /* System.Type */ System_Reflection_Assembly_GetType_2(void* /* System.Reflection.Assembly */ __self, void* /* System.String */ name, byte /* System.Boolean */ throwOnError, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Boolean throwOnErrorConverted = throwOnError.ToBool(); + + try { + System.Type __returnValue = __selfConverted.GetType(nameConverted, throwOnErrorConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetType_3")] + internal static void* /* System.Type */ System_Reflection_Assembly_GetType_3(void* /* System.Reflection.Assembly */ __self, void* /* System.String */ name, byte /* System.Boolean */ throwOnError, byte /* System.Boolean */ ignoreCase, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Boolean throwOnErrorConverted = throwOnError.ToBool(); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + + try { + System.Type __returnValue = __selfConverted.GetType(nameConverted, throwOnErrorConverted, ignoreCaseConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_IsDefined")] + internal static byte /* System.Boolean */ System_Reflection_Assembly_IsDefined(void* /* System.Reflection.Assembly */ __self, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Boolean __returnValue = __selfConverted.IsDefined(attributeTypeConverted, inheritConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetCustomAttributes")] + internal static void* /* System.Object[] */ System_Reflection_Assembly_GetCustomAttributes(void* /* System.Reflection.Assembly */ __self, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Object[] __returnValue = __selfConverted.GetCustomAttributes(inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetCustomAttributes_1")] + internal static void* /* System.Object[] */ System_Reflection_Assembly_GetCustomAttributes_1(void* /* System.Reflection.Assembly */ __self, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Object[] __returnValue = __selfConverted.GetCustomAttributes(attributeTypeConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_CreateInstance")] + internal static void* /* System.Object */ System_Reflection_Assembly_CreateInstance(void* /* System.Reflection.Assembly */ __self, void* /* System.String */ typeName, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.String typeNameConverted = InteropUtils.GetInstance(typeName); + + try { + System.Object __returnValue = __selfConverted.CreateInstance(typeNameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_CreateInstance_1")] + internal static void* /* System.Object */ System_Reflection_Assembly_CreateInstance_1(void* /* System.Reflection.Assembly */ __self, void* /* System.String */ typeName, byte /* System.Boolean */ ignoreCase, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.String typeNameConverted = InteropUtils.GetInstance(typeName); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + + try { + System.Object __returnValue = __selfConverted.CreateInstance(typeNameConverted, ignoreCaseConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_CreateInstance_2")] + internal static void* /* System.Object */ System_Reflection_Assembly_CreateInstance_2(void* /* System.Reflection.Assembly */ __self, void* /* System.String */ typeName, byte /* System.Boolean */ ignoreCase, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Object[] */ args, void* /* System.Globalization.CultureInfo */ culture, void* /* System.Object[] */ activationAttributes, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.String typeNameConverted = InteropUtils.GetInstance(typeName); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Object[] argsConverted = InteropUtils.GetInstance(args); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + System.Object[] activationAttributesConverted = InteropUtils.GetInstance(activationAttributes); + + try { + System.Object __returnValue = __selfConverted.CreateInstance(typeNameConverted, ignoreCaseConverted, bindingAttr, binderConverted, argsConverted, cultureConverted, activationAttributesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetModule")] + internal static void* /* System.Reflection.Module */ System_Reflection_Assembly_GetModule(void* /* System.Reflection.Assembly */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.Module __returnValue = __selfConverted.GetModule(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetModules")] + internal static void* /* System.Reflection.Module[] */ System_Reflection_Assembly_GetModules(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.Module[] __returnValue = __selfConverted.GetModules(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetModules_1")] + internal static void* /* System.Reflection.Module[] */ System_Reflection_Assembly_GetModules_1(void* /* System.Reflection.Assembly */ __self, byte /* System.Boolean */ getResourceModules, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean getResourceModulesConverted = getResourceModules.ToBool(); + + try { + System.Reflection.Module[] __returnValue = __selfConverted.GetModules(getResourceModulesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetLoadedModules")] + internal static void* /* System.Reflection.Module[] */ System_Reflection_Assembly_GetLoadedModules(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.Module[] __returnValue = __selfConverted.GetLoadedModules(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetLoadedModules_1")] + internal static void* /* System.Reflection.Module[] */ System_Reflection_Assembly_GetLoadedModules_1(void* /* System.Reflection.Assembly */ __self, byte /* System.Boolean */ getResourceModules, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean getResourceModulesConverted = getResourceModules.ToBool(); + + try { + System.Reflection.Module[] __returnValue = __selfConverted.GetLoadedModules(getResourceModulesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetReferencedAssemblies")] + internal static void* /* System.Reflection.AssemblyName[] */ System_Reflection_Assembly_GetReferencedAssemblies(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.AssemblyName[] __returnValue = __selfConverted.GetReferencedAssemblies(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetSatelliteAssembly")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_GetSatelliteAssembly(void* /* System.Reflection.Assembly */ __self, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Reflection.Assembly __returnValue = __selfConverted.GetSatelliteAssembly(cultureConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetSatelliteAssembly_1")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_GetSatelliteAssembly_1(void* /* System.Reflection.Assembly */ __self, void* /* System.Globalization.CultureInfo */ culture, void* /* System.Version */ version, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + System.Version versionConverted = InteropUtils.GetInstance(version); + + try { + System.Reflection.Assembly __returnValue = __selfConverted.GetSatelliteAssembly(cultureConverted, versionConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetFile")] + internal static void* /* System.IO.FileStream */ System_Reflection_Assembly_GetFile(void* /* System.Reflection.Assembly */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.IO.FileStream __returnValue = __selfConverted.GetFile(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetFiles")] + internal static void* /* System.IO.FileStream[] */ System_Reflection_Assembly_GetFiles(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.IO.FileStream[] __returnValue = __selfConverted.GetFiles(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetFiles_1")] + internal static void* /* System.IO.FileStream[] */ System_Reflection_Assembly_GetFiles_1(void* /* System.Reflection.Assembly */ __self, byte /* System.Boolean */ getResourceModules, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean getResourceModulesConverted = getResourceModules.ToBool(); + + try { + System.IO.FileStream[] __returnValue = __selfConverted.GetFiles(getResourceModulesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetObjectData")] + internal static void /* System.Void */ System_Reflection_Assembly_GetObjectData(void* /* System.Reflection.Assembly */ __self, void* /* System.Runtime.Serialization.SerializationInfo */ info, void* /* System.Runtime.Serialization.StreamingContext */ context, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.Runtime.Serialization.SerializationInfo infoConverted = InteropUtils.GetInstance(info); + System.Runtime.Serialization.StreamingContext contextConverted = InteropUtils.GetInstance(context); + + try { + __selfConverted.GetObjectData(infoConverted, contextConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_ToString")] + internal static void* /* System.String */ System_Reflection_Assembly_ToString(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_Equals")] + internal static byte /* System.Boolean */ System_Reflection_Assembly_Equals(void* /* System.Reflection.Assembly */ __self, void* /* System.Object */ o, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.Object oConverted = InteropUtils.GetInstance(o); + + try { + System.Boolean __returnValue = __selfConverted.Equals(oConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetHashCode")] + internal static int /* System.Int32 */ System_Reflection_Assembly_GetHashCode(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_CreateQualifiedName")] + internal static void* /* System.String */ System_Reflection_Assembly_CreateQualifiedName(void* /* System.String */ assemblyName, void* /* System.String */ typeName, void** /* System.Exception */ __outException) + { + System.String assemblyNameConverted = InteropUtils.GetInstance(assemblyName); + System.String typeNameConverted = InteropUtils.GetInstance(typeName); + + try { + System.String __returnValue = System.Reflection.Assembly.CreateQualifiedName(assemblyNameConverted, typeNameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetAssembly")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_GetAssembly(void* /* System.Type */ type, void** /* System.Exception */ __outException) + { + System.Type typeConverted = InteropUtils.GetInstance(type); + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.GetAssembly(typeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GetEntryAssembly")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_GetEntryAssembly(void** /* System.Exception */ __outException) + { + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.GetEntryAssembly(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_Load_2")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_Load_2(void* /* System.Byte[] */ rawAssembly, void** /* System.Exception */ __outException) + { + System.Byte[] rawAssemblyConverted = InteropUtils.GetInstance(rawAssembly); + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.Load(rawAssemblyConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_Load_3")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_Load_3(void* /* System.Byte[] */ rawAssembly, void* /* System.Byte[] */ rawSymbolStore, void** /* System.Exception */ __outException) + { + System.Byte[] rawAssemblyConverted = InteropUtils.GetInstance(rawAssembly); + System.Byte[] rawSymbolStoreConverted = InteropUtils.GetInstance(rawSymbolStore); + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.Load(rawAssemblyConverted, rawSymbolStoreConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_LoadFile")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_LoadFile(void* /* System.String */ path, void** /* System.Exception */ __outException) + { + System.String pathConverted = InteropUtils.GetInstance(path); + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.LoadFile(pathConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_LoadFrom")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_LoadFrom(void* /* System.String */ assemblyFile, void** /* System.Exception */ __outException) + { + System.String assemblyFileConverted = InteropUtils.GetInstance(assemblyFile); + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.LoadFrom(assemblyFileConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_LoadFrom_1")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_LoadFrom_1(void* /* System.String */ assemblyFile, void* /* System.Byte[] */ hashValue, System.Configuration.Assemblies.AssemblyHashAlgorithm /* System.Configuration.Assemblies.AssemblyHashAlgorithm */ hashAlgorithm, void** /* System.Exception */ __outException) + { + System.String assemblyFileConverted = InteropUtils.GetInstance(assemblyFile); + System.Byte[] hashValueConverted = InteropUtils.GetInstance(hashValue); + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.LoadFrom(assemblyFileConverted, hashValueConverted, hashAlgorithm); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_UnsafeLoadFrom")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_UnsafeLoadFrom(void* /* System.String */ assemblyFile, void** /* System.Exception */ __outException) + { + System.String assemblyFileConverted = InteropUtils.GetInstance(assemblyFile); + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.UnsafeLoadFrom(assemblyFileConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_LoadModule")] + internal static void* /* System.Reflection.Module */ System_Reflection_Assembly_LoadModule(void* /* System.Reflection.Assembly */ __self, void* /* System.String */ moduleName, void* /* System.Byte[] */ rawModule, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.String moduleNameConverted = InteropUtils.GetInstance(moduleName); + System.Byte[] rawModuleConverted = InteropUtils.GetInstance(rawModule); + + try { + System.Reflection.Module __returnValue = __selfConverted.LoadModule(moduleNameConverted, rawModuleConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_LoadModule_1")] + internal static void* /* System.Reflection.Module */ System_Reflection_Assembly_LoadModule_1(void* /* System.Reflection.Assembly */ __self, void* /* System.String */ moduleName, void* /* System.Byte[] */ rawModule, void* /* System.Byte[] */ rawSymbolStore, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + System.String moduleNameConverted = InteropUtils.GetInstance(moduleName); + System.Byte[] rawModuleConverted = InteropUtils.GetInstance(rawModule); + System.Byte[] rawSymbolStoreConverted = InteropUtils.GetInstance(rawSymbolStore); + + try { + System.Reflection.Module __returnValue = __selfConverted.LoadModule(moduleNameConverted, rawModuleConverted, rawSymbolStoreConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_ReflectionOnlyLoad")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_ReflectionOnlyLoad(void* /* System.Byte[] */ rawAssembly, void** /* System.Exception */ __outException) + { + System.Byte[] rawAssemblyConverted = InteropUtils.GetInstance(rawAssembly); + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.ReflectionOnlyLoad(rawAssemblyConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_ReflectionOnlyLoad_1")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_ReflectionOnlyLoad_1(void* /* System.String */ assemblyString, void** /* System.Exception */ __outException) + { + System.String assemblyStringConverted = InteropUtils.GetInstance(assemblyString); + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.ReflectionOnlyLoad(assemblyStringConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_ReflectionOnlyLoadFrom")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Assembly_ReflectionOnlyLoadFrom(void* /* System.String */ assemblyFile, void** /* System.Exception */ __outException) + { + System.String assemblyFileConverted = InteropUtils.GetInstance(assemblyFile); + + try { + System.Reflection.Assembly __returnValue = System.Reflection.Assembly.ReflectionOnlyLoadFrom(assemblyFileConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_CodeBase_Get")] + internal static void* /* System.String */ System_Reflection_Assembly_CodeBase_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.CodeBase; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_EntryPoint_Get")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_Assembly_EntryPoint_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.EntryPoint; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_FullName_Get")] + internal static void* /* System.String */ System_Reflection_Assembly_FullName_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.FullName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_ImageRuntimeVersion_Get")] + internal static void* /* System.String */ System_Reflection_Assembly_ImageRuntimeVersion_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ImageRuntimeVersion; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_IsDynamic_Get")] + internal static byte /* System.Boolean */ System_Reflection_Assembly_IsDynamic_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsDynamic; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_Location_Get")] + internal static void* /* System.String */ System_Reflection_Assembly_Location_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Location; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_ReflectionOnly_Get")] + internal static byte /* System.Boolean */ System_Reflection_Assembly_ReflectionOnly_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.ReflectionOnly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_IsCollectible_Get")] + internal static byte /* System.Boolean */ System_Reflection_Assembly_IsCollectible_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCollectible; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_IsFullyTrusted_Get")] + internal static byte /* System.Boolean */ System_Reflection_Assembly_IsFullyTrusted_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFullyTrusted; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_EscapedCodeBase_Get")] + internal static void* /* System.String */ System_Reflection_Assembly_EscapedCodeBase_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.EscapedCodeBase; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_ManifestModule_Get")] + internal static void* /* System.Reflection.Module */ System_Reflection_Assembly_ManifestModule_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.Module __returnValue = __selfConverted.ManifestModule; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_GlobalAssemblyCache_Get")] + internal static byte /* System.Boolean */ System_Reflection_Assembly_GlobalAssemblyCache_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.GlobalAssemblyCache; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_HostContext_Get")] + internal static long /* System.Int64 */ System_Reflection_Assembly_HostContext_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.HostContext; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_SecurityRuleSet_Get")] + internal static System.Security.SecurityRuleSet /* System.Security.SecurityRuleSet */ System_Reflection_Assembly_SecurityRuleSet_Get(void* /* System.Reflection.Assembly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Security.SecurityRuleSet __returnValue = __selfConverted.SecurityRuleSet; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Security.SecurityRuleSet); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_ModuleResolve_Add")] + internal static void /* System.Void */ System_Reflection_Assembly_ModuleResolve_Add(void* /* System.Reflection.Assembly */ __self, void* /* System.Reflection.ModuleResolveEventHandler */ __value) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + __selfConverted.ModuleResolve += InteropUtils.GetInstance(__value)?.Trampoline; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_ModuleResolve_Remove")] + internal static void /* System.Void */ System_Reflection_Assembly_ModuleResolve_Remove(void* /* System.Reflection.Assembly */ __self, void* /* System.Reflection.ModuleResolveEventHandler */ __value) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Assembly __selfConverted = InteropUtils.GetInstance(__self); + + + __selfConverted.ModuleResolve -= InteropUtils.GetInstance(__value)?.Trampoline; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_TypeOf")] + internal static void* /* System.Type */ System_Reflection_Assembly_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.Assembly); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Assembly_Destroy")] + internal static void /* System.Void */ System_Reflection_Assembly_Destroy(void* /* System.Reflection.Assembly */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_Serialization_ISerializable +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_ISerializable_GetObjectData")] + internal static void /* System.Void */ System_Runtime_Serialization_ISerializable_GetObjectData(void* /* System.Runtime.Serialization.ISerializable */ __self, void* /* System.Runtime.Serialization.SerializationInfo */ info, void* /* System.Runtime.Serialization.StreamingContext */ context, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.ISerializable __selfConverted = InteropUtils.GetInstance(__self); + + System.Runtime.Serialization.SerializationInfo infoConverted = InteropUtils.GetInstance(info); + System.Runtime.Serialization.StreamingContext contextConverted = InteropUtils.GetInstance(context); + + try { + __selfConverted.GetObjectData(infoConverted, contextConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_ISerializable_TypeOf")] + internal static void* /* System.Type */ System_Runtime_Serialization_ISerializable_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.Serialization.ISerializable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_ISerializable_Destroy")] + internal static void /* System.Void */ System_Runtime_Serialization_ISerializable_Destroy(void* /* System.Runtime.Serialization.ISerializable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_Serialization_SerializationInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_SetType")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_SetType(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.Type */ type, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Type typeConverted = InteropUtils.GetInstance(type); + + try { + __selfConverted.SetType(typeConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetEnumerator")] + internal static void* /* System.Runtime.Serialization.SerializationInfoEnumerator */ System_Runtime_Serialization_SerializationInfo_GetEnumerator(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Runtime.Serialization.SerializationInfoEnumerator __returnValue = __selfConverted.GetEnumerator(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void* /* System.Object */ value, void* /* System.Type */ type, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Object valueConverted = InteropUtils.GetInstance(value); + System.Type typeConverted = InteropUtils.GetInstance(type); + + try { + __selfConverted.AddValue(nameConverted, valueConverted, typeConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_1")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_1(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.AddValue(nameConverted, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_2")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_2(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, byte /* System.Boolean */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Boolean valueConverted = value.ToBool(); + + try { + __selfConverted.AddValue(nameConverted, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_3")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_3(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, char /* System.Char */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + __selfConverted.AddValue(nameConverted, value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_4")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_4(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, sbyte /* System.SByte */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + __selfConverted.AddValue(nameConverted, value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_5")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_5(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, byte /* System.Byte */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + __selfConverted.AddValue(nameConverted, value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_6")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_6(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, short /* System.Int16 */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + __selfConverted.AddValue(nameConverted, value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_7")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_7(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, ushort /* System.UInt16 */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + __selfConverted.AddValue(nameConverted, value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_8")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_8(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, int /* System.Int32 */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + __selfConverted.AddValue(nameConverted, value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_9")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_9(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, uint /* System.UInt32 */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + __selfConverted.AddValue(nameConverted, value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_10")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_10(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, long /* System.Int64 */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + __selfConverted.AddValue(nameConverted, value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_11")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_11(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, ulong /* System.UInt64 */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + __selfConverted.AddValue(nameConverted, value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_12")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_12(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, float /* System.Single */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + __selfConverted.AddValue(nameConverted, value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_13")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_13(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, double /* System.Double */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + __selfConverted.AddValue(nameConverted, value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_14")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_14(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.AddValue(nameConverted, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AddValue_15")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AddValue_15(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void* /* System.DateTime */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.DateTime valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.AddValue(nameConverted, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetValue")] + internal static void* /* System.Object */ System_Runtime_Serialization_SerializationInfo_GetValue(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void* /* System.Type */ type, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Type typeConverted = InteropUtils.GetInstance(type); + + try { + System.Object __returnValue = __selfConverted.GetValue(nameConverted, typeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetBoolean")] + internal static byte /* System.Boolean */ System_Runtime_Serialization_SerializationInfo_GetBoolean(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Boolean __returnValue = __selfConverted.GetBoolean(nameConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetChar")] + internal static char /* System.Char */ System_Runtime_Serialization_SerializationInfo_GetChar(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Char __returnValue = __selfConverted.GetChar(nameConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return (char)0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetSByte")] + internal static sbyte /* System.SByte */ System_Runtime_Serialization_SerializationInfo_GetSByte(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.SByte __returnValue = __selfConverted.GetSByte(nameConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetByte")] + internal static byte /* System.Byte */ System_Runtime_Serialization_SerializationInfo_GetByte(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Byte __returnValue = __selfConverted.GetByte(nameConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetInt16")] + internal static short /* System.Int16 */ System_Runtime_Serialization_SerializationInfo_GetInt16(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Int16 __returnValue = __selfConverted.GetInt16(nameConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetUInt16")] + internal static ushort /* System.UInt16 */ System_Runtime_Serialization_SerializationInfo_GetUInt16(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.UInt16 __returnValue = __selfConverted.GetUInt16(nameConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetInt32")] + internal static int /* System.Int32 */ System_Runtime_Serialization_SerializationInfo_GetInt32(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Int32 __returnValue = __selfConverted.GetInt32(nameConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetUInt32")] + internal static uint /* System.UInt32 */ System_Runtime_Serialization_SerializationInfo_GetUInt32(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.UInt32 __returnValue = __selfConverted.GetUInt32(nameConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetInt64")] + internal static long /* System.Int64 */ System_Runtime_Serialization_SerializationInfo_GetInt64(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Int64 __returnValue = __selfConverted.GetInt64(nameConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetUInt64")] + internal static ulong /* System.UInt64 */ System_Runtime_Serialization_SerializationInfo_GetUInt64(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.UInt64 __returnValue = __selfConverted.GetUInt64(nameConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetSingle")] + internal static float /* System.Single */ System_Runtime_Serialization_SerializationInfo_GetSingle(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Single __returnValue = __selfConverted.GetSingle(nameConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetDouble")] + internal static double /* System.Double */ System_Runtime_Serialization_SerializationInfo_GetDouble(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Double __returnValue = __selfConverted.GetDouble(nameConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetDecimal")] + internal static void* /* System.Decimal */ System_Runtime_Serialization_SerializationInfo_GetDecimal(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Decimal __returnValue = __selfConverted.GetDecimal(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetDateTime")] + internal static void* /* System.DateTime */ System_Runtime_Serialization_SerializationInfo_GetDateTime(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.DateTime __returnValue = __selfConverted.GetDateTime(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_GetString")] + internal static void* /* System.String */ System_Runtime_Serialization_SerializationInfo_GetString(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.String __returnValue = __selfConverted.GetString(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_Create")] + internal static void* /* System.Runtime.Serialization.SerializationInfo */ System_Runtime_Serialization_SerializationInfo_Create(void* /* System.Type */ type, void* /* System.Runtime.Serialization.IFormatterConverter */ converter, void** /* System.Exception */ __outException) + { + System.Type typeConverted = InteropUtils.GetInstance(type); + System.Runtime.Serialization.IFormatterConverter converterConverted = InteropUtils.GetInstance(converter); + + try { + System.Runtime.Serialization.SerializationInfo __returnValue = new System.Runtime.Serialization.SerializationInfo(typeConverted, converterConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_Create_1")] + internal static void* /* System.Runtime.Serialization.SerializationInfo */ System_Runtime_Serialization_SerializationInfo_Create_1(void* /* System.Type */ type, void* /* System.Runtime.Serialization.IFormatterConverter */ converter, byte /* System.Boolean */ requireSameTokenInPartialTrust, void** /* System.Exception */ __outException) + { + System.Type typeConverted = InteropUtils.GetInstance(type); + System.Runtime.Serialization.IFormatterConverter converterConverted = InteropUtils.GetInstance(converter); + System.Boolean requireSameTokenInPartialTrustConverted = requireSameTokenInPartialTrust.ToBool(); + + try { + System.Runtime.Serialization.SerializationInfo __returnValue = new System.Runtime.Serialization.SerializationInfo(typeConverted, converterConverted, requireSameTokenInPartialTrustConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_FullTypeName_Get")] + internal static void* /* System.String */ System_Runtime_Serialization_SerializationInfo_FullTypeName_Get(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.FullTypeName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_FullTypeName_Set")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_FullTypeName_Set(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.FullTypeName = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AssemblyName_Get")] + internal static void* /* System.String */ System_Runtime_Serialization_SerializationInfo_AssemblyName_Get(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.AssemblyName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_AssemblyName_Set")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_AssemblyName_Set(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.AssemblyName = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_IsFullTypeNameSetExplicit_Get")] + internal static byte /* System.Boolean */ System_Runtime_Serialization_SerializationInfo_IsFullTypeNameSetExplicit_Get(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFullTypeNameSetExplicit; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_IsAssemblyNameSetExplicit_Get")] + internal static byte /* System.Boolean */ System_Runtime_Serialization_SerializationInfo_IsAssemblyNameSetExplicit_Get(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsAssemblyNameSetExplicit; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_MemberCount_Get")] + internal static int /* System.Int32 */ System_Runtime_Serialization_SerializationInfo_MemberCount_Get(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.MemberCount; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_ObjectType_Get")] + internal static void* /* System.Type */ System_Runtime_Serialization_SerializationInfo_ObjectType_Get(void* /* System.Runtime.Serialization.SerializationInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.ObjectType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_TypeOf")] + internal static void* /* System.Type */ System_Runtime_Serialization_SerializationInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.Serialization.SerializationInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfo_Destroy")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfo_Destroy(void* /* System.Runtime.Serialization.SerializationInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_Serialization_SerializationInfoEnumerator +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfoEnumerator_MoveNext")] + internal static byte /* System.Boolean */ System_Runtime_Serialization_SerializationInfoEnumerator_MoveNext(void* /* System.Runtime.Serialization.SerializationInfoEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfoEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.MoveNext(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfoEnumerator_Reset")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfoEnumerator_Reset(void* /* System.Runtime.Serialization.SerializationInfoEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfoEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Reset(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfoEnumerator_Current_Get")] + internal static void* /* System.Runtime.Serialization.SerializationEntry */ System_Runtime_Serialization_SerializationInfoEnumerator_Current_Get(void* /* System.Runtime.Serialization.SerializationInfoEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfoEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Runtime.Serialization.SerializationEntry __returnValue = __selfConverted.Current; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfoEnumerator_Name_Get")] + internal static void* /* System.String */ System_Runtime_Serialization_SerializationInfoEnumerator_Name_Get(void* /* System.Runtime.Serialization.SerializationInfoEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfoEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Name; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfoEnumerator_Value_Get")] + internal static void* /* System.Object */ System_Runtime_Serialization_SerializationInfoEnumerator_Value_Get(void* /* System.Runtime.Serialization.SerializationInfoEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfoEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Value; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfoEnumerator_ObjectType_Get")] + internal static void* /* System.Type */ System_Runtime_Serialization_SerializationInfoEnumerator_ObjectType_Get(void* /* System.Runtime.Serialization.SerializationInfoEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationInfoEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.ObjectType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfoEnumerator_TypeOf")] + internal static void* /* System.Type */ System_Runtime_Serialization_SerializationInfoEnumerator_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.Serialization.SerializationInfoEnumerator); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationInfoEnumerator_Destroy")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationInfoEnumerator_Destroy(void* /* System.Runtime.Serialization.SerializationInfoEnumerator */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_Serialization_SerializationEntry +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationEntry_Value_Get")] + internal static void* /* System.Object */ System_Runtime_Serialization_SerializationEntry_Value_Get(void* /* System.Runtime.Serialization.SerializationEntry */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationEntry __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Value; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationEntry_Name_Get")] + internal static void* /* System.String */ System_Runtime_Serialization_SerializationEntry_Name_Get(void* /* System.Runtime.Serialization.SerializationEntry */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationEntry __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Name; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationEntry_ObjectType_Get")] + internal static void* /* System.Type */ System_Runtime_Serialization_SerializationEntry_ObjectType_Get(void* /* System.Runtime.Serialization.SerializationEntry */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.SerializationEntry __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.ObjectType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationEntry_Create")] + internal static void* /* System.Runtime.Serialization.SerializationEntry */ System_Runtime_Serialization_SerializationEntry_Create(void** /* System.Exception */ __outException) + { + + try { + System.Runtime.Serialization.SerializationEntry __returnValue = new System.Runtime.Serialization.SerializationEntry(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationEntry_TypeOf")] + internal static void* /* System.Type */ System_Runtime_Serialization_SerializationEntry_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.Serialization.SerializationEntry); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_SerializationEntry_Destroy")] + internal static void /* System.Void */ System_Runtime_Serialization_SerializationEntry_Destroy(void* /* System.Runtime.Serialization.SerializationEntry */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Char +{ + [UnmanagedCallersOnly(EntryPoint = "System_Char_TypeOf")] + internal static void* /* System.Type */ System_Char_TypeOf() + { + + System.Type __returnValue = typeof(System.Char); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_IUtf8SpanFormattable +{ + [UnmanagedCallersOnly(EntryPoint = "System_IUtf8SpanFormattable_TypeOf")] + internal static void* /* System.Type */ System_IUtf8SpanFormattable_TypeOf() + { + + System.Type __returnValue = typeof(System.IUtf8SpanFormattable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_IUtf8SpanFormattable_Destroy")] + internal static void /* System.Void */ System_IUtf8SpanFormattable_Destroy(void* /* System.IUtf8SpanFormattable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + +internal unsafe class System_Globalization_UnicodeCategory +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_UnicodeCategory_TypeOf")] + internal static void* /* System.Type */ System_Globalization_UnicodeCategory_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.UnicodeCategory); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Double +{ + [UnmanagedCallersOnly(EntryPoint = "System_Double_TypeOf")] + internal static void* /* System.Type */ System_Double_TypeOf() + { + + System.Type __returnValue = typeof(System.Double); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Globalization_NumberStyles +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberStyles_TypeOf")] + internal static void* /* System.Type */ System_Globalization_NumberStyles_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.NumberStyles); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_MidpointRounding +{ + [UnmanagedCallersOnly(EntryPoint = "System_MidpointRounding_TypeOf")] + internal static void* /* System.Type */ System_MidpointRounding_TypeOf() + { + + System.Type __returnValue = typeof(System.MidpointRounding); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_SByte +{ + [UnmanagedCallersOnly(EntryPoint = "System_SByte_TypeOf")] + internal static void* /* System.Type */ System_SByte_TypeOf() + { + + System.Type __returnValue = typeof(System.SByte); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_Byte +{ + [UnmanagedCallersOnly(EntryPoint = "System_Byte_TypeOf")] + internal static void* /* System.Type */ System_Byte_TypeOf() + { + + System.Type __returnValue = typeof(System.Byte); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_Int16 +{ + [UnmanagedCallersOnly(EntryPoint = "System_Int16_TypeOf")] + internal static void* /* System.Type */ System_Int16_TypeOf() + { + + System.Type __returnValue = typeof(System.Int16); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_UInt16 +{ + [UnmanagedCallersOnly(EntryPoint = "System_UInt16_TypeOf")] + internal static void* /* System.Type */ System_UInt16_TypeOf() + { + + System.Type __returnValue = typeof(System.UInt16); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_UInt32 +{ + [UnmanagedCallersOnly(EntryPoint = "System_UInt32_TypeOf")] + internal static void* /* System.Type */ System_UInt32_TypeOf() + { + + System.Type __returnValue = typeof(System.UInt32); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_Int64 +{ + [UnmanagedCallersOnly(EntryPoint = "System_Int64_TypeOf")] + internal static void* /* System.Type */ System_Int64_TypeOf() + { + + System.Type __returnValue = typeof(System.Int64); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_UInt64 +{ + [UnmanagedCallersOnly(EntryPoint = "System_UInt64_TypeOf")] + internal static void* /* System.Type */ System_UInt64_TypeOf() + { + + System.Type __returnValue = typeof(System.UInt64); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_Single +{ + [UnmanagedCallersOnly(EntryPoint = "System_Single_TypeOf")] + internal static void* /* System.Type */ System_Single_TypeOf() + { + + System.Type __returnValue = typeof(System.Single); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_Decimal +{ + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_FromOACurrency")] + internal static void* /* System.Decimal */ System_Decimal_FromOACurrency(long /* System.Int64 */ cy, void** /* System.Exception */ __outException) + { + + try { + System.Decimal __returnValue = System.Decimal.FromOACurrency(cy); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToOACurrency")] + internal static long /* System.Int64 */ System_Decimal_ToOACurrency(void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int64 __returnValue = System.Decimal.ToOACurrency(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Add")] + internal static void* /* System.Decimal */ System_Decimal_Add(void* /* System.Decimal */ d1, void* /* System.Decimal */ d2, void** /* System.Exception */ __outException) + { + System.Decimal d1Converted = InteropUtils.GetInstance(d1); + System.Decimal d2Converted = InteropUtils.GetInstance(d2); + + try { + System.Decimal __returnValue = System.Decimal.Add(d1Converted, d2Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Ceiling")] + internal static void* /* System.Decimal */ System_Decimal_Ceiling(void* /* System.Decimal */ d, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Decimal __returnValue = System.Decimal.Ceiling(dConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Compare")] + internal static int /* System.Int32 */ System_Decimal_Compare(void* /* System.Decimal */ d1, void* /* System.Decimal */ d2, void** /* System.Exception */ __outException) + { + System.Decimal d1Converted = InteropUtils.GetInstance(d1); + System.Decimal d2Converted = InteropUtils.GetInstance(d2); + + try { + System.Int32 __returnValue = System.Decimal.Compare(d1Converted, d2Converted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_CompareTo")] + internal static int /* System.Int32 */ System_Decimal_CompareTo(void* /* System.Decimal */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Decimal __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_CompareTo_1")] + internal static int /* System.Int32 */ System_Decimal_CompareTo_1(void* /* System.Decimal */ __self, void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Decimal __selfConverted = InteropUtils.GetInstance(__self); + + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Divide")] + internal static void* /* System.Decimal */ System_Decimal_Divide(void* /* System.Decimal */ d1, void* /* System.Decimal */ d2, void** /* System.Exception */ __outException) + { + System.Decimal d1Converted = InteropUtils.GetInstance(d1); + System.Decimal d2Converted = InteropUtils.GetInstance(d2); + + try { + System.Decimal __returnValue = System.Decimal.Divide(d1Converted, d2Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Equals")] + internal static byte /* System.Boolean */ System_Decimal_Equals(void* /* System.Decimal */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Decimal __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Equals_1")] + internal static byte /* System.Boolean */ System_Decimal_Equals_1(void* /* System.Decimal */ __self, void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Decimal __selfConverted = InteropUtils.GetInstance(__self); + + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_GetHashCode")] + internal static int /* System.Int32 */ System_Decimal_GetHashCode(void* /* System.Decimal */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Decimal __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Equals_2")] + internal static byte /* System.Boolean */ System_Decimal_Equals_2(void* /* System.Decimal */ d1, void* /* System.Decimal */ d2, void** /* System.Exception */ __outException) + { + System.Decimal d1Converted = InteropUtils.GetInstance(d1); + System.Decimal d2Converted = InteropUtils.GetInstance(d2); + + try { + System.Boolean __returnValue = System.Decimal.Equals(d1Converted, d2Converted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Floor")] + internal static void* /* System.Decimal */ System_Decimal_Floor(void* /* System.Decimal */ d, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Decimal __returnValue = System.Decimal.Floor(dConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToString")] + internal static void* /* System.String */ System_Decimal_ToString(void* /* System.Decimal */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Decimal __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToString_1")] + internal static void* /* System.String */ System_Decimal_ToString_1(void* /* System.Decimal */ __self, void* /* System.String */ format, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Decimal __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToString_2")] + internal static void* /* System.String */ System_Decimal_ToString_2(void* /* System.Decimal */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Decimal __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String __returnValue = __selfConverted.ToString(providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToString_3")] + internal static void* /* System.String */ System_Decimal_ToString_3(void* /* System.Decimal */ __self, void* /* System.String */ format, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Decimal __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Parse")] + internal static void* /* System.Decimal */ System_Decimal_Parse(void* /* System.String */ s, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.Decimal __returnValue = System.Decimal.Parse(sConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Parse_1")] + internal static void* /* System.Decimal */ System_Decimal_Parse_1(void* /* System.String */ s, System.Globalization.NumberStyles /* System.Globalization.NumberStyles */ style, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.Decimal __returnValue = System.Decimal.Parse(sConverted, style); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Parse_2")] + internal static void* /* System.Decimal */ System_Decimal_Parse_2(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Decimal __returnValue = System.Decimal.Parse(sConverted, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Parse_3")] + internal static void* /* System.Decimal */ System_Decimal_Parse_3(void* /* System.String */ s, System.Globalization.NumberStyles /* System.Globalization.NumberStyles */ style, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Decimal __returnValue = System.Decimal.Parse(sConverted, style, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_TryParse")] + internal static byte /* System.Boolean */ System_Decimal_TryParse(void* /* System.String */ s, void** /* System.Decimal */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.Decimal resultConverted; + + try { + System.Boolean __returnValue = System.Decimal.TryParse(sConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_TryParse_1")] + internal static byte /* System.Boolean */ System_Decimal_TryParse_1(void* /* System.String */ s, System.Globalization.NumberStyles /* System.Globalization.NumberStyles */ style, void* /* System.IFormatProvider */ provider, void** /* System.Decimal */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.Decimal resultConverted; + + try { + System.Boolean __returnValue = System.Decimal.TryParse(sConverted, style, providerConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_GetBits")] + internal static void* /* System.Int32[] */ System_Decimal_GetBits(void* /* System.Decimal */ d, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Int32[] __returnValue = System.Decimal.GetBits(dConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Remainder")] + internal static void* /* System.Decimal */ System_Decimal_Remainder(void* /* System.Decimal */ d1, void* /* System.Decimal */ d2, void** /* System.Exception */ __outException) + { + System.Decimal d1Converted = InteropUtils.GetInstance(d1); + System.Decimal d2Converted = InteropUtils.GetInstance(d2); + + try { + System.Decimal __returnValue = System.Decimal.Remainder(d1Converted, d2Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Multiply")] + internal static void* /* System.Decimal */ System_Decimal_Multiply(void* /* System.Decimal */ d1, void* /* System.Decimal */ d2, void** /* System.Exception */ __outException) + { + System.Decimal d1Converted = InteropUtils.GetInstance(d1); + System.Decimal d2Converted = InteropUtils.GetInstance(d2); + + try { + System.Decimal __returnValue = System.Decimal.Multiply(d1Converted, d2Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Negate")] + internal static void* /* System.Decimal */ System_Decimal_Negate(void* /* System.Decimal */ d, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Decimal __returnValue = System.Decimal.Negate(dConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Round")] + internal static void* /* System.Decimal */ System_Decimal_Round(void* /* System.Decimal */ d, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Decimal __returnValue = System.Decimal.Round(dConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Round_1")] + internal static void* /* System.Decimal */ System_Decimal_Round_1(void* /* System.Decimal */ d, int /* System.Int32 */ decimals, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Decimal __returnValue = System.Decimal.Round(dConverted, decimals); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Round_2")] + internal static void* /* System.Decimal */ System_Decimal_Round_2(void* /* System.Decimal */ d, System.MidpointRounding /* System.MidpointRounding */ mode, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Decimal __returnValue = System.Decimal.Round(dConverted, mode); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Round_3")] + internal static void* /* System.Decimal */ System_Decimal_Round_3(void* /* System.Decimal */ d, int /* System.Int32 */ decimals, System.MidpointRounding /* System.MidpointRounding */ mode, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Decimal __returnValue = System.Decimal.Round(dConverted, decimals, mode); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Subtract")] + internal static void* /* System.Decimal */ System_Decimal_Subtract(void* /* System.Decimal */ d1, void* /* System.Decimal */ d2, void** /* System.Exception */ __outException) + { + System.Decimal d1Converted = InteropUtils.GetInstance(d1); + System.Decimal d2Converted = InteropUtils.GetInstance(d2); + + try { + System.Decimal __returnValue = System.Decimal.Subtract(d1Converted, d2Converted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToByte")] + internal static byte /* System.Byte */ System_Decimal_ToByte(void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.Byte __returnValue = System.Decimal.ToByte(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToSByte")] + internal static sbyte /* System.SByte */ System_Decimal_ToSByte(void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.SByte __returnValue = System.Decimal.ToSByte(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToInt16")] + internal static short /* System.Int16 */ System_Decimal_ToInt16(void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int16 __returnValue = System.Decimal.ToInt16(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToDouble")] + internal static double /* System.Double */ System_Decimal_ToDouble(void* /* System.Decimal */ d, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Double __returnValue = System.Decimal.ToDouble(dConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToInt32")] + internal static int /* System.Int32 */ System_Decimal_ToInt32(void* /* System.Decimal */ d, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Int32 __returnValue = System.Decimal.ToInt32(dConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToInt64")] + internal static long /* System.Int64 */ System_Decimal_ToInt64(void* /* System.Decimal */ d, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Int64 __returnValue = System.Decimal.ToInt64(dConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToUInt16")] + internal static ushort /* System.UInt16 */ System_Decimal_ToUInt16(void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.UInt16 __returnValue = System.Decimal.ToUInt16(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToUInt32")] + internal static uint /* System.UInt32 */ System_Decimal_ToUInt32(void* /* System.Decimal */ d, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.UInt32 __returnValue = System.Decimal.ToUInt32(dConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToUInt64")] + internal static ulong /* System.UInt64 */ System_Decimal_ToUInt64(void* /* System.Decimal */ d, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.UInt64 __returnValue = System.Decimal.ToUInt64(dConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_ToSingle")] + internal static float /* System.Single */ System_Decimal_ToSingle(void* /* System.Decimal */ d, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Single __returnValue = System.Decimal.ToSingle(dConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Truncate")] + internal static void* /* System.Decimal */ System_Decimal_Truncate(void* /* System.Decimal */ d, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Decimal __returnValue = System.Decimal.Truncate(dConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_GetTypeCode")] + internal static System.TypeCode /* System.TypeCode */ System_Decimal_GetTypeCode(void* /* System.Decimal */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Decimal __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TypeCode __returnValue = __selfConverted.GetTypeCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.TypeCode); + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Clamp")] + internal static void* /* System.Decimal */ System_Decimal_Clamp(void* /* System.Decimal */ value, void* /* System.Decimal */ min, void* /* System.Decimal */ max, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + System.Decimal minConverted = InteropUtils.GetInstance(min); + System.Decimal maxConverted = InteropUtils.GetInstance(max); + + try { + System.Decimal __returnValue = System.Decimal.Clamp(valueConverted, minConverted, maxConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_CopySign")] + internal static void* /* System.Decimal */ System_Decimal_CopySign(void* /* System.Decimal */ value, void* /* System.Decimal */ sign, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + System.Decimal signConverted = InteropUtils.GetInstance(sign); + + try { + System.Decimal __returnValue = System.Decimal.CopySign(valueConverted, signConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Max")] + internal static void* /* System.Decimal */ System_Decimal_Max(void* /* System.Decimal */ x, void* /* System.Decimal */ y, void** /* System.Exception */ __outException) + { + System.Decimal xConverted = InteropUtils.GetInstance(x); + System.Decimal yConverted = InteropUtils.GetInstance(y); + + try { + System.Decimal __returnValue = System.Decimal.Max(xConverted, yConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Min")] + internal static void* /* System.Decimal */ System_Decimal_Min(void* /* System.Decimal */ x, void* /* System.Decimal */ y, void** /* System.Exception */ __outException) + { + System.Decimal xConverted = InteropUtils.GetInstance(x); + System.Decimal yConverted = InteropUtils.GetInstance(y); + + try { + System.Decimal __returnValue = System.Decimal.Min(xConverted, yConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Sign")] + internal static int /* System.Int32 */ System_Decimal_Sign(void* /* System.Decimal */ d, void** /* System.Exception */ __outException) + { + System.Decimal dConverted = InteropUtils.GetInstance(d); + + try { + System.Int32 __returnValue = System.Decimal.Sign(dConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Abs")] + internal static void* /* System.Decimal */ System_Decimal_Abs(void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.Decimal __returnValue = System.Decimal.Abs(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_IsCanonical")] + internal static byte /* System.Boolean */ System_Decimal_IsCanonical(void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Decimal.IsCanonical(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_IsEvenInteger")] + internal static byte /* System.Boolean */ System_Decimal_IsEvenInteger(void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Decimal.IsEvenInteger(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_IsInteger")] + internal static byte /* System.Boolean */ System_Decimal_IsInteger(void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Decimal.IsInteger(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_IsNegative")] + internal static byte /* System.Boolean */ System_Decimal_IsNegative(void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Decimal.IsNegative(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_IsOddInteger")] + internal static byte /* System.Boolean */ System_Decimal_IsOddInteger(void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Decimal.IsOddInteger(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_IsPositive")] + internal static byte /* System.Boolean */ System_Decimal_IsPositive(void* /* System.Decimal */ value, void** /* System.Exception */ __outException) + { + System.Decimal valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Decimal.IsPositive(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_MaxMagnitude")] + internal static void* /* System.Decimal */ System_Decimal_MaxMagnitude(void* /* System.Decimal */ x, void* /* System.Decimal */ y, void** /* System.Exception */ __outException) + { + System.Decimal xConverted = InteropUtils.GetInstance(x); + System.Decimal yConverted = InteropUtils.GetInstance(y); + + try { + System.Decimal __returnValue = System.Decimal.MaxMagnitude(xConverted, yConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_MinMagnitude")] + internal static void* /* System.Decimal */ System_Decimal_MinMagnitude(void* /* System.Decimal */ x, void* /* System.Decimal */ y, void** /* System.Exception */ __outException) + { + System.Decimal xConverted = InteropUtils.GetInstance(x); + System.Decimal yConverted = InteropUtils.GetInstance(y); + + try { + System.Decimal __returnValue = System.Decimal.MinMagnitude(xConverted, yConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_TryParse_2")] + internal static byte /* System.Boolean */ System_Decimal_TryParse_2(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, void** /* System.Decimal */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.Decimal resultConverted; + + try { + System.Boolean __returnValue = System.Decimal.TryParse(sConverted, providerConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Create")] + internal static void* /* System.Decimal */ System_Decimal_Create(int /* System.Int32 */ value, void** /* System.Exception */ __outException) + { + + try { + System.Decimal __returnValue = new System.Decimal(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Create_1")] + internal static void* /* System.Decimal */ System_Decimal_Create_1(uint /* System.UInt32 */ value, void** /* System.Exception */ __outException) + { + + try { + System.Decimal __returnValue = new System.Decimal(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Create_2")] + internal static void* /* System.Decimal */ System_Decimal_Create_2(long /* System.Int64 */ value, void** /* System.Exception */ __outException) + { + + try { + System.Decimal __returnValue = new System.Decimal(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Create_3")] + internal static void* /* System.Decimal */ System_Decimal_Create_3(ulong /* System.UInt64 */ value, void** /* System.Exception */ __outException) + { + + try { + System.Decimal __returnValue = new System.Decimal(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Create_4")] + internal static void* /* System.Decimal */ System_Decimal_Create_4(float /* System.Single */ value, void** /* System.Exception */ __outException) + { + + try { + System.Decimal __returnValue = new System.Decimal(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Create_5")] + internal static void* /* System.Decimal */ System_Decimal_Create_5(double /* System.Double */ value, void** /* System.Exception */ __outException) + { + + try { + System.Decimal __returnValue = new System.Decimal(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Create_6")] + internal static void* /* System.Decimal */ System_Decimal_Create_6(void* /* System.Int32[] */ bits, void** /* System.Exception */ __outException) + { + System.Int32[] bitsConverted = InteropUtils.GetInstance(bits); + + try { + System.Decimal __returnValue = new System.Decimal(bitsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Create_7")] + internal static void* /* System.Decimal */ System_Decimal_Create_7(int /* System.Int32 */ lo, int /* System.Int32 */ mid, int /* System.Int32 */ hi, byte /* System.Boolean */ isNegative, byte /* System.Byte */ scale, void** /* System.Exception */ __outException) + { + System.Boolean isNegativeConverted = isNegative.ToBool(); + + try { + System.Decimal __returnValue = new System.Decimal(lo, mid, hi, isNegativeConverted, scale); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Scale_Get")] + internal static byte /* System.Byte */ System_Decimal_Scale_Get(void* /* System.Decimal */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Decimal __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Byte __returnValue = __selfConverted.Scale; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Zero_Get")] + internal static void* /* System.Decimal */ System_Decimal_Zero_Get() + { + + System.Decimal __returnValue = System.Decimal.Zero; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_One_Get")] + internal static void* /* System.Decimal */ System_Decimal_One_Get() + { + + System.Decimal __returnValue = System.Decimal.One; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_MinusOne_Get")] + internal static void* /* System.Decimal */ System_Decimal_MinusOne_Get() + { + + System.Decimal __returnValue = System.Decimal.MinusOne; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_MaxValue_Get")] + internal static void* /* System.Decimal */ System_Decimal_MaxValue_Get() + { + + System.Decimal __returnValue = System.Decimal.MaxValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_MinValue_Get")] + internal static void* /* System.Decimal */ System_Decimal_MinValue_Get() + { + + System.Decimal __returnValue = System.Decimal.MinValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Create_8")] + internal static void* /* System.Decimal */ System_Decimal_Create_8(void** /* System.Exception */ __outException) + { + + try { + System.Decimal __returnValue = new System.Decimal(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_TypeOf")] + internal static void* /* System.Type */ System_Decimal_TypeOf() + { + + System.Type __returnValue = typeof(System.Decimal); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Decimal_Destroy")] + internal static void /* System.Void */ System_Decimal_Destroy(void* /* System.Decimal */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + +internal unsafe class System_DateTime +{ + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Add")] + internal static void* /* System.DateTime */ System_DateTime_Add(void* /* System.DateTime */ __self, void* /* System.TimeSpan */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan valueConverted = InteropUtils.GetInstance(value); + + try { + System.DateTime __returnValue = __selfConverted.Add(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_AddDays")] + internal static void* /* System.DateTime */ System_DateTime_AddDays(void* /* System.DateTime */ __self, double /* System.Double */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.AddDays(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_AddHours")] + internal static void* /* System.DateTime */ System_DateTime_AddHours(void* /* System.DateTime */ __self, double /* System.Double */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.AddHours(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_AddMilliseconds")] + internal static void* /* System.DateTime */ System_DateTime_AddMilliseconds(void* /* System.DateTime */ __self, double /* System.Double */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.AddMilliseconds(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_AddMicroseconds")] + internal static void* /* System.DateTime */ System_DateTime_AddMicroseconds(void* /* System.DateTime */ __self, double /* System.Double */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.AddMicroseconds(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_AddMinutes")] + internal static void* /* System.DateTime */ System_DateTime_AddMinutes(void* /* System.DateTime */ __self, double /* System.Double */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.AddMinutes(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_AddMonths")] + internal static void* /* System.DateTime */ System_DateTime_AddMonths(void* /* System.DateTime */ __self, int /* System.Int32 */ months, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.AddMonths(months); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_AddSeconds")] + internal static void* /* System.DateTime */ System_DateTime_AddSeconds(void* /* System.DateTime */ __self, double /* System.Double */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.AddSeconds(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_AddTicks")] + internal static void* /* System.DateTime */ System_DateTime_AddTicks(void* /* System.DateTime */ __self, long /* System.Int64 */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.AddTicks(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_AddYears")] + internal static void* /* System.DateTime */ System_DateTime_AddYears(void* /* System.DateTime */ __self, int /* System.Int32 */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.AddYears(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Compare")] + internal static int /* System.Int32 */ System_DateTime_Compare(void* /* System.DateTime */ t1, void* /* System.DateTime */ t2, void** /* System.Exception */ __outException) + { + System.DateTime t1Converted = InteropUtils.GetInstance(t1); + System.DateTime t2Converted = InteropUtils.GetInstance(t2); + + try { + System.Int32 __returnValue = System.DateTime.Compare(t1Converted, t2Converted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_CompareTo")] + internal static int /* System.Int32 */ System_DateTime_CompareTo(void* /* System.DateTime */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_CompareTo_1")] + internal static int /* System.Int32 */ System_DateTime_CompareTo_1(void* /* System.DateTime */ __self, void* /* System.DateTime */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_DaysInMonth")] + internal static int /* System.Int32 */ System_DateTime_DaysInMonth(int /* System.Int32 */ year, int /* System.Int32 */ month, void** /* System.Exception */ __outException) + { + + try { + System.Int32 __returnValue = System.DateTime.DaysInMonth(year, month); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Equals")] + internal static byte /* System.Boolean */ System_DateTime_Equals(void* /* System.DateTime */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Equals_1")] + internal static byte /* System.Boolean */ System_DateTime_Equals_1(void* /* System.DateTime */ __self, void* /* System.DateTime */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Equals_2")] + internal static byte /* System.Boolean */ System_DateTime_Equals_2(void* /* System.DateTime */ t1, void* /* System.DateTime */ t2, void** /* System.Exception */ __outException) + { + System.DateTime t1Converted = InteropUtils.GetInstance(t1); + System.DateTime t2Converted = InteropUtils.GetInstance(t2); + + try { + System.Boolean __returnValue = System.DateTime.Equals(t1Converted, t2Converted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_FromBinary")] + internal static void* /* System.DateTime */ System_DateTime_FromBinary(long /* System.Int64 */ dateData, void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = System.DateTime.FromBinary(dateData); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_FromFileTime")] + internal static void* /* System.DateTime */ System_DateTime_FromFileTime(long /* System.Int64 */ fileTime, void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = System.DateTime.FromFileTime(fileTime); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_FromFileTimeUtc")] + internal static void* /* System.DateTime */ System_DateTime_FromFileTimeUtc(long /* System.Int64 */ fileTime, void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = System.DateTime.FromFileTimeUtc(fileTime); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_FromOADate")] + internal static void* /* System.DateTime */ System_DateTime_FromOADate(double /* System.Double */ d, void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = System.DateTime.FromOADate(d); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_IsDaylightSavingTime")] + internal static byte /* System.Boolean */ System_DateTime_IsDaylightSavingTime(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsDaylightSavingTime(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_SpecifyKind")] + internal static void* /* System.DateTime */ System_DateTime_SpecifyKind(void* /* System.DateTime */ value, System.DateTimeKind /* System.DateTimeKind */ kind, void** /* System.Exception */ __outException) + { + System.DateTime valueConverted = InteropUtils.GetInstance(value); + + try { + System.DateTime __returnValue = System.DateTime.SpecifyKind(valueConverted, kind); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToBinary")] + internal static long /* System.Int64 */ System_DateTime_ToBinary(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.ToBinary(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_GetHashCode")] + internal static int /* System.Int32 */ System_DateTime_GetHashCode(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_IsLeapYear")] + internal static byte /* System.Boolean */ System_DateTime_IsLeapYear(int /* System.Int32 */ year, void** /* System.Exception */ __outException) + { + + try { + System.Boolean __returnValue = System.DateTime.IsLeapYear(year); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Parse")] + internal static void* /* System.DateTime */ System_DateTime_Parse(void* /* System.String */ s, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.DateTime __returnValue = System.DateTime.Parse(sConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Parse_1")] + internal static void* /* System.DateTime */ System_DateTime_Parse_1(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.DateTime __returnValue = System.DateTime.Parse(sConverted, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Parse_2")] + internal static void* /* System.DateTime */ System_DateTime_Parse_2(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ styles, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.DateTime __returnValue = System.DateTime.Parse(sConverted, providerConverted, styles); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ParseExact")] + internal static void* /* System.DateTime */ System_DateTime_ParseExact(void* /* System.String */ s, void* /* System.String */ format, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.DateTime __returnValue = System.DateTime.ParseExact(sConverted, formatConverted, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ParseExact_1")] + internal static void* /* System.DateTime */ System_DateTime_ParseExact_1(void* /* System.String */ s, void* /* System.String */ format, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.DateTime __returnValue = System.DateTime.ParseExact(sConverted, formatConverted, providerConverted, style); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ParseExact_2")] + internal static void* /* System.DateTime */ System_DateTime_ParseExact_2(void* /* System.String */ s, void* /* System.String[] */ formats, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.DateTime __returnValue = System.DateTime.ParseExact(sConverted, formatsConverted, providerConverted, style); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Subtract")] + internal static void* /* System.TimeSpan */ System_DateTime_Subtract(void* /* System.DateTime */ __self, void* /* System.DateTime */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime valueConverted = InteropUtils.GetInstance(value); + + try { + System.TimeSpan __returnValue = __selfConverted.Subtract(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Subtract_1")] + internal static void* /* System.DateTime */ System_DateTime_Subtract_1(void* /* System.DateTime */ __self, void* /* System.TimeSpan */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan valueConverted = InteropUtils.GetInstance(value); + + try { + System.DateTime __returnValue = __selfConverted.Subtract(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToOADate")] + internal static double /* System.Double */ System_DateTime_ToOADate(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Double __returnValue = __selfConverted.ToOADate(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToFileTime")] + internal static long /* System.Int64 */ System_DateTime_ToFileTime(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.ToFileTime(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToFileTimeUtc")] + internal static long /* System.Int64 */ System_DateTime_ToFileTimeUtc(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.ToFileTimeUtc(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToLocalTime")] + internal static void* /* System.DateTime */ System_DateTime_ToLocalTime(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.ToLocalTime(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToLongDateString")] + internal static void* /* System.String */ System_DateTime_ToLongDateString(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToLongDateString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToLongTimeString")] + internal static void* /* System.String */ System_DateTime_ToLongTimeString(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToLongTimeString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToShortDateString")] + internal static void* /* System.String */ System_DateTime_ToShortDateString(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToShortDateString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToShortTimeString")] + internal static void* /* System.String */ System_DateTime_ToShortTimeString(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToShortTimeString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToString")] + internal static void* /* System.String */ System_DateTime_ToString(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToString_1")] + internal static void* /* System.String */ System_DateTime_ToString_1(void* /* System.DateTime */ __self, void* /* System.String */ format, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToString_2")] + internal static void* /* System.String */ System_DateTime_ToString_2(void* /* System.DateTime */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String __returnValue = __selfConverted.ToString(providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToString_3")] + internal static void* /* System.String */ System_DateTime_ToString_3(void* /* System.DateTime */ __self, void* /* System.String */ format, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_ToUniversalTime")] + internal static void* /* System.DateTime */ System_DateTime_ToUniversalTime(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.ToUniversalTime(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_TryParse")] + internal static byte /* System.Boolean */ System_DateTime_TryParse(void* /* System.String */ s, void** /* System.DateTime */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.DateTime resultConverted; + + try { + System.Boolean __returnValue = System.DateTime.TryParse(sConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_TryParse_1")] + internal static byte /* System.Boolean */ System_DateTime_TryParse_1(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ styles, void** /* System.DateTime */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.DateTime resultConverted; + + try { + System.Boolean __returnValue = System.DateTime.TryParse(sConverted, providerConverted, styles, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_TryParseExact")] + internal static byte /* System.Boolean */ System_DateTime_TryParseExact(void* /* System.String */ s, void* /* System.String */ format, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.DateTime */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.DateTime resultConverted; + + try { + System.Boolean __returnValue = System.DateTime.TryParseExact(sConverted, formatConverted, providerConverted, style, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_TryParseExact_1")] + internal static byte /* System.Boolean */ System_DateTime_TryParseExact_1(void* /* System.String */ s, void* /* System.String[] */ formats, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.DateTime */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.DateTime resultConverted; + + try { + System.Boolean __returnValue = System.DateTime.TryParseExact(sConverted, formatsConverted, providerConverted, style, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Deconstruct")] + internal static void /* System.Void */ System_DateTime_Deconstruct(void* /* System.DateTime */ __self, void** /* System.DateOnly */ date, void** /* System.TimeOnly */ time, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.DateOnly dateConverted; + System.TimeOnly timeConverted; + + try { + __selfConverted.Deconstruct(out dateConverted, out timeConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (date is not null) { + *date = dateConverted.AllocateGCHandleAndGetAddress(); + } + + if (time is not null) { + *time = timeConverted.AllocateGCHandleAndGetAddress(); + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (date is not null) { + *date = null; + } + + if (time is not null) { + *time = null; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Deconstruct_1")] + internal static void /* System.Void */ System_DateTime_Deconstruct_1(void* /* System.DateTime */ __self, int* /* System.Int32 */ year, int* /* System.Int32 */ month, int* /* System.Int32 */ day, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.Int32 yearConverted; + System.Int32 monthConverted; + System.Int32 dayConverted; + + try { + __selfConverted.Deconstruct(out yearConverted, out monthConverted, out dayConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (year is not null) { + *year = yearConverted; + } + + if (month is not null) { + *month = monthConverted; + } + + if (day is not null) { + *day = dayConverted; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (year is not null) { + *year = -1; + } + + if (month is not null) { + *month = -1; + } + + if (day is not null) { + *day = -1; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_GetDateTimeFormats")] + internal static void* /* System.String[] */ System_DateTime_GetDateTimeFormats(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.GetDateTimeFormats(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_GetDateTimeFormats_1")] + internal static void* /* System.String[] */ System_DateTime_GetDateTimeFormats_1(void* /* System.DateTime */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String[] __returnValue = __selfConverted.GetDateTimeFormats(providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_GetDateTimeFormats_2")] + internal static void* /* System.String[] */ System_DateTime_GetDateTimeFormats_2(void* /* System.DateTime */ __self, char /* System.Char */ format, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.GetDateTimeFormats(format); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_GetDateTimeFormats_3")] + internal static void* /* System.String[] */ System_DateTime_GetDateTimeFormats_3(void* /* System.DateTime */ __self, char /* System.Char */ format, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String[] __returnValue = __selfConverted.GetDateTimeFormats(format, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_GetTypeCode")] + internal static System.TypeCode /* System.TypeCode */ System_DateTime_GetTypeCode(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TypeCode __returnValue = __selfConverted.GetTypeCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.TypeCode); + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_TryParse_2")] + internal static byte /* System.Boolean */ System_DateTime_TryParse_2(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, void** /* System.DateTime */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.DateTime resultConverted; + + try { + System.Boolean __returnValue = System.DateTime.TryParse(sConverted, providerConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create")] + internal static void* /* System.DateTime */ System_DateTime_Create(long /* System.Int64 */ ticks, void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = new System.DateTime(ticks); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_1")] + internal static void* /* System.DateTime */ System_DateTime_Create_1(long /* System.Int64 */ ticks, System.DateTimeKind /* System.DateTimeKind */ kind, void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = new System.DateTime(ticks, kind); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_2")] + internal static void* /* System.DateTime */ System_DateTime_Create_2(void* /* System.DateOnly */ date, void* /* System.TimeOnly */ time, void** /* System.Exception */ __outException) + { + System.DateOnly dateConverted = InteropUtils.GetInstance(date); + System.TimeOnly timeConverted = InteropUtils.GetInstance(time); + + try { + System.DateTime __returnValue = new System.DateTime(dateConverted, timeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_3")] + internal static void* /* System.DateTime */ System_DateTime_Create_3(void* /* System.DateOnly */ date, void* /* System.TimeOnly */ time, System.DateTimeKind /* System.DateTimeKind */ kind, void** /* System.Exception */ __outException) + { + System.DateOnly dateConverted = InteropUtils.GetInstance(date); + System.TimeOnly timeConverted = InteropUtils.GetInstance(time); + + try { + System.DateTime __returnValue = new System.DateTime(dateConverted, timeConverted, kind); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_4")] + internal static void* /* System.DateTime */ System_DateTime_Create_4(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = new System.DateTime(year, month, day); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_5")] + internal static void* /* System.DateTime */ System_DateTime_Create_5(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, void* /* System.Globalization.Calendar */ calendar, void** /* System.Exception */ __outException) + { + System.Globalization.Calendar calendarConverted = InteropUtils.GetInstance(calendar); + + try { + System.DateTime __returnValue = new System.DateTime(year, month, day, calendarConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_6")] + internal static void* /* System.DateTime */ System_DateTime_Create_6(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, void* /* System.Globalization.Calendar */ calendar, System.DateTimeKind /* System.DateTimeKind */ kind, void** /* System.Exception */ __outException) + { + System.Globalization.Calendar calendarConverted = InteropUtils.GetInstance(calendar); + + try { + System.DateTime __returnValue = new System.DateTime(year, month, day, hour, minute, second, millisecond, calendarConverted, kind); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_7")] + internal static void* /* System.DateTime */ System_DateTime_Create_7(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = new System.DateTime(year, month, day, hour, minute, second); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_8")] + internal static void* /* System.DateTime */ System_DateTime_Create_8(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, System.DateTimeKind /* System.DateTimeKind */ kind, void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = new System.DateTime(year, month, day, hour, minute, second, kind); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_9")] + internal static void* /* System.DateTime */ System_DateTime_Create_9(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, void* /* System.Globalization.Calendar */ calendar, void** /* System.Exception */ __outException) + { + System.Globalization.Calendar calendarConverted = InteropUtils.GetInstance(calendar); + + try { + System.DateTime __returnValue = new System.DateTime(year, month, day, hour, minute, second, calendarConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_10")] + internal static void* /* System.DateTime */ System_DateTime_Create_10(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = new System.DateTime(year, month, day, hour, minute, second, millisecond); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_11")] + internal static void* /* System.DateTime */ System_DateTime_Create_11(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, System.DateTimeKind /* System.DateTimeKind */ kind, void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = new System.DateTime(year, month, day, hour, minute, second, millisecond, kind); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_12")] + internal static void* /* System.DateTime */ System_DateTime_Create_12(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, void* /* System.Globalization.Calendar */ calendar, void** /* System.Exception */ __outException) + { + System.Globalization.Calendar calendarConverted = InteropUtils.GetInstance(calendar); + + try { + System.DateTime __returnValue = new System.DateTime(year, month, day, hour, minute, second, millisecond, calendarConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_13")] + internal static void* /* System.DateTime */ System_DateTime_Create_13(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, int /* System.Int32 */ microsecond, void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = new System.DateTime(year, month, day, hour, minute, second, millisecond, microsecond); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_14")] + internal static void* /* System.DateTime */ System_DateTime_Create_14(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, int /* System.Int32 */ microsecond, System.DateTimeKind /* System.DateTimeKind */ kind, void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = new System.DateTime(year, month, day, hour, minute, second, millisecond, microsecond, kind); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_15")] + internal static void* /* System.DateTime */ System_DateTime_Create_15(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, int /* System.Int32 */ microsecond, void* /* System.Globalization.Calendar */ calendar, void** /* System.Exception */ __outException) + { + System.Globalization.Calendar calendarConverted = InteropUtils.GetInstance(calendar); + + try { + System.DateTime __returnValue = new System.DateTime(year, month, day, hour, minute, second, millisecond, microsecond, calendarConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_16")] + internal static void* /* System.DateTime */ System_DateTime_Create_16(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, int /* System.Int32 */ microsecond, void* /* System.Globalization.Calendar */ calendar, System.DateTimeKind /* System.DateTimeKind */ kind, void** /* System.Exception */ __outException) + { + System.Globalization.Calendar calendarConverted = InteropUtils.GetInstance(calendar); + + try { + System.DateTime __returnValue = new System.DateTime(year, month, day, hour, minute, second, millisecond, microsecond, calendarConverted, kind); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Date_Get")] + internal static void* /* System.DateTime */ System_DateTime_Date_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.Date; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Day_Get")] + internal static int /* System.Int32 */ System_DateTime_Day_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Day; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_DayOfWeek_Get")] + internal static System.DayOfWeek /* System.DayOfWeek */ System_DateTime_DayOfWeek_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DayOfWeek __returnValue = __selfConverted.DayOfWeek; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.DayOfWeek); + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_DayOfYear_Get")] + internal static int /* System.Int32 */ System_DateTime_DayOfYear_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.DayOfYear; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Hour_Get")] + internal static int /* System.Int32 */ System_DateTime_Hour_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Hour; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Kind_Get")] + internal static System.DateTimeKind /* System.DateTimeKind */ System_DateTime_Kind_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeKind __returnValue = __selfConverted.Kind; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.DateTimeKind); + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Millisecond_Get")] + internal static int /* System.Int32 */ System_DateTime_Millisecond_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Millisecond; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Microsecond_Get")] + internal static int /* System.Int32 */ System_DateTime_Microsecond_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Microsecond; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Nanosecond_Get")] + internal static int /* System.Int32 */ System_DateTime_Nanosecond_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Nanosecond; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Minute_Get")] + internal static int /* System.Int32 */ System_DateTime_Minute_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Minute; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Month_Get")] + internal static int /* System.Int32 */ System_DateTime_Month_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Month; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Now_Get")] + internal static void* /* System.DateTime */ System_DateTime_Now_Get(void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = System.DateTime.Now; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Second_Get")] + internal static int /* System.Int32 */ System_DateTime_Second_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Second; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Ticks_Get")] + internal static long /* System.Int64 */ System_DateTime_Ticks_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.Ticks; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_TimeOfDay_Get")] + internal static void* /* System.TimeSpan */ System_DateTime_TimeOfDay_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeSpan __returnValue = __selfConverted.TimeOfDay; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Today_Get")] + internal static void* /* System.DateTime */ System_DateTime_Today_Get(void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = System.DateTime.Today; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Year_Get")] + internal static int /* System.Int32 */ System_DateTime_Year_Get(void* /* System.DateTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Year; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_UtcNow_Get")] + internal static void* /* System.DateTime */ System_DateTime_UtcNow_Get(void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = System.DateTime.UtcNow; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_MinValue_Get")] + internal static void* /* System.DateTime */ System_DateTime_MinValue_Get() + { + + System.DateTime __returnValue = System.DateTime.MinValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_MaxValue_Get")] + internal static void* /* System.DateTime */ System_DateTime_MaxValue_Get() + { + + System.DateTime __returnValue = System.DateTime.MaxValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_UnixEpoch_Get")] + internal static void* /* System.DateTime */ System_DateTime_UnixEpoch_Get() + { + + System.DateTime __returnValue = System.DateTime.UnixEpoch; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Create_17")] + internal static void* /* System.DateTime */ System_DateTime_Create_17(void** /* System.Exception */ __outException) + { + + try { + System.DateTime __returnValue = new System.DateTime(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_TypeOf")] + internal static void* /* System.Type */ System_DateTime_TypeOf() + { + + System.Type __returnValue = typeof(System.DateTime); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTime_Destroy")] + internal static void /* System.Void */ System_DateTime_Destroy(void* /* System.DateTime */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_TimeSpan +{ + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Add")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Add(void* /* System.TimeSpan */ __self, void* /* System.TimeSpan */ ts, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan tsConverted = InteropUtils.GetInstance(ts); + + try { + System.TimeSpan __returnValue = __selfConverted.Add(tsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Compare")] + internal static int /* System.Int32 */ System_TimeSpan_Compare(void* /* System.TimeSpan */ t1, void* /* System.TimeSpan */ t2, void** /* System.Exception */ __outException) + { + System.TimeSpan t1Converted = InteropUtils.GetInstance(t1); + System.TimeSpan t2Converted = InteropUtils.GetInstance(t2); + + try { + System.Int32 __returnValue = System.TimeSpan.Compare(t1Converted, t2Converted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_CompareTo")] + internal static int /* System.Int32 */ System_TimeSpan_CompareTo(void* /* System.TimeSpan */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_CompareTo_1")] + internal static int /* System.Int32 */ System_TimeSpan_CompareTo_1(void* /* System.TimeSpan */ __self, void* /* System.TimeSpan */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_FromDays")] + internal static void* /* System.TimeSpan */ System_TimeSpan_FromDays(double /* System.Double */ value, void** /* System.Exception */ __outException) + { + + try { + System.TimeSpan __returnValue = System.TimeSpan.FromDays(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Duration")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Duration(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeSpan __returnValue = __selfConverted.Duration(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Equals")] + internal static byte /* System.Boolean */ System_TimeSpan_Equals(void* /* System.TimeSpan */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Equals_1")] + internal static byte /* System.Boolean */ System_TimeSpan_Equals_1(void* /* System.TimeSpan */ __self, void* /* System.TimeSpan */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Equals_2")] + internal static byte /* System.Boolean */ System_TimeSpan_Equals_2(void* /* System.TimeSpan */ t1, void* /* System.TimeSpan */ t2, void** /* System.Exception */ __outException) + { + System.TimeSpan t1Converted = InteropUtils.GetInstance(t1); + System.TimeSpan t2Converted = InteropUtils.GetInstance(t2); + + try { + System.Boolean __returnValue = System.TimeSpan.Equals(t1Converted, t2Converted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_GetHashCode")] + internal static int /* System.Int32 */ System_TimeSpan_GetHashCode(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_FromHours")] + internal static void* /* System.TimeSpan */ System_TimeSpan_FromHours(double /* System.Double */ value, void** /* System.Exception */ __outException) + { + + try { + System.TimeSpan __returnValue = System.TimeSpan.FromHours(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_FromMilliseconds")] + internal static void* /* System.TimeSpan */ System_TimeSpan_FromMilliseconds(double /* System.Double */ value, void** /* System.Exception */ __outException) + { + + try { + System.TimeSpan __returnValue = System.TimeSpan.FromMilliseconds(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_FromMicroseconds")] + internal static void* /* System.TimeSpan */ System_TimeSpan_FromMicroseconds(double /* System.Double */ value, void** /* System.Exception */ __outException) + { + + try { + System.TimeSpan __returnValue = System.TimeSpan.FromMicroseconds(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_FromMinutes")] + internal static void* /* System.TimeSpan */ System_TimeSpan_FromMinutes(double /* System.Double */ value, void** /* System.Exception */ __outException) + { + + try { + System.TimeSpan __returnValue = System.TimeSpan.FromMinutes(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Negate")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Negate(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeSpan __returnValue = __selfConverted.Negate(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_FromSeconds")] + internal static void* /* System.TimeSpan */ System_TimeSpan_FromSeconds(double /* System.Double */ value, void** /* System.Exception */ __outException) + { + + try { + System.TimeSpan __returnValue = System.TimeSpan.FromSeconds(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Subtract")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Subtract(void* /* System.TimeSpan */ __self, void* /* System.TimeSpan */ ts, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan tsConverted = InteropUtils.GetInstance(ts); + + try { + System.TimeSpan __returnValue = __selfConverted.Subtract(tsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Multiply")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Multiply(void* /* System.TimeSpan */ __self, double /* System.Double */ factor, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeSpan __returnValue = __selfConverted.Multiply(factor); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Divide")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Divide(void* /* System.TimeSpan */ __self, double /* System.Double */ divisor, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeSpan __returnValue = __selfConverted.Divide(divisor); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Divide_1")] + internal static double /* System.Double */ System_TimeSpan_Divide_1(void* /* System.TimeSpan */ __self, void* /* System.TimeSpan */ ts, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan tsConverted = InteropUtils.GetInstance(ts); + + try { + System.Double __returnValue = __selfConverted.Divide(tsConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_FromTicks")] + internal static void* /* System.TimeSpan */ System_TimeSpan_FromTicks(long /* System.Int64 */ value, void** /* System.Exception */ __outException) + { + + try { + System.TimeSpan __returnValue = System.TimeSpan.FromTicks(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Parse")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Parse(void* /* System.String */ s, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.TimeSpan __returnValue = System.TimeSpan.Parse(sConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Parse_1")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Parse_1(void* /* System.String */ input, void* /* System.IFormatProvider */ formatProvider, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.TimeSpan __returnValue = System.TimeSpan.Parse(inputConverted, formatProviderConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_ParseExact")] + internal static void* /* System.TimeSpan */ System_TimeSpan_ParseExact(void* /* System.String */ input, void* /* System.String */ format, void* /* System.IFormatProvider */ formatProvider, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.TimeSpan __returnValue = System.TimeSpan.ParseExact(inputConverted, formatConverted, formatProviderConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_ParseExact_1")] + internal static void* /* System.TimeSpan */ System_TimeSpan_ParseExact_1(void* /* System.String */ input, void* /* System.String[] */ formats, void* /* System.IFormatProvider */ formatProvider, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.TimeSpan __returnValue = System.TimeSpan.ParseExact(inputConverted, formatsConverted, formatProviderConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_ParseExact_2")] + internal static void* /* System.TimeSpan */ System_TimeSpan_ParseExact_2(void* /* System.String */ input, void* /* System.String */ format, void* /* System.IFormatProvider */ formatProvider, System.Globalization.TimeSpanStyles /* System.Globalization.TimeSpanStyles */ styles, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.TimeSpan __returnValue = System.TimeSpan.ParseExact(inputConverted, formatConverted, formatProviderConverted, styles); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_ParseExact_3")] + internal static void* /* System.TimeSpan */ System_TimeSpan_ParseExact_3(void* /* System.String */ input, void* /* System.String[] */ formats, void* /* System.IFormatProvider */ formatProvider, System.Globalization.TimeSpanStyles /* System.Globalization.TimeSpanStyles */ styles, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.TimeSpan __returnValue = System.TimeSpan.ParseExact(inputConverted, formatsConverted, formatProviderConverted, styles); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TryParse")] + internal static byte /* System.Boolean */ System_TimeSpan_TryParse(void* /* System.String */ s, void** /* System.TimeSpan */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.TimeSpan resultConverted; + + try { + System.Boolean __returnValue = System.TimeSpan.TryParse(sConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TryParse_1")] + internal static byte /* System.Boolean */ System_TimeSpan_TryParse_1(void* /* System.String */ input, void* /* System.IFormatProvider */ formatProvider, void** /* System.TimeSpan */ result, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + System.TimeSpan resultConverted; + + try { + System.Boolean __returnValue = System.TimeSpan.TryParse(inputConverted, formatProviderConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TryParseExact")] + internal static byte /* System.Boolean */ System_TimeSpan_TryParseExact(void* /* System.String */ input, void* /* System.String */ format, void* /* System.IFormatProvider */ formatProvider, void** /* System.TimeSpan */ result, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + System.TimeSpan resultConverted; + + try { + System.Boolean __returnValue = System.TimeSpan.TryParseExact(inputConverted, formatConverted, formatProviderConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TryParseExact_1")] + internal static byte /* System.Boolean */ System_TimeSpan_TryParseExact_1(void* /* System.String */ input, void* /* System.String[] */ formats, void* /* System.IFormatProvider */ formatProvider, void** /* System.TimeSpan */ result, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + System.TimeSpan resultConverted; + + try { + System.Boolean __returnValue = System.TimeSpan.TryParseExact(inputConverted, formatsConverted, formatProviderConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TryParseExact_2")] + internal static byte /* System.Boolean */ System_TimeSpan_TryParseExact_2(void* /* System.String */ input, void* /* System.String */ format, void* /* System.IFormatProvider */ formatProvider, System.Globalization.TimeSpanStyles /* System.Globalization.TimeSpanStyles */ styles, void** /* System.TimeSpan */ result, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + System.TimeSpan resultConverted; + + try { + System.Boolean __returnValue = System.TimeSpan.TryParseExact(inputConverted, formatConverted, formatProviderConverted, styles, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TryParseExact_3")] + internal static byte /* System.Boolean */ System_TimeSpan_TryParseExact_3(void* /* System.String */ input, void* /* System.String[] */ formats, void* /* System.IFormatProvider */ formatProvider, System.Globalization.TimeSpanStyles /* System.Globalization.TimeSpanStyles */ styles, void** /* System.TimeSpan */ result, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + System.TimeSpan resultConverted; + + try { + System.Boolean __returnValue = System.TimeSpan.TryParseExact(inputConverted, formatsConverted, formatProviderConverted, styles, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_ToString")] + internal static void* /* System.String */ System_TimeSpan_ToString(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_ToString_1")] + internal static void* /* System.String */ System_TimeSpan_ToString_1(void* /* System.TimeSpan */ __self, void* /* System.String */ format, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_ToString_2")] + internal static void* /* System.String */ System_TimeSpan_ToString_2(void* /* System.TimeSpan */ __self, void* /* System.String */ format, void* /* System.IFormatProvider */ formatProvider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted, formatProviderConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Create")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Create(long /* System.Int64 */ ticks, void** /* System.Exception */ __outException) + { + + try { + System.TimeSpan __returnValue = new System.TimeSpan(ticks); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Create_1")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Create_1(int /* System.Int32 */ hours, int /* System.Int32 */ minutes, int /* System.Int32 */ seconds, void** /* System.Exception */ __outException) + { + + try { + System.TimeSpan __returnValue = new System.TimeSpan(hours, minutes, seconds); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Create_2")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Create_2(int /* System.Int32 */ days, int /* System.Int32 */ hours, int /* System.Int32 */ minutes, int /* System.Int32 */ seconds, void** /* System.Exception */ __outException) + { + + try { + System.TimeSpan __returnValue = new System.TimeSpan(days, hours, minutes, seconds); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Create_3")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Create_3(int /* System.Int32 */ days, int /* System.Int32 */ hours, int /* System.Int32 */ minutes, int /* System.Int32 */ seconds, int /* System.Int32 */ milliseconds, void** /* System.Exception */ __outException) + { + + try { + System.TimeSpan __returnValue = new System.TimeSpan(days, hours, minutes, seconds, milliseconds); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Create_4")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Create_4(int /* System.Int32 */ days, int /* System.Int32 */ hours, int /* System.Int32 */ minutes, int /* System.Int32 */ seconds, int /* System.Int32 */ milliseconds, int /* System.Int32 */ microseconds, void** /* System.Exception */ __outException) + { + + try { + System.TimeSpan __returnValue = new System.TimeSpan(days, hours, minutes, seconds, milliseconds, microseconds); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Ticks_Get")] + internal static long /* System.Int64 */ System_TimeSpan_Ticks_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.Ticks; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Days_Get")] + internal static int /* System.Int32 */ System_TimeSpan_Days_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Days; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Hours_Get")] + internal static int /* System.Int32 */ System_TimeSpan_Hours_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Hours; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Milliseconds_Get")] + internal static int /* System.Int32 */ System_TimeSpan_Milliseconds_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Milliseconds; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Microseconds_Get")] + internal static int /* System.Int32 */ System_TimeSpan_Microseconds_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Microseconds; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Nanoseconds_Get")] + internal static int /* System.Int32 */ System_TimeSpan_Nanoseconds_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Nanoseconds; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Minutes_Get")] + internal static int /* System.Int32 */ System_TimeSpan_Minutes_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Minutes; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Seconds_Get")] + internal static int /* System.Int32 */ System_TimeSpan_Seconds_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Seconds; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TotalDays_Get")] + internal static double /* System.Double */ System_TimeSpan_TotalDays_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Double __returnValue = __selfConverted.TotalDays; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TotalHours_Get")] + internal static double /* System.Double */ System_TimeSpan_TotalHours_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Double __returnValue = __selfConverted.TotalHours; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TotalMilliseconds_Get")] + internal static double /* System.Double */ System_TimeSpan_TotalMilliseconds_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Double __returnValue = __selfConverted.TotalMilliseconds; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TotalMicroseconds_Get")] + internal static double /* System.Double */ System_TimeSpan_TotalMicroseconds_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Double __returnValue = __selfConverted.TotalMicroseconds; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TotalNanoseconds_Get")] + internal static double /* System.Double */ System_TimeSpan_TotalNanoseconds_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Double __returnValue = __selfConverted.TotalNanoseconds; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TotalMinutes_Get")] + internal static double /* System.Double */ System_TimeSpan_TotalMinutes_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Double __returnValue = __selfConverted.TotalMinutes; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TotalSeconds_Get")] + internal static double /* System.Double */ System_TimeSpan_TotalSeconds_Get(void* /* System.TimeSpan */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeSpan __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Double __returnValue = __selfConverted.TotalSeconds; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Zero_Get")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Zero_Get() + { + + System.TimeSpan __returnValue = System.TimeSpan.Zero; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_MaxValue_Get")] + internal static void* /* System.TimeSpan */ System_TimeSpan_MaxValue_Get() + { + + System.TimeSpan __returnValue = System.TimeSpan.MaxValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_MinValue_Get")] + internal static void* /* System.TimeSpan */ System_TimeSpan_MinValue_Get() + { + + System.TimeSpan __returnValue = System.TimeSpan.MinValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_NanosecondsPerTick_Get")] + internal static long /* System.Int64 */ System_TimeSpan_NanosecondsPerTick_Get() + { + + System.Int64 __returnValue = System.TimeSpan.NanosecondsPerTick; + return __returnValue; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TicksPerMicrosecond_Get")] + internal static long /* System.Int64 */ System_TimeSpan_TicksPerMicrosecond_Get() + { + + System.Int64 __returnValue = System.TimeSpan.TicksPerMicrosecond; + return __returnValue; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TicksPerMillisecond_Get")] + internal static long /* System.Int64 */ System_TimeSpan_TicksPerMillisecond_Get() + { + + System.Int64 __returnValue = System.TimeSpan.TicksPerMillisecond; + return __returnValue; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TicksPerSecond_Get")] + internal static long /* System.Int64 */ System_TimeSpan_TicksPerSecond_Get() + { + + System.Int64 __returnValue = System.TimeSpan.TicksPerSecond; + return __returnValue; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TicksPerMinute_Get")] + internal static long /* System.Int64 */ System_TimeSpan_TicksPerMinute_Get() + { + + System.Int64 __returnValue = System.TimeSpan.TicksPerMinute; + return __returnValue; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TicksPerHour_Get")] + internal static long /* System.Int64 */ System_TimeSpan_TicksPerHour_Get() + { + + System.Int64 __returnValue = System.TimeSpan.TicksPerHour; + return __returnValue; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TicksPerDay_Get")] + internal static long /* System.Int64 */ System_TimeSpan_TicksPerDay_Get() + { + + System.Int64 __returnValue = System.TimeSpan.TicksPerDay; + return __returnValue; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Create_5")] + internal static void* /* System.TimeSpan */ System_TimeSpan_Create_5(void** /* System.Exception */ __outException) + { + + try { + System.TimeSpan __returnValue = new System.TimeSpan(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_TypeOf")] + internal static void* /* System.Type */ System_TimeSpan_TypeOf() + { + + System.Type __returnValue = typeof(System.TimeSpan); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeSpan_Destroy")] + internal static void /* System.Void */ System_TimeSpan_Destroy(void* /* System.TimeSpan */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + +internal unsafe class System_Globalization_TimeSpanStyles +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TimeSpanStyles_TypeOf")] + internal static void* /* System.Type */ System_Globalization_TimeSpanStyles_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.TimeSpanStyles); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_DateTimeKind +{ + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeKind_TypeOf")] + internal static void* /* System.Type */ System_DateTimeKind_TypeOf() + { + + System.Type __returnValue = typeof(System.DateTimeKind); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_DayOfWeek +{ + [UnmanagedCallersOnly(EntryPoint = "System_DayOfWeek_TypeOf")] + internal static void* /* System.Type */ System_DayOfWeek_TypeOf() + { + + System.Type __returnValue = typeof(System.DayOfWeek); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Globalization_DateTimeStyles +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeStyles_TypeOf")] + internal static void* /* System.Type */ System_Globalization_DateTimeStyles_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.DateTimeStyles); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_DateOnly +{ + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_FromDayNumber")] + internal static void* /* System.DateOnly */ System_DateOnly_FromDayNumber(int /* System.Int32 */ dayNumber, void** /* System.Exception */ __outException) + { + + try { + System.DateOnly __returnValue = System.DateOnly.FromDayNumber(dayNumber); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_AddDays")] + internal static void* /* System.DateOnly */ System_DateOnly_AddDays(void* /* System.DateOnly */ __self, int /* System.Int32 */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateOnly __returnValue = __selfConverted.AddDays(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_AddMonths")] + internal static void* /* System.DateOnly */ System_DateOnly_AddMonths(void* /* System.DateOnly */ __self, int /* System.Int32 */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateOnly __returnValue = __selfConverted.AddMonths(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_AddYears")] + internal static void* /* System.DateOnly */ System_DateOnly_AddYears(void* /* System.DateOnly */ __self, int /* System.Int32 */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateOnly __returnValue = __selfConverted.AddYears(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_Deconstruct")] + internal static void /* System.Void */ System_DateOnly_Deconstruct(void* /* System.DateOnly */ __self, int* /* System.Int32 */ year, int* /* System.Int32 */ month, int* /* System.Int32 */ day, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.Int32 yearConverted; + System.Int32 monthConverted; + System.Int32 dayConverted; + + try { + __selfConverted.Deconstruct(out yearConverted, out monthConverted, out dayConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (year is not null) { + *year = yearConverted; + } + + if (month is not null) { + *month = monthConverted; + } + + if (day is not null) { + *day = dayConverted; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (year is not null) { + *year = -1; + } + + if (month is not null) { + *month = -1; + } + + if (day is not null) { + *day = -1; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_ToDateTime")] + internal static void* /* System.DateTime */ System_DateOnly_ToDateTime(void* /* System.DateOnly */ __self, void* /* System.TimeOnly */ time, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeOnly timeConverted = InteropUtils.GetInstance(time); + + try { + System.DateTime __returnValue = __selfConverted.ToDateTime(timeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_ToDateTime_1")] + internal static void* /* System.DateTime */ System_DateOnly_ToDateTime_1(void* /* System.DateOnly */ __self, void* /* System.TimeOnly */ time, System.DateTimeKind /* System.DateTimeKind */ kind, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeOnly timeConverted = InteropUtils.GetInstance(time); + + try { + System.DateTime __returnValue = __selfConverted.ToDateTime(timeConverted, kind); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_FromDateTime")] + internal static void* /* System.DateOnly */ System_DateOnly_FromDateTime(void* /* System.DateTime */ dateTime, void** /* System.Exception */ __outException) + { + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + + try { + System.DateOnly __returnValue = System.DateOnly.FromDateTime(dateTimeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_CompareTo")] + internal static int /* System.Int32 */ System_DateOnly_CompareTo(void* /* System.DateOnly */ __self, void* /* System.DateOnly */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.DateOnly valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_CompareTo_1")] + internal static int /* System.Int32 */ System_DateOnly_CompareTo_1(void* /* System.DateOnly */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_Equals")] + internal static byte /* System.Boolean */ System_DateOnly_Equals(void* /* System.DateOnly */ __self, void* /* System.DateOnly */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.DateOnly valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_Equals_1")] + internal static byte /* System.Boolean */ System_DateOnly_Equals_1(void* /* System.DateOnly */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_GetHashCode")] + internal static int /* System.Int32 */ System_DateOnly_GetHashCode(void* /* System.DateOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_Parse")] + internal static void* /* System.DateOnly */ System_DateOnly_Parse(void* /* System.String */ s, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.DateOnly __returnValue = System.DateOnly.Parse(sConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_Parse_1")] + internal static void* /* System.DateOnly */ System_DateOnly_Parse_1(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.DateOnly __returnValue = System.DateOnly.Parse(sConverted, providerConverted, style); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_ParseExact")] + internal static void* /* System.DateOnly */ System_DateOnly_ParseExact(void* /* System.String */ s, void* /* System.String */ format, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String formatConverted = InteropUtils.GetInstance(format); + + try { + System.DateOnly __returnValue = System.DateOnly.ParseExact(sConverted, formatConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_ParseExact_1")] + internal static void* /* System.DateOnly */ System_DateOnly_ParseExact_1(void* /* System.String */ s, void* /* System.String */ format, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.DateOnly __returnValue = System.DateOnly.ParseExact(sConverted, formatConverted, providerConverted, style); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_ParseExact_2")] + internal static void* /* System.DateOnly */ System_DateOnly_ParseExact_2(void* /* System.String */ s, void* /* System.String[] */ formats, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + + try { + System.DateOnly __returnValue = System.DateOnly.ParseExact(sConverted, formatsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_ParseExact_3")] + internal static void* /* System.DateOnly */ System_DateOnly_ParseExact_3(void* /* System.String */ s, void* /* System.String[] */ formats, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.DateOnly __returnValue = System.DateOnly.ParseExact(sConverted, formatsConverted, providerConverted, style); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_TryParse")] + internal static byte /* System.Boolean */ System_DateOnly_TryParse(void* /* System.String */ s, void** /* System.DateOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.DateOnly resultConverted; + + try { + System.Boolean __returnValue = System.DateOnly.TryParse(sConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_TryParse_1")] + internal static byte /* System.Boolean */ System_DateOnly_TryParse_1(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.DateOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.DateOnly resultConverted; + + try { + System.Boolean __returnValue = System.DateOnly.TryParse(sConverted, providerConverted, style, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_TryParseExact")] + internal static byte /* System.Boolean */ System_DateOnly_TryParseExact(void* /* System.String */ s, void* /* System.String */ format, void** /* System.DateOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String formatConverted = InteropUtils.GetInstance(format); + System.DateOnly resultConverted; + + try { + System.Boolean __returnValue = System.DateOnly.TryParseExact(sConverted, formatConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_TryParseExact_1")] + internal static byte /* System.Boolean */ System_DateOnly_TryParseExact_1(void* /* System.String */ s, void* /* System.String */ format, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.DateOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.DateOnly resultConverted; + + try { + System.Boolean __returnValue = System.DateOnly.TryParseExact(sConverted, formatConverted, providerConverted, style, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_TryParseExact_2")] + internal static byte /* System.Boolean */ System_DateOnly_TryParseExact_2(void* /* System.String */ s, void* /* System.String[] */ formats, void** /* System.DateOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.DateOnly resultConverted; + + try { + System.Boolean __returnValue = System.DateOnly.TryParseExact(sConverted, formatsConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_TryParseExact_3")] + internal static byte /* System.Boolean */ System_DateOnly_TryParseExact_3(void* /* System.String */ s, void* /* System.String[] */ formats, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.DateOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.DateOnly resultConverted; + + try { + System.Boolean __returnValue = System.DateOnly.TryParseExact(sConverted, formatsConverted, providerConverted, style, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_ToLongDateString")] + internal static void* /* System.String */ System_DateOnly_ToLongDateString(void* /* System.DateOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToLongDateString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_ToShortDateString")] + internal static void* /* System.String */ System_DateOnly_ToShortDateString(void* /* System.DateOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToShortDateString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_ToString")] + internal static void* /* System.String */ System_DateOnly_ToString(void* /* System.DateOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_ToString_1")] + internal static void* /* System.String */ System_DateOnly_ToString_1(void* /* System.DateOnly */ __self, void* /* System.String */ format, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_ToString_2")] + internal static void* /* System.String */ System_DateOnly_ToString_2(void* /* System.DateOnly */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String __returnValue = __selfConverted.ToString(providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_ToString_3")] + internal static void* /* System.String */ System_DateOnly_ToString_3(void* /* System.DateOnly */ __self, void* /* System.String */ format, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_Parse_2")] + internal static void* /* System.DateOnly */ System_DateOnly_Parse_2(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.DateOnly __returnValue = System.DateOnly.Parse(sConverted, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_TryParse_2")] + internal static byte /* System.Boolean */ System_DateOnly_TryParse_2(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, void** /* System.DateOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.DateOnly resultConverted; + + try { + System.Boolean __returnValue = System.DateOnly.TryParse(sConverted, providerConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_Create")] + internal static void* /* System.DateOnly */ System_DateOnly_Create(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, void** /* System.Exception */ __outException) + { + + try { + System.DateOnly __returnValue = new System.DateOnly(year, month, day); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_Create_1")] + internal static void* /* System.DateOnly */ System_DateOnly_Create_1(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, void* /* System.Globalization.Calendar */ calendar, void** /* System.Exception */ __outException) + { + System.Globalization.Calendar calendarConverted = InteropUtils.GetInstance(calendar); + + try { + System.DateOnly __returnValue = new System.DateOnly(year, month, day, calendarConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_MinValue_Get")] + internal static void* /* System.DateOnly */ System_DateOnly_MinValue_Get(void** /* System.Exception */ __outException) + { + + try { + System.DateOnly __returnValue = System.DateOnly.MinValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_MaxValue_Get")] + internal static void* /* System.DateOnly */ System_DateOnly_MaxValue_Get(void** /* System.Exception */ __outException) + { + + try { + System.DateOnly __returnValue = System.DateOnly.MaxValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_Year_Get")] + internal static int /* System.Int32 */ System_DateOnly_Year_Get(void* /* System.DateOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Year; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_Month_Get")] + internal static int /* System.Int32 */ System_DateOnly_Month_Get(void* /* System.DateOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Month; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_Day_Get")] + internal static int /* System.Int32 */ System_DateOnly_Day_Get(void* /* System.DateOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Day; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_DayOfWeek_Get")] + internal static System.DayOfWeek /* System.DayOfWeek */ System_DateOnly_DayOfWeek_Get(void* /* System.DateOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DayOfWeek __returnValue = __selfConverted.DayOfWeek; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.DayOfWeek); + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_DayOfYear_Get")] + internal static int /* System.Int32 */ System_DateOnly_DayOfYear_Get(void* /* System.DateOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.DayOfYear; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_DayNumber_Get")] + internal static int /* System.Int32 */ System_DateOnly_DayNumber_Get(void* /* System.DateOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.DayNumber; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_Create_2")] + internal static void* /* System.DateOnly */ System_DateOnly_Create_2(void** /* System.Exception */ __outException) + { + + try { + System.DateOnly __returnValue = new System.DateOnly(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_TypeOf")] + internal static void* /* System.Type */ System_DateOnly_TypeOf() + { + + System.Type __returnValue = typeof(System.DateOnly); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateOnly_Destroy")] + internal static void /* System.Void */ System_DateOnly_Destroy(void* /* System.DateOnly */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_TimeOnly +{ + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Add")] + internal static void* /* System.TimeOnly */ System_TimeOnly_Add(void* /* System.TimeOnly */ __self, void* /* System.TimeSpan */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan valueConverted = InteropUtils.GetInstance(value); + + try { + System.TimeOnly __returnValue = __selfConverted.Add(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Add_1")] + internal static void* /* System.TimeOnly */ System_TimeOnly_Add_1(void* /* System.TimeOnly */ __self, void* /* System.TimeSpan */ value, int* /* System.Int32 */ wrappedDays, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan valueConverted = InteropUtils.GetInstance(value); + System.Int32 wrappedDaysConverted; + + try { + System.TimeOnly __returnValue = __selfConverted.Add(valueConverted, out wrappedDaysConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + if (wrappedDays is not null) { + *wrappedDays = wrappedDaysConverted; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (wrappedDays is not null) { + *wrappedDays = -1; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_AddHours")] + internal static void* /* System.TimeOnly */ System_TimeOnly_AddHours(void* /* System.TimeOnly */ __self, double /* System.Double */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeOnly __returnValue = __selfConverted.AddHours(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_AddHours_1")] + internal static void* /* System.TimeOnly */ System_TimeOnly_AddHours_1(void* /* System.TimeOnly */ __self, double /* System.Double */ value, int* /* System.Int32 */ wrappedDays, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.Int32 wrappedDaysConverted; + + try { + System.TimeOnly __returnValue = __selfConverted.AddHours(value, out wrappedDaysConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + if (wrappedDays is not null) { + *wrappedDays = wrappedDaysConverted; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (wrappedDays is not null) { + *wrappedDays = -1; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_AddMinutes")] + internal static void* /* System.TimeOnly */ System_TimeOnly_AddMinutes(void* /* System.TimeOnly */ __self, double /* System.Double */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeOnly __returnValue = __selfConverted.AddMinutes(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_AddMinutes_1")] + internal static void* /* System.TimeOnly */ System_TimeOnly_AddMinutes_1(void* /* System.TimeOnly */ __self, double /* System.Double */ value, int* /* System.Int32 */ wrappedDays, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.Int32 wrappedDaysConverted; + + try { + System.TimeOnly __returnValue = __selfConverted.AddMinutes(value, out wrappedDaysConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + if (wrappedDays is not null) { + *wrappedDays = wrappedDaysConverted; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (wrappedDays is not null) { + *wrappedDays = -1; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_IsBetween")] + internal static byte /* System.Boolean */ System_TimeOnly_IsBetween(void* /* System.TimeOnly */ __self, void* /* System.TimeOnly */ start, void* /* System.TimeOnly */ end, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeOnly startConverted = InteropUtils.GetInstance(start); + System.TimeOnly endConverted = InteropUtils.GetInstance(end); + + try { + System.Boolean __returnValue = __selfConverted.IsBetween(startConverted, endConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Deconstruct")] + internal static void /* System.Void */ System_TimeOnly_Deconstruct(void* /* System.TimeOnly */ __self, int* /* System.Int32 */ hour, int* /* System.Int32 */ minute, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.Int32 hourConverted; + System.Int32 minuteConverted; + + try { + __selfConverted.Deconstruct(out hourConverted, out minuteConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (hour is not null) { + *hour = hourConverted; + } + + if (minute is not null) { + *minute = minuteConverted; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (hour is not null) { + *hour = -1; + } + + if (minute is not null) { + *minute = -1; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Deconstruct_1")] + internal static void /* System.Void */ System_TimeOnly_Deconstruct_1(void* /* System.TimeOnly */ __self, int* /* System.Int32 */ hour, int* /* System.Int32 */ minute, int* /* System.Int32 */ second, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.Int32 hourConverted; + System.Int32 minuteConverted; + System.Int32 secondConverted; + + try { + __selfConverted.Deconstruct(out hourConverted, out minuteConverted, out secondConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (hour is not null) { + *hour = hourConverted; + } + + if (minute is not null) { + *minute = minuteConverted; + } + + if (second is not null) { + *second = secondConverted; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (hour is not null) { + *hour = -1; + } + + if (minute is not null) { + *minute = -1; + } + + if (second is not null) { + *second = -1; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Deconstruct_2")] + internal static void /* System.Void */ System_TimeOnly_Deconstruct_2(void* /* System.TimeOnly */ __self, int* /* System.Int32 */ hour, int* /* System.Int32 */ minute, int* /* System.Int32 */ second, int* /* System.Int32 */ millisecond, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.Int32 hourConverted; + System.Int32 minuteConverted; + System.Int32 secondConverted; + System.Int32 millisecondConverted; + + try { + __selfConverted.Deconstruct(out hourConverted, out minuteConverted, out secondConverted, out millisecondConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (hour is not null) { + *hour = hourConverted; + } + + if (minute is not null) { + *minute = minuteConverted; + } + + if (second is not null) { + *second = secondConverted; + } + + if (millisecond is not null) { + *millisecond = millisecondConverted; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (hour is not null) { + *hour = -1; + } + + if (minute is not null) { + *minute = -1; + } + + if (second is not null) { + *second = -1; + } + + if (millisecond is not null) { + *millisecond = -1; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Deconstruct_3")] + internal static void /* System.Void */ System_TimeOnly_Deconstruct_3(void* /* System.TimeOnly */ __self, int* /* System.Int32 */ hour, int* /* System.Int32 */ minute, int* /* System.Int32 */ second, int* /* System.Int32 */ millisecond, int* /* System.Int32 */ microsecond, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.Int32 hourConverted; + System.Int32 minuteConverted; + System.Int32 secondConverted; + System.Int32 millisecondConverted; + System.Int32 microsecondConverted; + + try { + __selfConverted.Deconstruct(out hourConverted, out minuteConverted, out secondConverted, out millisecondConverted, out microsecondConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (hour is not null) { + *hour = hourConverted; + } + + if (minute is not null) { + *minute = minuteConverted; + } + + if (second is not null) { + *second = secondConverted; + } + + if (millisecond is not null) { + *millisecond = millisecondConverted; + } + + if (microsecond is not null) { + *microsecond = microsecondConverted; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (hour is not null) { + *hour = -1; + } + + if (minute is not null) { + *minute = -1; + } + + if (second is not null) { + *second = -1; + } + + if (millisecond is not null) { + *millisecond = -1; + } + + if (microsecond is not null) { + *microsecond = -1; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_FromTimeSpan")] + internal static void* /* System.TimeOnly */ System_TimeOnly_FromTimeSpan(void* /* System.TimeSpan */ timeSpan, void** /* System.Exception */ __outException) + { + System.TimeSpan timeSpanConverted = InteropUtils.GetInstance(timeSpan); + + try { + System.TimeOnly __returnValue = System.TimeOnly.FromTimeSpan(timeSpanConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_FromDateTime")] + internal static void* /* System.TimeOnly */ System_TimeOnly_FromDateTime(void* /* System.DateTime */ dateTime, void** /* System.Exception */ __outException) + { + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + + try { + System.TimeOnly __returnValue = System.TimeOnly.FromDateTime(dateTimeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_ToTimeSpan")] + internal static void* /* System.TimeSpan */ System_TimeOnly_ToTimeSpan(void* /* System.TimeOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeSpan __returnValue = __selfConverted.ToTimeSpan(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_CompareTo")] + internal static int /* System.Int32 */ System_TimeOnly_CompareTo(void* /* System.TimeOnly */ __self, void* /* System.TimeOnly */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeOnly valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_CompareTo_1")] + internal static int /* System.Int32 */ System_TimeOnly_CompareTo_1(void* /* System.TimeOnly */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Equals")] + internal static byte /* System.Boolean */ System_TimeOnly_Equals(void* /* System.TimeOnly */ __self, void* /* System.TimeOnly */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeOnly valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Equals_1")] + internal static byte /* System.Boolean */ System_TimeOnly_Equals_1(void* /* System.TimeOnly */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_GetHashCode")] + internal static int /* System.Int32 */ System_TimeOnly_GetHashCode(void* /* System.TimeOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Parse")] + internal static void* /* System.TimeOnly */ System_TimeOnly_Parse(void* /* System.String */ s, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.TimeOnly __returnValue = System.TimeOnly.Parse(sConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Parse_1")] + internal static void* /* System.TimeOnly */ System_TimeOnly_Parse_1(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.TimeOnly __returnValue = System.TimeOnly.Parse(sConverted, providerConverted, style); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_ParseExact")] + internal static void* /* System.TimeOnly */ System_TimeOnly_ParseExact(void* /* System.String */ s, void* /* System.String */ format, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String formatConverted = InteropUtils.GetInstance(format); + + try { + System.TimeOnly __returnValue = System.TimeOnly.ParseExact(sConverted, formatConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_ParseExact_1")] + internal static void* /* System.TimeOnly */ System_TimeOnly_ParseExact_1(void* /* System.String */ s, void* /* System.String */ format, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.TimeOnly __returnValue = System.TimeOnly.ParseExact(sConverted, formatConverted, providerConverted, style); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_ParseExact_2")] + internal static void* /* System.TimeOnly */ System_TimeOnly_ParseExact_2(void* /* System.String */ s, void* /* System.String[] */ formats, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + + try { + System.TimeOnly __returnValue = System.TimeOnly.ParseExact(sConverted, formatsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_ParseExact_3")] + internal static void* /* System.TimeOnly */ System_TimeOnly_ParseExact_3(void* /* System.String */ s, void* /* System.String[] */ formats, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.TimeOnly __returnValue = System.TimeOnly.ParseExact(sConverted, formatsConverted, providerConverted, style); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_TryParse")] + internal static byte /* System.Boolean */ System_TimeOnly_TryParse(void* /* System.String */ s, void** /* System.TimeOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.TimeOnly resultConverted; + + try { + System.Boolean __returnValue = System.TimeOnly.TryParse(sConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_TryParse_1")] + internal static byte /* System.Boolean */ System_TimeOnly_TryParse_1(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.TimeOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.TimeOnly resultConverted; + + try { + System.Boolean __returnValue = System.TimeOnly.TryParse(sConverted, providerConverted, style, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_TryParseExact")] + internal static byte /* System.Boolean */ System_TimeOnly_TryParseExact(void* /* System.String */ s, void* /* System.String */ format, void** /* System.TimeOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String formatConverted = InteropUtils.GetInstance(format); + System.TimeOnly resultConverted; + + try { + System.Boolean __returnValue = System.TimeOnly.TryParseExact(sConverted, formatConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_TryParseExact_1")] + internal static byte /* System.Boolean */ System_TimeOnly_TryParseExact_1(void* /* System.String */ s, void* /* System.String */ format, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.TimeOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.TimeOnly resultConverted; + + try { + System.Boolean __returnValue = System.TimeOnly.TryParseExact(sConverted, formatConverted, providerConverted, style, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_TryParseExact_2")] + internal static byte /* System.Boolean */ System_TimeOnly_TryParseExact_2(void* /* System.String */ s, void* /* System.String[] */ formats, void** /* System.TimeOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.TimeOnly resultConverted; + + try { + System.Boolean __returnValue = System.TimeOnly.TryParseExact(sConverted, formatsConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_TryParseExact_3")] + internal static byte /* System.Boolean */ System_TimeOnly_TryParseExact_3(void* /* System.String */ s, void* /* System.String[] */ formats, void* /* System.IFormatProvider */ provider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ style, void** /* System.TimeOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.TimeOnly resultConverted; + + try { + System.Boolean __returnValue = System.TimeOnly.TryParseExact(sConverted, formatsConverted, providerConverted, style, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_ToLongTimeString")] + internal static void* /* System.String */ System_TimeOnly_ToLongTimeString(void* /* System.TimeOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToLongTimeString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_ToShortTimeString")] + internal static void* /* System.String */ System_TimeOnly_ToShortTimeString(void* /* System.TimeOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToShortTimeString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_ToString")] + internal static void* /* System.String */ System_TimeOnly_ToString(void* /* System.TimeOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_ToString_1")] + internal static void* /* System.String */ System_TimeOnly_ToString_1(void* /* System.TimeOnly */ __self, void* /* System.String */ format, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_ToString_2")] + internal static void* /* System.String */ System_TimeOnly_ToString_2(void* /* System.TimeOnly */ __self, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String __returnValue = __selfConverted.ToString(providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_ToString_3")] + internal static void* /* System.String */ System_TimeOnly_ToString_3(void* /* System.TimeOnly */ __self, void* /* System.String */ format, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Parse_2")] + internal static void* /* System.TimeOnly */ System_TimeOnly_Parse_2(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.TimeOnly __returnValue = System.TimeOnly.Parse(sConverted, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_TryParse_2")] + internal static byte /* System.Boolean */ System_TimeOnly_TryParse_2(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, void** /* System.TimeOnly */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.TimeOnly resultConverted; + + try { + System.Boolean __returnValue = System.TimeOnly.TryParse(sConverted, providerConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Create")] + internal static void* /* System.TimeOnly */ System_TimeOnly_Create(int /* System.Int32 */ hour, int /* System.Int32 */ minute, void** /* System.Exception */ __outException) + { + + try { + System.TimeOnly __returnValue = new System.TimeOnly(hour, minute); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Create_1")] + internal static void* /* System.TimeOnly */ System_TimeOnly_Create_1(int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, void** /* System.Exception */ __outException) + { + + try { + System.TimeOnly __returnValue = new System.TimeOnly(hour, minute, second); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Create_2")] + internal static void* /* System.TimeOnly */ System_TimeOnly_Create_2(int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, void** /* System.Exception */ __outException) + { + + try { + System.TimeOnly __returnValue = new System.TimeOnly(hour, minute, second, millisecond); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Create_3")] + internal static void* /* System.TimeOnly */ System_TimeOnly_Create_3(int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, int /* System.Int32 */ microsecond, void** /* System.Exception */ __outException) + { + + try { + System.TimeOnly __returnValue = new System.TimeOnly(hour, minute, second, millisecond, microsecond); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Create_4")] + internal static void* /* System.TimeOnly */ System_TimeOnly_Create_4(long /* System.Int64 */ ticks, void** /* System.Exception */ __outException) + { + + try { + System.TimeOnly __returnValue = new System.TimeOnly(ticks); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_MinValue_Get")] + internal static void* /* System.TimeOnly */ System_TimeOnly_MinValue_Get(void** /* System.Exception */ __outException) + { + + try { + System.TimeOnly __returnValue = System.TimeOnly.MinValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_MaxValue_Get")] + internal static void* /* System.TimeOnly */ System_TimeOnly_MaxValue_Get(void** /* System.Exception */ __outException) + { + + try { + System.TimeOnly __returnValue = System.TimeOnly.MaxValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Hour_Get")] + internal static int /* System.Int32 */ System_TimeOnly_Hour_Get(void* /* System.TimeOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Hour; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Minute_Get")] + internal static int /* System.Int32 */ System_TimeOnly_Minute_Get(void* /* System.TimeOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Minute; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Second_Get")] + internal static int /* System.Int32 */ System_TimeOnly_Second_Get(void* /* System.TimeOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Second; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Millisecond_Get")] + internal static int /* System.Int32 */ System_TimeOnly_Millisecond_Get(void* /* System.TimeOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Millisecond; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Microsecond_Get")] + internal static int /* System.Int32 */ System_TimeOnly_Microsecond_Get(void* /* System.TimeOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Microsecond; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Nanosecond_Get")] + internal static int /* System.Int32 */ System_TimeOnly_Nanosecond_Get(void* /* System.TimeOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Nanosecond; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Ticks_Get")] + internal static long /* System.Int64 */ System_TimeOnly_Ticks_Get(void* /* System.TimeOnly */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeOnly __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.Ticks; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Create_5")] + internal static void* /* System.TimeOnly */ System_TimeOnly_Create_5(void** /* System.Exception */ __outException) + { + + try { + System.TimeOnly __returnValue = new System.TimeOnly(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_TypeOf")] + internal static void* /* System.Type */ System_TimeOnly_TypeOf() + { + + System.Type __returnValue = typeof(System.TimeOnly); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeOnly_Destroy")] + internal static void /* System.Void */ System_TimeOnly_Destroy(void* /* System.TimeOnly */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + +internal unsafe class System_Globalization_Calendar +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_Clone")] + internal static void* /* System.Object */ System_Globalization_Calendar_Clone(void* /* System.Globalization.Calendar */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Clone(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_ReadOnly")] + internal static void* /* System.Globalization.Calendar */ System_Globalization_Calendar_ReadOnly(void* /* System.Globalization.Calendar */ calendar, void** /* System.Exception */ __outException) + { + System.Globalization.Calendar calendarConverted = InteropUtils.GetInstance(calendar); + + try { + System.Globalization.Calendar __returnValue = System.Globalization.Calendar.ReadOnly(calendarConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_AddMilliseconds")] + internal static void* /* System.DateTime */ System_Globalization_Calendar_AddMilliseconds(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, double /* System.Double */ milliseconds, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.DateTime __returnValue = __selfConverted.AddMilliseconds(timeConverted, milliseconds); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_AddDays")] + internal static void* /* System.DateTime */ System_Globalization_Calendar_AddDays(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, int /* System.Int32 */ days, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.DateTime __returnValue = __selfConverted.AddDays(timeConverted, days); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_AddHours")] + internal static void* /* System.DateTime */ System_Globalization_Calendar_AddHours(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, int /* System.Int32 */ hours, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.DateTime __returnValue = __selfConverted.AddHours(timeConverted, hours); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_AddMinutes")] + internal static void* /* System.DateTime */ System_Globalization_Calendar_AddMinutes(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, int /* System.Int32 */ minutes, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.DateTime __returnValue = __selfConverted.AddMinutes(timeConverted, minutes); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_AddMonths")] + internal static void* /* System.DateTime */ System_Globalization_Calendar_AddMonths(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, int /* System.Int32 */ months, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.DateTime __returnValue = __selfConverted.AddMonths(timeConverted, months); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_AddSeconds")] + internal static void* /* System.DateTime */ System_Globalization_Calendar_AddSeconds(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, int /* System.Int32 */ seconds, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.DateTime __returnValue = __selfConverted.AddSeconds(timeConverted, seconds); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_AddWeeks")] + internal static void* /* System.DateTime */ System_Globalization_Calendar_AddWeeks(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, int /* System.Int32 */ weeks, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.DateTime __returnValue = __selfConverted.AddWeeks(timeConverted, weeks); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_AddYears")] + internal static void* /* System.DateTime */ System_Globalization_Calendar_AddYears(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, int /* System.Int32 */ years, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.DateTime __returnValue = __selfConverted.AddYears(timeConverted, years); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetDayOfMonth")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetDayOfMonth(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.Int32 __returnValue = __selfConverted.GetDayOfMonth(timeConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetDayOfWeek")] + internal static System.DayOfWeek /* System.DayOfWeek */ System_Globalization_Calendar_GetDayOfWeek(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.DayOfWeek __returnValue = __selfConverted.GetDayOfWeek(timeConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.DayOfWeek); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetDayOfYear")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetDayOfYear(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.Int32 __returnValue = __selfConverted.GetDayOfYear(timeConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetDaysInMonth")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetDaysInMonth(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, int /* System.Int32 */ month, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetDaysInMonth(year, month); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetDaysInMonth_1")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetDaysInMonth_1(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ era, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetDaysInMonth(year, month, era); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetDaysInYear")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetDaysInYear(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetDaysInYear(year); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetDaysInYear_1")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetDaysInYear_1(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, int /* System.Int32 */ era, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetDaysInYear(year, era); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetEra")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetEra(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.Int32 __returnValue = __selfConverted.GetEra(timeConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetHour")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetHour(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.Int32 __returnValue = __selfConverted.GetHour(timeConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetMilliseconds")] + internal static double /* System.Double */ System_Globalization_Calendar_GetMilliseconds(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.Double __returnValue = __selfConverted.GetMilliseconds(timeConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetMinute")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetMinute(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.Int32 __returnValue = __selfConverted.GetMinute(timeConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetMonth")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetMonth(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.Int32 __returnValue = __selfConverted.GetMonth(timeConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetMonthsInYear")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetMonthsInYear(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetMonthsInYear(year); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetMonthsInYear_1")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetMonthsInYear_1(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, int /* System.Int32 */ era, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetMonthsInYear(year, era); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetSecond")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetSecond(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.Int32 __returnValue = __selfConverted.GetSecond(timeConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetWeekOfYear")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetWeekOfYear(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, System.Globalization.CalendarWeekRule /* System.Globalization.CalendarWeekRule */ rule, System.DayOfWeek /* System.DayOfWeek */ firstDayOfWeek, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.Int32 __returnValue = __selfConverted.GetWeekOfYear(timeConverted, rule, firstDayOfWeek); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetYear")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetYear(void* /* System.Globalization.Calendar */ __self, void* /* System.DateTime */ time, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime timeConverted = InteropUtils.GetInstance(time); + + try { + System.Int32 __returnValue = __selfConverted.GetYear(timeConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_IsLeapDay")] + internal static byte /* System.Boolean */ System_Globalization_Calendar_IsLeapDay(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsLeapDay(year, month, day); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_IsLeapDay_1")] + internal static byte /* System.Boolean */ System_Globalization_Calendar_IsLeapDay_1(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ era, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsLeapDay(year, month, day, era); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_IsLeapMonth")] + internal static byte /* System.Boolean */ System_Globalization_Calendar_IsLeapMonth(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, int /* System.Int32 */ month, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsLeapMonth(year, month); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_IsLeapMonth_1")] + internal static byte /* System.Boolean */ System_Globalization_Calendar_IsLeapMonth_1(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ era, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsLeapMonth(year, month, era); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetLeapMonth")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetLeapMonth(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetLeapMonth(year); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_GetLeapMonth_1")] + internal static int /* System.Int32 */ System_Globalization_Calendar_GetLeapMonth_1(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, int /* System.Int32 */ era, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetLeapMonth(year, era); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_IsLeapYear")] + internal static byte /* System.Boolean */ System_Globalization_Calendar_IsLeapYear(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsLeapYear(year); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_IsLeapYear_1")] + internal static byte /* System.Boolean */ System_Globalization_Calendar_IsLeapYear_1(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, int /* System.Int32 */ era, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsLeapYear(year, era); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_ToDateTime")] + internal static void* /* System.DateTime */ System_Globalization_Calendar_ToDateTime(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.ToDateTime(year, month, day, hour, minute, second, millisecond); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_ToDateTime_1")] + internal static void* /* System.DateTime */ System_Globalization_Calendar_ToDateTime_1(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, int /* System.Int32 */ era, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.ToDateTime(year, month, day, hour, minute, second, millisecond, era); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_ToFourDigitYear")] + internal static int /* System.Int32 */ System_Globalization_Calendar_ToFourDigitYear(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ year, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.ToFourDigitYear(year); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_MinSupportedDateTime_Get")] + internal static void* /* System.DateTime */ System_Globalization_Calendar_MinSupportedDateTime_Get(void* /* System.Globalization.Calendar */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.MinSupportedDateTime; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_MaxSupportedDateTime_Get")] + internal static void* /* System.DateTime */ System_Globalization_Calendar_MaxSupportedDateTime_Get(void* /* System.Globalization.Calendar */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.MaxSupportedDateTime; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_AlgorithmType_Get")] + internal static System.Globalization.CalendarAlgorithmType /* System.Globalization.CalendarAlgorithmType */ System_Globalization_Calendar_AlgorithmType_Get(void* /* System.Globalization.Calendar */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.CalendarAlgorithmType __returnValue = __selfConverted.AlgorithmType; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Globalization.CalendarAlgorithmType); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_IsReadOnly_Get")] + internal static byte /* System.Boolean */ System_Globalization_Calendar_IsReadOnly_Get(void* /* System.Globalization.Calendar */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsReadOnly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_Eras_Get")] + internal static void* /* System.Int32[] */ System_Globalization_Calendar_Eras_Get(void* /* System.Globalization.Calendar */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32[] __returnValue = __selfConverted.Eras; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_TwoDigitYearMax_Get")] + internal static int /* System.Int32 */ System_Globalization_Calendar_TwoDigitYearMax_Get(void* /* System.Globalization.Calendar */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.TwoDigitYearMax; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_TwoDigitYearMax_Set")] + internal static void /* System.Void */ System_Globalization_Calendar_TwoDigitYearMax_Set(void* /* System.Globalization.Calendar */ __self, int /* System.Int32 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.Calendar __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.TwoDigitYearMax = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_CurrentEra_Get")] + internal static int /* System.Int32 */ System_Globalization_Calendar_CurrentEra_Get() + { + + System.Int32 __returnValue = System.Globalization.Calendar.CurrentEra; + return __returnValue; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_TypeOf")] + internal static void* /* System.Type */ System_Globalization_Calendar_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.Calendar); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_Calendar_Destroy")] + internal static void /* System.Void */ System_Globalization_Calendar_Destroy(void* /* System.Globalization.Calendar */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Globalization_CalendarAlgorithmType +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CalendarAlgorithmType_TypeOf")] + internal static void* /* System.Type */ System_Globalization_CalendarAlgorithmType_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.CalendarAlgorithmType); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Globalization_CalendarWeekRule +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CalendarWeekRule_TypeOf")] + internal static void* /* System.Type */ System_Globalization_CalendarWeekRule_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.CalendarWeekRule); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Runtime_Serialization_IFormatterConverter +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_Convert")] + internal static void* /* System.Object */ System_Runtime_Serialization_IFormatterConverter_Convert(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void* /* System.Type */ type, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + System.Type typeConverted = InteropUtils.GetInstance(type); + + try { + System.Object __returnValue = __selfConverted.Convert(valueConverted, typeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_Convert_1")] + internal static void* /* System.Object */ System_Runtime_Serialization_IFormatterConverter_Convert_1(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, System.TypeCode /* System.TypeCode */ typeCode, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Object __returnValue = __selfConverted.Convert(valueConverted, typeCode); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToBoolean")] + internal static byte /* System.Boolean */ System_Runtime_Serialization_IFormatterConverter_ToBoolean(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.ToBoolean(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToChar")] + internal static char /* System.Char */ System_Runtime_Serialization_IFormatterConverter_ToChar(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Char __returnValue = __selfConverted.ToChar(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return (char)0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToSByte")] + internal static sbyte /* System.SByte */ System_Runtime_Serialization_IFormatterConverter_ToSByte(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.SByte __returnValue = __selfConverted.ToSByte(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToByte")] + internal static byte /* System.Byte */ System_Runtime_Serialization_IFormatterConverter_ToByte(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Byte __returnValue = __selfConverted.ToByte(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToInt16")] + internal static short /* System.Int16 */ System_Runtime_Serialization_IFormatterConverter_ToInt16(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int16 __returnValue = __selfConverted.ToInt16(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToUInt16")] + internal static ushort /* System.UInt16 */ System_Runtime_Serialization_IFormatterConverter_ToUInt16(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.UInt16 __returnValue = __selfConverted.ToUInt16(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToInt32")] + internal static int /* System.Int32 */ System_Runtime_Serialization_IFormatterConverter_ToInt32(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.ToInt32(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToUInt32")] + internal static uint /* System.UInt32 */ System_Runtime_Serialization_IFormatterConverter_ToUInt32(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.UInt32 __returnValue = __selfConverted.ToUInt32(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToInt64")] + internal static long /* System.Int64 */ System_Runtime_Serialization_IFormatterConverter_ToInt64(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int64 __returnValue = __selfConverted.ToInt64(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToUInt64")] + internal static ulong /* System.UInt64 */ System_Runtime_Serialization_IFormatterConverter_ToUInt64(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.UInt64 __returnValue = __selfConverted.ToUInt64(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToSingle")] + internal static float /* System.Single */ System_Runtime_Serialization_IFormatterConverter_ToSingle(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Single __returnValue = __selfConverted.ToSingle(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToDouble")] + internal static double /* System.Double */ System_Runtime_Serialization_IFormatterConverter_ToDouble(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Double __returnValue = __selfConverted.ToDouble(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToDecimal")] + internal static void* /* System.Decimal */ System_Runtime_Serialization_IFormatterConverter_ToDecimal(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Decimal __returnValue = __selfConverted.ToDecimal(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToDateTime")] + internal static void* /* System.DateTime */ System_Runtime_Serialization_IFormatterConverter_ToDateTime(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.DateTime __returnValue = __selfConverted.ToDateTime(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_ToString")] + internal static void* /* System.String */ System_Runtime_Serialization_IFormatterConverter_ToString(void* /* System.Runtime.Serialization.IFormatterConverter */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IFormatterConverter __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.String __returnValue = __selfConverted.ToString(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_TypeOf")] + internal static void* /* System.Type */ System_Runtime_Serialization_IFormatterConverter_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.Serialization.IFormatterConverter); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IFormatterConverter_Destroy")] + internal static void /* System.Void */ System_Runtime_Serialization_IFormatterConverter_Destroy(void* /* System.Runtime.Serialization.IFormatterConverter */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_Serialization_StreamingContext +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_StreamingContext_Equals")] + internal static byte /* System.Boolean */ System_Runtime_Serialization_StreamingContext_Equals(void* /* System.Runtime.Serialization.StreamingContext */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.StreamingContext __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_StreamingContext_GetHashCode")] + internal static int /* System.Int32 */ System_Runtime_Serialization_StreamingContext_GetHashCode(void* /* System.Runtime.Serialization.StreamingContext */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.StreamingContext __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_StreamingContext_Create")] + internal static void* /* System.Runtime.Serialization.StreamingContext */ System_Runtime_Serialization_StreamingContext_Create(System.Runtime.Serialization.StreamingContextStates /* System.Runtime.Serialization.StreamingContextStates */ state, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.Serialization.StreamingContext __returnValue = new System.Runtime.Serialization.StreamingContext(state); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_StreamingContext_Create_1")] + internal static void* /* System.Runtime.Serialization.StreamingContext */ System_Runtime_Serialization_StreamingContext_Create_1(System.Runtime.Serialization.StreamingContextStates /* System.Runtime.Serialization.StreamingContextStates */ state, void* /* System.Object */ additional, void** /* System.Exception */ __outException) + { + System.Object additionalConverted = InteropUtils.GetInstance(additional); + + try { + System.Runtime.Serialization.StreamingContext __returnValue = new System.Runtime.Serialization.StreamingContext(state, additionalConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_StreamingContext_State_Get")] + internal static System.Runtime.Serialization.StreamingContextStates /* System.Runtime.Serialization.StreamingContextStates */ System_Runtime_Serialization_StreamingContext_State_Get(void* /* System.Runtime.Serialization.StreamingContext */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.StreamingContext __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Runtime.Serialization.StreamingContextStates __returnValue = __selfConverted.State; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Runtime.Serialization.StreamingContextStates); + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_StreamingContext_Context_Get")] + internal static void* /* System.Object */ System_Runtime_Serialization_StreamingContext_Context_Get(void* /* System.Runtime.Serialization.StreamingContext */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.StreamingContext __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Context; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_StreamingContext_Create_2")] + internal static void* /* System.Runtime.Serialization.StreamingContext */ System_Runtime_Serialization_StreamingContext_Create_2(void** /* System.Exception */ __outException) + { + + try { + System.Runtime.Serialization.StreamingContext __returnValue = new System.Runtime.Serialization.StreamingContext(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_StreamingContext_TypeOf")] + internal static void* /* System.Type */ System_Runtime_Serialization_StreamingContext_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.Serialization.StreamingContext); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_StreamingContext_Destroy")] + internal static void /* System.Void */ System_Runtime_Serialization_StreamingContext_Destroy(void* /* System.Runtime.Serialization.StreamingContext */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_Serialization_StreamingContextStates +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_StreamingContextStates_TypeOf")] + internal static void* /* System.Type */ System_Runtime_Serialization_StreamingContextStates_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.Serialization.StreamingContextStates); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Reflection_AssemblyName +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_Clone")] + internal static void* /* System.Object */ System_Reflection_AssemblyName_Clone(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Clone(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_GetAssemblyName")] + internal static void* /* System.Reflection.AssemblyName */ System_Reflection_AssemblyName_GetAssemblyName(void* /* System.String */ assemblyFile, void** /* System.Exception */ __outException) + { + System.String assemblyFileConverted = InteropUtils.GetInstance(assemblyFile); + + try { + System.Reflection.AssemblyName __returnValue = System.Reflection.AssemblyName.GetAssemblyName(assemblyFileConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_GetPublicKey")] + internal static void* /* System.Byte[] */ System_Reflection_AssemblyName_GetPublicKey(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Byte[] __returnValue = __selfConverted.GetPublicKey(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_SetPublicKey")] + internal static void /* System.Void */ System_Reflection_AssemblyName_SetPublicKey(void* /* System.Reflection.AssemblyName */ __self, void* /* System.Byte[] */ publicKey, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] publicKeyConverted = InteropUtils.GetInstance(publicKey); + + try { + __selfConverted.SetPublicKey(publicKeyConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_GetPublicKeyToken")] + internal static void* /* System.Byte[] */ System_Reflection_AssemblyName_GetPublicKeyToken(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Byte[] __returnValue = __selfConverted.GetPublicKeyToken(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_SetPublicKeyToken")] + internal static void /* System.Void */ System_Reflection_AssemblyName_SetPublicKeyToken(void* /* System.Reflection.AssemblyName */ __self, void* /* System.Byte[] */ publicKeyToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] publicKeyTokenConverted = InteropUtils.GetInstance(publicKeyToken); + + try { + __selfConverted.SetPublicKeyToken(publicKeyTokenConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_ToString")] + internal static void* /* System.String */ System_Reflection_AssemblyName_ToString(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_GetObjectData")] + internal static void /* System.Void */ System_Reflection_AssemblyName_GetObjectData(void* /* System.Reflection.AssemblyName */ __self, void* /* System.Runtime.Serialization.SerializationInfo */ info, void* /* System.Runtime.Serialization.StreamingContext */ context, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + System.Runtime.Serialization.SerializationInfo infoConverted = InteropUtils.GetInstance(info); + System.Runtime.Serialization.StreamingContext contextConverted = InteropUtils.GetInstance(context); + + try { + __selfConverted.GetObjectData(infoConverted, contextConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_OnDeserialization")] + internal static void /* System.Void */ System_Reflection_AssemblyName_OnDeserialization(void* /* System.Reflection.AssemblyName */ __self, void* /* System.Object */ sender, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + System.Object senderConverted = InteropUtils.GetInstance(sender); + + try { + __selfConverted.OnDeserialization(senderConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_ReferenceMatchesDefinition")] + internal static byte /* System.Boolean */ System_Reflection_AssemblyName_ReferenceMatchesDefinition(void* /* System.Reflection.AssemblyName */ reference, void* /* System.Reflection.AssemblyName */ definition, void** /* System.Exception */ __outException) + { + System.Reflection.AssemblyName referenceConverted = InteropUtils.GetInstance(reference); + System.Reflection.AssemblyName definitionConverted = InteropUtils.GetInstance(definition); + + try { + System.Boolean __returnValue = System.Reflection.AssemblyName.ReferenceMatchesDefinition(referenceConverted, definitionConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_Create")] + internal static void* /* System.Reflection.AssemblyName */ System_Reflection_AssemblyName_Create(void* /* System.String */ assemblyName, void** /* System.Exception */ __outException) + { + System.String assemblyNameConverted = InteropUtils.GetInstance(assemblyName); + + try { + System.Reflection.AssemblyName __returnValue = new System.Reflection.AssemblyName(assemblyNameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_Create_1")] + internal static void* /* System.Reflection.AssemblyName */ System_Reflection_AssemblyName_Create_1(void** /* System.Exception */ __outException) + { + + try { + System.Reflection.AssemblyName __returnValue = new System.Reflection.AssemblyName(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_Name_Get")] + internal static void* /* System.String */ System_Reflection_AssemblyName_Name_Get(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Name; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_Name_Set")] + internal static void /* System.Void */ System_Reflection_AssemblyName_Name_Set(void* /* System.Reflection.AssemblyName */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Name = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_Version_Get")] + internal static void* /* System.Version */ System_Reflection_AssemblyName_Version_Get(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Version __returnValue = __selfConverted.Version; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_Version_Set")] + internal static void /* System.Void */ System_Reflection_AssemblyName_Version_Set(void* /* System.Reflection.AssemblyName */ __self, void* /* System.Version */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Version = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_CultureInfo_Get")] + internal static void* /* System.Globalization.CultureInfo */ System_Reflection_AssemblyName_CultureInfo_Get(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.CultureInfo __returnValue = __selfConverted.CultureInfo; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_CultureInfo_Set")] + internal static void /* System.Void */ System_Reflection_AssemblyName_CultureInfo_Set(void* /* System.Reflection.AssemblyName */ __self, void* /* System.Globalization.CultureInfo */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.CultureInfo = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_CultureName_Get")] + internal static void* /* System.String */ System_Reflection_AssemblyName_CultureName_Get(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.CultureName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_CultureName_Set")] + internal static void /* System.Void */ System_Reflection_AssemblyName_CultureName_Set(void* /* System.Reflection.AssemblyName */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.CultureName = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_CodeBase_Get")] + internal static void* /* System.String */ System_Reflection_AssemblyName_CodeBase_Get(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.CodeBase; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_CodeBase_Set")] + internal static void /* System.Void */ System_Reflection_AssemblyName_CodeBase_Set(void* /* System.Reflection.AssemblyName */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.CodeBase = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_EscapedCodeBase_Get")] + internal static void* /* System.String */ System_Reflection_AssemblyName_EscapedCodeBase_Get(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.EscapedCodeBase; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_ProcessorArchitecture_Get")] + internal static System.Reflection.ProcessorArchitecture /* System.Reflection.ProcessorArchitecture */ System_Reflection_AssemblyName_ProcessorArchitecture_Get(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.ProcessorArchitecture __returnValue = __selfConverted.ProcessorArchitecture; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.ProcessorArchitecture); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_ProcessorArchitecture_Set")] + internal static void /* System.Void */ System_Reflection_AssemblyName_ProcessorArchitecture_Set(void* /* System.Reflection.AssemblyName */ __self, System.Reflection.ProcessorArchitecture /* System.Reflection.ProcessorArchitecture */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.ProcessorArchitecture = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_ContentType_Get")] + internal static System.Reflection.AssemblyContentType /* System.Reflection.AssemblyContentType */ System_Reflection_AssemblyName_ContentType_Get(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.AssemblyContentType __returnValue = __selfConverted.ContentType; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.AssemblyContentType); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_ContentType_Set")] + internal static void /* System.Void */ System_Reflection_AssemblyName_ContentType_Set(void* /* System.Reflection.AssemblyName */ __self, System.Reflection.AssemblyContentType /* System.Reflection.AssemblyContentType */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.ContentType = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_Flags_Get")] + internal static System.Reflection.AssemblyNameFlags /* System.Reflection.AssemblyNameFlags */ System_Reflection_AssemblyName_Flags_Get(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.AssemblyNameFlags __returnValue = __selfConverted.Flags; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.AssemblyNameFlags); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_Flags_Set")] + internal static void /* System.Void */ System_Reflection_AssemblyName_Flags_Set(void* /* System.Reflection.AssemblyName */ __self, System.Reflection.AssemblyNameFlags /* System.Reflection.AssemblyNameFlags */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Flags = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_HashAlgorithm_Get")] + internal static System.Configuration.Assemblies.AssemblyHashAlgorithm /* System.Configuration.Assemblies.AssemblyHashAlgorithm */ System_Reflection_AssemblyName_HashAlgorithm_Get(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Configuration.Assemblies.AssemblyHashAlgorithm __returnValue = __selfConverted.HashAlgorithm; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Configuration.Assemblies.AssemblyHashAlgorithm); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_HashAlgorithm_Set")] + internal static void /* System.Void */ System_Reflection_AssemblyName_HashAlgorithm_Set(void* /* System.Reflection.AssemblyName */ __self, System.Configuration.Assemblies.AssemblyHashAlgorithm /* System.Configuration.Assemblies.AssemblyHashAlgorithm */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.HashAlgorithm = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_VersionCompatibility_Get")] + internal static System.Configuration.Assemblies.AssemblyVersionCompatibility /* System.Configuration.Assemblies.AssemblyVersionCompatibility */ System_Reflection_AssemblyName_VersionCompatibility_Get(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Configuration.Assemblies.AssemblyVersionCompatibility __returnValue = __selfConverted.VersionCompatibility; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Configuration.Assemblies.AssemblyVersionCompatibility); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_VersionCompatibility_Set")] + internal static void /* System.Void */ System_Reflection_AssemblyName_VersionCompatibility_Set(void* /* System.Reflection.AssemblyName */ __self, System.Configuration.Assemblies.AssemblyVersionCompatibility /* System.Configuration.Assemblies.AssemblyVersionCompatibility */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.VersionCompatibility = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_KeyPair_Get")] + internal static void* /* System.Reflection.StrongNameKeyPair */ System_Reflection_AssemblyName_KeyPair_Get(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.StrongNameKeyPair __returnValue = __selfConverted.KeyPair; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_KeyPair_Set")] + internal static void /* System.Void */ System_Reflection_AssemblyName_KeyPair_Set(void* /* System.Reflection.AssemblyName */ __self, void* /* System.Reflection.StrongNameKeyPair */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.KeyPair = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_FullName_Get")] + internal static void* /* System.String */ System_Reflection_AssemblyName_FullName_Get(void* /* System.Reflection.AssemblyName */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.AssemblyName __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.FullName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_TypeOf")] + internal static void* /* System.Type */ System_Reflection_AssemblyName_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.AssemblyName); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyName_Destroy")] + internal static void /* System.Void */ System_Reflection_AssemblyName_Destroy(void* /* System.Reflection.AssemblyName */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Version +{ + [UnmanagedCallersOnly(EntryPoint = "System_Version_Clone")] + internal static void* /* System.Object */ System_Version_Clone(void* /* System.Version */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Clone(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_CompareTo")] + internal static int /* System.Int32 */ System_Version_CompareTo(void* /* System.Version */ __self, void* /* System.Object */ version, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + System.Object versionConverted = InteropUtils.GetInstance(version); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(versionConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_CompareTo_1")] + internal static int /* System.Int32 */ System_Version_CompareTo_1(void* /* System.Version */ __self, void* /* System.Version */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + System.Version valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_Equals")] + internal static byte /* System.Boolean */ System_Version_Equals(void* /* System.Version */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_Equals_1")] + internal static byte /* System.Boolean */ System_Version_Equals_1(void* /* System.Version */ __self, void* /* System.Version */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + System.Version objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_GetHashCode")] + internal static int /* System.Int32 */ System_Version_GetHashCode(void* /* System.Version */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_ToString")] + internal static void* /* System.String */ System_Version_ToString(void* /* System.Version */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_ToString_1")] + internal static void* /* System.String */ System_Version_ToString_1(void* /* System.Version */ __self, int /* System.Int32 */ fieldCount, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(fieldCount); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_Parse")] + internal static void* /* System.Version */ System_Version_Parse(void* /* System.String */ input, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + + try { + System.Version __returnValue = System.Version.Parse(inputConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_TryParse")] + internal static byte /* System.Boolean */ System_Version_TryParse(void* /* System.String */ input, void** /* System.Version */ result, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.Version resultConverted; + + try { + System.Boolean __returnValue = System.Version.TryParse(inputConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_Create")] + internal static void* /* System.Version */ System_Version_Create(int /* System.Int32 */ major, int /* System.Int32 */ minor, int /* System.Int32 */ build, int /* System.Int32 */ revision, void** /* System.Exception */ __outException) + { + + try { + System.Version __returnValue = new System.Version(major, minor, build, revision); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_Create_1")] + internal static void* /* System.Version */ System_Version_Create_1(int /* System.Int32 */ major, int /* System.Int32 */ minor, int /* System.Int32 */ build, void** /* System.Exception */ __outException) + { + + try { + System.Version __returnValue = new System.Version(major, minor, build); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_Create_2")] + internal static void* /* System.Version */ System_Version_Create_2(int /* System.Int32 */ major, int /* System.Int32 */ minor, void** /* System.Exception */ __outException) + { + + try { + System.Version __returnValue = new System.Version(major, minor); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_Create_3")] + internal static void* /* System.Version */ System_Version_Create_3(void* /* System.String */ version, void** /* System.Exception */ __outException) + { + System.String versionConverted = InteropUtils.GetInstance(version); + + try { + System.Version __returnValue = new System.Version(versionConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_Create_4")] + internal static void* /* System.Version */ System_Version_Create_4(void** /* System.Exception */ __outException) + { + + try { + System.Version __returnValue = new System.Version(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_Major_Get")] + internal static int /* System.Int32 */ System_Version_Major_Get(void* /* System.Version */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Major; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Version_Minor_Get")] + internal static int /* System.Int32 */ System_Version_Minor_Get(void* /* System.Version */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Minor; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Version_Build_Get")] + internal static int /* System.Int32 */ System_Version_Build_Get(void* /* System.Version */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Build; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Version_Revision_Get")] + internal static int /* System.Int32 */ System_Version_Revision_Get(void* /* System.Version */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Revision; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Version_MajorRevision_Get")] + internal static short /* System.Int16 */ System_Version_MajorRevision_Get(void* /* System.Version */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int16 __returnValue = __selfConverted.MajorRevision; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Version_MinorRevision_Get")] + internal static short /* System.Int16 */ System_Version_MinorRevision_Get(void* /* System.Version */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Version __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int16 __returnValue = __selfConverted.MinorRevision; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Version_TypeOf")] + internal static void* /* System.Type */ System_Version_TypeOf() + { + + System.Type __returnValue = typeof(System.Version); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Version_Destroy")] + internal static void /* System.Void */ System_Version_Destroy(void* /* System.Version */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + +internal unsafe class System_Reflection_ProcessorArchitecture +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ProcessorArchitecture_TypeOf")] + internal static void* /* System.Type */ System_Reflection_ProcessorArchitecture_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.ProcessorArchitecture); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Reflection_AssemblyContentType +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyContentType_TypeOf")] + internal static void* /* System.Type */ System_Reflection_AssemblyContentType_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.AssemblyContentType); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_Reflection_AssemblyNameFlags +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_AssemblyNameFlags_TypeOf")] + internal static void* /* System.Type */ System_Reflection_AssemblyNameFlags_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.AssemblyNameFlags); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Configuration_Assemblies_AssemblyHashAlgorithm +{ + [UnmanagedCallersOnly(EntryPoint = "System_Configuration_Assemblies_AssemblyHashAlgorithm_TypeOf")] + internal static void* /* System.Type */ System_Configuration_Assemblies_AssemblyHashAlgorithm_TypeOf() + { + + System.Type __returnValue = typeof(System.Configuration.Assemblies.AssemblyHashAlgorithm); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Configuration_Assemblies_AssemblyVersionCompatibility +{ + [UnmanagedCallersOnly(EntryPoint = "System_Configuration_Assemblies_AssemblyVersionCompatibility_TypeOf")] + internal static void* /* System.Type */ System_Configuration_Assemblies_AssemblyVersionCompatibility_TypeOf() + { + + System.Type __returnValue = typeof(System.Configuration.Assemblies.AssemblyVersionCompatibility); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Reflection_StrongNameKeyPair +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_StrongNameKeyPair_Create")] + internal static void* /* System.Reflection.StrongNameKeyPair */ System_Reflection_StrongNameKeyPair_Create(void* /* System.IO.FileStream */ keyPairFile, void** /* System.Exception */ __outException) + { + System.IO.FileStream keyPairFileConverted = InteropUtils.GetInstance(keyPairFile); + + try { + System.Reflection.StrongNameKeyPair __returnValue = new System.Reflection.StrongNameKeyPair(keyPairFileConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_StrongNameKeyPair_Create_1")] + internal static void* /* System.Reflection.StrongNameKeyPair */ System_Reflection_StrongNameKeyPair_Create_1(void* /* System.Byte[] */ keyPairArray, void** /* System.Exception */ __outException) + { + System.Byte[] keyPairArrayConverted = InteropUtils.GetInstance(keyPairArray); + + try { + System.Reflection.StrongNameKeyPair __returnValue = new System.Reflection.StrongNameKeyPair(keyPairArrayConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_StrongNameKeyPair_Create_2")] + internal static void* /* System.Reflection.StrongNameKeyPair */ System_Reflection_StrongNameKeyPair_Create_2(void* /* System.String */ keyPairContainer, void** /* System.Exception */ __outException) + { + System.String keyPairContainerConverted = InteropUtils.GetInstance(keyPairContainer); + + try { + System.Reflection.StrongNameKeyPair __returnValue = new System.Reflection.StrongNameKeyPair(keyPairContainerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_StrongNameKeyPair_PublicKey_Get")] + internal static void* /* System.Byte[] */ System_Reflection_StrongNameKeyPair_PublicKey_Get(void* /* System.Reflection.StrongNameKeyPair */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.StrongNameKeyPair __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Byte[] __returnValue = __selfConverted.PublicKey; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_StrongNameKeyPair_TypeOf")] + internal static void* /* System.Type */ System_Reflection_StrongNameKeyPair_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.StrongNameKeyPair); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_StrongNameKeyPair_Destroy")] + internal static void /* System.Void */ System_Reflection_StrongNameKeyPair_Destroy(void* /* System.Reflection.StrongNameKeyPair */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_IO_FileStream +{ + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Lock")] + internal static void /* System.Void */ System_IO_FileStream_Lock(void* /* System.IO.FileStream */ __self, long /* System.Int64 */ position, long /* System.Int64 */ length, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Lock(position, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Unlock")] + internal static void /* System.Void */ System_IO_FileStream_Unlock(void* /* System.IO.FileStream */ __self, long /* System.Int64 */ position, long /* System.Int64 */ length, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Unlock(position, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_FlushAsync")] + internal static void* /* System.Threading.Tasks.Task */ System_IO_FileStream_FlushAsync(void* /* System.IO.FileStream */ __self, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.FlushAsync(cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Read")] + internal static int /* System.Int32 */ System_IO_FileStream_Read(void* /* System.IO.FileStream */ __self, void* /* System.Byte[] */ buffer, int /* System.Int32 */ offset, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bufferConverted = InteropUtils.GetInstance(buffer); + + try { + System.Int32 __returnValue = __selfConverted.Read(bufferConverted, offset, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Write")] + internal static void /* System.Void */ System_IO_FileStream_Write(void* /* System.IO.FileStream */ __self, void* /* System.Byte[] */ buffer, int /* System.Int32 */ offset, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bufferConverted = InteropUtils.GetInstance(buffer); + + try { + __selfConverted.Write(bufferConverted, offset, count); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_WriteAsync")] + internal static void* /* System.Threading.Tasks.Task */ System_IO_FileStream_WriteAsync(void* /* System.IO.FileStream */ __self, void* /* System.Byte[] */ buffer, int /* System.Int32 */ offset, int /* System.Int32 */ count, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bufferConverted = InteropUtils.GetInstance(buffer); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.WriteAsync(bufferConverted, offset, count, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Flush_1")] + internal static void /* System.Void */ System_IO_FileStream_Flush_1(void* /* System.IO.FileStream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Flush(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Flush_2")] + internal static void /* System.Void */ System_IO_FileStream_Flush_2(void* /* System.IO.FileStream */ __self, byte /* System.Boolean */ flushToDisk, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean flushToDiskConverted = flushToDisk.ToBool(); + + try { + __selfConverted.Flush(flushToDiskConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_SetLength")] + internal static void /* System.Void */ System_IO_FileStream_SetLength(void* /* System.IO.FileStream */ __self, long /* System.Int64 */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.SetLength(value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_ReadByte")] + internal static int /* System.Int32 */ System_IO_FileStream_ReadByte(void* /* System.IO.FileStream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.ReadByte(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_WriteByte")] + internal static void /* System.Void */ System_IO_FileStream_WriteByte(void* /* System.IO.FileStream */ __self, byte /* System.Byte */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.WriteByte(value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_DisposeAsync")] + internal static void* /* System.Threading.Tasks.ValueTask */ System_IO_FileStream_DisposeAsync(void* /* System.IO.FileStream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.Tasks.ValueTask __returnValue = __selfConverted.DisposeAsync(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_CopyTo")] + internal static void /* System.Void */ System_IO_FileStream_CopyTo(void* /* System.IO.FileStream */ __self, void* /* System.IO.Stream */ destination, int /* System.Int32 */ bufferSize, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + System.IO.Stream destinationConverted = InteropUtils.GetInstance(destination); + + try { + __selfConverted.CopyTo(destinationConverted, bufferSize); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_CopyToAsync")] + internal static void* /* System.Threading.Tasks.Task */ System_IO_FileStream_CopyToAsync(void* /* System.IO.FileStream */ __self, void* /* System.IO.Stream */ destination, int /* System.Int32 */ bufferSize, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + System.IO.Stream destinationConverted = InteropUtils.GetInstance(destination); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.CopyToAsync(destinationConverted, bufferSize, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_BeginRead")] + internal static void* /* System.IAsyncResult */ System_IO_FileStream_BeginRead(void* /* System.IO.FileStream */ __self, void* /* System.Byte[] */ buffer, int /* System.Int32 */ offset, int /* System.Int32 */ count, void* /* System.AsyncCallback */ callback, void* /* System.Object */ state, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bufferConverted = InteropUtils.GetInstance(buffer); + System.AsyncCallback callbackConverted = InteropUtils.GetInstance(callback)?.Trampoline; + System.Object stateConverted = InteropUtils.GetInstance(state); + + try { + System.IAsyncResult __returnValue = __selfConverted.BeginRead(bufferConverted, offset, count, callbackConverted, stateConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_EndRead")] + internal static int /* System.Int32 */ System_IO_FileStream_EndRead(void* /* System.IO.FileStream */ __self, void* /* System.IAsyncResult */ asyncResult, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + System.IAsyncResult asyncResultConverted = InteropUtils.GetInstance(asyncResult); + + try { + System.Int32 __returnValue = __selfConverted.EndRead(asyncResultConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_BeginWrite")] + internal static void* /* System.IAsyncResult */ System_IO_FileStream_BeginWrite(void* /* System.IO.FileStream */ __self, void* /* System.Byte[] */ buffer, int /* System.Int32 */ offset, int /* System.Int32 */ count, void* /* System.AsyncCallback */ callback, void* /* System.Object */ state, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bufferConverted = InteropUtils.GetInstance(buffer); + System.AsyncCallback callbackConverted = InteropUtils.GetInstance(callback)?.Trampoline; + System.Object stateConverted = InteropUtils.GetInstance(state); + + try { + System.IAsyncResult __returnValue = __selfConverted.BeginWrite(bufferConverted, offset, count, callbackConverted, stateConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_EndWrite")] + internal static void /* System.Void */ System_IO_FileStream_EndWrite(void* /* System.IO.FileStream */ __self, void* /* System.IAsyncResult */ asyncResult, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + System.IAsyncResult asyncResultConverted = InteropUtils.GetInstance(asyncResult); + + try { + __selfConverted.EndWrite(asyncResultConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Seek")] + internal static long /* System.Int64 */ System_IO_FileStream_Seek(void* /* System.IO.FileStream */ __self, long /* System.Int64 */ offset, System.IO.SeekOrigin /* System.IO.SeekOrigin */ origin, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.Seek(offset, origin); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create(nint /* System.IntPtr */ handle, System.IO.FileAccess /* System.IO.FileAccess */ access, void** /* System.Exception */ __outException) + { + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(handle, access); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create_1")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create_1(nint /* System.IntPtr */ handle, System.IO.FileAccess /* System.IO.FileAccess */ access, byte /* System.Boolean */ ownsHandle, void** /* System.Exception */ __outException) + { + System.Boolean ownsHandleConverted = ownsHandle.ToBool(); + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(handle, access, ownsHandleConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create_2")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create_2(nint /* System.IntPtr */ handle, System.IO.FileAccess /* System.IO.FileAccess */ access, byte /* System.Boolean */ ownsHandle, int /* System.Int32 */ bufferSize, void** /* System.Exception */ __outException) + { + System.Boolean ownsHandleConverted = ownsHandle.ToBool(); + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(handle, access, ownsHandleConverted, bufferSize); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create_3")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create_3(nint /* System.IntPtr */ handle, System.IO.FileAccess /* System.IO.FileAccess */ access, byte /* System.Boolean */ ownsHandle, int /* System.Int32 */ bufferSize, byte /* System.Boolean */ isAsync, void** /* System.Exception */ __outException) + { + System.Boolean ownsHandleConverted = ownsHandle.ToBool(); + System.Boolean isAsyncConverted = isAsync.ToBool(); + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(handle, access, ownsHandleConverted, bufferSize, isAsyncConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create_4")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create_4(void* /* Microsoft.Win32.SafeHandles.SafeFileHandle */ handle, System.IO.FileAccess /* System.IO.FileAccess */ access, void** /* System.Exception */ __outException) + { + Microsoft.Win32.SafeHandles.SafeFileHandle handleConverted = InteropUtils.GetInstance(handle); + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(handleConverted, access); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create_5")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create_5(void* /* Microsoft.Win32.SafeHandles.SafeFileHandle */ handle, System.IO.FileAccess /* System.IO.FileAccess */ access, int /* System.Int32 */ bufferSize, void** /* System.Exception */ __outException) + { + Microsoft.Win32.SafeHandles.SafeFileHandle handleConverted = InteropUtils.GetInstance(handle); + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(handleConverted, access, bufferSize); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create_6")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create_6(void* /* Microsoft.Win32.SafeHandles.SafeFileHandle */ handle, System.IO.FileAccess /* System.IO.FileAccess */ access, int /* System.Int32 */ bufferSize, byte /* System.Boolean */ isAsync, void** /* System.Exception */ __outException) + { + Microsoft.Win32.SafeHandles.SafeFileHandle handleConverted = InteropUtils.GetInstance(handle); + System.Boolean isAsyncConverted = isAsync.ToBool(); + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(handleConverted, access, bufferSize, isAsyncConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create_7")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create_7(void* /* System.String */ path, System.IO.FileMode /* System.IO.FileMode */ mode, void** /* System.Exception */ __outException) + { + System.String pathConverted = InteropUtils.GetInstance(path); + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(pathConverted, mode); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create_8")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create_8(void* /* System.String */ path, System.IO.FileMode /* System.IO.FileMode */ mode, System.IO.FileAccess /* System.IO.FileAccess */ access, void** /* System.Exception */ __outException) + { + System.String pathConverted = InteropUtils.GetInstance(path); + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(pathConverted, mode, access); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create_9")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create_9(void* /* System.String */ path, System.IO.FileMode /* System.IO.FileMode */ mode, System.IO.FileAccess /* System.IO.FileAccess */ access, System.IO.FileShare /* System.IO.FileShare */ share, void** /* System.Exception */ __outException) + { + System.String pathConverted = InteropUtils.GetInstance(path); + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(pathConverted, mode, access, share); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create_10")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create_10(void* /* System.String */ path, System.IO.FileMode /* System.IO.FileMode */ mode, System.IO.FileAccess /* System.IO.FileAccess */ access, System.IO.FileShare /* System.IO.FileShare */ share, int /* System.Int32 */ bufferSize, void** /* System.Exception */ __outException) + { + System.String pathConverted = InteropUtils.GetInstance(path); + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(pathConverted, mode, access, share, bufferSize); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create_11")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create_11(void* /* System.String */ path, System.IO.FileMode /* System.IO.FileMode */ mode, System.IO.FileAccess /* System.IO.FileAccess */ access, System.IO.FileShare /* System.IO.FileShare */ share, int /* System.Int32 */ bufferSize, byte /* System.Boolean */ useAsync, void** /* System.Exception */ __outException) + { + System.String pathConverted = InteropUtils.GetInstance(path); + System.Boolean useAsyncConverted = useAsync.ToBool(); + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(pathConverted, mode, access, share, bufferSize, useAsyncConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create_12")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create_12(void* /* System.String */ path, System.IO.FileMode /* System.IO.FileMode */ mode, System.IO.FileAccess /* System.IO.FileAccess */ access, System.IO.FileShare /* System.IO.FileShare */ share, int /* System.Int32 */ bufferSize, System.IO.FileOptions /* System.IO.FileOptions */ options, void** /* System.Exception */ __outException) + { + System.String pathConverted = InteropUtils.GetInstance(path); + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(pathConverted, mode, access, share, bufferSize, options); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Create_13")] + internal static void* /* System.IO.FileStream */ System_IO_FileStream_Create_13(void* /* System.String */ path, void* /* System.IO.FileStreamOptions */ options, void** /* System.Exception */ __outException) + { + System.String pathConverted = InteropUtils.GetInstance(path); + System.IO.FileStreamOptions optionsConverted = InteropUtils.GetInstance(options); + + try { + System.IO.FileStream __returnValue = new System.IO.FileStream(pathConverted, optionsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Handle_Get")] + internal static nint /* System.IntPtr */ System_IO_FileStream_Handle_Get(void* /* System.IO.FileStream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.IntPtr __returnValue = __selfConverted.Handle; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_CanRead_Get")] + internal static byte /* System.Boolean */ System_IO_FileStream_CanRead_Get(void* /* System.IO.FileStream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.CanRead; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_CanWrite_Get")] + internal static byte /* System.Boolean */ System_IO_FileStream_CanWrite_Get(void* /* System.IO.FileStream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.CanWrite; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_SafeFileHandle_Get")] + internal static void* /* Microsoft.Win32.SafeHandles.SafeFileHandle */ System_IO_FileStream_SafeFileHandle_Get(void* /* System.IO.FileStream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + Microsoft.Win32.SafeHandles.SafeFileHandle __returnValue = __selfConverted.SafeFileHandle; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Name_Get")] + internal static void* /* System.String */ System_IO_FileStream_Name_Get(void* /* System.IO.FileStream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Name; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_IsAsync_Get")] + internal static byte /* System.Boolean */ System_IO_FileStream_IsAsync_Get(void* /* System.IO.FileStream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsAsync; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Length_Get")] + internal static long /* System.Int64 */ System_IO_FileStream_Length_Get(void* /* System.IO.FileStream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.Length; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Position_Get")] + internal static long /* System.Int64 */ System_IO_FileStream_Position_Get(void* /* System.IO.FileStream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.Position; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Position_Set")] + internal static void /* System.Void */ System_IO_FileStream_Position_Set(void* /* System.IO.FileStream */ __self, long /* System.Int64 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Position = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_CanSeek_Get")] + internal static byte /* System.Boolean */ System_IO_FileStream_CanSeek_Get(void* /* System.IO.FileStream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.CanSeek; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_TypeOf")] + internal static void* /* System.Type */ System_IO_FileStream_TypeOf() + { + + System.Type __returnValue = typeof(System.IO.FileStream); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStream_Destroy")] + internal static void /* System.Void */ System_IO_FileStream_Destroy(void* /* System.IO.FileStream */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_IO_Stream +{ + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_CopyTo")] + internal static void /* System.Void */ System_IO_Stream_CopyTo(void* /* System.IO.Stream */ __self, void* /* System.IO.Stream */ destination, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.IO.Stream destinationConverted = InteropUtils.GetInstance(destination); + + try { + __selfConverted.CopyTo(destinationConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_CopyTo_1")] + internal static void /* System.Void */ System_IO_Stream_CopyTo_1(void* /* System.IO.Stream */ __self, void* /* System.IO.Stream */ destination, int /* System.Int32 */ bufferSize, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.IO.Stream destinationConverted = InteropUtils.GetInstance(destination); + + try { + __selfConverted.CopyTo(destinationConverted, bufferSize); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_CopyToAsync")] + internal static void* /* System.Threading.Tasks.Task */ System_IO_Stream_CopyToAsync(void* /* System.IO.Stream */ __self, void* /* System.IO.Stream */ destination, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.IO.Stream destinationConverted = InteropUtils.GetInstance(destination); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.CopyToAsync(destinationConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_CopyToAsync_1")] + internal static void* /* System.Threading.Tasks.Task */ System_IO_Stream_CopyToAsync_1(void* /* System.IO.Stream */ __self, void* /* System.IO.Stream */ destination, int /* System.Int32 */ bufferSize, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.IO.Stream destinationConverted = InteropUtils.GetInstance(destination); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.CopyToAsync(destinationConverted, bufferSize); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_CopyToAsync_2")] + internal static void* /* System.Threading.Tasks.Task */ System_IO_Stream_CopyToAsync_2(void* /* System.IO.Stream */ __self, void* /* System.IO.Stream */ destination, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.IO.Stream destinationConverted = InteropUtils.GetInstance(destination); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.CopyToAsync(destinationConverted, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_CopyToAsync_3")] + internal static void* /* System.Threading.Tasks.Task */ System_IO_Stream_CopyToAsync_3(void* /* System.IO.Stream */ __self, void* /* System.IO.Stream */ destination, int /* System.Int32 */ bufferSize, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.IO.Stream destinationConverted = InteropUtils.GetInstance(destination); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.CopyToAsync(destinationConverted, bufferSize, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_Dispose")] + internal static void /* System.Void */ System_IO_Stream_Dispose(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Dispose(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_Close")] + internal static void /* System.Void */ System_IO_Stream_Close(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Close(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_DisposeAsync")] + internal static void* /* System.Threading.Tasks.ValueTask */ System_IO_Stream_DisposeAsync(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.Tasks.ValueTask __returnValue = __selfConverted.DisposeAsync(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_Flush")] + internal static void /* System.Void */ System_IO_Stream_Flush(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Flush(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_FlushAsync")] + internal static void* /* System.Threading.Tasks.Task */ System_IO_Stream_FlushAsync(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.FlushAsync(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_FlushAsync_1")] + internal static void* /* System.Threading.Tasks.Task */ System_IO_Stream_FlushAsync_1(void* /* System.IO.Stream */ __self, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.FlushAsync(cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_BeginRead")] + internal static void* /* System.IAsyncResult */ System_IO_Stream_BeginRead(void* /* System.IO.Stream */ __self, void* /* System.Byte[] */ buffer, int /* System.Int32 */ offset, int /* System.Int32 */ count, void* /* System.AsyncCallback */ callback, void* /* System.Object */ state, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bufferConverted = InteropUtils.GetInstance(buffer); + System.AsyncCallback callbackConverted = InteropUtils.GetInstance(callback)?.Trampoline; + System.Object stateConverted = InteropUtils.GetInstance(state); + + try { + System.IAsyncResult __returnValue = __selfConverted.BeginRead(bufferConverted, offset, count, callbackConverted, stateConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_EndRead")] + internal static int /* System.Int32 */ System_IO_Stream_EndRead(void* /* System.IO.Stream */ __self, void* /* System.IAsyncResult */ asyncResult, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.IAsyncResult asyncResultConverted = InteropUtils.GetInstance(asyncResult); + + try { + System.Int32 __returnValue = __selfConverted.EndRead(asyncResultConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_ReadExactlyAsync")] + internal static void* /* System.Threading.Tasks.ValueTask */ System_IO_Stream_ReadExactlyAsync(void* /* System.IO.Stream */ __self, void* /* System.Byte[] */ buffer, int /* System.Int32 */ offset, int /* System.Int32 */ count, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bufferConverted = InteropUtils.GetInstance(buffer); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.ValueTask __returnValue = __selfConverted.ReadExactlyAsync(bufferConverted, offset, count, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_BeginWrite")] + internal static void* /* System.IAsyncResult */ System_IO_Stream_BeginWrite(void* /* System.IO.Stream */ __self, void* /* System.Byte[] */ buffer, int /* System.Int32 */ offset, int /* System.Int32 */ count, void* /* System.AsyncCallback */ callback, void* /* System.Object */ state, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bufferConverted = InteropUtils.GetInstance(buffer); + System.AsyncCallback callbackConverted = InteropUtils.GetInstance(callback)?.Trampoline; + System.Object stateConverted = InteropUtils.GetInstance(state); + + try { + System.IAsyncResult __returnValue = __selfConverted.BeginWrite(bufferConverted, offset, count, callbackConverted, stateConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_EndWrite")] + internal static void /* System.Void */ System_IO_Stream_EndWrite(void* /* System.IO.Stream */ __self, void* /* System.IAsyncResult */ asyncResult, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.IAsyncResult asyncResultConverted = InteropUtils.GetInstance(asyncResult); + + try { + __selfConverted.EndWrite(asyncResultConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_WriteAsync")] + internal static void* /* System.Threading.Tasks.Task */ System_IO_Stream_WriteAsync(void* /* System.IO.Stream */ __self, void* /* System.Byte[] */ buffer, int /* System.Int32 */ offset, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bufferConverted = InteropUtils.GetInstance(buffer); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.WriteAsync(bufferConverted, offset, count); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_WriteAsync_1")] + internal static void* /* System.Threading.Tasks.Task */ System_IO_Stream_WriteAsync_1(void* /* System.IO.Stream */ __self, void* /* System.Byte[] */ buffer, int /* System.Int32 */ offset, int /* System.Int32 */ count, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bufferConverted = InteropUtils.GetInstance(buffer); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.WriteAsync(bufferConverted, offset, count, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_Seek")] + internal static long /* System.Int64 */ System_IO_Stream_Seek(void* /* System.IO.Stream */ __self, long /* System.Int64 */ offset, System.IO.SeekOrigin /* System.IO.SeekOrigin */ origin, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.Seek(offset, origin); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_SetLength")] + internal static void /* System.Void */ System_IO_Stream_SetLength(void* /* System.IO.Stream */ __self, long /* System.Int64 */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.SetLength(value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_Read_1")] + internal static int /* System.Int32 */ System_IO_Stream_Read_1(void* /* System.IO.Stream */ __self, void* /* System.Byte[] */ buffer, int /* System.Int32 */ offset, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bufferConverted = InteropUtils.GetInstance(buffer); + + try { + System.Int32 __returnValue = __selfConverted.Read(bufferConverted, offset, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_ReadByte")] + internal static int /* System.Int32 */ System_IO_Stream_ReadByte(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.ReadByte(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_ReadExactly_1")] + internal static void /* System.Void */ System_IO_Stream_ReadExactly_1(void* /* System.IO.Stream */ __self, void* /* System.Byte[] */ buffer, int /* System.Int32 */ offset, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bufferConverted = InteropUtils.GetInstance(buffer); + + try { + __selfConverted.ReadExactly(bufferConverted, offset, count); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_Write_1")] + internal static void /* System.Void */ System_IO_Stream_Write_1(void* /* System.IO.Stream */ __self, void* /* System.Byte[] */ buffer, int /* System.Int32 */ offset, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bufferConverted = InteropUtils.GetInstance(buffer); + + try { + __selfConverted.Write(bufferConverted, offset, count); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_WriteByte")] + internal static void /* System.Void */ System_IO_Stream_WriteByte(void* /* System.IO.Stream */ __self, byte /* System.Byte */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.WriteByte(value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_Synchronized")] + internal static void* /* System.IO.Stream */ System_IO_Stream_Synchronized(void* /* System.IO.Stream */ stream, void** /* System.Exception */ __outException) + { + System.IO.Stream streamConverted = InteropUtils.GetInstance(stream); + + try { + System.IO.Stream __returnValue = System.IO.Stream.Synchronized(streamConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_CanRead_Get")] + internal static byte /* System.Boolean */ System_IO_Stream_CanRead_Get(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.CanRead; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_CanWrite_Get")] + internal static byte /* System.Boolean */ System_IO_Stream_CanWrite_Get(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.CanWrite; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_CanSeek_Get")] + internal static byte /* System.Boolean */ System_IO_Stream_CanSeek_Get(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.CanSeek; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_CanTimeout_Get")] + internal static byte /* System.Boolean */ System_IO_Stream_CanTimeout_Get(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.CanTimeout; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_Length_Get")] + internal static long /* System.Int64 */ System_IO_Stream_Length_Get(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.Length; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_Position_Get")] + internal static long /* System.Int64 */ System_IO_Stream_Position_Get(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.Position; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_Position_Set")] + internal static void /* System.Void */ System_IO_Stream_Position_Set(void* /* System.IO.Stream */ __self, long /* System.Int64 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Position = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_ReadTimeout_Get")] + internal static int /* System.Int32 */ System_IO_Stream_ReadTimeout_Get(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.ReadTimeout; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_ReadTimeout_Set")] + internal static void /* System.Void */ System_IO_Stream_ReadTimeout_Set(void* /* System.IO.Stream */ __self, int /* System.Int32 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.ReadTimeout = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_WriteTimeout_Get")] + internal static int /* System.Int32 */ System_IO_Stream_WriteTimeout_Get(void* /* System.IO.Stream */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.WriteTimeout; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_WriteTimeout_Set")] + internal static void /* System.Void */ System_IO_Stream_WriteTimeout_Set(void* /* System.IO.Stream */ __self, int /* System.Int32 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.Stream __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.WriteTimeout = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_Null_Get")] + internal static void* /* System.IO.Stream */ System_IO_Stream_Null_Get() + { + + System.IO.Stream __returnValue = System.IO.Stream.Null; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_TypeOf")] + internal static void* /* System.Type */ System_IO_Stream_TypeOf() + { + + System.Type __returnValue = typeof(System.IO.Stream); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_Stream_Destroy")] + internal static void /* System.Void */ System_IO_Stream_Destroy(void* /* System.IO.Stream */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_MarshalByRefObject +{ + [UnmanagedCallersOnly(EntryPoint = "System_MarshalByRefObject_GetLifetimeService")] + internal static void* /* System.Object */ System_MarshalByRefObject_GetLifetimeService(void* /* System.MarshalByRefObject */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.MarshalByRefObject __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.GetLifetimeService(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_MarshalByRefObject_InitializeLifetimeService")] + internal static void* /* System.Object */ System_MarshalByRefObject_InitializeLifetimeService(void* /* System.MarshalByRefObject */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.MarshalByRefObject __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.InitializeLifetimeService(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_MarshalByRefObject_TypeOf")] + internal static void* /* System.Type */ System_MarshalByRefObject_TypeOf() + { + + System.Type __returnValue = typeof(System.MarshalByRefObject); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_MarshalByRefObject_Destroy")] + internal static void /* System.Void */ System_MarshalByRefObject_Destroy(void* /* System.MarshalByRefObject */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_IDisposable +{ + [UnmanagedCallersOnly(EntryPoint = "System_IDisposable_Dispose")] + internal static void /* System.Void */ System_IDisposable_Dispose(void* /* System.IDisposable */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IDisposable __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Dispose(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IDisposable_TypeOf")] + internal static void* /* System.Type */ System_IDisposable_TypeOf() + { + + System.Type __returnValue = typeof(System.IDisposable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_IDisposable_Destroy")] + internal static void /* System.Void */ System_IDisposable_Destroy(void* /* System.IDisposable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_IAsyncDisposable +{ + [UnmanagedCallersOnly(EntryPoint = "System_IAsyncDisposable_DisposeAsync")] + internal static void* /* System.Threading.Tasks.ValueTask */ System_IAsyncDisposable_DisposeAsync(void* /* System.IAsyncDisposable */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IAsyncDisposable __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.Tasks.ValueTask __returnValue = __selfConverted.DisposeAsync(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IAsyncDisposable_TypeOf")] + internal static void* /* System.Type */ System_IAsyncDisposable_TypeOf() + { + + System.Type __returnValue = typeof(System.IAsyncDisposable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_IAsyncDisposable_Destroy")] + internal static void /* System.Void */ System_IAsyncDisposable_Destroy(void* /* System.IAsyncDisposable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Threading_Tasks_ValueTask +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_FromCanceled")] + internal static void* /* System.Threading.Tasks.ValueTask */ System_Threading_Tasks_ValueTask_FromCanceled(void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.ValueTask __returnValue = System.Threading.Tasks.ValueTask.FromCanceled(cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_FromException")] + internal static void* /* System.Threading.Tasks.ValueTask */ System_Threading_Tasks_ValueTask_FromException(void* /* System.Exception */ exception, void** /* System.Exception */ __outException) + { + System.Exception exceptionConverted = InteropUtils.GetInstance(exception); + + try { + System.Threading.Tasks.ValueTask __returnValue = System.Threading.Tasks.ValueTask.FromException(exceptionConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_GetHashCode")] + internal static int /* System.Int32 */ System_Threading_Tasks_ValueTask_GetHashCode(void* /* System.Threading.Tasks.ValueTask */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.ValueTask __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_Equals")] + internal static byte /* System.Boolean */ System_Threading_Tasks_ValueTask_Equals(void* /* System.Threading.Tasks.ValueTask */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.ValueTask __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_Equals_1")] + internal static byte /* System.Boolean */ System_Threading_Tasks_ValueTask_Equals_1(void* /* System.Threading.Tasks.ValueTask */ __self, void* /* System.Threading.Tasks.ValueTask */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.ValueTask __selfConverted = InteropUtils.GetInstance(__self); + + System.Threading.Tasks.ValueTask otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.Equals(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_AsTask")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_ValueTask_AsTask(void* /* System.Threading.Tasks.ValueTask */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.ValueTask __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.AsTask(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_Preserve")] + internal static void* /* System.Threading.Tasks.ValueTask */ System_Threading_Tasks_ValueTask_Preserve(void* /* System.Threading.Tasks.ValueTask */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.ValueTask __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.Tasks.ValueTask __returnValue = __selfConverted.Preserve(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_GetAwaiter")] + internal static void* /* System.Runtime.CompilerServices.ValueTaskAwaiter */ System_Threading_Tasks_ValueTask_GetAwaiter(void* /* System.Threading.Tasks.ValueTask */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.ValueTask __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Runtime.CompilerServices.ValueTaskAwaiter __returnValue = __selfConverted.GetAwaiter(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_ConfigureAwait")] + internal static void* /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable */ System_Threading_Tasks_ValueTask_ConfigureAwait(void* /* System.Threading.Tasks.ValueTask */ __self, byte /* System.Boolean */ continueOnCapturedContext, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.ValueTask __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean continueOnCapturedContextConverted = continueOnCapturedContext.ToBool(); + + try { + System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable __returnValue = __selfConverted.ConfigureAwait(continueOnCapturedContextConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_Create")] + internal static void* /* System.Threading.Tasks.ValueTask */ System_Threading_Tasks_ValueTask_Create(void* /* System.Threading.Tasks.Task */ task, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.Task taskConverted = InteropUtils.GetInstance(task); + + try { + System.Threading.Tasks.ValueTask __returnValue = new System.Threading.Tasks.ValueTask(taskConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_Create_1")] + internal static void* /* System.Threading.Tasks.ValueTask */ System_Threading_Tasks_ValueTask_Create_1(void* /* System.Threading.Tasks.Sources.IValueTaskSource */ source, short /* System.Int16 */ token, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.Sources.IValueTaskSource sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Threading.Tasks.ValueTask __returnValue = new System.Threading.Tasks.ValueTask(sourceConverted, token); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_CompletedTask_Get")] + internal static void* /* System.Threading.Tasks.ValueTask */ System_Threading_Tasks_ValueTask_CompletedTask_Get(void** /* System.Exception */ __outException) + { + + try { + System.Threading.Tasks.ValueTask __returnValue = System.Threading.Tasks.ValueTask.CompletedTask; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_IsCompleted_Get")] + internal static byte /* System.Boolean */ System_Threading_Tasks_ValueTask_IsCompleted_Get(void* /* System.Threading.Tasks.ValueTask */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.ValueTask __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCompleted; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_IsCompletedSuccessfully_Get")] + internal static byte /* System.Boolean */ System_Threading_Tasks_ValueTask_IsCompletedSuccessfully_Get(void* /* System.Threading.Tasks.ValueTask */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.ValueTask __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCompletedSuccessfully; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_IsFaulted_Get")] + internal static byte /* System.Boolean */ System_Threading_Tasks_ValueTask_IsFaulted_Get(void* /* System.Threading.Tasks.ValueTask */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.ValueTask __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFaulted; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_IsCanceled_Get")] + internal static byte /* System.Boolean */ System_Threading_Tasks_ValueTask_IsCanceled_Get(void* /* System.Threading.Tasks.ValueTask */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.ValueTask __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCanceled; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_Create_2")] + internal static void* /* System.Threading.Tasks.ValueTask */ System_Threading_Tasks_ValueTask_Create_2(void** /* System.Exception */ __outException) + { + + try { + System.Threading.Tasks.ValueTask __returnValue = new System.Threading.Tasks.ValueTask(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_TypeOf")] + internal static void* /* System.Type */ System_Threading_Tasks_ValueTask_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.Tasks.ValueTask); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ValueTask_Destroy")] + internal static void /* System.Void */ System_Threading_Tasks_ValueTask_Destroy(void* /* System.Threading.Tasks.ValueTask */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Threading_CancellationToken +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_Register")] + internal static void* /* System.Threading.CancellationTokenRegistration */ System_Threading_CancellationToken_Register(void* /* System.Threading.CancellationToken */ __self, void* /* System.Action */ callback, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationToken __selfConverted = InteropUtils.GetInstance(__self); + + System.Action callbackConverted = InteropUtils.GetInstance(callback)?.Trampoline; + + try { + System.Threading.CancellationTokenRegistration __returnValue = __selfConverted.Register(callbackConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_Register_1")] + internal static void* /* System.Threading.CancellationTokenRegistration */ System_Threading_CancellationToken_Register_1(void* /* System.Threading.CancellationToken */ __self, void* /* System.Action */ callback, byte /* System.Boolean */ useSynchronizationContext, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationToken __selfConverted = InteropUtils.GetInstance(__self); + + System.Action callbackConverted = InteropUtils.GetInstance(callback)?.Trampoline; + System.Boolean useSynchronizationContextConverted = useSynchronizationContext.ToBool(); + + try { + System.Threading.CancellationTokenRegistration __returnValue = __selfConverted.Register(callbackConverted, useSynchronizationContextConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_Equals")] + internal static byte /* System.Boolean */ System_Threading_CancellationToken_Equals(void* /* System.Threading.CancellationToken */ __self, void* /* System.Threading.CancellationToken */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationToken __selfConverted = InteropUtils.GetInstance(__self); + + System.Threading.CancellationToken otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.Equals(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_Equals_1")] + internal static byte /* System.Boolean */ System_Threading_CancellationToken_Equals_1(void* /* System.Threading.CancellationToken */ __self, void* /* System.Object */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationToken __selfConverted = InteropUtils.GetInstance(__self); + + System.Object otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.Equals(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_GetHashCode")] + internal static int /* System.Int32 */ System_Threading_CancellationToken_GetHashCode(void* /* System.Threading.CancellationToken */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationToken __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_ThrowIfCancellationRequested")] + internal static void /* System.Void */ System_Threading_CancellationToken_ThrowIfCancellationRequested(void* /* System.Threading.CancellationToken */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationToken __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.ThrowIfCancellationRequested(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_Create")] + internal static void* /* System.Threading.CancellationToken */ System_Threading_CancellationToken_Create(byte /* System.Boolean */ canceled, void** /* System.Exception */ __outException) + { + System.Boolean canceledConverted = canceled.ToBool(); + + try { + System.Threading.CancellationToken __returnValue = new System.Threading.CancellationToken(canceledConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_None_Get")] + internal static void* /* System.Threading.CancellationToken */ System_Threading_CancellationToken_None_Get(void** /* System.Exception */ __outException) + { + + try { + System.Threading.CancellationToken __returnValue = System.Threading.CancellationToken.None; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_IsCancellationRequested_Get")] + internal static byte /* System.Boolean */ System_Threading_CancellationToken_IsCancellationRequested_Get(void* /* System.Threading.CancellationToken */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationToken __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCancellationRequested; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_CanBeCanceled_Get")] + internal static byte /* System.Boolean */ System_Threading_CancellationToken_CanBeCanceled_Get(void* /* System.Threading.CancellationToken */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationToken __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.CanBeCanceled; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_WaitHandle_Get")] + internal static void* /* System.Threading.WaitHandle */ System_Threading_CancellationToken_WaitHandle_Get(void* /* System.Threading.CancellationToken */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationToken __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.WaitHandle __returnValue = __selfConverted.WaitHandle; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_Create_1")] + internal static void* /* System.Threading.CancellationToken */ System_Threading_CancellationToken_Create_1(void** /* System.Exception */ __outException) + { + + try { + System.Threading.CancellationToken __returnValue = new System.Threading.CancellationToken(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_TypeOf")] + internal static void* /* System.Type */ System_Threading_CancellationToken_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.CancellationToken); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationToken_Destroy")] + internal static void /* System.Void */ System_Threading_CancellationToken_Destroy(void* /* System.Threading.CancellationToken */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Threading_WaitHandle +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_Close")] + internal static void /* System.Void */ System_Threading_WaitHandle_Close(void* /* System.Threading.WaitHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.WaitHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Close(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_Dispose")] + internal static void /* System.Void */ System_Threading_WaitHandle_Dispose(void* /* System.Threading.WaitHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.WaitHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Dispose(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitOne")] + internal static byte /* System.Boolean */ System_Threading_WaitHandle_WaitOne(void* /* System.Threading.WaitHandle */ __self, int /* System.Int32 */ millisecondsTimeout, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.WaitHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.WaitOne(millisecondsTimeout); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitOne_1")] + internal static byte /* System.Boolean */ System_Threading_WaitHandle_WaitOne_1(void* /* System.Threading.WaitHandle */ __self, void* /* System.TimeSpan */ timeout, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.WaitHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + + try { + System.Boolean __returnValue = __selfConverted.WaitOne(timeoutConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitOne_2")] + internal static byte /* System.Boolean */ System_Threading_WaitHandle_WaitOne_2(void* /* System.Threading.WaitHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.WaitHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.WaitOne(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitOne_3")] + internal static byte /* System.Boolean */ System_Threading_WaitHandle_WaitOne_3(void* /* System.Threading.WaitHandle */ __self, int /* System.Int32 */ millisecondsTimeout, byte /* System.Boolean */ exitContext, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.WaitHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean exitContextConverted = exitContext.ToBool(); + + try { + System.Boolean __returnValue = __selfConverted.WaitOne(millisecondsTimeout, exitContextConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitOne_4")] + internal static byte /* System.Boolean */ System_Threading_WaitHandle_WaitOne_4(void* /* System.Threading.WaitHandle */ __self, void* /* System.TimeSpan */ timeout, byte /* System.Boolean */ exitContext, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.WaitHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + System.Boolean exitContextConverted = exitContext.ToBool(); + + try { + System.Boolean __returnValue = __selfConverted.WaitOne(timeoutConverted, exitContextConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitAll")] + internal static byte /* System.Boolean */ System_Threading_WaitHandle_WaitAll(void* /* System.Threading.WaitHandle[] */ waitHandles, int /* System.Int32 */ millisecondsTimeout, void** /* System.Exception */ __outException) + { + System.Threading.WaitHandle[] waitHandlesConverted = InteropUtils.GetInstance(waitHandles); + + try { + System.Boolean __returnValue = System.Threading.WaitHandle.WaitAll(waitHandlesConverted, millisecondsTimeout); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitAll_1")] + internal static byte /* System.Boolean */ System_Threading_WaitHandle_WaitAll_1(void* /* System.Threading.WaitHandle[] */ waitHandles, void* /* System.TimeSpan */ timeout, void** /* System.Exception */ __outException) + { + System.Threading.WaitHandle[] waitHandlesConverted = InteropUtils.GetInstance(waitHandles); + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + + try { + System.Boolean __returnValue = System.Threading.WaitHandle.WaitAll(waitHandlesConverted, timeoutConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitAll_2")] + internal static byte /* System.Boolean */ System_Threading_WaitHandle_WaitAll_2(void* /* System.Threading.WaitHandle[] */ waitHandles, void** /* System.Exception */ __outException) + { + System.Threading.WaitHandle[] waitHandlesConverted = InteropUtils.GetInstance(waitHandles); + + try { + System.Boolean __returnValue = System.Threading.WaitHandle.WaitAll(waitHandlesConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitAll_3")] + internal static byte /* System.Boolean */ System_Threading_WaitHandle_WaitAll_3(void* /* System.Threading.WaitHandle[] */ waitHandles, int /* System.Int32 */ millisecondsTimeout, byte /* System.Boolean */ exitContext, void** /* System.Exception */ __outException) + { + System.Threading.WaitHandle[] waitHandlesConverted = InteropUtils.GetInstance(waitHandles); + System.Boolean exitContextConverted = exitContext.ToBool(); + + try { + System.Boolean __returnValue = System.Threading.WaitHandle.WaitAll(waitHandlesConverted, millisecondsTimeout, exitContextConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitAll_4")] + internal static byte /* System.Boolean */ System_Threading_WaitHandle_WaitAll_4(void* /* System.Threading.WaitHandle[] */ waitHandles, void* /* System.TimeSpan */ timeout, byte /* System.Boolean */ exitContext, void** /* System.Exception */ __outException) + { + System.Threading.WaitHandle[] waitHandlesConverted = InteropUtils.GetInstance(waitHandles); + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + System.Boolean exitContextConverted = exitContext.ToBool(); + + try { + System.Boolean __returnValue = System.Threading.WaitHandle.WaitAll(waitHandlesConverted, timeoutConverted, exitContextConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitAny")] + internal static int /* System.Int32 */ System_Threading_WaitHandle_WaitAny(void* /* System.Threading.WaitHandle[] */ waitHandles, int /* System.Int32 */ millisecondsTimeout, void** /* System.Exception */ __outException) + { + System.Threading.WaitHandle[] waitHandlesConverted = InteropUtils.GetInstance(waitHandles); + + try { + System.Int32 __returnValue = System.Threading.WaitHandle.WaitAny(waitHandlesConverted, millisecondsTimeout); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitAny_1")] + internal static int /* System.Int32 */ System_Threading_WaitHandle_WaitAny_1(void* /* System.Threading.WaitHandle[] */ waitHandles, void* /* System.TimeSpan */ timeout, void** /* System.Exception */ __outException) + { + System.Threading.WaitHandle[] waitHandlesConverted = InteropUtils.GetInstance(waitHandles); + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + + try { + System.Int32 __returnValue = System.Threading.WaitHandle.WaitAny(waitHandlesConverted, timeoutConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitAny_2")] + internal static int /* System.Int32 */ System_Threading_WaitHandle_WaitAny_2(void* /* System.Threading.WaitHandle[] */ waitHandles, void** /* System.Exception */ __outException) + { + System.Threading.WaitHandle[] waitHandlesConverted = InteropUtils.GetInstance(waitHandles); + + try { + System.Int32 __returnValue = System.Threading.WaitHandle.WaitAny(waitHandlesConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitAny_3")] + internal static int /* System.Int32 */ System_Threading_WaitHandle_WaitAny_3(void* /* System.Threading.WaitHandle[] */ waitHandles, int /* System.Int32 */ millisecondsTimeout, byte /* System.Boolean */ exitContext, void** /* System.Exception */ __outException) + { + System.Threading.WaitHandle[] waitHandlesConverted = InteropUtils.GetInstance(waitHandles); + System.Boolean exitContextConverted = exitContext.ToBool(); + + try { + System.Int32 __returnValue = System.Threading.WaitHandle.WaitAny(waitHandlesConverted, millisecondsTimeout, exitContextConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitAny_4")] + internal static int /* System.Int32 */ System_Threading_WaitHandle_WaitAny_4(void* /* System.Threading.WaitHandle[] */ waitHandles, void* /* System.TimeSpan */ timeout, byte /* System.Boolean */ exitContext, void** /* System.Exception */ __outException) + { + System.Threading.WaitHandle[] waitHandlesConverted = InteropUtils.GetInstance(waitHandles); + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + System.Boolean exitContextConverted = exitContext.ToBool(); + + try { + System.Int32 __returnValue = System.Threading.WaitHandle.WaitAny(waitHandlesConverted, timeoutConverted, exitContextConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_SignalAndWait")] + internal static byte /* System.Boolean */ System_Threading_WaitHandle_SignalAndWait(void* /* System.Threading.WaitHandle */ toSignal, void* /* System.Threading.WaitHandle */ toWaitOn, void** /* System.Exception */ __outException) + { + System.Threading.WaitHandle toSignalConverted = InteropUtils.GetInstance(toSignal); + System.Threading.WaitHandle toWaitOnConverted = InteropUtils.GetInstance(toWaitOn); + + try { + System.Boolean __returnValue = System.Threading.WaitHandle.SignalAndWait(toSignalConverted, toWaitOnConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_SignalAndWait_1")] + internal static byte /* System.Boolean */ System_Threading_WaitHandle_SignalAndWait_1(void* /* System.Threading.WaitHandle */ toSignal, void* /* System.Threading.WaitHandle */ toWaitOn, void* /* System.TimeSpan */ timeout, byte /* System.Boolean */ exitContext, void** /* System.Exception */ __outException) + { + System.Threading.WaitHandle toSignalConverted = InteropUtils.GetInstance(toSignal); + System.Threading.WaitHandle toWaitOnConverted = InteropUtils.GetInstance(toWaitOn); + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + System.Boolean exitContextConverted = exitContext.ToBool(); + + try { + System.Boolean __returnValue = System.Threading.WaitHandle.SignalAndWait(toSignalConverted, toWaitOnConverted, timeoutConverted, exitContextConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_SignalAndWait_2")] + internal static byte /* System.Boolean */ System_Threading_WaitHandle_SignalAndWait_2(void* /* System.Threading.WaitHandle */ toSignal, void* /* System.Threading.WaitHandle */ toWaitOn, int /* System.Int32 */ millisecondsTimeout, byte /* System.Boolean */ exitContext, void** /* System.Exception */ __outException) + { + System.Threading.WaitHandle toSignalConverted = InteropUtils.GetInstance(toSignal); + System.Threading.WaitHandle toWaitOnConverted = InteropUtils.GetInstance(toWaitOn); + System.Boolean exitContextConverted = exitContext.ToBool(); + + try { + System.Boolean __returnValue = System.Threading.WaitHandle.SignalAndWait(toSignalConverted, toWaitOnConverted, millisecondsTimeout, exitContextConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_Handle_Get")] + internal static nint /* System.IntPtr */ System_Threading_WaitHandle_Handle_Get(void* /* System.Threading.WaitHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.WaitHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.IntPtr __returnValue = __selfConverted.Handle; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_Handle_Set")] + internal static void /* System.Void */ System_Threading_WaitHandle_Handle_Set(void* /* System.Threading.WaitHandle */ __self, nint /* System.IntPtr */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.WaitHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Handle = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_SafeWaitHandle_Get")] + internal static void* /* Microsoft.Win32.SafeHandles.SafeWaitHandle */ System_Threading_WaitHandle_SafeWaitHandle_Get(void* /* System.Threading.WaitHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.WaitHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + Microsoft.Win32.SafeHandles.SafeWaitHandle __returnValue = __selfConverted.SafeWaitHandle; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_SafeWaitHandle_Set")] + internal static void /* System.Void */ System_Threading_WaitHandle_SafeWaitHandle_Set(void* /* System.Threading.WaitHandle */ __self, void* /* Microsoft.Win32.SafeHandles.SafeWaitHandle */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.WaitHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.SafeWaitHandle = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_WaitTimeout_Get")] + internal static int /* System.Int32 */ System_Threading_WaitHandle_WaitTimeout_Get() + { + + System.Int32 __returnValue = System.Threading.WaitHandle.WaitTimeout; + return __returnValue; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_TypeOf")] + internal static void* /* System.Type */ System_Threading_WaitHandle_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.WaitHandle); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_WaitHandle_Destroy")] + internal static void /* System.Void */ System_Threading_WaitHandle_Destroy(void* /* System.Threading.WaitHandle */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_IntPtr +{ + [UnmanagedCallersOnly(EntryPoint = "System_IntPtr_TypeOf")] + internal static void* /* System.Type */ System_IntPtr_TypeOf() + { + + System.Type __returnValue = typeof(System.IntPtr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class Microsoft_Win32_SafeHandles_SafeWaitHandle +{ + [UnmanagedCallersOnly(EntryPoint = "Microsoft_Win32_SafeHandles_SafeWaitHandle_Create")] + internal static void* /* Microsoft.Win32.SafeHandles.SafeWaitHandle */ Microsoft_Win32_SafeHandles_SafeWaitHandle_Create(void** /* System.Exception */ __outException) + { + + try { + Microsoft.Win32.SafeHandles.SafeWaitHandle __returnValue = new Microsoft.Win32.SafeHandles.SafeWaitHandle(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "Microsoft_Win32_SafeHandles_SafeWaitHandle_Create_1")] + internal static void* /* Microsoft.Win32.SafeHandles.SafeWaitHandle */ Microsoft_Win32_SafeHandles_SafeWaitHandle_Create_1(nint /* System.IntPtr */ existingHandle, byte /* System.Boolean */ ownsHandle, void** /* System.Exception */ __outException) + { + System.Boolean ownsHandleConverted = ownsHandle.ToBool(); + + try { + Microsoft.Win32.SafeHandles.SafeWaitHandle __returnValue = new Microsoft.Win32.SafeHandles.SafeWaitHandle(existingHandle, ownsHandleConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "Microsoft_Win32_SafeHandles_SafeWaitHandle_TypeOf")] + internal static void* /* System.Type */ Microsoft_Win32_SafeHandles_SafeWaitHandle_TypeOf() + { + + System.Type __returnValue = typeof(Microsoft.Win32.SafeHandles.SafeWaitHandle); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "Microsoft_Win32_SafeHandles_SafeWaitHandle_Destroy")] + internal static void /* System.Void */ Microsoft_Win32_SafeHandles_SafeWaitHandle_Destroy(void* /* Microsoft.Win32.SafeHandles.SafeWaitHandle */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid +{ + [UnmanagedCallersOnly(EntryPoint = "Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_IsInvalid_Get")] + internal static byte /* System.Boolean */ Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_IsInvalid_Get(void* /* Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsInvalid; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_TypeOf")] + internal static void* /* System.Type */ Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_TypeOf() + { + + System.Type __returnValue = typeof(Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_Destroy")] + internal static void /* System.Void */ Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_Destroy(void* /* Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_InteropServices_SafeHandle +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_SafeHandle_DangerousGetHandle")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_SafeHandle_DangerousGetHandle(void* /* System.Runtime.InteropServices.SafeHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.SafeHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.IntPtr __returnValue = __selfConverted.DangerousGetHandle(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_SafeHandle_Close")] + internal static void /* System.Void */ System_Runtime_InteropServices_SafeHandle_Close(void* /* System.Runtime.InteropServices.SafeHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.SafeHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Close(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_SafeHandle_Dispose")] + internal static void /* System.Void */ System_Runtime_InteropServices_SafeHandle_Dispose(void* /* System.Runtime.InteropServices.SafeHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.SafeHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Dispose(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_SafeHandle_SetHandleAsInvalid")] + internal static void /* System.Void */ System_Runtime_InteropServices_SafeHandle_SetHandleAsInvalid(void* /* System.Runtime.InteropServices.SafeHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.SafeHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.SetHandleAsInvalid(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_SafeHandle_DangerousAddRef")] + internal static void /* System.Void */ System_Runtime_InteropServices_SafeHandle_DangerousAddRef(void* /* System.Runtime.InteropServices.SafeHandle */ __self, byte* /* System.Boolean */ success, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.SafeHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean successConverted; + + if (success is not null) { + successConverted = (*success).ToBool(); + } else { + successConverted = default(System.Boolean); + } + + + try { + __selfConverted.DangerousAddRef(ref successConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (success is not null) { + *success = successConverted.ToCBool(); + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_SafeHandle_DangerousRelease")] + internal static void /* System.Void */ System_Runtime_InteropServices_SafeHandle_DangerousRelease(void* /* System.Runtime.InteropServices.SafeHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.SafeHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.DangerousRelease(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_SafeHandle_IsClosed_Get")] + internal static byte /* System.Boolean */ System_Runtime_InteropServices_SafeHandle_IsClosed_Get(void* /* System.Runtime.InteropServices.SafeHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.SafeHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsClosed; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_SafeHandle_IsInvalid_Get")] + internal static byte /* System.Boolean */ System_Runtime_InteropServices_SafeHandle_IsInvalid_Get(void* /* System.Runtime.InteropServices.SafeHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.SafeHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsInvalid; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_SafeHandle_TypeOf")] + internal static void* /* System.Type */ System_Runtime_InteropServices_SafeHandle_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.InteropServices.SafeHandle); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_SafeHandle_Destroy")] + internal static void /* System.Void */ System_Runtime_InteropServices_SafeHandle_Destroy(void* /* System.Runtime.InteropServices.SafeHandle */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_ConstrainedExecution_CriticalFinalizerObject +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_ConstrainedExecution_CriticalFinalizerObject_TypeOf")] + internal static void* /* System.Type */ System_Runtime_ConstrainedExecution_CriticalFinalizerObject_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.ConstrainedExecution.CriticalFinalizerObject); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_ConstrainedExecution_CriticalFinalizerObject_Destroy")] + internal static void /* System.Void */ System_Runtime_ConstrainedExecution_CriticalFinalizerObject_Destroy(void* /* System.Runtime.ConstrainedExecution.CriticalFinalizerObject */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + + +internal unsafe class System_Threading_CancellationTokenRegistration +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationTokenRegistration_Dispose")] + internal static void /* System.Void */ System_Threading_CancellationTokenRegistration_Dispose(void* /* System.Threading.CancellationTokenRegistration */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationTokenRegistration __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Dispose(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationTokenRegistration_DisposeAsync")] + internal static void* /* System.Threading.Tasks.ValueTask */ System_Threading_CancellationTokenRegistration_DisposeAsync(void* /* System.Threading.CancellationTokenRegistration */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationTokenRegistration __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.Tasks.ValueTask __returnValue = __selfConverted.DisposeAsync(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationTokenRegistration_Unregister")] + internal static byte /* System.Boolean */ System_Threading_CancellationTokenRegistration_Unregister(void* /* System.Threading.CancellationTokenRegistration */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationTokenRegistration __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.Unregister(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationTokenRegistration_Equals")] + internal static byte /* System.Boolean */ System_Threading_CancellationTokenRegistration_Equals(void* /* System.Threading.CancellationTokenRegistration */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationTokenRegistration __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationTokenRegistration_Equals_1")] + internal static byte /* System.Boolean */ System_Threading_CancellationTokenRegistration_Equals_1(void* /* System.Threading.CancellationTokenRegistration */ __self, void* /* System.Threading.CancellationTokenRegistration */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationTokenRegistration __selfConverted = InteropUtils.GetInstance(__self); + + System.Threading.CancellationTokenRegistration otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.Equals(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationTokenRegistration_GetHashCode")] + internal static int /* System.Int32 */ System_Threading_CancellationTokenRegistration_GetHashCode(void* /* System.Threading.CancellationTokenRegistration */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationTokenRegistration __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationTokenRegistration_Token_Get")] + internal static void* /* System.Threading.CancellationToken */ System_Threading_CancellationTokenRegistration_Token_Get(void* /* System.Threading.CancellationTokenRegistration */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.CancellationTokenRegistration __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.CancellationToken __returnValue = __selfConverted.Token; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationTokenRegistration_Create")] + internal static void* /* System.Threading.CancellationTokenRegistration */ System_Threading_CancellationTokenRegistration_Create(void** /* System.Exception */ __outException) + { + + try { + System.Threading.CancellationTokenRegistration __returnValue = new System.Threading.CancellationTokenRegistration(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationTokenRegistration_TypeOf")] + internal static void* /* System.Type */ System_Threading_CancellationTokenRegistration_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.CancellationTokenRegistration); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_CancellationTokenRegistration_Destroy")] + internal static void /* System.Void */ System_Threading_CancellationTokenRegistration_Destroy(void* /* System.Threading.CancellationTokenRegistration */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Action +{ + internal void* Context { get; } + internal delegate* unmanaged CFunction { get; } + internal delegate* unmanaged CDestructorFunction { get; } + + private WeakReference m_trampoline; + internal System.Action Trampoline + { + get { + System.Action? trampoline; + + if (m_trampoline is not null) { + m_trampoline.TryGetTarget(out trampoline); + } else { + trampoline = null; + } + + if (trampoline is null) { + trampoline = CreateTrampoline(); + m_trampoline = new(trampoline); + } + + return trampoline; + } + } + + private System_Action(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + Context = context; + CFunction = cFunction; + CDestructorFunction = cDestructorFunction; + } + + internal System_Action(System.Action originalDelegate) + { + m_trampoline = new(originalDelegate); + } + + ~System_Action() + { + if (CDestructorFunction is null) { + return; + } + + CDestructorFunction(Context); + } + + private System.Action? CreateTrampoline() + { + if (CFunction is null) { + return null; + } + + System.Type typeOfSelf = typeof(System_Action); + string nameOfInvocationMethod = nameof(__InvokeByCallingCFunction); + System.Reflection.BindingFlags bindingFlags = System.Reflection.BindingFlags.Instance | BindingFlags.NonPublic; + System.Reflection.MethodInfo? invocationMethod = typeOfSelf.GetMethod(nameOfInvocationMethod, bindingFlags); + + if (invocationMethod is null) { + throw new Exception("Failed to retrieve delegate invocation method"); + } + + System.Action trampoline = (System.Action)System.Delegate.CreateDelegate(typeof(System.Action), this, invocationMethod); + + return trampoline; + } + + private void __InvokeByCallingCFunction() + { + + + CFunction(Context); + } + + [UnmanagedCallersOnly(EntryPoint = "System_Action_Create")] + public static void* Create(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + var self = new System_Action(context, cFunction, cDestructorFunction); + void* selfHandle = self.AllocateGCHandleAndGetAddress(); + + return selfHandle; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Action_Invoke")] + public static void /* System.Void */ Invoke(void* self, void** __outException) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + try { + var selfConverted = InteropUtils.GetInstance(self); + + + + selfConverted.Trampoline(); + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Action_Context_Get")] + public static void* Context_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.Context; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Action_CFunction_Get")] + public static delegate* unmanaged CFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Action_CDestructorFunction_Get")] + public static delegate* unmanaged CDestructorFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CDestructorFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Action_TypeOf")] + internal static void* /* System.Type */ System_Action_TypeOf() + { + + System.Type __returnValue = typeof(System.Action); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Action_Destroy")] + internal static void /* System.Void */ System_Action_Destroy(void* /* System.Action */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_MulticastDelegate +{ + internal void* Context { get; } + internal delegate* unmanaged CFunction { get; } + internal delegate* unmanaged CDestructorFunction { get; } + + private WeakReference m_trampoline; + internal System.MulticastDelegate Trampoline + { + get { + System.MulticastDelegate? trampoline; + + if (m_trampoline is not null) { + m_trampoline.TryGetTarget(out trampoline); + } else { + trampoline = null; + } + + if (trampoline is null) { + trampoline = CreateTrampoline(); + m_trampoline = new(trampoline); + } + + return trampoline; + } + } + + private System_MulticastDelegate(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + Context = context; + CFunction = cFunction; + CDestructorFunction = cDestructorFunction; + } + + internal System_MulticastDelegate(System.MulticastDelegate originalDelegate) + { + m_trampoline = new(originalDelegate); + } + + ~System_MulticastDelegate() + { + if (CDestructorFunction is null) { + return; + } + + CDestructorFunction(Context); + } + + private System.MulticastDelegate? CreateTrampoline() + { + if (CFunction is null) { + return null; + } + + System.Type typeOfSelf = typeof(System_MulticastDelegate); + string nameOfInvocationMethod = nameof(__InvokeByCallingCFunction); + System.Reflection.BindingFlags bindingFlags = System.Reflection.BindingFlags.Instance | BindingFlags.NonPublic; + System.Reflection.MethodInfo? invocationMethod = typeOfSelf.GetMethod(nameOfInvocationMethod, bindingFlags); + + if (invocationMethod is null) { + throw new Exception("Failed to retrieve delegate invocation method"); + } + + System.MulticastDelegate trampoline = (System.MulticastDelegate)System.Delegate.CreateDelegate(typeof(System.MulticastDelegate), this, invocationMethod); + + return trampoline; + } + + private void __InvokeByCallingCFunction() + { + + + CFunction(Context); + } + + [UnmanagedCallersOnly(EntryPoint = "System_MulticastDelegate_Create")] + public static void* Create(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + var self = new System_MulticastDelegate(context, cFunction, cDestructorFunction); + void* selfHandle = self.AllocateGCHandleAndGetAddress(); + + return selfHandle; + } + + [UnmanagedCallersOnly(EntryPoint = "System_MulticastDelegate_Invoke")] + public static void /* System.Void */ Invoke(void* self, void** __outException) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + try { + var selfConverted = InteropUtils.GetInstance(self); + + + + selfConverted.Trampoline.DynamicInvoke(); + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_MulticastDelegate_Context_Get")] + public static void* Context_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.Context; + } + + [UnmanagedCallersOnly(EntryPoint = "System_MulticastDelegate_CFunction_Get")] + public static delegate* unmanaged CFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_MulticastDelegate_CDestructorFunction_Get")] + public static delegate* unmanaged CDestructorFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CDestructorFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_MulticastDelegate_TypeOf")] + internal static void* /* System.Type */ System_MulticastDelegate_TypeOf() + { + + System.Type __returnValue = typeof(System.MulticastDelegate); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_MulticastDelegate_Destroy")] + internal static void /* System.Void */ System_MulticastDelegate_Destroy(void* /* System.MulticastDelegate */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Delegate +{ + internal void* Context { get; } + internal delegate* unmanaged CFunction { get; } + internal delegate* unmanaged CDestructorFunction { get; } + + private WeakReference m_trampoline; + internal System.Delegate Trampoline + { + get { + System.Delegate? trampoline; + + if (m_trampoline is not null) { + m_trampoline.TryGetTarget(out trampoline); + } else { + trampoline = null; + } + + if (trampoline is null) { + trampoline = CreateTrampoline(); + m_trampoline = new(trampoline); + } + + return trampoline; + } + } + + private System_Delegate(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + Context = context; + CFunction = cFunction; + CDestructorFunction = cDestructorFunction; + } + + internal System_Delegate(System.Delegate originalDelegate) + { + m_trampoline = new(originalDelegate); + } + + ~System_Delegate() + { + if (CDestructorFunction is null) { + return; + } + + CDestructorFunction(Context); + } + + private System.Delegate? CreateTrampoline() + { + if (CFunction is null) { + return null; + } + + System.Type typeOfSelf = typeof(System_Delegate); + string nameOfInvocationMethod = nameof(__InvokeByCallingCFunction); + System.Reflection.BindingFlags bindingFlags = System.Reflection.BindingFlags.Instance | BindingFlags.NonPublic; + System.Reflection.MethodInfo? invocationMethod = typeOfSelf.GetMethod(nameOfInvocationMethod, bindingFlags); + + if (invocationMethod is null) { + throw new Exception("Failed to retrieve delegate invocation method"); + } + + System.Delegate trampoline = (System.Delegate)System.Delegate.CreateDelegate(typeof(System.Delegate), this, invocationMethod); + + return trampoline; + } + + private void __InvokeByCallingCFunction() + { + + + CFunction(Context); + } + + [UnmanagedCallersOnly(EntryPoint = "System_Delegate_Create")] + public static void* Create(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + var self = new System_Delegate(context, cFunction, cDestructorFunction); + void* selfHandle = self.AllocateGCHandleAndGetAddress(); + + return selfHandle; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Delegate_Invoke")] + public static void /* System.Void */ Invoke(void* self, void** __outException) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + try { + var selfConverted = InteropUtils.GetInstance(self); + + + + selfConverted.Trampoline.DynamicInvoke(); + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Delegate_Context_Get")] + public static void* Context_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.Context; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Delegate_CFunction_Get")] + public static delegate* unmanaged CFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Delegate_CDestructorFunction_Get")] + public static delegate* unmanaged CDestructorFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CDestructorFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Delegate_TypeOf")] + internal static void* /* System.Type */ System_Delegate_TypeOf() + { + + System.Type __returnValue = typeof(System.Delegate); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Delegate_Destroy")] + internal static void /* System.Void */ System_Delegate_Destroy(void* /* System.Delegate */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Exception +{ + [UnmanagedCallersOnly(EntryPoint = "System_Exception_GetBaseException")] + internal static void* /* System.Exception */ System_Exception_GetBaseException(void* /* System.Exception */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Exception __returnValue = __selfConverted.GetBaseException(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_GetObjectData")] + internal static void /* System.Void */ System_Exception_GetObjectData(void* /* System.Exception */ __self, void* /* System.Runtime.Serialization.SerializationInfo */ info, void* /* System.Runtime.Serialization.StreamingContext */ context, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + System.Runtime.Serialization.SerializationInfo infoConverted = InteropUtils.GetInstance(info); + System.Runtime.Serialization.StreamingContext contextConverted = InteropUtils.GetInstance(context); + + try { + __selfConverted.GetObjectData(infoConverted, contextConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_ToString")] + internal static void* /* System.String */ System_Exception_ToString(void* /* System.Exception */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_GetType")] + internal static void* /* System.Type */ System_Exception_GetType(void* /* System.Exception */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.GetType(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_Create")] + internal static void* /* System.Exception */ System_Exception_Create(void** /* System.Exception */ __outException) + { + + try { + System.Exception __returnValue = new System.Exception(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_Create_1")] + internal static void* /* System.Exception */ System_Exception_Create_1(void* /* System.String */ message, void** /* System.Exception */ __outException) + { + System.String messageConverted = InteropUtils.GetInstance(message); + + try { + System.Exception __returnValue = new System.Exception(messageConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_Create_2")] + internal static void* /* System.Exception */ System_Exception_Create_2(void* /* System.String */ message, void* /* System.Exception */ innerException, void** /* System.Exception */ __outException) + { + System.String messageConverted = InteropUtils.GetInstance(message); + System.Exception innerExceptionConverted = InteropUtils.GetInstance(innerException); + + try { + System.Exception __returnValue = new System.Exception(messageConverted, innerExceptionConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_TargetSite_Get")] + internal static void* /* System.Reflection.MethodBase */ System_Exception_TargetSite_Get(void* /* System.Exception */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodBase __returnValue = __selfConverted.TargetSite; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_Message_Get")] + internal static void* /* System.String */ System_Exception_Message_Get(void* /* System.Exception */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Message; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_Data_Get")] + internal static void* /* System.Collections.IDictionary */ System_Exception_Data_Get(void* /* System.Exception */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Collections.IDictionary __returnValue = __selfConverted.Data; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_InnerException_Get")] + internal static void* /* System.Exception */ System_Exception_InnerException_Get(void* /* System.Exception */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Exception __returnValue = __selfConverted.InnerException; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_HelpLink_Get")] + internal static void* /* System.String */ System_Exception_HelpLink_Get(void* /* System.Exception */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.HelpLink; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_HelpLink_Set")] + internal static void /* System.Void */ System_Exception_HelpLink_Set(void* /* System.Exception */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.HelpLink = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_Source_Get")] + internal static void* /* System.String */ System_Exception_Source_Get(void* /* System.Exception */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Source; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_Source_Set")] + internal static void /* System.Void */ System_Exception_Source_Set(void* /* System.Exception */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Source = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_HResult_Get")] + internal static int /* System.Int32 */ System_Exception_HResult_Get(void* /* System.Exception */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.HResult; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_HResult_Set")] + internal static void /* System.Void */ System_Exception_HResult_Set(void* /* System.Exception */ __self, int /* System.Int32 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.HResult = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_StackTrace_Get")] + internal static void* /* System.String */ System_Exception_StackTrace_Get(void* /* System.Exception */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Exception __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.StackTrace; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_TypeOf")] + internal static void* /* System.Type */ System_Exception_TypeOf() + { + + System.Type __returnValue = typeof(System.Exception); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Exception_Destroy")] + internal static void /* System.Void */ System_Exception_Destroy(void* /* System.Exception */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_MethodBase +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_GetMethodFromHandle")] + internal static void* /* System.Reflection.MethodBase */ System_Reflection_MethodBase_GetMethodFromHandle(void* /* System.RuntimeMethodHandle */ handle, void** /* System.Exception */ __outException) + { + System.RuntimeMethodHandle handleConverted = InteropUtils.GetInstance(handle); + + try { + System.Reflection.MethodBase __returnValue = System.Reflection.MethodBase.GetMethodFromHandle(handleConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_GetMethodFromHandle_1")] + internal static void* /* System.Reflection.MethodBase */ System_Reflection_MethodBase_GetMethodFromHandle_1(void* /* System.RuntimeMethodHandle */ handle, void* /* System.RuntimeTypeHandle */ declaringType, void** /* System.Exception */ __outException) + { + System.RuntimeMethodHandle handleConverted = InteropUtils.GetInstance(handle); + System.RuntimeTypeHandle declaringTypeConverted = InteropUtils.GetInstance(declaringType); + + try { + System.Reflection.MethodBase __returnValue = System.Reflection.MethodBase.GetMethodFromHandle(handleConverted, declaringTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_GetCurrentMethod")] + internal static void* /* System.Reflection.MethodBase */ System_Reflection_MethodBase_GetCurrentMethod(void** /* System.Exception */ __outException) + { + + try { + System.Reflection.MethodBase __returnValue = System.Reflection.MethodBase.GetCurrentMethod(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_GetParameters")] + internal static void* /* System.Reflection.ParameterInfo[] */ System_Reflection_MethodBase_GetParameters(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.ParameterInfo[] __returnValue = __selfConverted.GetParameters(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_GetMethodImplementationFlags")] + internal static System.Reflection.MethodImplAttributes /* System.Reflection.MethodImplAttributes */ System_Reflection_MethodBase_GetMethodImplementationFlags(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodImplAttributes __returnValue = __selfConverted.GetMethodImplementationFlags(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.MethodImplAttributes); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_GetMethodBody")] + internal static void* /* System.Reflection.MethodBody */ System_Reflection_MethodBase_GetMethodBody(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodBody __returnValue = __selfConverted.GetMethodBody(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_GetGenericArguments")] + internal static void* /* System.Type[] */ System_Reflection_MethodBase_GetGenericArguments(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetGenericArguments(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_Invoke")] + internal static void* /* System.Object */ System_Reflection_MethodBase_Invoke(void* /* System.Reflection.MethodBase */ __self, void* /* System.Object */ obj, void* /* System.Object[] */ parameters, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + System.Object[] parametersConverted = InteropUtils.GetInstance(parameters); + + try { + System.Object __returnValue = __selfConverted.Invoke(objConverted, parametersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_Invoke_1")] + internal static void* /* System.Object */ System_Reflection_MethodBase_Invoke_1(void* /* System.Reflection.MethodBase */ __self, void* /* System.Object */ obj, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ invokeAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Object[] */ parameters, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Object[] parametersConverted = InteropUtils.GetInstance(parameters); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Object __returnValue = __selfConverted.Invoke(objConverted, invokeAttr, binderConverted, parametersConverted, cultureConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_Equals")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_Equals(void* /* System.Reflection.MethodBase */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_GetHashCode")] + internal static int /* System.Int32 */ System_Reflection_MethodBase_GetHashCode(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_Attributes_Get")] + internal static System.Reflection.MethodAttributes /* System.Reflection.MethodAttributes */ System_Reflection_MethodBase_Attributes_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodAttributes __returnValue = __selfConverted.Attributes; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.MethodAttributes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_MethodImplementationFlags_Get")] + internal static System.Reflection.MethodImplAttributes /* System.Reflection.MethodImplAttributes */ System_Reflection_MethodBase_MethodImplementationFlags_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodImplAttributes __returnValue = __selfConverted.MethodImplementationFlags; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.MethodImplAttributes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_CallingConvention_Get")] + internal static System.Reflection.CallingConventions /* System.Reflection.CallingConventions */ System_Reflection_MethodBase_CallingConvention_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.CallingConventions __returnValue = __selfConverted.CallingConvention; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.CallingConventions); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsAbstract_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsAbstract_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsAbstract; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsConstructor_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsConstructor_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsConstructor; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsFinal_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsFinal_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFinal; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsHideBySig_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsHideBySig_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsHideBySig; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsSpecialName_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsSpecialName_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSpecialName; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsStatic_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsStatic_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsStatic; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsVirtual_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsVirtual_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsVirtual; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsAssembly_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsAssembly_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsAssembly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsFamily_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsFamily_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFamily; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsFamilyAndAssembly_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsFamilyAndAssembly_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFamilyAndAssembly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsFamilyOrAssembly_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsFamilyOrAssembly_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFamilyOrAssembly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsPrivate_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsPrivate_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsPrivate; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsPublic_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsPublic_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsPublic; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsConstructedGenericMethod_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsConstructedGenericMethod_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsConstructedGenericMethod; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsGenericMethod_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsGenericMethod_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsGenericMethod; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsGenericMethodDefinition_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsGenericMethodDefinition_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsGenericMethodDefinition; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_ContainsGenericParameters_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_ContainsGenericParameters_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.ContainsGenericParameters; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_MethodHandle_Get")] + internal static void* /* System.RuntimeMethodHandle */ System_Reflection_MethodBase_MethodHandle_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.RuntimeMethodHandle __returnValue = __selfConverted.MethodHandle; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsSecurityCritical_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsSecurityCritical_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSecurityCritical; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsSecuritySafeCritical_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsSecuritySafeCritical_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSecuritySafeCritical; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_IsSecurityTransparent_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBase_IsSecurityTransparent_Get(void* /* System.Reflection.MethodBase */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBase __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSecurityTransparent; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_TypeOf")] + internal static void* /* System.Type */ System_Reflection_MethodBase_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.MethodBase); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBase_Destroy")] + internal static void /* System.Void */ System_Reflection_MethodBase_Destroy(void* /* System.Reflection.MethodBase */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_RuntimeMethodHandle +{ + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeMethodHandle_GetObjectData")] + internal static void /* System.Void */ System_RuntimeMethodHandle_GetObjectData(void* /* System.RuntimeMethodHandle */ __self, void* /* System.Runtime.Serialization.SerializationInfo */ info, void* /* System.Runtime.Serialization.StreamingContext */ context, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeMethodHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.Runtime.Serialization.SerializationInfo infoConverted = InteropUtils.GetInstance(info); + System.Runtime.Serialization.StreamingContext contextConverted = InteropUtils.GetInstance(context); + + try { + __selfConverted.GetObjectData(infoConverted, contextConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeMethodHandle_GetHashCode")] + internal static int /* System.Int32 */ System_RuntimeMethodHandle_GetHashCode(void* /* System.RuntimeMethodHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeMethodHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeMethodHandle_Equals")] + internal static byte /* System.Boolean */ System_RuntimeMethodHandle_Equals(void* /* System.RuntimeMethodHandle */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeMethodHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeMethodHandle_FromIntPtr")] + internal static void* /* System.RuntimeMethodHandle */ System_RuntimeMethodHandle_FromIntPtr(nint /* System.IntPtr */ value, void** /* System.Exception */ __outException) + { + + try { + System.RuntimeMethodHandle __returnValue = System.RuntimeMethodHandle.FromIntPtr(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeMethodHandle_ToIntPtr")] + internal static nint /* System.IntPtr */ System_RuntimeMethodHandle_ToIntPtr(void* /* System.RuntimeMethodHandle */ value, void** /* System.Exception */ __outException) + { + System.RuntimeMethodHandle valueConverted = InteropUtils.GetInstance(value); + + try { + System.IntPtr __returnValue = System.RuntimeMethodHandle.ToIntPtr(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeMethodHandle_Equals_1")] + internal static byte /* System.Boolean */ System_RuntimeMethodHandle_Equals_1(void* /* System.RuntimeMethodHandle */ __self, void* /* System.RuntimeMethodHandle */ handle, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeMethodHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.RuntimeMethodHandle handleConverted = InteropUtils.GetInstance(handle); + + try { + System.Boolean __returnValue = __selfConverted.Equals(handleConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeMethodHandle_GetFunctionPointer")] + internal static nint /* System.IntPtr */ System_RuntimeMethodHandle_GetFunctionPointer(void* /* System.RuntimeMethodHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeMethodHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.IntPtr __returnValue = __selfConverted.GetFunctionPointer(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeMethodHandle_Value_Get")] + internal static nint /* System.IntPtr */ System_RuntimeMethodHandle_Value_Get(void* /* System.RuntimeMethodHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeMethodHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.IntPtr __returnValue = __selfConverted.Value; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeMethodHandle_Create")] + internal static void* /* System.RuntimeMethodHandle */ System_RuntimeMethodHandle_Create(void** /* System.Exception */ __outException) + { + + try { + System.RuntimeMethodHandle __returnValue = new System.RuntimeMethodHandle(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeMethodHandle_TypeOf")] + internal static void* /* System.Type */ System_RuntimeMethodHandle_TypeOf() + { + + System.Type __returnValue = typeof(System.RuntimeMethodHandle); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeMethodHandle_Destroy")] + internal static void /* System.Void */ System_RuntimeMethodHandle_Destroy(void* /* System.RuntimeMethodHandle */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_RuntimeTypeHandle +{ + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeTypeHandle_FromIntPtr")] + internal static void* /* System.RuntimeTypeHandle */ System_RuntimeTypeHandle_FromIntPtr(nint /* System.IntPtr */ value, void** /* System.Exception */ __outException) + { + + try { + System.RuntimeTypeHandle __returnValue = System.RuntimeTypeHandle.FromIntPtr(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeTypeHandle_ToIntPtr")] + internal static nint /* System.IntPtr */ System_RuntimeTypeHandle_ToIntPtr(void* /* System.RuntimeTypeHandle */ value, void** /* System.Exception */ __outException) + { + System.RuntimeTypeHandle valueConverted = InteropUtils.GetInstance(value); + + try { + System.IntPtr __returnValue = System.RuntimeTypeHandle.ToIntPtr(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeTypeHandle_GetHashCode")] + internal static int /* System.Int32 */ System_RuntimeTypeHandle_GetHashCode(void* /* System.RuntimeTypeHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeTypeHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeTypeHandle_Equals")] + internal static byte /* System.Boolean */ System_RuntimeTypeHandle_Equals(void* /* System.RuntimeTypeHandle */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeTypeHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeTypeHandle_Equals_1")] + internal static byte /* System.Boolean */ System_RuntimeTypeHandle_Equals_1(void* /* System.RuntimeTypeHandle */ __self, void* /* System.RuntimeTypeHandle */ handle, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeTypeHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.RuntimeTypeHandle handleConverted = InteropUtils.GetInstance(handle); + + try { + System.Boolean __returnValue = __selfConverted.Equals(handleConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeTypeHandle_GetModuleHandle")] + internal static void* /* System.ModuleHandle */ System_RuntimeTypeHandle_GetModuleHandle(void* /* System.RuntimeTypeHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeTypeHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.ModuleHandle __returnValue = __selfConverted.GetModuleHandle(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeTypeHandle_GetObjectData")] + internal static void /* System.Void */ System_RuntimeTypeHandle_GetObjectData(void* /* System.RuntimeTypeHandle */ __self, void* /* System.Runtime.Serialization.SerializationInfo */ info, void* /* System.Runtime.Serialization.StreamingContext */ context, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeTypeHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.Runtime.Serialization.SerializationInfo infoConverted = InteropUtils.GetInstance(info); + System.Runtime.Serialization.StreamingContext contextConverted = InteropUtils.GetInstance(context); + + try { + __selfConverted.GetObjectData(infoConverted, contextConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeTypeHandle_Value_Get")] + internal static nint /* System.IntPtr */ System_RuntimeTypeHandle_Value_Get(void* /* System.RuntimeTypeHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeTypeHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.IntPtr __returnValue = __selfConverted.Value; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeTypeHandle_Create")] + internal static void* /* System.RuntimeTypeHandle */ System_RuntimeTypeHandle_Create(void** /* System.Exception */ __outException) + { + + try { + System.RuntimeTypeHandle __returnValue = new System.RuntimeTypeHandle(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeTypeHandle_TypeOf")] + internal static void* /* System.Type */ System_RuntimeTypeHandle_TypeOf() + { + + System.Type __returnValue = typeof(System.RuntimeTypeHandle); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeTypeHandle_Destroy")] + internal static void /* System.Void */ System_RuntimeTypeHandle_Destroy(void* /* System.RuntimeTypeHandle */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_ModuleHandle +{ + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_GetHashCode")] + internal static int /* System.Int32 */ System_ModuleHandle_GetHashCode(void* /* System.ModuleHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ModuleHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_Equals")] + internal static byte /* System.Boolean */ System_ModuleHandle_Equals(void* /* System.ModuleHandle */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ModuleHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_Equals_1")] + internal static byte /* System.Boolean */ System_ModuleHandle_Equals_1(void* /* System.ModuleHandle */ __self, void* /* System.ModuleHandle */ handle, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ModuleHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.ModuleHandle handleConverted = InteropUtils.GetInstance(handle); + + try { + System.Boolean __returnValue = __selfConverted.Equals(handleConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_GetRuntimeTypeHandleFromMetadataToken")] + internal static void* /* System.RuntimeTypeHandle */ System_ModuleHandle_GetRuntimeTypeHandleFromMetadataToken(void* /* System.ModuleHandle */ __self, int /* System.Int32 */ typeToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ModuleHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.RuntimeTypeHandle __returnValue = __selfConverted.GetRuntimeTypeHandleFromMetadataToken(typeToken); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_ResolveTypeHandle")] + internal static void* /* System.RuntimeTypeHandle */ System_ModuleHandle_ResolveTypeHandle(void* /* System.ModuleHandle */ __self, int /* System.Int32 */ typeToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ModuleHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.RuntimeTypeHandle __returnValue = __selfConverted.ResolveTypeHandle(typeToken); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_ResolveTypeHandle_1")] + internal static void* /* System.RuntimeTypeHandle */ System_ModuleHandle_ResolveTypeHandle_1(void* /* System.ModuleHandle */ __self, int /* System.Int32 */ typeToken, void* /* System.RuntimeTypeHandle[] */ typeInstantiationContext, void* /* System.RuntimeTypeHandle[] */ methodInstantiationContext, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ModuleHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.RuntimeTypeHandle[] typeInstantiationContextConverted = InteropUtils.GetInstance(typeInstantiationContext); + System.RuntimeTypeHandle[] methodInstantiationContextConverted = InteropUtils.GetInstance(methodInstantiationContext); + + try { + System.RuntimeTypeHandle __returnValue = __selfConverted.ResolveTypeHandle(typeToken, typeInstantiationContextConverted, methodInstantiationContextConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_GetRuntimeMethodHandleFromMetadataToken")] + internal static void* /* System.RuntimeMethodHandle */ System_ModuleHandle_GetRuntimeMethodHandleFromMetadataToken(void* /* System.ModuleHandle */ __self, int /* System.Int32 */ methodToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ModuleHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.RuntimeMethodHandle __returnValue = __selfConverted.GetRuntimeMethodHandleFromMetadataToken(methodToken); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_ResolveMethodHandle")] + internal static void* /* System.RuntimeMethodHandle */ System_ModuleHandle_ResolveMethodHandle(void* /* System.ModuleHandle */ __self, int /* System.Int32 */ methodToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ModuleHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.RuntimeMethodHandle __returnValue = __selfConverted.ResolveMethodHandle(methodToken); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_ResolveMethodHandle_1")] + internal static void* /* System.RuntimeMethodHandle */ System_ModuleHandle_ResolveMethodHandle_1(void* /* System.ModuleHandle */ __self, int /* System.Int32 */ methodToken, void* /* System.RuntimeTypeHandle[] */ typeInstantiationContext, void* /* System.RuntimeTypeHandle[] */ methodInstantiationContext, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ModuleHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.RuntimeTypeHandle[] typeInstantiationContextConverted = InteropUtils.GetInstance(typeInstantiationContext); + System.RuntimeTypeHandle[] methodInstantiationContextConverted = InteropUtils.GetInstance(methodInstantiationContext); + + try { + System.RuntimeMethodHandle __returnValue = __selfConverted.ResolveMethodHandle(methodToken, typeInstantiationContextConverted, methodInstantiationContextConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_GetRuntimeFieldHandleFromMetadataToken")] + internal static void* /* System.RuntimeFieldHandle */ System_ModuleHandle_GetRuntimeFieldHandleFromMetadataToken(void* /* System.ModuleHandle */ __self, int /* System.Int32 */ fieldToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ModuleHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.RuntimeFieldHandle __returnValue = __selfConverted.GetRuntimeFieldHandleFromMetadataToken(fieldToken); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_ResolveFieldHandle")] + internal static void* /* System.RuntimeFieldHandle */ System_ModuleHandle_ResolveFieldHandle(void* /* System.ModuleHandle */ __self, int /* System.Int32 */ fieldToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ModuleHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.RuntimeFieldHandle __returnValue = __selfConverted.ResolveFieldHandle(fieldToken); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_ResolveFieldHandle_1")] + internal static void* /* System.RuntimeFieldHandle */ System_ModuleHandle_ResolveFieldHandle_1(void* /* System.ModuleHandle */ __self, int /* System.Int32 */ fieldToken, void* /* System.RuntimeTypeHandle[] */ typeInstantiationContext, void* /* System.RuntimeTypeHandle[] */ methodInstantiationContext, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ModuleHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.RuntimeTypeHandle[] typeInstantiationContextConverted = InteropUtils.GetInstance(typeInstantiationContext); + System.RuntimeTypeHandle[] methodInstantiationContextConverted = InteropUtils.GetInstance(methodInstantiationContext); + + try { + System.RuntimeFieldHandle __returnValue = __selfConverted.ResolveFieldHandle(fieldToken, typeInstantiationContextConverted, methodInstantiationContextConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_MDStreamVersion_Get")] + internal static int /* System.Int32 */ System_ModuleHandle_MDStreamVersion_Get(void* /* System.ModuleHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ModuleHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.MDStreamVersion; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_EmptyHandle_Get")] + internal static void* /* System.ModuleHandle */ System_ModuleHandle_EmptyHandle_Get() + { + + System.ModuleHandle __returnValue = System.ModuleHandle.EmptyHandle; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_Create")] + internal static void* /* System.ModuleHandle */ System_ModuleHandle_Create(void** /* System.Exception */ __outException) + { + + try { + System.ModuleHandle __returnValue = new System.ModuleHandle(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_TypeOf")] + internal static void* /* System.Type */ System_ModuleHandle_TypeOf() + { + + System.Type __returnValue = typeof(System.ModuleHandle); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_ModuleHandle_Destroy")] + internal static void /* System.Void */ System_ModuleHandle_Destroy(void* /* System.ModuleHandle */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + +internal unsafe class System_RuntimeFieldHandle +{ + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeFieldHandle_GetHashCode")] + internal static int /* System.Int32 */ System_RuntimeFieldHandle_GetHashCode(void* /* System.RuntimeFieldHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeFieldHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeFieldHandle_Equals")] + internal static byte /* System.Boolean */ System_RuntimeFieldHandle_Equals(void* /* System.RuntimeFieldHandle */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeFieldHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeFieldHandle_Equals_1")] + internal static byte /* System.Boolean */ System_RuntimeFieldHandle_Equals_1(void* /* System.RuntimeFieldHandle */ __self, void* /* System.RuntimeFieldHandle */ handle, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeFieldHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.RuntimeFieldHandle handleConverted = InteropUtils.GetInstance(handle); + + try { + System.Boolean __returnValue = __selfConverted.Equals(handleConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeFieldHandle_FromIntPtr")] + internal static void* /* System.RuntimeFieldHandle */ System_RuntimeFieldHandle_FromIntPtr(nint /* System.IntPtr */ value, void** /* System.Exception */ __outException) + { + + try { + System.RuntimeFieldHandle __returnValue = System.RuntimeFieldHandle.FromIntPtr(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeFieldHandle_ToIntPtr")] + internal static nint /* System.IntPtr */ System_RuntimeFieldHandle_ToIntPtr(void* /* System.RuntimeFieldHandle */ value, void** /* System.Exception */ __outException) + { + System.RuntimeFieldHandle valueConverted = InteropUtils.GetInstance(value); + + try { + System.IntPtr __returnValue = System.RuntimeFieldHandle.ToIntPtr(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeFieldHandle_GetObjectData")] + internal static void /* System.Void */ System_RuntimeFieldHandle_GetObjectData(void* /* System.RuntimeFieldHandle */ __self, void* /* System.Runtime.Serialization.SerializationInfo */ info, void* /* System.Runtime.Serialization.StreamingContext */ context, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeFieldHandle __selfConverted = InteropUtils.GetInstance(__self); + + System.Runtime.Serialization.SerializationInfo infoConverted = InteropUtils.GetInstance(info); + System.Runtime.Serialization.StreamingContext contextConverted = InteropUtils.GetInstance(context); + + try { + __selfConverted.GetObjectData(infoConverted, contextConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeFieldHandle_Value_Get")] + internal static nint /* System.IntPtr */ System_RuntimeFieldHandle_Value_Get(void* /* System.RuntimeFieldHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.RuntimeFieldHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.IntPtr __returnValue = __selfConverted.Value; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeFieldHandle_Create")] + internal static void* /* System.RuntimeFieldHandle */ System_RuntimeFieldHandle_Create(void** /* System.Exception */ __outException) + { + + try { + System.RuntimeFieldHandle __returnValue = new System.RuntimeFieldHandle(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeFieldHandle_TypeOf")] + internal static void* /* System.Type */ System_RuntimeFieldHandle_TypeOf() + { + + System.Type __returnValue = typeof(System.RuntimeFieldHandle); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_RuntimeFieldHandle_Destroy")] + internal static void /* System.Void */ System_RuntimeFieldHandle_Destroy(void* /* System.RuntimeFieldHandle */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + +internal unsafe class System_Reflection_ParameterInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_IsDefined")] + internal static byte /* System.Boolean */ System_Reflection_ParameterInfo_IsDefined(void* /* System.Reflection.ParameterInfo */ __self, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Boolean __returnValue = __selfConverted.IsDefined(attributeTypeConverted, inheritConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_GetCustomAttributes")] + internal static void* /* System.Object[] */ System_Reflection_ParameterInfo_GetCustomAttributes(void* /* System.Reflection.ParameterInfo */ __self, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Object[] __returnValue = __selfConverted.GetCustomAttributes(inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_GetCustomAttributes_1")] + internal static void* /* System.Object[] */ System_Reflection_ParameterInfo_GetCustomAttributes_1(void* /* System.Reflection.ParameterInfo */ __self, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Object[] __returnValue = __selfConverted.GetCustomAttributes(attributeTypeConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_GetModifiedParameterType")] + internal static void* /* System.Type */ System_Reflection_ParameterInfo_GetModifiedParameterType(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.GetModifiedParameterType(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_GetOptionalCustomModifiers")] + internal static void* /* System.Type[] */ System_Reflection_ParameterInfo_GetOptionalCustomModifiers(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetOptionalCustomModifiers(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_GetRequiredCustomModifiers")] + internal static void* /* System.Type[] */ System_Reflection_ParameterInfo_GetRequiredCustomModifiers(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetRequiredCustomModifiers(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_GetRealObject")] + internal static void* /* System.Object */ System_Reflection_ParameterInfo_GetRealObject(void* /* System.Reflection.ParameterInfo */ __self, void* /* System.Runtime.Serialization.StreamingContext */ context, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Runtime.Serialization.StreamingContext contextConverted = InteropUtils.GetInstance(context); + + try { + System.Object __returnValue = __selfConverted.GetRealObject(contextConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_ToString")] + internal static void* /* System.String */ System_Reflection_ParameterInfo_ToString(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_Attributes_Get")] + internal static System.Reflection.ParameterAttributes /* System.Reflection.ParameterAttributes */ System_Reflection_ParameterInfo_Attributes_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.ParameterAttributes __returnValue = __selfConverted.Attributes; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.ParameterAttributes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_Member_Get")] + internal static void* /* System.Reflection.MemberInfo */ System_Reflection_ParameterInfo_Member_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MemberInfo __returnValue = __selfConverted.Member; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_Name_Get")] + internal static void* /* System.String */ System_Reflection_ParameterInfo_Name_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Name; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_ParameterType_Get")] + internal static void* /* System.Type */ System_Reflection_ParameterInfo_ParameterType_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.ParameterType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_Position_Get")] + internal static int /* System.Int32 */ System_Reflection_ParameterInfo_Position_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Position; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_IsIn_Get")] + internal static byte /* System.Boolean */ System_Reflection_ParameterInfo_IsIn_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsIn; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_IsLcid_Get")] + internal static byte /* System.Boolean */ System_Reflection_ParameterInfo_IsLcid_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsLcid; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_IsOptional_Get")] + internal static byte /* System.Boolean */ System_Reflection_ParameterInfo_IsOptional_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsOptional; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_IsOut_Get")] + internal static byte /* System.Boolean */ System_Reflection_ParameterInfo_IsOut_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsOut; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_IsRetval_Get")] + internal static byte /* System.Boolean */ System_Reflection_ParameterInfo_IsRetval_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsRetval; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_DefaultValue_Get")] + internal static void* /* System.Object */ System_Reflection_ParameterInfo_DefaultValue_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.DefaultValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_RawDefaultValue_Get")] + internal static void* /* System.Object */ System_Reflection_ParameterInfo_RawDefaultValue_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.RawDefaultValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_HasDefaultValue_Get")] + internal static byte /* System.Boolean */ System_Reflection_ParameterInfo_HasDefaultValue_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.HasDefaultValue; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_MetadataToken_Get")] + internal static int /* System.Int32 */ System_Reflection_ParameterInfo_MetadataToken_Get(void* /* System.Reflection.ParameterInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.MetadataToken; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_TypeOf")] + internal static void* /* System.Type */ System_Reflection_ParameterInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.ParameterInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterInfo_Destroy")] + internal static void /* System.Void */ System_Reflection_ParameterInfo_Destroy(void* /* System.Reflection.ParameterInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_Serialization_IObjectReference +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IObjectReference_GetRealObject")] + internal static void* /* System.Object */ System_Runtime_Serialization_IObjectReference_GetRealObject(void* /* System.Runtime.Serialization.IObjectReference */ __self, void* /* System.Runtime.Serialization.StreamingContext */ context, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.Serialization.IObjectReference __selfConverted = InteropUtils.GetInstance(__self); + + System.Runtime.Serialization.StreamingContext contextConverted = InteropUtils.GetInstance(context); + + try { + System.Object __returnValue = __selfConverted.GetRealObject(contextConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IObjectReference_TypeOf")] + internal static void* /* System.Type */ System_Runtime_Serialization_IObjectReference_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.Serialization.IObjectReference); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_Serialization_IObjectReference_Destroy")] + internal static void /* System.Void */ System_Runtime_Serialization_IObjectReference_Destroy(void* /* System.Runtime.Serialization.IObjectReference */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_ParameterAttributes +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterAttributes_TypeOf")] + internal static void* /* System.Type */ System_Reflection_ParameterAttributes_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.ParameterAttributes); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + + + +internal unsafe class System_Reflection_MethodAttributes +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodAttributes_TypeOf")] + internal static void* /* System.Type */ System_Reflection_MethodAttributes_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.MethodAttributes); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Reflection_MethodImplAttributes +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodImplAttributes_TypeOf")] + internal static void* /* System.Type */ System_Reflection_MethodImplAttributes_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.MethodImplAttributes); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Reflection_MethodBody +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBody_GetILAsByteArray")] + internal static void* /* System.Byte[] */ System_Reflection_MethodBody_GetILAsByteArray(void* /* System.Reflection.MethodBody */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBody __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Byte[] __returnValue = __selfConverted.GetILAsByteArray(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBody_LocalSignatureMetadataToken_Get")] + internal static int /* System.Int32 */ System_Reflection_MethodBody_LocalSignatureMetadataToken_Get(void* /* System.Reflection.MethodBody */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBody __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.LocalSignatureMetadataToken; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBody_MaxStackSize_Get")] + internal static int /* System.Int32 */ System_Reflection_MethodBody_MaxStackSize_Get(void* /* System.Reflection.MethodBody */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBody __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.MaxStackSize; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBody_InitLocals_Get")] + internal static byte /* System.Boolean */ System_Reflection_MethodBody_InitLocals_Get(void* /* System.Reflection.MethodBody */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodBody __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.InitLocals; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBody_TypeOf")] + internal static void* /* System.Type */ System_Reflection_MethodBody_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.MethodBody); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodBody_Destroy")] + internal static void /* System.Void */ System_Reflection_MethodBody_Destroy(void* /* System.Reflection.MethodBody */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_CallingConventions +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_CallingConventions_TypeOf")] + internal static void* /* System.Type */ System_Reflection_CallingConventions_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.CallingConventions); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Reflection_BindingFlags +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_BindingFlags_TypeOf")] + internal static void* /* System.Type */ System_Reflection_BindingFlags_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.BindingFlags); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Reflection_Binder +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Binder_BindToField")] + internal static void* /* System.Reflection.FieldInfo */ System_Reflection_Binder_BindToField(void* /* System.Reflection.Binder */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.FieldInfo[] */ match, void* /* System.Object */ value, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Binder __selfConverted = InteropUtils.GetInstance(__self); + + System.Reflection.FieldInfo[] matchConverted = InteropUtils.GetInstance(match); + System.Object valueConverted = InteropUtils.GetInstance(value); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Reflection.FieldInfo __returnValue = __selfConverted.BindToField(bindingAttr, matchConverted, valueConverted, cultureConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Binder_BindToMethod")] + internal static void* /* System.Reflection.MethodBase */ System_Reflection_Binder_BindToMethod(void* /* System.Reflection.Binder */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.MethodBase[] */ match, void** /* System.Object[] */ args, void* /* System.Reflection.ParameterModifier[] */ modifiers, void* /* System.Globalization.CultureInfo */ culture, void* /* System.String[] */ names, void** /* System.Object */ state, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Binder __selfConverted = InteropUtils.GetInstance(__self); + + System.Reflection.MethodBase[] matchConverted = InteropUtils.GetInstance(match); + System.Object[] argsConverted; + + if (args is not null) { + argsConverted = InteropUtils.GetInstance((*args)); + } else { + argsConverted = default(System.Object[]); + } + + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + System.String[] namesConverted = InteropUtils.GetInstance(names); + System.Object stateConverted; + + try { + System.Reflection.MethodBase __returnValue = __selfConverted.BindToMethod(bindingAttr, matchConverted, ref argsConverted, modifiersConverted, cultureConverted, namesConverted, out stateConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + if (args is not null) { + *args = argsConverted.AllocateGCHandleAndGetAddress(); + } + + if (state is not null) { + *state = stateConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (state is not null) { + *state = null; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Binder_ChangeType")] + internal static void* /* System.Object */ System_Reflection_Binder_ChangeType(void* /* System.Reflection.Binder */ __self, void* /* System.Object */ value, void* /* System.Type */ type, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Binder __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + System.Type typeConverted = InteropUtils.GetInstance(type); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Object __returnValue = __selfConverted.ChangeType(valueConverted, typeConverted, cultureConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Binder_ReorderArgumentArray")] + internal static void /* System.Void */ System_Reflection_Binder_ReorderArgumentArray(void* /* System.Reflection.Binder */ __self, void** /* System.Object[] */ args, void* /* System.Object */ state, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Binder __selfConverted = InteropUtils.GetInstance(__self); + + System.Object[] argsConverted; + + if (args is not null) { + argsConverted = InteropUtils.GetInstance((*args)); + } else { + argsConverted = default(System.Object[]); + } + + System.Object stateConverted = InteropUtils.GetInstance(state); + + try { + __selfConverted.ReorderArgumentArray(ref argsConverted, stateConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (args is not null) { + *args = argsConverted.AllocateGCHandleAndGetAddress(); + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Binder_SelectMethod")] + internal static void* /* System.Reflection.MethodBase */ System_Reflection_Binder_SelectMethod(void* /* System.Reflection.Binder */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.MethodBase[] */ match, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Binder __selfConverted = InteropUtils.GetInstance(__self); + + System.Reflection.MethodBase[] matchConverted = InteropUtils.GetInstance(match); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.MethodBase __returnValue = __selfConverted.SelectMethod(bindingAttr, matchConverted, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Binder_SelectProperty")] + internal static void* /* System.Reflection.PropertyInfo */ System_Reflection_Binder_SelectProperty(void* /* System.Reflection.Binder */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.PropertyInfo[] */ match, void* /* System.Type */ returnType, void* /* System.Type[] */ indexes, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Binder __selfConverted = InteropUtils.GetInstance(__self); + + System.Reflection.PropertyInfo[] matchConverted = InteropUtils.GetInstance(match); + System.Type returnTypeConverted = InteropUtils.GetInstance(returnType); + System.Type[] indexesConverted = InteropUtils.GetInstance(indexes); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.PropertyInfo __returnValue = __selfConverted.SelectProperty(bindingAttr, matchConverted, returnTypeConverted, indexesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Binder_TypeOf")] + internal static void* /* System.Type */ System_Reflection_Binder_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.Binder); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Binder_Destroy")] + internal static void /* System.Void */ System_Reflection_Binder_Destroy(void* /* System.Reflection.Binder */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_FieldInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_GetFieldFromHandle")] + internal static void* /* System.Reflection.FieldInfo */ System_Reflection_FieldInfo_GetFieldFromHandle(void* /* System.RuntimeFieldHandle */ handle, void** /* System.Exception */ __outException) + { + System.RuntimeFieldHandle handleConverted = InteropUtils.GetInstance(handle); + + try { + System.Reflection.FieldInfo __returnValue = System.Reflection.FieldInfo.GetFieldFromHandle(handleConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_GetFieldFromHandle_1")] + internal static void* /* System.Reflection.FieldInfo */ System_Reflection_FieldInfo_GetFieldFromHandle_1(void* /* System.RuntimeFieldHandle */ handle, void* /* System.RuntimeTypeHandle */ declaringType, void** /* System.Exception */ __outException) + { + System.RuntimeFieldHandle handleConverted = InteropUtils.GetInstance(handle); + System.RuntimeTypeHandle declaringTypeConverted = InteropUtils.GetInstance(declaringType); + + try { + System.Reflection.FieldInfo __returnValue = System.Reflection.FieldInfo.GetFieldFromHandle(handleConverted, declaringTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_Equals")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_Equals(void* /* System.Reflection.FieldInfo */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_GetHashCode")] + internal static int /* System.Int32 */ System_Reflection_FieldInfo_GetHashCode(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_GetValue")] + internal static void* /* System.Object */ System_Reflection_FieldInfo_GetValue(void* /* System.Reflection.FieldInfo */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Object __returnValue = __selfConverted.GetValue(objConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_SetValue")] + internal static void /* System.Void */ System_Reflection_FieldInfo_SetValue(void* /* System.Reflection.FieldInfo */ __self, void* /* System.Object */ obj, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.SetValue(objConverted, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_SetValue_1")] + internal static void /* System.Void */ System_Reflection_FieldInfo_SetValue_1(void* /* System.Reflection.FieldInfo */ __self, void* /* System.Object */ obj, void* /* System.Object */ value, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ invokeAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + System.Object valueConverted = InteropUtils.GetInstance(value); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + __selfConverted.SetValue(objConverted, valueConverted, invokeAttr, binderConverted, cultureConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_GetRawConstantValue")] + internal static void* /* System.Object */ System_Reflection_FieldInfo_GetRawConstantValue(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.GetRawConstantValue(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_GetModifiedFieldType")] + internal static void* /* System.Type */ System_Reflection_FieldInfo_GetModifiedFieldType(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.GetModifiedFieldType(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_GetOptionalCustomModifiers")] + internal static void* /* System.Type[] */ System_Reflection_FieldInfo_GetOptionalCustomModifiers(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetOptionalCustomModifiers(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_GetRequiredCustomModifiers")] + internal static void* /* System.Type[] */ System_Reflection_FieldInfo_GetRequiredCustomModifiers(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetRequiredCustomModifiers(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_MemberType_Get")] + internal static System.Reflection.MemberTypes /* System.Reflection.MemberTypes */ System_Reflection_FieldInfo_MemberType_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MemberTypes __returnValue = __selfConverted.MemberType; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.MemberTypes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_Attributes_Get")] + internal static System.Reflection.FieldAttributes /* System.Reflection.FieldAttributes */ System_Reflection_FieldInfo_Attributes_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.FieldAttributes __returnValue = __selfConverted.Attributes; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.FieldAttributes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_FieldType_Get")] + internal static void* /* System.Type */ System_Reflection_FieldInfo_FieldType_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.FieldType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsInitOnly_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsInitOnly_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsInitOnly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsLiteral_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsLiteral_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsLiteral; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsNotSerialized_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsNotSerialized_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsNotSerialized; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsPinvokeImpl_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsPinvokeImpl_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsPinvokeImpl; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsSpecialName_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsSpecialName_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSpecialName; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsStatic_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsStatic_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsStatic; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsAssembly_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsAssembly_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsAssembly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsFamily_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsFamily_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFamily; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsFamilyAndAssembly_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsFamilyAndAssembly_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFamilyAndAssembly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsFamilyOrAssembly_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsFamilyOrAssembly_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFamilyOrAssembly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsPrivate_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsPrivate_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsPrivate; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsPublic_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsPublic_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsPublic; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsSecurityCritical_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsSecurityCritical_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSecurityCritical; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsSecuritySafeCritical_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsSecuritySafeCritical_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSecuritySafeCritical; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_IsSecurityTransparent_Get")] + internal static byte /* System.Boolean */ System_Reflection_FieldInfo_IsSecurityTransparent_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSecurityTransparent; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_FieldHandle_Get")] + internal static void* /* System.RuntimeFieldHandle */ System_Reflection_FieldInfo_FieldHandle_Get(void* /* System.Reflection.FieldInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.FieldInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.RuntimeFieldHandle __returnValue = __selfConverted.FieldHandle; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_TypeOf")] + internal static void* /* System.Type */ System_Reflection_FieldInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.FieldInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldInfo_Destroy")] + internal static void /* System.Void */ System_Reflection_FieldInfo_Destroy(void* /* System.Reflection.FieldInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_MemberTypes +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberTypes_TypeOf")] + internal static void* /* System.Type */ System_Reflection_MemberTypes_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.MemberTypes); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Reflection_FieldAttributes +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_FieldAttributes_TypeOf")] + internal static void* /* System.Type */ System_Reflection_FieldAttributes_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.FieldAttributes); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + + + + + + +internal unsafe class System_Reflection_ParameterModifier +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterModifier_Create")] + internal static void* /* System.Reflection.ParameterModifier */ System_Reflection_ParameterModifier_Create(int /* System.Int32 */ parameterCount, void** /* System.Exception */ __outException) + { + + try { + System.Reflection.ParameterModifier __returnValue = new System.Reflection.ParameterModifier(parameterCount); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterModifier_Item_Get")] + internal static byte /* System.Boolean */ System_Reflection_ParameterModifier_Item_Get(void* /* System.Reflection.ParameterModifier */ __self, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterModifier __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted[index]; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterModifier_Item_Set")] + internal static void /* System.Void */ System_Reflection_ParameterModifier_Item_Set(void* /* System.Reflection.ParameterModifier */ __self, int /* System.Int32 */ index, byte /* System.Boolean */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ParameterModifier __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted[index] = __value.ToBool(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterModifier_Create_1")] + internal static void* /* System.Reflection.ParameterModifier */ System_Reflection_ParameterModifier_Create_1(void** /* System.Exception */ __outException) + { + + try { + System.Reflection.ParameterModifier __returnValue = new System.Reflection.ParameterModifier(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterModifier_TypeOf")] + internal static void* /* System.Type */ System_Reflection_ParameterModifier_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.ParameterModifier); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ParameterModifier_Destroy")] + internal static void /* System.Void */ System_Reflection_ParameterModifier_Destroy(void* /* System.Reflection.ParameterModifier */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + +internal unsafe class System_Reflection_PropertyInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetIndexParameters")] + internal static void* /* System.Reflection.ParameterInfo[] */ System_Reflection_PropertyInfo_GetIndexParameters(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.ParameterInfo[] __returnValue = __selfConverted.GetIndexParameters(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetAccessors")] + internal static void* /* System.Reflection.MethodInfo[] */ System_Reflection_PropertyInfo_GetAccessors(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo[] __returnValue = __selfConverted.GetAccessors(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetAccessors_1")] + internal static void* /* System.Reflection.MethodInfo[] */ System_Reflection_PropertyInfo_GetAccessors_1(void* /* System.Reflection.PropertyInfo */ __self, byte /* System.Boolean */ nonPublic, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean nonPublicConverted = nonPublic.ToBool(); + + try { + System.Reflection.MethodInfo[] __returnValue = __selfConverted.GetAccessors(nonPublicConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetGetMethod")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_PropertyInfo_GetGetMethod(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetGetMethod(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetGetMethod_1")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_PropertyInfo_GetGetMethod_1(void* /* System.Reflection.PropertyInfo */ __self, byte /* System.Boolean */ nonPublic, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean nonPublicConverted = nonPublic.ToBool(); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetGetMethod(nonPublicConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetSetMethod")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_PropertyInfo_GetSetMethod(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetSetMethod(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetSetMethod_1")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_PropertyInfo_GetSetMethod_1(void* /* System.Reflection.PropertyInfo */ __self, byte /* System.Boolean */ nonPublic, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean nonPublicConverted = nonPublic.ToBool(); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetSetMethod(nonPublicConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetModifiedPropertyType")] + internal static void* /* System.Type */ System_Reflection_PropertyInfo_GetModifiedPropertyType(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.GetModifiedPropertyType(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetOptionalCustomModifiers")] + internal static void* /* System.Type[] */ System_Reflection_PropertyInfo_GetOptionalCustomModifiers(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetOptionalCustomModifiers(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetRequiredCustomModifiers")] + internal static void* /* System.Type[] */ System_Reflection_PropertyInfo_GetRequiredCustomModifiers(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetRequiredCustomModifiers(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetValue")] + internal static void* /* System.Object */ System_Reflection_PropertyInfo_GetValue(void* /* System.Reflection.PropertyInfo */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Object __returnValue = __selfConverted.GetValue(objConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetValue_1")] + internal static void* /* System.Object */ System_Reflection_PropertyInfo_GetValue_1(void* /* System.Reflection.PropertyInfo */ __self, void* /* System.Object */ obj, void* /* System.Object[] */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + System.Object[] indexConverted = InteropUtils.GetInstance(index); + + try { + System.Object __returnValue = __selfConverted.GetValue(objConverted, indexConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetValue_2")] + internal static void* /* System.Object */ System_Reflection_PropertyInfo_GetValue_2(void* /* System.Reflection.PropertyInfo */ __self, void* /* System.Object */ obj, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ invokeAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Object[] */ index, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Object[] indexConverted = InteropUtils.GetInstance(index); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Object __returnValue = __selfConverted.GetValue(objConverted, invokeAttr, binderConverted, indexConverted, cultureConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetConstantValue")] + internal static void* /* System.Object */ System_Reflection_PropertyInfo_GetConstantValue(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.GetConstantValue(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetRawConstantValue")] + internal static void* /* System.Object */ System_Reflection_PropertyInfo_GetRawConstantValue(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.GetRawConstantValue(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_SetValue")] + internal static void /* System.Void */ System_Reflection_PropertyInfo_SetValue(void* /* System.Reflection.PropertyInfo */ __self, void* /* System.Object */ obj, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.SetValue(objConverted, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_SetValue_1")] + internal static void /* System.Void */ System_Reflection_PropertyInfo_SetValue_1(void* /* System.Reflection.PropertyInfo */ __self, void* /* System.Object */ obj, void* /* System.Object */ value, void* /* System.Object[] */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + System.Object valueConverted = InteropUtils.GetInstance(value); + System.Object[] indexConverted = InteropUtils.GetInstance(index); + + try { + __selfConverted.SetValue(objConverted, valueConverted, indexConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_SetValue_2")] + internal static void /* System.Void */ System_Reflection_PropertyInfo_SetValue_2(void* /* System.Reflection.PropertyInfo */ __self, void* /* System.Object */ obj, void* /* System.Object */ value, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ invokeAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Object[] */ index, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + System.Object valueConverted = InteropUtils.GetInstance(value); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Object[] indexConverted = InteropUtils.GetInstance(index); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + __selfConverted.SetValue(objConverted, valueConverted, invokeAttr, binderConverted, indexConverted, cultureConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_Equals")] + internal static byte /* System.Boolean */ System_Reflection_PropertyInfo_Equals(void* /* System.Reflection.PropertyInfo */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetHashCode")] + internal static int /* System.Int32 */ System_Reflection_PropertyInfo_GetHashCode(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_MemberType_Get")] + internal static System.Reflection.MemberTypes /* System.Reflection.MemberTypes */ System_Reflection_PropertyInfo_MemberType_Get(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MemberTypes __returnValue = __selfConverted.MemberType; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.MemberTypes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_PropertyType_Get")] + internal static void* /* System.Type */ System_Reflection_PropertyInfo_PropertyType_Get(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.PropertyType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_Attributes_Get")] + internal static System.Reflection.PropertyAttributes /* System.Reflection.PropertyAttributes */ System_Reflection_PropertyInfo_Attributes_Get(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.PropertyAttributes __returnValue = __selfConverted.Attributes; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.PropertyAttributes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_IsSpecialName_Get")] + internal static byte /* System.Boolean */ System_Reflection_PropertyInfo_IsSpecialName_Get(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSpecialName; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_CanRead_Get")] + internal static byte /* System.Boolean */ System_Reflection_PropertyInfo_CanRead_Get(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.CanRead; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_CanWrite_Get")] + internal static byte /* System.Boolean */ System_Reflection_PropertyInfo_CanWrite_Get(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.CanWrite; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_GetMethod_Get")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_PropertyInfo_GetMethod_Get(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_SetMethod_Get")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_PropertyInfo_SetMethod_Get(void* /* System.Reflection.PropertyInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.PropertyInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.SetMethod; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_TypeOf")] + internal static void* /* System.Type */ System_Reflection_PropertyInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.PropertyInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyInfo_Destroy")] + internal static void /* System.Void */ System_Reflection_PropertyInfo_Destroy(void* /* System.Reflection.PropertyInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_PropertyAttributes +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PropertyAttributes_TypeOf")] + internal static void* /* System.Type */ System_Reflection_PropertyAttributes_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.PropertyAttributes); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_Reflection_MethodInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_GetGenericArguments")] + internal static void* /* System.Type[] */ System_Reflection_MethodInfo_GetGenericArguments(void* /* System.Reflection.MethodInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetGenericArguments(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_GetGenericMethodDefinition")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_MethodInfo_GetGenericMethodDefinition(void* /* System.Reflection.MethodInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetGenericMethodDefinition(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_MakeGenericMethod")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_MethodInfo_MakeGenericMethod(void* /* System.Reflection.MethodInfo */ __self, void* /* System.Type[] */ typeArguments, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Type[] typeArgumentsConverted = InteropUtils.GetInstance(typeArguments); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.MakeGenericMethod(typeArgumentsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_GetBaseDefinition")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_MethodInfo_GetBaseDefinition(void* /* System.Reflection.MethodInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetBaseDefinition(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_CreateDelegate")] + internal static void* /* System.Delegate */ System_Reflection_MethodInfo_CreateDelegate(void* /* System.Reflection.MethodInfo */ __self, void* /* System.Type */ delegateType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Type delegateTypeConverted = InteropUtils.GetInstance(delegateType); + + try { + System.Delegate __returnValue = __selfConverted.CreateDelegate(delegateTypeConverted); + void* __returnValueNative = new System_Delegate(__returnValue).AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_CreateDelegate_1")] + internal static void* /* System.Delegate */ System_Reflection_MethodInfo_CreateDelegate_1(void* /* System.Reflection.MethodInfo */ __self, void* /* System.Type */ delegateType, void* /* System.Object */ target, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Type delegateTypeConverted = InteropUtils.GetInstance(delegateType); + System.Object targetConverted = InteropUtils.GetInstance(target); + + try { + System.Delegate __returnValue = __selfConverted.CreateDelegate(delegateTypeConverted, targetConverted); + void* __returnValueNative = new System_Delegate(__returnValue).AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_Equals")] + internal static byte /* System.Boolean */ System_Reflection_MethodInfo_Equals(void* /* System.Reflection.MethodInfo */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_GetHashCode")] + internal static int /* System.Int32 */ System_Reflection_MethodInfo_GetHashCode(void* /* System.Reflection.MethodInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_MemberType_Get")] + internal static System.Reflection.MemberTypes /* System.Reflection.MemberTypes */ System_Reflection_MethodInfo_MemberType_Get(void* /* System.Reflection.MethodInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MemberTypes __returnValue = __selfConverted.MemberType; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.MemberTypes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_ReturnParameter_Get")] + internal static void* /* System.Reflection.ParameterInfo */ System_Reflection_MethodInfo_ReturnParameter_Get(void* /* System.Reflection.MethodInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.ParameterInfo __returnValue = __selfConverted.ReturnParameter; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_ReturnType_Get")] + internal static void* /* System.Type */ System_Reflection_MethodInfo_ReturnType_Get(void* /* System.Reflection.MethodInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.ReturnType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_ReturnTypeCustomAttributes_Get")] + internal static void* /* System.Reflection.ICustomAttributeProvider */ System_Reflection_MethodInfo_ReturnTypeCustomAttributes_Get(void* /* System.Reflection.MethodInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.MethodInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.ICustomAttributeProvider __returnValue = __selfConverted.ReturnTypeCustomAttributes; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_TypeOf")] + internal static void* /* System.Type */ System_Reflection_MethodInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.MethodInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MethodInfo_Destroy")] + internal static void /* System.Void */ System_Reflection_MethodInfo_Destroy(void* /* System.Reflection.MethodInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + + +internal unsafe class System_Collections_IDictionary +{ + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionary_Contains")] + internal static byte /* System.Boolean */ System_Collections_IDictionary_Contains(void* /* System.Collections.IDictionary */ __self, void* /* System.Object */ key, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionary __selfConverted = InteropUtils.GetInstance(__self); + + System.Object keyConverted = InteropUtils.GetInstance(key); + + try { + System.Boolean __returnValue = __selfConverted.Contains(keyConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionary_Add")] + internal static void /* System.Void */ System_Collections_IDictionary_Add(void* /* System.Collections.IDictionary */ __self, void* /* System.Object */ key, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionary __selfConverted = InteropUtils.GetInstance(__self); + + System.Object keyConverted = InteropUtils.GetInstance(key); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + __selfConverted.Add(keyConverted, valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionary_Clear")] + internal static void /* System.Void */ System_Collections_IDictionary_Clear(void* /* System.Collections.IDictionary */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionary __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Clear(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionary_GetEnumerator")] + internal static void* /* System.Collections.IDictionaryEnumerator */ System_Collections_IDictionary_GetEnumerator(void* /* System.Collections.IDictionary */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionary __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Collections.IDictionaryEnumerator __returnValue = __selfConverted.GetEnumerator(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionary_Remove")] + internal static void /* System.Void */ System_Collections_IDictionary_Remove(void* /* System.Collections.IDictionary */ __self, void* /* System.Object */ key, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionary __selfConverted = InteropUtils.GetInstance(__self); + + System.Object keyConverted = InteropUtils.GetInstance(key); + + try { + __selfConverted.Remove(keyConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionary_Item_Get")] + internal static void* /* System.Object */ System_Collections_IDictionary_Item_Get(void* /* System.Collections.IDictionary */ __self, void* /* System.Object */ key, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionary __selfConverted = InteropUtils.GetInstance(__self); + + System.Object keyConverted = InteropUtils.GetInstance(key); + + try { + System.Object __returnValue = __selfConverted[keyConverted]; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionary_Item_Set")] + internal static void /* System.Void */ System_Collections_IDictionary_Item_Set(void* /* System.Collections.IDictionary */ __self, void* /* System.Object */ key, void* /* System.Object */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionary __selfConverted = InteropUtils.GetInstance(__self); + + System.Object keyConverted = InteropUtils.GetInstance(key); + + try { + __selfConverted[keyConverted] = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionary_Keys_Get")] + internal static void* /* System.Collections.ICollection */ System_Collections_IDictionary_Keys_Get(void* /* System.Collections.IDictionary */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionary __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Collections.ICollection __returnValue = __selfConverted.Keys; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionary_Values_Get")] + internal static void* /* System.Collections.ICollection */ System_Collections_IDictionary_Values_Get(void* /* System.Collections.IDictionary */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionary __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Collections.ICollection __returnValue = __selfConverted.Values; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionary_IsReadOnly_Get")] + internal static byte /* System.Boolean */ System_Collections_IDictionary_IsReadOnly_Get(void* /* System.Collections.IDictionary */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionary __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsReadOnly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionary_IsFixedSize_Get")] + internal static byte /* System.Boolean */ System_Collections_IDictionary_IsFixedSize_Get(void* /* System.Collections.IDictionary */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionary __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFixedSize; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionary_TypeOf")] + internal static void* /* System.Type */ System_Collections_IDictionary_TypeOf() + { + + System.Type __returnValue = typeof(System.Collections.IDictionary); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionary_Destroy")] + internal static void /* System.Void */ System_Collections_IDictionary_Destroy(void* /* System.Collections.IDictionary */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Collections_IDictionaryEnumerator +{ + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionaryEnumerator_Key_Get")] + internal static void* /* System.Object */ System_Collections_IDictionaryEnumerator_Key_Get(void* /* System.Collections.IDictionaryEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionaryEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Key; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionaryEnumerator_Value_Get")] + internal static void* /* System.Object */ System_Collections_IDictionaryEnumerator_Value_Get(void* /* System.Collections.IDictionaryEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionaryEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Value; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionaryEnumerator_Entry_Get")] + internal static void* /* System.Collections.DictionaryEntry */ System_Collections_IDictionaryEnumerator_Entry_Get(void* /* System.Collections.IDictionaryEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.IDictionaryEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Collections.DictionaryEntry __returnValue = __selfConverted.Entry; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionaryEnumerator_TypeOf")] + internal static void* /* System.Type */ System_Collections_IDictionaryEnumerator_TypeOf() + { + + System.Type __returnValue = typeof(System.Collections.IDictionaryEnumerator); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_IDictionaryEnumerator_Destroy")] + internal static void /* System.Void */ System_Collections_IDictionaryEnumerator_Destroy(void* /* System.Collections.IDictionaryEnumerator */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Collections_DictionaryEntry +{ + [UnmanagedCallersOnly(EntryPoint = "System_Collections_DictionaryEntry_Deconstruct")] + internal static void /* System.Void */ System_Collections_DictionaryEntry_Deconstruct(void* /* System.Collections.DictionaryEntry */ __self, void** /* System.Object */ key, void** /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.DictionaryEntry __selfConverted = InteropUtils.GetInstance(__self); + + System.Object keyConverted; + System.Object valueConverted; + + try { + __selfConverted.Deconstruct(out keyConverted, out valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (key is not null) { + *key = keyConverted.AllocateGCHandleAndGetAddress(); + } + + if (value is not null) { + *value = valueConverted.AllocateGCHandleAndGetAddress(); + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (key is not null) { + *key = null; + } + + if (value is not null) { + *value = null; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_DictionaryEntry_ToString")] + internal static void* /* System.String */ System_Collections_DictionaryEntry_ToString(void* /* System.Collections.DictionaryEntry */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.DictionaryEntry __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_DictionaryEntry_Create")] + internal static void* /* System.Collections.DictionaryEntry */ System_Collections_DictionaryEntry_Create(void* /* System.Object */ key, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + System.Object keyConverted = InteropUtils.GetInstance(key); + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Collections.DictionaryEntry __returnValue = new System.Collections.DictionaryEntry(keyConverted, valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_DictionaryEntry_Key_Get")] + internal static void* /* System.Object */ System_Collections_DictionaryEntry_Key_Get(void* /* System.Collections.DictionaryEntry */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.DictionaryEntry __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Key; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_DictionaryEntry_Key_Set")] + internal static void /* System.Void */ System_Collections_DictionaryEntry_Key_Set(void* /* System.Collections.DictionaryEntry */ __self, void* /* System.Object */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.DictionaryEntry __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Key = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_DictionaryEntry_Value_Get")] + internal static void* /* System.Object */ System_Collections_DictionaryEntry_Value_Get(void* /* System.Collections.DictionaryEntry */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.DictionaryEntry __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Value; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_DictionaryEntry_Value_Set")] + internal static void /* System.Void */ System_Collections_DictionaryEntry_Value_Set(void* /* System.Collections.DictionaryEntry */ __self, void* /* System.Object */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Collections.DictionaryEntry __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Value = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_DictionaryEntry_Create_1")] + internal static void* /* System.Collections.DictionaryEntry */ System_Collections_DictionaryEntry_Create_1(void** /* System.Exception */ __outException) + { + + try { + System.Collections.DictionaryEntry __returnValue = new System.Collections.DictionaryEntry(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_DictionaryEntry_TypeOf")] + internal static void* /* System.Type */ System_Collections_DictionaryEntry_TypeOf() + { + + System.Type __returnValue = typeof(System.Collections.DictionaryEntry); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Collections_DictionaryEntry_Destroy")] + internal static void /* System.Void */ System_Collections_DictionaryEntry_Destroy(void* /* System.Collections.DictionaryEntry */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Threading_Tasks_Task +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Start")] + internal static void /* System.Void */ System_Threading_Tasks_Task_Start(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Start(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Start_1")] + internal static void /* System.Void */ System_Threading_Tasks_Task_Start_1(void* /* System.Threading.Tasks.Task */ __self, void* /* System.Threading.Tasks.TaskScheduler */ scheduler, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + System.Threading.Tasks.TaskScheduler schedulerConverted = InteropUtils.GetInstance(scheduler); + + try { + __selfConverted.Start(schedulerConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_RunSynchronously")] + internal static void /* System.Void */ System_Threading_Tasks_Task_RunSynchronously(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.RunSynchronously(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_RunSynchronously_1")] + internal static void /* System.Void */ System_Threading_Tasks_Task_RunSynchronously_1(void* /* System.Threading.Tasks.Task */ __self, void* /* System.Threading.Tasks.TaskScheduler */ scheduler, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + System.Threading.Tasks.TaskScheduler schedulerConverted = InteropUtils.GetInstance(scheduler); + + try { + __selfConverted.RunSynchronously(schedulerConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Dispose")] + internal static void /* System.Void */ System_Threading_Tasks_Task_Dispose(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Dispose(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_GetAwaiter")] + internal static void* /* System.Runtime.CompilerServices.TaskAwaiter */ System_Threading_Tasks_Task_GetAwaiter(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Runtime.CompilerServices.TaskAwaiter __returnValue = __selfConverted.GetAwaiter(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_ConfigureAwait")] + internal static void* /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable */ System_Threading_Tasks_Task_ConfigureAwait(void* /* System.Threading.Tasks.Task */ __self, byte /* System.Boolean */ continueOnCapturedContext, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean continueOnCapturedContextConverted = continueOnCapturedContext.ToBool(); + + try { + System.Runtime.CompilerServices.ConfiguredTaskAwaitable __returnValue = __selfConverted.ConfigureAwait(continueOnCapturedContextConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_ConfigureAwait_1")] + internal static void* /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable */ System_Threading_Tasks_Task_ConfigureAwait_1(void* /* System.Threading.Tasks.Task */ __self, System.Threading.Tasks.ConfigureAwaitOptions /* System.Threading.Tasks.ConfigureAwaitOptions */ options, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Runtime.CompilerServices.ConfiguredTaskAwaitable __returnValue = __selfConverted.ConfigureAwait(options); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Yield")] + internal static void* /* System.Runtime.CompilerServices.YieldAwaitable */ System_Threading_Tasks_Task_Yield(void** /* System.Exception */ __outException) + { + + try { + System.Runtime.CompilerServices.YieldAwaitable __returnValue = System.Threading.Tasks.Task.Yield(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Wait")] + internal static void /* System.Void */ System_Threading_Tasks_Task_Wait(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Wait(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Wait_1")] + internal static byte /* System.Boolean */ System_Threading_Tasks_Task_Wait_1(void* /* System.Threading.Tasks.Task */ __self, void* /* System.TimeSpan */ timeout, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + + try { + System.Boolean __returnValue = __selfConverted.Wait(timeoutConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Wait_2")] + internal static byte /* System.Boolean */ System_Threading_Tasks_Task_Wait_2(void* /* System.Threading.Tasks.Task */ __self, void* /* System.TimeSpan */ timeout, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Boolean __returnValue = __selfConverted.Wait(timeoutConverted, cancellationTokenConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Wait_3")] + internal static void /* System.Void */ System_Threading_Tasks_Task_Wait_3(void* /* System.Threading.Tasks.Task */ __self, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + __selfConverted.Wait(cancellationTokenConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Wait_4")] + internal static byte /* System.Boolean */ System_Threading_Tasks_Task_Wait_4(void* /* System.Threading.Tasks.Task */ __self, int /* System.Int32 */ millisecondsTimeout, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.Wait(millisecondsTimeout); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Wait_5")] + internal static byte /* System.Boolean */ System_Threading_Tasks_Task_Wait_5(void* /* System.Threading.Tasks.Task */ __self, int /* System.Int32 */ millisecondsTimeout, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Boolean __returnValue = __selfConverted.Wait(millisecondsTimeout, cancellationTokenConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAsync")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_WaitAsync(void* /* System.Threading.Tasks.Task */ __self, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.WaitAsync(cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAsync_1")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_WaitAsync_1(void* /* System.Threading.Tasks.Task */ __self, void* /* System.TimeSpan */ timeout, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.WaitAsync(timeoutConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAsync_2")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_WaitAsync_2(void* /* System.Threading.Tasks.Task */ __self, void* /* System.TimeSpan */ timeout, void* /* System.TimeProvider */ timeProvider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + System.TimeProvider timeProviderConverted = InteropUtils.GetInstance(timeProvider); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.WaitAsync(timeoutConverted, timeProviderConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAsync_3")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_WaitAsync_3(void* /* System.Threading.Tasks.Task */ __self, void* /* System.TimeSpan */ timeout, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.WaitAsync(timeoutConverted, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAsync_4")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_WaitAsync_4(void* /* System.Threading.Tasks.Task */ __self, void* /* System.TimeSpan */ timeout, void* /* System.TimeProvider */ timeProvider, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + System.TimeProvider timeProviderConverted = InteropUtils.GetInstance(timeProvider); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.WaitAsync(timeoutConverted, timeProviderConverted, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAll")] + internal static void /* System.Void */ System_Threading_Tasks_Task_WaitAll(void* /* System.Threading.Tasks.Task[] */ tasks, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.Task[] tasksConverted = InteropUtils.GetInstance(tasks); + + try { + System.Threading.Tasks.Task.WaitAll(tasksConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAll_1")] + internal static byte /* System.Boolean */ System_Threading_Tasks_Task_WaitAll_1(void* /* System.Threading.Tasks.Task[] */ tasks, void* /* System.TimeSpan */ timeout, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.Task[] tasksConverted = InteropUtils.GetInstance(tasks); + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + + try { + System.Boolean __returnValue = System.Threading.Tasks.Task.WaitAll(tasksConverted, timeoutConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAll_2")] + internal static byte /* System.Boolean */ System_Threading_Tasks_Task_WaitAll_2(void* /* System.Threading.Tasks.Task[] */ tasks, int /* System.Int32 */ millisecondsTimeout, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.Task[] tasksConverted = InteropUtils.GetInstance(tasks); + + try { + System.Boolean __returnValue = System.Threading.Tasks.Task.WaitAll(tasksConverted, millisecondsTimeout); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAll_3")] + internal static void /* System.Void */ System_Threading_Tasks_Task_WaitAll_3(void* /* System.Threading.Tasks.Task[] */ tasks, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.Task[] tasksConverted = InteropUtils.GetInstance(tasks); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task.WaitAll(tasksConverted, cancellationTokenConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAll_4")] + internal static byte /* System.Boolean */ System_Threading_Tasks_Task_WaitAll_4(void* /* System.Threading.Tasks.Task[] */ tasks, int /* System.Int32 */ millisecondsTimeout, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.Task[] tasksConverted = InteropUtils.GetInstance(tasks); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Boolean __returnValue = System.Threading.Tasks.Task.WaitAll(tasksConverted, millisecondsTimeout, cancellationTokenConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAny")] + internal static int /* System.Int32 */ System_Threading_Tasks_Task_WaitAny(void* /* System.Threading.Tasks.Task[] */ tasks, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.Task[] tasksConverted = InteropUtils.GetInstance(tasks); + + try { + System.Int32 __returnValue = System.Threading.Tasks.Task.WaitAny(tasksConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAny_1")] + internal static int /* System.Int32 */ System_Threading_Tasks_Task_WaitAny_1(void* /* System.Threading.Tasks.Task[] */ tasks, void* /* System.TimeSpan */ timeout, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.Task[] tasksConverted = InteropUtils.GetInstance(tasks); + System.TimeSpan timeoutConverted = InteropUtils.GetInstance(timeout); + + try { + System.Int32 __returnValue = System.Threading.Tasks.Task.WaitAny(tasksConverted, timeoutConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAny_2")] + internal static int /* System.Int32 */ System_Threading_Tasks_Task_WaitAny_2(void* /* System.Threading.Tasks.Task[] */ tasks, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.Task[] tasksConverted = InteropUtils.GetInstance(tasks); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Int32 __returnValue = System.Threading.Tasks.Task.WaitAny(tasksConverted, cancellationTokenConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAny_3")] + internal static int /* System.Int32 */ System_Threading_Tasks_Task_WaitAny_3(void* /* System.Threading.Tasks.Task[] */ tasks, int /* System.Int32 */ millisecondsTimeout, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.Task[] tasksConverted = InteropUtils.GetInstance(tasks); + + try { + System.Int32 __returnValue = System.Threading.Tasks.Task.WaitAny(tasksConverted, millisecondsTimeout); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WaitAny_4")] + internal static int /* System.Int32 */ System_Threading_Tasks_Task_WaitAny_4(void* /* System.Threading.Tasks.Task[] */ tasks, int /* System.Int32 */ millisecondsTimeout, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.Task[] tasksConverted = InteropUtils.GetInstance(tasks); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Int32 __returnValue = System.Threading.Tasks.Task.WaitAny(tasksConverted, millisecondsTimeout, cancellationTokenConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_FromException")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_FromException(void* /* System.Exception */ exception, void** /* System.Exception */ __outException) + { + System.Exception exceptionConverted = InteropUtils.GetInstance(exception); + + try { + System.Threading.Tasks.Task __returnValue = System.Threading.Tasks.Task.FromException(exceptionConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_FromCanceled")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_FromCanceled(void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = System.Threading.Tasks.Task.FromCanceled(cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Run_1")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_Run_1(void* /* System.Action */ action, void** /* System.Exception */ __outException) + { + System.Action actionConverted = InteropUtils.GetInstance(action)?.Trampoline; + + try { + System.Threading.Tasks.Task __returnValue = System.Threading.Tasks.Task.Run(actionConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Run_2")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_Run_2(void* /* System.Action */ action, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + System.Action actionConverted = InteropUtils.GetInstance(action)?.Trampoline; + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = System.Threading.Tasks.Task.Run(actionConverted, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Delay")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_Delay(void* /* System.TimeSpan */ delay, void** /* System.Exception */ __outException) + { + System.TimeSpan delayConverted = InteropUtils.GetInstance(delay); + + try { + System.Threading.Tasks.Task __returnValue = System.Threading.Tasks.Task.Delay(delayConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Delay_1")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_Delay_1(void* /* System.TimeSpan */ delay, void* /* System.TimeProvider */ timeProvider, void** /* System.Exception */ __outException) + { + System.TimeSpan delayConverted = InteropUtils.GetInstance(delay); + System.TimeProvider timeProviderConverted = InteropUtils.GetInstance(timeProvider); + + try { + System.Threading.Tasks.Task __returnValue = System.Threading.Tasks.Task.Delay(delayConverted, timeProviderConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Delay_2")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_Delay_2(void* /* System.TimeSpan */ delay, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + System.TimeSpan delayConverted = InteropUtils.GetInstance(delay); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = System.Threading.Tasks.Task.Delay(delayConverted, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Delay_3")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_Delay_3(void* /* System.TimeSpan */ delay, void* /* System.TimeProvider */ timeProvider, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + System.TimeSpan delayConverted = InteropUtils.GetInstance(delay); + System.TimeProvider timeProviderConverted = InteropUtils.GetInstance(timeProvider); + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = System.Threading.Tasks.Task.Delay(delayConverted, timeProviderConverted, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Delay_4")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_Delay_4(int /* System.Int32 */ millisecondsDelay, void** /* System.Exception */ __outException) + { + + try { + System.Threading.Tasks.Task __returnValue = System.Threading.Tasks.Task.Delay(millisecondsDelay); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Delay_5")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_Delay_5(int /* System.Int32 */ millisecondsDelay, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = System.Threading.Tasks.Task.Delay(millisecondsDelay, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_WhenAll")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_WhenAll(void* /* System.Threading.Tasks.Task[] */ tasks, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.Task[] tasksConverted = InteropUtils.GetInstance(tasks); + + try { + System.Threading.Tasks.Task __returnValue = System.Threading.Tasks.Task.WhenAll(tasksConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Create")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_Create(void* /* System.Action */ action, void** /* System.Exception */ __outException) + { + System.Action actionConverted = InteropUtils.GetInstance(action)?.Trampoline; + + try { + System.Threading.Tasks.Task __returnValue = new System.Threading.Tasks.Task(actionConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Create_1")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_Create_1(void* /* System.Action */ action, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + System.Action actionConverted = InteropUtils.GetInstance(action)?.Trampoline; + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = new System.Threading.Tasks.Task(actionConverted, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Create_2")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_Create_2(void* /* System.Action */ action, System.Threading.Tasks.TaskCreationOptions /* System.Threading.Tasks.TaskCreationOptions */ creationOptions, void** /* System.Exception */ __outException) + { + System.Action actionConverted = InteropUtils.GetInstance(action)?.Trampoline; + + try { + System.Threading.Tasks.Task __returnValue = new System.Threading.Tasks.Task(actionConverted, creationOptions); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Create_3")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_Create_3(void* /* System.Action */ action, void* /* System.Threading.CancellationToken */ cancellationToken, System.Threading.Tasks.TaskCreationOptions /* System.Threading.Tasks.TaskCreationOptions */ creationOptions, void** /* System.Exception */ __outException) + { + System.Action actionConverted = InteropUtils.GetInstance(action)?.Trampoline; + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = new System.Threading.Tasks.Task(actionConverted, cancellationTokenConverted, creationOptions); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Id_Get")] + internal static int /* System.Int32 */ System_Threading_Tasks_Task_Id_Get(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Id; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Exception_Get")] + internal static void* /* System.AggregateException */ System_Threading_Tasks_Task_Exception_Get(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.AggregateException __returnValue = __selfConverted.Exception; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Status_Get")] + internal static System.Threading.Tasks.TaskStatus /* System.Threading.Tasks.TaskStatus */ System_Threading_Tasks_Task_Status_Get(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.Tasks.TaskStatus __returnValue = __selfConverted.Status; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Threading.Tasks.TaskStatus); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_IsCanceled_Get")] + internal static byte /* System.Boolean */ System_Threading_Tasks_Task_IsCanceled_Get(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCanceled; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_IsCompleted_Get")] + internal static byte /* System.Boolean */ System_Threading_Tasks_Task_IsCompleted_Get(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCompleted; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_IsCompletedSuccessfully_Get")] + internal static byte /* System.Boolean */ System_Threading_Tasks_Task_IsCompletedSuccessfully_Get(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCompletedSuccessfully; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_CreationOptions_Get")] + internal static System.Threading.Tasks.TaskCreationOptions /* System.Threading.Tasks.TaskCreationOptions */ System_Threading_Tasks_Task_CreationOptions_Get(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.Tasks.TaskCreationOptions __returnValue = __selfConverted.CreationOptions; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Threading.Tasks.TaskCreationOptions); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_AsyncState_Get")] + internal static void* /* System.Object */ System_Threading_Tasks_Task_AsyncState_Get(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.AsyncState; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Factory_Get")] + internal static void* /* System.Threading.Tasks.TaskFactory */ System_Threading_Tasks_Task_Factory_Get(void** /* System.Exception */ __outException) + { + + try { + System.Threading.Tasks.TaskFactory __returnValue = System.Threading.Tasks.Task.Factory; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_CompletedTask_Get")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_Task_CompletedTask_Get(void** /* System.Exception */ __outException) + { + + try { + System.Threading.Tasks.Task __returnValue = System.Threading.Tasks.Task.CompletedTask; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_IsFaulted_Get")] + internal static byte /* System.Boolean */ System_Threading_Tasks_Task_IsFaulted_Get(void* /* System.Threading.Tasks.Task */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Task __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFaulted; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_TypeOf")] + internal static void* /* System.Type */ System_Threading_Tasks_Task_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.Tasks.Task); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Task_Destroy")] + internal static void /* System.Void */ System_Threading_Tasks_Task_Destroy(void* /* System.Threading.Tasks.Task */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_IAsyncResult +{ + [UnmanagedCallersOnly(EntryPoint = "System_IAsyncResult_IsCompleted_Get")] + internal static byte /* System.Boolean */ System_IAsyncResult_IsCompleted_Get(void* /* System.IAsyncResult */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IAsyncResult __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCompleted; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IAsyncResult_AsyncWaitHandle_Get")] + internal static void* /* System.Threading.WaitHandle */ System_IAsyncResult_AsyncWaitHandle_Get(void* /* System.IAsyncResult */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IAsyncResult __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.WaitHandle __returnValue = __selfConverted.AsyncWaitHandle; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IAsyncResult_AsyncState_Get")] + internal static void* /* System.Object */ System_IAsyncResult_AsyncState_Get(void* /* System.IAsyncResult */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IAsyncResult __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.AsyncState; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IAsyncResult_CompletedSynchronously_Get")] + internal static byte /* System.Boolean */ System_IAsyncResult_CompletedSynchronously_Get(void* /* System.IAsyncResult */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IAsyncResult __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.CompletedSynchronously; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IAsyncResult_TypeOf")] + internal static void* /* System.Type */ System_IAsyncResult_TypeOf() + { + + System.Type __returnValue = typeof(System.IAsyncResult); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_IAsyncResult_Destroy")] + internal static void /* System.Void */ System_IAsyncResult_Destroy(void* /* System.IAsyncResult */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Threading_Tasks_TaskScheduler +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskScheduler_FromCurrentSynchronizationContext")] + internal static void* /* System.Threading.Tasks.TaskScheduler */ System_Threading_Tasks_TaskScheduler_FromCurrentSynchronizationContext(void** /* System.Exception */ __outException) + { + + try { + System.Threading.Tasks.TaskScheduler __returnValue = System.Threading.Tasks.TaskScheduler.FromCurrentSynchronizationContext(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskScheduler_MaximumConcurrencyLevel_Get")] + internal static int /* System.Int32 */ System_Threading_Tasks_TaskScheduler_MaximumConcurrencyLevel_Get(void* /* System.Threading.Tasks.TaskScheduler */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.TaskScheduler __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.MaximumConcurrencyLevel; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskScheduler_Default_Get")] + internal static void* /* System.Threading.Tasks.TaskScheduler */ System_Threading_Tasks_TaskScheduler_Default_Get(void** /* System.Exception */ __outException) + { + + try { + System.Threading.Tasks.TaskScheduler __returnValue = System.Threading.Tasks.TaskScheduler.Default; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskScheduler_Current_Get")] + internal static void* /* System.Threading.Tasks.TaskScheduler */ System_Threading_Tasks_TaskScheduler_Current_Get(void** /* System.Exception */ __outException) + { + + try { + System.Threading.Tasks.TaskScheduler __returnValue = System.Threading.Tasks.TaskScheduler.Current; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskScheduler_Id_Get")] + internal static int /* System.Int32 */ System_Threading_Tasks_TaskScheduler_Id_Get(void* /* System.Threading.Tasks.TaskScheduler */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.TaskScheduler __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Id; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskScheduler_TypeOf")] + internal static void* /* System.Type */ System_Threading_Tasks_TaskScheduler_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.Tasks.TaskScheduler); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskScheduler_Destroy")] + internal static void /* System.Void */ System_Threading_Tasks_TaskScheduler_Destroy(void* /* System.Threading.Tasks.TaskScheduler */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_AggregateException +{ + [UnmanagedCallersOnly(EntryPoint = "System_AggregateException_GetObjectData")] + internal static void /* System.Void */ System_AggregateException_GetObjectData(void* /* System.AggregateException */ __self, void* /* System.Runtime.Serialization.SerializationInfo */ info, void* /* System.Runtime.Serialization.StreamingContext */ context, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.AggregateException __selfConverted = InteropUtils.GetInstance(__self); + + System.Runtime.Serialization.SerializationInfo infoConverted = InteropUtils.GetInstance(info); + System.Runtime.Serialization.StreamingContext contextConverted = InteropUtils.GetInstance(context); + + try { + __selfConverted.GetObjectData(infoConverted, contextConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AggregateException_GetBaseException")] + internal static void* /* System.Exception */ System_AggregateException_GetBaseException(void* /* System.AggregateException */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.AggregateException __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Exception __returnValue = __selfConverted.GetBaseException(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AggregateException_Flatten")] + internal static void* /* System.AggregateException */ System_AggregateException_Flatten(void* /* System.AggregateException */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.AggregateException __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.AggregateException __returnValue = __selfConverted.Flatten(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AggregateException_ToString")] + internal static void* /* System.String */ System_AggregateException_ToString(void* /* System.AggregateException */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.AggregateException __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AggregateException_Create")] + internal static void* /* System.AggregateException */ System_AggregateException_Create(void** /* System.Exception */ __outException) + { + + try { + System.AggregateException __returnValue = new System.AggregateException(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AggregateException_Create_1")] + internal static void* /* System.AggregateException */ System_AggregateException_Create_1(void* /* System.String */ message, void** /* System.Exception */ __outException) + { + System.String messageConverted = InteropUtils.GetInstance(message); + + try { + System.AggregateException __returnValue = new System.AggregateException(messageConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AggregateException_Create_2")] + internal static void* /* System.AggregateException */ System_AggregateException_Create_2(void* /* System.String */ message, void* /* System.Exception */ innerException, void** /* System.Exception */ __outException) + { + System.String messageConverted = InteropUtils.GetInstance(message); + System.Exception innerExceptionConverted = InteropUtils.GetInstance(innerException); + + try { + System.AggregateException __returnValue = new System.AggregateException(messageConverted, innerExceptionConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AggregateException_Create_3")] + internal static void* /* System.AggregateException */ System_AggregateException_Create_3(void* /* System.Exception[] */ innerExceptions, void** /* System.Exception */ __outException) + { + System.Exception[] innerExceptionsConverted = InteropUtils.GetInstance(innerExceptions); + + try { + System.AggregateException __returnValue = new System.AggregateException(innerExceptionsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AggregateException_Create_4")] + internal static void* /* System.AggregateException */ System_AggregateException_Create_4(void* /* System.String */ message, void* /* System.Exception[] */ innerExceptions, void** /* System.Exception */ __outException) + { + System.String messageConverted = InteropUtils.GetInstance(message); + System.Exception[] innerExceptionsConverted = InteropUtils.GetInstance(innerExceptions); + + try { + System.AggregateException __returnValue = new System.AggregateException(messageConverted, innerExceptionsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AggregateException_Message_Get")] + internal static void* /* System.String */ System_AggregateException_Message_Get(void* /* System.AggregateException */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.AggregateException __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Message; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_AggregateException_TypeOf")] + internal static void* /* System.Type */ System_AggregateException_TypeOf() + { + + System.Type __returnValue = typeof(System.AggregateException); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_AggregateException_Destroy")] + internal static void /* System.Void */ System_AggregateException_Destroy(void* /* System.AggregateException */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + +internal unsafe class System_Threading_Tasks_TaskStatus +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskStatus_TypeOf")] + internal static void* /* System.Type */ System_Threading_Tasks_TaskStatus_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.Tasks.TaskStatus); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Threading_Tasks_TaskCreationOptions +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskCreationOptions_TypeOf")] + internal static void* /* System.Type */ System_Threading_Tasks_TaskCreationOptions_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.Tasks.TaskCreationOptions); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Threading_Tasks_TaskFactory +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_StartNew")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_TaskFactory_StartNew(void* /* System.Threading.Tasks.TaskFactory */ __self, void* /* System.Action */ action, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.TaskFactory __selfConverted = InteropUtils.GetInstance(__self); + + System.Action actionConverted = InteropUtils.GetInstance(action)?.Trampoline; + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.StartNew(actionConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_StartNew_1")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_TaskFactory_StartNew_1(void* /* System.Threading.Tasks.TaskFactory */ __self, void* /* System.Action */ action, void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.TaskFactory __selfConverted = InteropUtils.GetInstance(__self); + + System.Action actionConverted = InteropUtils.GetInstance(action)?.Trampoline; + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.StartNew(actionConverted, cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_StartNew_2")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_TaskFactory_StartNew_2(void* /* System.Threading.Tasks.TaskFactory */ __self, void* /* System.Action */ action, System.Threading.Tasks.TaskCreationOptions /* System.Threading.Tasks.TaskCreationOptions */ creationOptions, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.TaskFactory __selfConverted = InteropUtils.GetInstance(__self); + + System.Action actionConverted = InteropUtils.GetInstance(action)?.Trampoline; + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.StartNew(actionConverted, creationOptions); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_StartNew_3")] + internal static void* /* System.Threading.Tasks.Task */ System_Threading_Tasks_TaskFactory_StartNew_3(void* /* System.Threading.Tasks.TaskFactory */ __self, void* /* System.Action */ action, void* /* System.Threading.CancellationToken */ cancellationToken, System.Threading.Tasks.TaskCreationOptions /* System.Threading.Tasks.TaskCreationOptions */ creationOptions, void* /* System.Threading.Tasks.TaskScheduler */ scheduler, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.TaskFactory __selfConverted = InteropUtils.GetInstance(__self); + + System.Action actionConverted = InteropUtils.GetInstance(action)?.Trampoline; + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + System.Threading.Tasks.TaskScheduler schedulerConverted = InteropUtils.GetInstance(scheduler); + + try { + System.Threading.Tasks.Task __returnValue = __selfConverted.StartNew(actionConverted, cancellationTokenConverted, creationOptions, schedulerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_Create")] + internal static void* /* System.Threading.Tasks.TaskFactory */ System_Threading_Tasks_TaskFactory_Create(void** /* System.Exception */ __outException) + { + + try { + System.Threading.Tasks.TaskFactory __returnValue = new System.Threading.Tasks.TaskFactory(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_Create_1")] + internal static void* /* System.Threading.Tasks.TaskFactory */ System_Threading_Tasks_TaskFactory_Create_1(void* /* System.Threading.CancellationToken */ cancellationToken, void** /* System.Exception */ __outException) + { + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + + try { + System.Threading.Tasks.TaskFactory __returnValue = new System.Threading.Tasks.TaskFactory(cancellationTokenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_Create_2")] + internal static void* /* System.Threading.Tasks.TaskFactory */ System_Threading_Tasks_TaskFactory_Create_2(void* /* System.Threading.Tasks.TaskScheduler */ scheduler, void** /* System.Exception */ __outException) + { + System.Threading.Tasks.TaskScheduler schedulerConverted = InteropUtils.GetInstance(scheduler); + + try { + System.Threading.Tasks.TaskFactory __returnValue = new System.Threading.Tasks.TaskFactory(schedulerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_Create_3")] + internal static void* /* System.Threading.Tasks.TaskFactory */ System_Threading_Tasks_TaskFactory_Create_3(System.Threading.Tasks.TaskCreationOptions /* System.Threading.Tasks.TaskCreationOptions */ creationOptions, System.Threading.Tasks.TaskContinuationOptions /* System.Threading.Tasks.TaskContinuationOptions */ continuationOptions, void** /* System.Exception */ __outException) + { + + try { + System.Threading.Tasks.TaskFactory __returnValue = new System.Threading.Tasks.TaskFactory(creationOptions, continuationOptions); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_Create_4")] + internal static void* /* System.Threading.Tasks.TaskFactory */ System_Threading_Tasks_TaskFactory_Create_4(void* /* System.Threading.CancellationToken */ cancellationToken, System.Threading.Tasks.TaskCreationOptions /* System.Threading.Tasks.TaskCreationOptions */ creationOptions, System.Threading.Tasks.TaskContinuationOptions /* System.Threading.Tasks.TaskContinuationOptions */ continuationOptions, void* /* System.Threading.Tasks.TaskScheduler */ scheduler, void** /* System.Exception */ __outException) + { + System.Threading.CancellationToken cancellationTokenConverted = InteropUtils.GetInstance(cancellationToken); + System.Threading.Tasks.TaskScheduler schedulerConverted = InteropUtils.GetInstance(scheduler); + + try { + System.Threading.Tasks.TaskFactory __returnValue = new System.Threading.Tasks.TaskFactory(cancellationTokenConverted, creationOptions, continuationOptions, schedulerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_CancellationToken_Get")] + internal static void* /* System.Threading.CancellationToken */ System_Threading_Tasks_TaskFactory_CancellationToken_Get(void* /* System.Threading.Tasks.TaskFactory */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.TaskFactory __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.CancellationToken __returnValue = __selfConverted.CancellationToken; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_Scheduler_Get")] + internal static void* /* System.Threading.Tasks.TaskScheduler */ System_Threading_Tasks_TaskFactory_Scheduler_Get(void* /* System.Threading.Tasks.TaskFactory */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.TaskFactory __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.Tasks.TaskScheduler __returnValue = __selfConverted.Scheduler; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_CreationOptions_Get")] + internal static System.Threading.Tasks.TaskCreationOptions /* System.Threading.Tasks.TaskCreationOptions */ System_Threading_Tasks_TaskFactory_CreationOptions_Get(void* /* System.Threading.Tasks.TaskFactory */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.TaskFactory __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.Tasks.TaskCreationOptions __returnValue = __selfConverted.CreationOptions; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Threading.Tasks.TaskCreationOptions); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_ContinuationOptions_Get")] + internal static System.Threading.Tasks.TaskContinuationOptions /* System.Threading.Tasks.TaskContinuationOptions */ System_Threading_Tasks_TaskFactory_ContinuationOptions_Get(void* /* System.Threading.Tasks.TaskFactory */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.TaskFactory __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.Tasks.TaskContinuationOptions __returnValue = __selfConverted.ContinuationOptions; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Threading.Tasks.TaskContinuationOptions); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_TypeOf")] + internal static void* /* System.Type */ System_Threading_Tasks_TaskFactory_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.Tasks.TaskFactory); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskFactory_Destroy")] + internal static void /* System.Void */ System_Threading_Tasks_TaskFactory_Destroy(void* /* System.Threading.Tasks.TaskFactory */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Threading_Tasks_TaskContinuationOptions +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_TaskContinuationOptions_TypeOf")] + internal static void* /* System.Type */ System_Threading_Tasks_TaskContinuationOptions_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.Tasks.TaskContinuationOptions); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + + +internal unsafe class System_Runtime_CompilerServices_TaskAwaiter +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_TaskAwaiter_OnCompleted")] + internal static void /* System.Void */ System_Runtime_CompilerServices_TaskAwaiter_OnCompleted(void* /* System.Runtime.CompilerServices.TaskAwaiter */ __self, void* /* System.Action */ continuation, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.TaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + System.Action continuationConverted = InteropUtils.GetInstance(continuation)?.Trampoline; + + try { + __selfConverted.OnCompleted(continuationConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_TaskAwaiter_UnsafeOnCompleted")] + internal static void /* System.Void */ System_Runtime_CompilerServices_TaskAwaiter_UnsafeOnCompleted(void* /* System.Runtime.CompilerServices.TaskAwaiter */ __self, void* /* System.Action */ continuation, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.TaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + System.Action continuationConverted = InteropUtils.GetInstance(continuation)?.Trampoline; + + try { + __selfConverted.UnsafeOnCompleted(continuationConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_TaskAwaiter_GetResult")] + internal static void /* System.Void */ System_Runtime_CompilerServices_TaskAwaiter_GetResult(void* /* System.Runtime.CompilerServices.TaskAwaiter */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.TaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.GetResult(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_TaskAwaiter_IsCompleted_Get")] + internal static byte /* System.Boolean */ System_Runtime_CompilerServices_TaskAwaiter_IsCompleted_Get(void* /* System.Runtime.CompilerServices.TaskAwaiter */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.TaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCompleted; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_TaskAwaiter_Create")] + internal static void* /* System.Runtime.CompilerServices.TaskAwaiter */ System_Runtime_CompilerServices_TaskAwaiter_Create(void** /* System.Exception */ __outException) + { + + try { + System.Runtime.CompilerServices.TaskAwaiter __returnValue = new System.Runtime.CompilerServices.TaskAwaiter(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_TaskAwaiter_TypeOf")] + internal static void* /* System.Type */ System_Runtime_CompilerServices_TaskAwaiter_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.CompilerServices.TaskAwaiter); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_TaskAwaiter_Destroy")] + internal static void /* System.Void */ System_Runtime_CompilerServices_TaskAwaiter_Destroy(void* /* System.Runtime.CompilerServices.TaskAwaiter */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_CompilerServices_ICriticalNotifyCompletion +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ICriticalNotifyCompletion_UnsafeOnCompleted")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ICriticalNotifyCompletion_UnsafeOnCompleted(void* /* System.Runtime.CompilerServices.ICriticalNotifyCompletion */ __self, void* /* System.Action */ continuation, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ICriticalNotifyCompletion __selfConverted = InteropUtils.GetInstance(__self); + + System.Action continuationConverted = InteropUtils.GetInstance(continuation)?.Trampoline; + + try { + __selfConverted.UnsafeOnCompleted(continuationConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ICriticalNotifyCompletion_TypeOf")] + internal static void* /* System.Type */ System_Runtime_CompilerServices_ICriticalNotifyCompletion_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.CompilerServices.ICriticalNotifyCompletion); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ICriticalNotifyCompletion_Destroy")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ICriticalNotifyCompletion_Destroy(void* /* System.Runtime.CompilerServices.ICriticalNotifyCompletion */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_CompilerServices_INotifyCompletion +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_INotifyCompletion_OnCompleted")] + internal static void /* System.Void */ System_Runtime_CompilerServices_INotifyCompletion_OnCompleted(void* /* System.Runtime.CompilerServices.INotifyCompletion */ __self, void* /* System.Action */ continuation, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.INotifyCompletion __selfConverted = InteropUtils.GetInstance(__self); + + System.Action continuationConverted = InteropUtils.GetInstance(continuation)?.Trampoline; + + try { + __selfConverted.OnCompleted(continuationConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_INotifyCompletion_TypeOf")] + internal static void* /* System.Type */ System_Runtime_CompilerServices_INotifyCompletion_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.CompilerServices.INotifyCompletion); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_INotifyCompletion_Destroy")] + internal static void /* System.Void */ System_Runtime_CompilerServices_INotifyCompletion_Destroy(void* /* System.Runtime.CompilerServices.INotifyCompletion */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_CompilerServices_ConfiguredTaskAwaitable +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredTaskAwaitable_GetAwaiter")] + internal static void* /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ System_Runtime_CompilerServices_ConfiguredTaskAwaitable_GetAwaiter(void* /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ConfiguredTaskAwaitable __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter __returnValue = __selfConverted.GetAwaiter(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Create")] + internal static void* /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable */ System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Create(void** /* System.Exception */ __outException) + { + + try { + System.Runtime.CompilerServices.ConfiguredTaskAwaitable __returnValue = new System.Runtime.CompilerServices.ConfiguredTaskAwaitable(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredTaskAwaitable_TypeOf")] + internal static void* /* System.Type */ System_Runtime_CompilerServices_ConfiguredTaskAwaitable_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.CompilerServices.ConfiguredTaskAwaitable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Destroy")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Destroy(void* /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_OnCompleted")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_OnCompleted(void* /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ __self, void* /* System.Action */ continuation, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + System.Action continuationConverted = InteropUtils.GetInstance(continuation)?.Trampoline; + + try { + __selfConverted.OnCompleted(continuationConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_UnsafeOnCompleted")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_UnsafeOnCompleted(void* /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ __self, void* /* System.Action */ continuation, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + System.Action continuationConverted = InteropUtils.GetInstance(continuation)?.Trampoline; + + try { + __selfConverted.UnsafeOnCompleted(continuationConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_GetResult")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_GetResult(void* /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.GetResult(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_IsCompleted_Get")] + internal static byte /* System.Boolean */ System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_IsCompleted_Get(void* /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCompleted; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Create")] + internal static void* /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Create(void** /* System.Exception */ __outException) + { + + try { + System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter __returnValue = new System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_TypeOf")] + internal static void* /* System.Type */ System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Destroy")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Destroy(void* /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Threading_Tasks_ConfigureAwaitOptions +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_ConfigureAwaitOptions_TypeOf")] + internal static void* /* System.Type */ System_Threading_Tasks_ConfigureAwaitOptions_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.Tasks.ConfigureAwaitOptions); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Runtime_CompilerServices_YieldAwaitable +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_YieldAwaitable_GetAwaiter")] + internal static void* /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ System_Runtime_CompilerServices_YieldAwaitable_GetAwaiter(void* /* System.Runtime.CompilerServices.YieldAwaitable */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.YieldAwaitable __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter __returnValue = __selfConverted.GetAwaiter(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_YieldAwaitable_Create")] + internal static void* /* System.Runtime.CompilerServices.YieldAwaitable */ System_Runtime_CompilerServices_YieldAwaitable_Create(void** /* System.Exception */ __outException) + { + + try { + System.Runtime.CompilerServices.YieldAwaitable __returnValue = new System.Runtime.CompilerServices.YieldAwaitable(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_YieldAwaitable_TypeOf")] + internal static void* /* System.Type */ System_Runtime_CompilerServices_YieldAwaitable_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.CompilerServices.YieldAwaitable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_YieldAwaitable_Destroy")] + internal static void /* System.Void */ System_Runtime_CompilerServices_YieldAwaitable_Destroy(void* /* System.Runtime.CompilerServices.YieldAwaitable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_OnCompleted")] + internal static void /* System.Void */ System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_OnCompleted(void* /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ __self, void* /* System.Action */ continuation, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + System.Action continuationConverted = InteropUtils.GetInstance(continuation)?.Trampoline; + + try { + __selfConverted.OnCompleted(continuationConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_UnsafeOnCompleted")] + internal static void /* System.Void */ System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_UnsafeOnCompleted(void* /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ __self, void* /* System.Action */ continuation, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + System.Action continuationConverted = InteropUtils.GetInstance(continuation)?.Trampoline; + + try { + __selfConverted.UnsafeOnCompleted(continuationConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_GetResult")] + internal static void /* System.Void */ System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_GetResult(void* /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.GetResult(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_IsCompleted_Get")] + internal static byte /* System.Boolean */ System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_IsCompleted_Get(void* /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCompleted; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Create")] + internal static void* /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Create(void** /* System.Exception */ __outException) + { + + try { + System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter __returnValue = new System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_TypeOf")] + internal static void* /* System.Type */ System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Destroy")] + internal static void /* System.Void */ System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Destroy(void* /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_TimeProvider +{ + [UnmanagedCallersOnly(EntryPoint = "System_TimeProvider_GetUtcNow")] + internal static void* /* System.DateTimeOffset */ System_TimeProvider_GetUtcNow(void* /* System.TimeProvider */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeProvider __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeOffset __returnValue = __selfConverted.GetUtcNow(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeProvider_GetLocalNow")] + internal static void* /* System.DateTimeOffset */ System_TimeProvider_GetLocalNow(void* /* System.TimeProvider */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeProvider __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeOffset __returnValue = __selfConverted.GetLocalNow(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeProvider_GetTimestamp")] + internal static long /* System.Int64 */ System_TimeProvider_GetTimestamp(void* /* System.TimeProvider */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeProvider __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.GetTimestamp(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeProvider_GetElapsedTime")] + internal static void* /* System.TimeSpan */ System_TimeProvider_GetElapsedTime(void* /* System.TimeProvider */ __self, long /* System.Int64 */ startingTimestamp, long /* System.Int64 */ endingTimestamp, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeProvider __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeSpan __returnValue = __selfConverted.GetElapsedTime(startingTimestamp, endingTimestamp); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeProvider_GetElapsedTime_1")] + internal static void* /* System.TimeSpan */ System_TimeProvider_GetElapsedTime_1(void* /* System.TimeProvider */ __self, long /* System.Int64 */ startingTimestamp, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeProvider __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeSpan __returnValue = __selfConverted.GetElapsedTime(startingTimestamp); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeProvider_CreateTimer")] + internal static void* /* System.Threading.ITimer */ System_TimeProvider_CreateTimer(void* /* System.TimeProvider */ __self, void* /* System.Threading.TimerCallback */ callback, void* /* System.Object */ state, void* /* System.TimeSpan */ dueTime, void* /* System.TimeSpan */ period, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeProvider __selfConverted = InteropUtils.GetInstance(__self); + + System.Threading.TimerCallback callbackConverted = InteropUtils.GetInstance(callback)?.Trampoline; + System.Object stateConverted = InteropUtils.GetInstance(state); + System.TimeSpan dueTimeConverted = InteropUtils.GetInstance(dueTime); + System.TimeSpan periodConverted = InteropUtils.GetInstance(period); + + try { + System.Threading.ITimer __returnValue = __selfConverted.CreateTimer(callbackConverted, stateConverted, dueTimeConverted, periodConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeProvider_System_Get")] + internal static void* /* System.TimeProvider */ System_TimeProvider_System_Get(void** /* System.Exception */ __outException) + { + + try { + System.TimeProvider __returnValue = System.TimeProvider.System; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeProvider_LocalTimeZone_Get")] + internal static void* /* System.TimeZoneInfo */ System_TimeProvider_LocalTimeZone_Get(void* /* System.TimeProvider */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeProvider __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeZoneInfo __returnValue = __selfConverted.LocalTimeZone; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeProvider_TimestampFrequency_Get")] + internal static long /* System.Int64 */ System_TimeProvider_TimestampFrequency_Get(void* /* System.TimeProvider */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeProvider __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.TimestampFrequency; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeProvider_TypeOf")] + internal static void* /* System.Type */ System_TimeProvider_TypeOf() + { + + System.Type __returnValue = typeof(System.TimeProvider); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeProvider_Destroy")] + internal static void /* System.Void */ System_TimeProvider_Destroy(void* /* System.TimeProvider */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_DateTimeOffset +{ + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_ToOffset")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_ToOffset(void* /* System.DateTimeOffset */ __self, void* /* System.TimeSpan */ offset, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan offsetConverted = InteropUtils.GetInstance(offset); + + try { + System.DateTimeOffset __returnValue = __selfConverted.ToOffset(offsetConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Add")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Add(void* /* System.DateTimeOffset */ __self, void* /* System.TimeSpan */ timeSpan, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan timeSpanConverted = InteropUtils.GetInstance(timeSpan); + + try { + System.DateTimeOffset __returnValue = __selfConverted.Add(timeSpanConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_AddDays")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_AddDays(void* /* System.DateTimeOffset */ __self, double /* System.Double */ days, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeOffset __returnValue = __selfConverted.AddDays(days); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_AddHours")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_AddHours(void* /* System.DateTimeOffset */ __self, double /* System.Double */ hours, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeOffset __returnValue = __selfConverted.AddHours(hours); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_AddMilliseconds")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_AddMilliseconds(void* /* System.DateTimeOffset */ __self, double /* System.Double */ milliseconds, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeOffset __returnValue = __selfConverted.AddMilliseconds(milliseconds); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_AddMicroseconds")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_AddMicroseconds(void* /* System.DateTimeOffset */ __self, double /* System.Double */ microseconds, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeOffset __returnValue = __selfConverted.AddMicroseconds(microseconds); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_AddMinutes")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_AddMinutes(void* /* System.DateTimeOffset */ __self, double /* System.Double */ minutes, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeOffset __returnValue = __selfConverted.AddMinutes(minutes); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_AddMonths")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_AddMonths(void* /* System.DateTimeOffset */ __self, int /* System.Int32 */ months, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeOffset __returnValue = __selfConverted.AddMonths(months); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_AddSeconds")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_AddSeconds(void* /* System.DateTimeOffset */ __self, double /* System.Double */ seconds, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeOffset __returnValue = __selfConverted.AddSeconds(seconds); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_AddTicks")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_AddTicks(void* /* System.DateTimeOffset */ __self, long /* System.Int64 */ ticks, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeOffset __returnValue = __selfConverted.AddTicks(ticks); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_AddYears")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_AddYears(void* /* System.DateTimeOffset */ __self, int /* System.Int32 */ years, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeOffset __returnValue = __selfConverted.AddYears(years); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Compare")] + internal static int /* System.Int32 */ System_DateTimeOffset_Compare(void* /* System.DateTimeOffset */ first, void* /* System.DateTimeOffset */ second, void** /* System.Exception */ __outException) + { + System.DateTimeOffset firstConverted = InteropUtils.GetInstance(first); + System.DateTimeOffset secondConverted = InteropUtils.GetInstance(second); + + try { + System.Int32 __returnValue = System.DateTimeOffset.Compare(firstConverted, secondConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_CompareTo")] + internal static int /* System.Int32 */ System_DateTimeOffset_CompareTo(void* /* System.DateTimeOffset */ __self, void* /* System.DateTimeOffset */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTimeOffset otherConverted = InteropUtils.GetInstance(other); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(otherConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Equals")] + internal static byte /* System.Boolean */ System_DateTimeOffset_Equals(void* /* System.DateTimeOffset */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Equals_1")] + internal static byte /* System.Boolean */ System_DateTimeOffset_Equals_1(void* /* System.DateTimeOffset */ __self, void* /* System.DateTimeOffset */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTimeOffset otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.Equals(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_EqualsExact")] + internal static byte /* System.Boolean */ System_DateTimeOffset_EqualsExact(void* /* System.DateTimeOffset */ __self, void* /* System.DateTimeOffset */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTimeOffset otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.EqualsExact(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Equals_2")] + internal static byte /* System.Boolean */ System_DateTimeOffset_Equals_2(void* /* System.DateTimeOffset */ first, void* /* System.DateTimeOffset */ second, void** /* System.Exception */ __outException) + { + System.DateTimeOffset firstConverted = InteropUtils.GetInstance(first); + System.DateTimeOffset secondConverted = InteropUtils.GetInstance(second); + + try { + System.Boolean __returnValue = System.DateTimeOffset.Equals(firstConverted, secondConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_FromFileTime")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_FromFileTime(long /* System.Int64 */ fileTime, void** /* System.Exception */ __outException) + { + + try { + System.DateTimeOffset __returnValue = System.DateTimeOffset.FromFileTime(fileTime); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_FromUnixTimeSeconds")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_FromUnixTimeSeconds(long /* System.Int64 */ seconds, void** /* System.Exception */ __outException) + { + + try { + System.DateTimeOffset __returnValue = System.DateTimeOffset.FromUnixTimeSeconds(seconds); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_FromUnixTimeMilliseconds")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_FromUnixTimeMilliseconds(long /* System.Int64 */ milliseconds, void** /* System.Exception */ __outException) + { + + try { + System.DateTimeOffset __returnValue = System.DateTimeOffset.FromUnixTimeMilliseconds(milliseconds); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_GetHashCode")] + internal static int /* System.Int32 */ System_DateTimeOffset_GetHashCode(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Parse")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Parse(void* /* System.String */ input, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + + try { + System.DateTimeOffset __returnValue = System.DateTimeOffset.Parse(inputConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Parse_1")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Parse_1(void* /* System.String */ input, void* /* System.IFormatProvider */ formatProvider, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.DateTimeOffset __returnValue = System.DateTimeOffset.Parse(inputConverted, formatProviderConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Parse_2")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Parse_2(void* /* System.String */ input, void* /* System.IFormatProvider */ formatProvider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ styles, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.DateTimeOffset __returnValue = System.DateTimeOffset.Parse(inputConverted, formatProviderConverted, styles); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_ParseExact")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_ParseExact(void* /* System.String */ input, void* /* System.String */ format, void* /* System.IFormatProvider */ formatProvider, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.DateTimeOffset __returnValue = System.DateTimeOffset.ParseExact(inputConverted, formatConverted, formatProviderConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_ParseExact_1")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_ParseExact_1(void* /* System.String */ input, void* /* System.String */ format, void* /* System.IFormatProvider */ formatProvider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ styles, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.DateTimeOffset __returnValue = System.DateTimeOffset.ParseExact(inputConverted, formatConverted, formatProviderConverted, styles); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_ParseExact_2")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_ParseExact_2(void* /* System.String */ input, void* /* System.String[] */ formats, void* /* System.IFormatProvider */ formatProvider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ styles, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.DateTimeOffset __returnValue = System.DateTimeOffset.ParseExact(inputConverted, formatsConverted, formatProviderConverted, styles); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Subtract")] + internal static void* /* System.TimeSpan */ System_DateTimeOffset_Subtract(void* /* System.DateTimeOffset */ __self, void* /* System.DateTimeOffset */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTimeOffset valueConverted = InteropUtils.GetInstance(value); + + try { + System.TimeSpan __returnValue = __selfConverted.Subtract(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Subtract_1")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Subtract_1(void* /* System.DateTimeOffset */ __self, void* /* System.TimeSpan */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan valueConverted = InteropUtils.GetInstance(value); + + try { + System.DateTimeOffset __returnValue = __selfConverted.Subtract(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_ToFileTime")] + internal static long /* System.Int64 */ System_DateTimeOffset_ToFileTime(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.ToFileTime(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_ToUnixTimeSeconds")] + internal static long /* System.Int64 */ System_DateTimeOffset_ToUnixTimeSeconds(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.ToUnixTimeSeconds(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_ToUnixTimeMilliseconds")] + internal static long /* System.Int64 */ System_DateTimeOffset_ToUnixTimeMilliseconds(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.ToUnixTimeMilliseconds(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_ToLocalTime")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_ToLocalTime(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeOffset __returnValue = __selfConverted.ToLocalTime(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_ToString")] + internal static void* /* System.String */ System_DateTimeOffset_ToString(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_ToString_1")] + internal static void* /* System.String */ System_DateTimeOffset_ToString_1(void* /* System.DateTimeOffset */ __self, void* /* System.String */ format, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_ToString_2")] + internal static void* /* System.String */ System_DateTimeOffset_ToString_2(void* /* System.DateTimeOffset */ __self, void* /* System.IFormatProvider */ formatProvider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.String __returnValue = __selfConverted.ToString(formatProviderConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_ToString_3")] + internal static void* /* System.String */ System_DateTimeOffset_ToString_3(void* /* System.DateTimeOffset */ __self, void* /* System.String */ format, void* /* System.IFormatProvider */ formatProvider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted, formatProviderConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_ToUniversalTime")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_ToUniversalTime(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTimeOffset __returnValue = __selfConverted.ToUniversalTime(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_TryParse")] + internal static byte /* System.Boolean */ System_DateTimeOffset_TryParse(void* /* System.String */ input, void** /* System.DateTimeOffset */ result, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.DateTimeOffset resultConverted; + + try { + System.Boolean __returnValue = System.DateTimeOffset.TryParse(inputConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_TryParse_1")] + internal static byte /* System.Boolean */ System_DateTimeOffset_TryParse_1(void* /* System.String */ input, void* /* System.IFormatProvider */ formatProvider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ styles, void** /* System.DateTimeOffset */ result, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + System.DateTimeOffset resultConverted; + + try { + System.Boolean __returnValue = System.DateTimeOffset.TryParse(inputConverted, formatProviderConverted, styles, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_TryParseExact")] + internal static byte /* System.Boolean */ System_DateTimeOffset_TryParseExact(void* /* System.String */ input, void* /* System.String */ format, void* /* System.IFormatProvider */ formatProvider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ styles, void** /* System.DateTimeOffset */ result, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + System.DateTimeOffset resultConverted; + + try { + System.Boolean __returnValue = System.DateTimeOffset.TryParseExact(inputConverted, formatConverted, formatProviderConverted, styles, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_TryParseExact_1")] + internal static byte /* System.Boolean */ System_DateTimeOffset_TryParseExact_1(void* /* System.String */ input, void* /* System.String[] */ formats, void* /* System.IFormatProvider */ formatProvider, System.Globalization.DateTimeStyles /* System.Globalization.DateTimeStyles */ styles, void** /* System.DateTimeOffset */ result, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String[] formatsConverted = InteropUtils.GetInstance(formats); + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + System.DateTimeOffset resultConverted; + + try { + System.Boolean __returnValue = System.DateTimeOffset.TryParseExact(inputConverted, formatsConverted, formatProviderConverted, styles, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Deconstruct")] + internal static void /* System.Void */ System_DateTimeOffset_Deconstruct(void* /* System.DateTimeOffset */ __self, void** /* System.DateOnly */ date, void** /* System.TimeOnly */ time, void** /* System.TimeSpan */ offset, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + System.DateOnly dateConverted; + System.TimeOnly timeConverted; + System.TimeSpan offsetConverted; + + try { + __selfConverted.Deconstruct(out dateConverted, out timeConverted, out offsetConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (date is not null) { + *date = dateConverted.AllocateGCHandleAndGetAddress(); + } + + if (time is not null) { + *time = timeConverted.AllocateGCHandleAndGetAddress(); + } + + if (offset is not null) { + *offset = offsetConverted.AllocateGCHandleAndGetAddress(); + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (date is not null) { + *date = null; + } + + if (time is not null) { + *time = null; + } + + if (offset is not null) { + *offset = null; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_TryParse_2")] + internal static byte /* System.Boolean */ System_DateTimeOffset_TryParse_2(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, void** /* System.DateTimeOffset */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.DateTimeOffset resultConverted; + + try { + System.Boolean __returnValue = System.DateTimeOffset.TryParse(sConverted, providerConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Create")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Create(long /* System.Int64 */ ticks, void* /* System.TimeSpan */ offset, void** /* System.Exception */ __outException) + { + System.TimeSpan offsetConverted = InteropUtils.GetInstance(offset); + + try { + System.DateTimeOffset __returnValue = new System.DateTimeOffset(ticks, offsetConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Create_1")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Create_1(void* /* System.DateTime */ dateTime, void** /* System.Exception */ __outException) + { + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + + try { + System.DateTimeOffset __returnValue = new System.DateTimeOffset(dateTimeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Create_2")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Create_2(void* /* System.DateTime */ dateTime, void* /* System.TimeSpan */ offset, void** /* System.Exception */ __outException) + { + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + System.TimeSpan offsetConverted = InteropUtils.GetInstance(offset); + + try { + System.DateTimeOffset __returnValue = new System.DateTimeOffset(dateTimeConverted, offsetConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Create_3")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Create_3(void* /* System.DateOnly */ date, void* /* System.TimeOnly */ time, void* /* System.TimeSpan */ offset, void** /* System.Exception */ __outException) + { + System.DateOnly dateConverted = InteropUtils.GetInstance(date); + System.TimeOnly timeConverted = InteropUtils.GetInstance(time); + System.TimeSpan offsetConverted = InteropUtils.GetInstance(offset); + + try { + System.DateTimeOffset __returnValue = new System.DateTimeOffset(dateConverted, timeConverted, offsetConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Create_4")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Create_4(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, void* /* System.TimeSpan */ offset, void** /* System.Exception */ __outException) + { + System.TimeSpan offsetConverted = InteropUtils.GetInstance(offset); + + try { + System.DateTimeOffset __returnValue = new System.DateTimeOffset(year, month, day, hour, minute, second, offsetConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Create_5")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Create_5(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, void* /* System.TimeSpan */ offset, void** /* System.Exception */ __outException) + { + System.TimeSpan offsetConverted = InteropUtils.GetInstance(offset); + + try { + System.DateTimeOffset __returnValue = new System.DateTimeOffset(year, month, day, hour, minute, second, millisecond, offsetConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Create_6")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Create_6(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, void* /* System.Globalization.Calendar */ calendar, void* /* System.TimeSpan */ offset, void** /* System.Exception */ __outException) + { + System.Globalization.Calendar calendarConverted = InteropUtils.GetInstance(calendar); + System.TimeSpan offsetConverted = InteropUtils.GetInstance(offset); + + try { + System.DateTimeOffset __returnValue = new System.DateTimeOffset(year, month, day, hour, minute, second, millisecond, calendarConverted, offsetConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Create_7")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Create_7(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, int /* System.Int32 */ microsecond, void* /* System.TimeSpan */ offset, void** /* System.Exception */ __outException) + { + System.TimeSpan offsetConverted = InteropUtils.GetInstance(offset); + + try { + System.DateTimeOffset __returnValue = new System.DateTimeOffset(year, month, day, hour, minute, second, millisecond, microsecond, offsetConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Create_8")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Create_8(int /* System.Int32 */ year, int /* System.Int32 */ month, int /* System.Int32 */ day, int /* System.Int32 */ hour, int /* System.Int32 */ minute, int /* System.Int32 */ second, int /* System.Int32 */ millisecond, int /* System.Int32 */ microsecond, void* /* System.Globalization.Calendar */ calendar, void* /* System.TimeSpan */ offset, void** /* System.Exception */ __outException) + { + System.Globalization.Calendar calendarConverted = InteropUtils.GetInstance(calendar); + System.TimeSpan offsetConverted = InteropUtils.GetInstance(offset); + + try { + System.DateTimeOffset __returnValue = new System.DateTimeOffset(year, month, day, hour, minute, second, millisecond, microsecond, calendarConverted, offsetConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_UtcNow_Get")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_UtcNow_Get(void** /* System.Exception */ __outException) + { + + try { + System.DateTimeOffset __returnValue = System.DateTimeOffset.UtcNow; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_DateTime_Get")] + internal static void* /* System.DateTime */ System_DateTimeOffset_DateTime_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.DateTime; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_UtcDateTime_Get")] + internal static void* /* System.DateTime */ System_DateTimeOffset_UtcDateTime_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.UtcDateTime; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_LocalDateTime_Get")] + internal static void* /* System.DateTime */ System_DateTimeOffset_LocalDateTime_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.LocalDateTime; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Date_Get")] + internal static void* /* System.DateTime */ System_DateTimeOffset_Date_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.Date; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Day_Get")] + internal static int /* System.Int32 */ System_DateTimeOffset_Day_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Day; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_DayOfWeek_Get")] + internal static System.DayOfWeek /* System.DayOfWeek */ System_DateTimeOffset_DayOfWeek_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DayOfWeek __returnValue = __selfConverted.DayOfWeek; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.DayOfWeek); + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_DayOfYear_Get")] + internal static int /* System.Int32 */ System_DateTimeOffset_DayOfYear_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.DayOfYear; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Hour_Get")] + internal static int /* System.Int32 */ System_DateTimeOffset_Hour_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Hour; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Millisecond_Get")] + internal static int /* System.Int32 */ System_DateTimeOffset_Millisecond_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Millisecond; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Microsecond_Get")] + internal static int /* System.Int32 */ System_DateTimeOffset_Microsecond_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Microsecond; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Nanosecond_Get")] + internal static int /* System.Int32 */ System_DateTimeOffset_Nanosecond_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Nanosecond; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Minute_Get")] + internal static int /* System.Int32 */ System_DateTimeOffset_Minute_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Minute; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Month_Get")] + internal static int /* System.Int32 */ System_DateTimeOffset_Month_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Month; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Offset_Get")] + internal static void* /* System.TimeSpan */ System_DateTimeOffset_Offset_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeSpan __returnValue = __selfConverted.Offset; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_TotalOffsetMinutes_Get")] + internal static int /* System.Int32 */ System_DateTimeOffset_TotalOffsetMinutes_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.TotalOffsetMinutes; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Second_Get")] + internal static int /* System.Int32 */ System_DateTimeOffset_Second_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Second; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Ticks_Get")] + internal static long /* System.Int64 */ System_DateTimeOffset_Ticks_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.Ticks; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_UtcTicks_Get")] + internal static long /* System.Int64 */ System_DateTimeOffset_UtcTicks_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.UtcTicks; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_TimeOfDay_Get")] + internal static void* /* System.TimeSpan */ System_DateTimeOffset_TimeOfDay_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeSpan __returnValue = __selfConverted.TimeOfDay; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Year_Get")] + internal static int /* System.Int32 */ System_DateTimeOffset_Year_Get(void* /* System.DateTimeOffset */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.DateTimeOffset __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Year; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Now_Get")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Now_Get(void** /* System.Exception */ __outException) + { + + try { + System.DateTimeOffset __returnValue = System.DateTimeOffset.Now; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_MinValue_Get")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_MinValue_Get() + { + + System.DateTimeOffset __returnValue = System.DateTimeOffset.MinValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_MaxValue_Get")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_MaxValue_Get() + { + + System.DateTimeOffset __returnValue = System.DateTimeOffset.MaxValue; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_UnixEpoch_Get")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_UnixEpoch_Get() + { + + System.DateTimeOffset __returnValue = System.DateTimeOffset.UnixEpoch; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Create_9")] + internal static void* /* System.DateTimeOffset */ System_DateTimeOffset_Create_9(void** /* System.Exception */ __outException) + { + + try { + System.DateTimeOffset __returnValue = new System.DateTimeOffset(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_TypeOf")] + internal static void* /* System.Type */ System_DateTimeOffset_TypeOf() + { + + System.Type __returnValue = typeof(System.DateTimeOffset); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_DateTimeOffset_Destroy")] + internal static void /* System.Void */ System_DateTimeOffset_Destroy(void* /* System.DateTimeOffset */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + +internal unsafe class System_TimeZoneInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_GetAmbiguousTimeOffsets")] + internal static void* /* System.TimeSpan[] */ System_TimeZoneInfo_GetAmbiguousTimeOffsets(void* /* System.TimeZoneInfo */ __self, void* /* System.DateTimeOffset */ dateTimeOffset, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTimeOffset dateTimeOffsetConverted = InteropUtils.GetInstance(dateTimeOffset); + + try { + System.TimeSpan[] __returnValue = __selfConverted.GetAmbiguousTimeOffsets(dateTimeOffsetConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_GetAmbiguousTimeOffsets_1")] + internal static void* /* System.TimeSpan[] */ System_TimeZoneInfo_GetAmbiguousTimeOffsets_1(void* /* System.TimeZoneInfo */ __self, void* /* System.DateTime */ dateTime, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + + try { + System.TimeSpan[] __returnValue = __selfConverted.GetAmbiguousTimeOffsets(dateTimeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_GetUtcOffset")] + internal static void* /* System.TimeSpan */ System_TimeZoneInfo_GetUtcOffset(void* /* System.TimeZoneInfo */ __self, void* /* System.DateTimeOffset */ dateTimeOffset, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTimeOffset dateTimeOffsetConverted = InteropUtils.GetInstance(dateTimeOffset); + + try { + System.TimeSpan __returnValue = __selfConverted.GetUtcOffset(dateTimeOffsetConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_GetUtcOffset_1")] + internal static void* /* System.TimeSpan */ System_TimeZoneInfo_GetUtcOffset_1(void* /* System.TimeZoneInfo */ __self, void* /* System.DateTime */ dateTime, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + + try { + System.TimeSpan __returnValue = __selfConverted.GetUtcOffset(dateTimeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_IsAmbiguousTime")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_IsAmbiguousTime(void* /* System.TimeZoneInfo */ __self, void* /* System.DateTimeOffset */ dateTimeOffset, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTimeOffset dateTimeOffsetConverted = InteropUtils.GetInstance(dateTimeOffset); + + try { + System.Boolean __returnValue = __selfConverted.IsAmbiguousTime(dateTimeOffsetConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_IsAmbiguousTime_1")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_IsAmbiguousTime_1(void* /* System.TimeZoneInfo */ __self, void* /* System.DateTime */ dateTime, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + + try { + System.Boolean __returnValue = __selfConverted.IsAmbiguousTime(dateTimeConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_IsDaylightSavingTime")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_IsDaylightSavingTime(void* /* System.TimeZoneInfo */ __self, void* /* System.DateTimeOffset */ dateTimeOffset, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTimeOffset dateTimeOffsetConverted = InteropUtils.GetInstance(dateTimeOffset); + + try { + System.Boolean __returnValue = __selfConverted.IsDaylightSavingTime(dateTimeOffsetConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_IsDaylightSavingTime_1")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_IsDaylightSavingTime_1(void* /* System.TimeZoneInfo */ __self, void* /* System.DateTime */ dateTime, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + + try { + System.Boolean __returnValue = __selfConverted.IsDaylightSavingTime(dateTimeConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_IsInvalidTime")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_IsInvalidTime(void* /* System.TimeZoneInfo */ __self, void* /* System.DateTime */ dateTime, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + + try { + System.Boolean __returnValue = __selfConverted.IsInvalidTime(dateTimeConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_ClearCachedData")] + internal static void /* System.Void */ System_TimeZoneInfo_ClearCachedData(void** /* System.Exception */ __outException) + { + + try { + System.TimeZoneInfo.ClearCachedData(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId")] + internal static void* /* System.DateTimeOffset */ System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId(void* /* System.DateTimeOffset */ dateTimeOffset, void* /* System.String */ destinationTimeZoneId, void** /* System.Exception */ __outException) + { + System.DateTimeOffset dateTimeOffsetConverted = InteropUtils.GetInstance(dateTimeOffset); + System.String destinationTimeZoneIdConverted = InteropUtils.GetInstance(destinationTimeZoneId); + + try { + System.DateTimeOffset __returnValue = System.TimeZoneInfo.ConvertTimeBySystemTimeZoneId(dateTimeOffsetConverted, destinationTimeZoneIdConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_1")] + internal static void* /* System.DateTime */ System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_1(void* /* System.DateTime */ dateTime, void* /* System.String */ destinationTimeZoneId, void** /* System.Exception */ __outException) + { + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + System.String destinationTimeZoneIdConverted = InteropUtils.GetInstance(destinationTimeZoneId); + + try { + System.DateTime __returnValue = System.TimeZoneInfo.ConvertTimeBySystemTimeZoneId(dateTimeConverted, destinationTimeZoneIdConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_FindSystemTimeZoneById")] + internal static void* /* System.TimeZoneInfo */ System_TimeZoneInfo_FindSystemTimeZoneById(void* /* System.String */ id, void** /* System.Exception */ __outException) + { + System.String idConverted = InteropUtils.GetInstance(id); + + try { + System.TimeZoneInfo __returnValue = System.TimeZoneInfo.FindSystemTimeZoneById(idConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TryFindSystemTimeZoneById")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_TryFindSystemTimeZoneById(void* /* System.String */ id, void** /* System.TimeZoneInfo */ timeZoneInfo, void** /* System.Exception */ __outException) + { + System.String idConverted = InteropUtils.GetInstance(id); + System.TimeZoneInfo timeZoneInfoConverted; + + try { + System.Boolean __returnValue = System.TimeZoneInfo.TryFindSystemTimeZoneById(idConverted, out timeZoneInfoConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (timeZoneInfo is not null) { + *timeZoneInfo = timeZoneInfoConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (timeZoneInfo is not null) { + *timeZoneInfo = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_2")] + internal static void* /* System.DateTime */ System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_2(void* /* System.DateTime */ dateTime, void* /* System.String */ sourceTimeZoneId, void* /* System.String */ destinationTimeZoneId, void** /* System.Exception */ __outException) + { + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + System.String sourceTimeZoneIdConverted = InteropUtils.GetInstance(sourceTimeZoneId); + System.String destinationTimeZoneIdConverted = InteropUtils.GetInstance(destinationTimeZoneId); + + try { + System.DateTime __returnValue = System.TimeZoneInfo.ConvertTimeBySystemTimeZoneId(dateTimeConverted, sourceTimeZoneIdConverted, destinationTimeZoneIdConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_ConvertTime_1")] + internal static void* /* System.DateTimeOffset */ System_TimeZoneInfo_ConvertTime_1(void* /* System.DateTimeOffset */ dateTimeOffset, void* /* System.TimeZoneInfo */ destinationTimeZone, void** /* System.Exception */ __outException) + { + System.DateTimeOffset dateTimeOffsetConverted = InteropUtils.GetInstance(dateTimeOffset); + System.TimeZoneInfo destinationTimeZoneConverted = InteropUtils.GetInstance(destinationTimeZone); + + try { + System.DateTimeOffset __returnValue = System.TimeZoneInfo.ConvertTime(dateTimeOffsetConverted, destinationTimeZoneConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_ConvertTime_2")] + internal static void* /* System.DateTime */ System_TimeZoneInfo_ConvertTime_2(void* /* System.DateTime */ dateTime, void* /* System.TimeZoneInfo */ destinationTimeZone, void** /* System.Exception */ __outException) + { + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + System.TimeZoneInfo destinationTimeZoneConverted = InteropUtils.GetInstance(destinationTimeZone); + + try { + System.DateTime __returnValue = System.TimeZoneInfo.ConvertTime(dateTimeConverted, destinationTimeZoneConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_ConvertTime_3")] + internal static void* /* System.DateTime */ System_TimeZoneInfo_ConvertTime_3(void* /* System.DateTime */ dateTime, void* /* System.TimeZoneInfo */ sourceTimeZone, void* /* System.TimeZoneInfo */ destinationTimeZone, void** /* System.Exception */ __outException) + { + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + System.TimeZoneInfo sourceTimeZoneConverted = InteropUtils.GetInstance(sourceTimeZone); + System.TimeZoneInfo destinationTimeZoneConverted = InteropUtils.GetInstance(destinationTimeZone); + + try { + System.DateTime __returnValue = System.TimeZoneInfo.ConvertTime(dateTimeConverted, sourceTimeZoneConverted, destinationTimeZoneConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_ConvertTimeFromUtc")] + internal static void* /* System.DateTime */ System_TimeZoneInfo_ConvertTimeFromUtc(void* /* System.DateTime */ dateTime, void* /* System.TimeZoneInfo */ destinationTimeZone, void** /* System.Exception */ __outException) + { + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + System.TimeZoneInfo destinationTimeZoneConverted = InteropUtils.GetInstance(destinationTimeZone); + + try { + System.DateTime __returnValue = System.TimeZoneInfo.ConvertTimeFromUtc(dateTimeConverted, destinationTimeZoneConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_ConvertTimeToUtc")] + internal static void* /* System.DateTime */ System_TimeZoneInfo_ConvertTimeToUtc(void* /* System.DateTime */ dateTime, void** /* System.Exception */ __outException) + { + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + + try { + System.DateTime __returnValue = System.TimeZoneInfo.ConvertTimeToUtc(dateTimeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_ConvertTimeToUtc_1")] + internal static void* /* System.DateTime */ System_TimeZoneInfo_ConvertTimeToUtc_1(void* /* System.DateTime */ dateTime, void* /* System.TimeZoneInfo */ sourceTimeZone, void** /* System.Exception */ __outException) + { + System.DateTime dateTimeConverted = InteropUtils.GetInstance(dateTime); + System.TimeZoneInfo sourceTimeZoneConverted = InteropUtils.GetInstance(sourceTimeZone); + + try { + System.DateTime __returnValue = System.TimeZoneInfo.ConvertTimeToUtc(dateTimeConverted, sourceTimeZoneConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_Equals")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_Equals(void* /* System.TimeZoneInfo */ __self, void* /* System.TimeZoneInfo */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeZoneInfo otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.Equals(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_Equals_1")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_Equals_1(void* /* System.TimeZoneInfo */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_FromSerializedString")] + internal static void* /* System.TimeZoneInfo */ System_TimeZoneInfo_FromSerializedString(void* /* System.String */ source, void** /* System.Exception */ __outException) + { + System.String sourceConverted = InteropUtils.GetInstance(source); + + try { + System.TimeZoneInfo __returnValue = System.TimeZoneInfo.FromSerializedString(sourceConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_GetHashCode")] + internal static int /* System.Int32 */ System_TimeZoneInfo_GetHashCode(void* /* System.TimeZoneInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_HasSameRules")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_HasSameRules(void* /* System.TimeZoneInfo */ __self, void* /* System.TimeZoneInfo */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeZoneInfo otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.HasSameRules(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_ToSerializedString")] + internal static void* /* System.String */ System_TimeZoneInfo_ToSerializedString(void* /* System.TimeZoneInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToSerializedString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_ToString")] + internal static void* /* System.String */ System_TimeZoneInfo_ToString(void* /* System.TimeZoneInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_CreateCustomTimeZone")] + internal static void* /* System.TimeZoneInfo */ System_TimeZoneInfo_CreateCustomTimeZone(void* /* System.String */ id, void* /* System.TimeSpan */ baseUtcOffset, void* /* System.String */ displayName, void* /* System.String */ standardDisplayName, void** /* System.Exception */ __outException) + { + System.String idConverted = InteropUtils.GetInstance(id); + System.TimeSpan baseUtcOffsetConverted = InteropUtils.GetInstance(baseUtcOffset); + System.String displayNameConverted = InteropUtils.GetInstance(displayName); + System.String standardDisplayNameConverted = InteropUtils.GetInstance(standardDisplayName); + + try { + System.TimeZoneInfo __returnValue = System.TimeZoneInfo.CreateCustomTimeZone(idConverted, baseUtcOffsetConverted, displayNameConverted, standardDisplayNameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_CreateCustomTimeZone_1")] + internal static void* /* System.TimeZoneInfo */ System_TimeZoneInfo_CreateCustomTimeZone_1(void* /* System.String */ id, void* /* System.TimeSpan */ baseUtcOffset, void* /* System.String */ displayName, void* /* System.String */ standardDisplayName, void* /* System.String */ daylightDisplayName, void* /* System.TimeZoneInfo.AdjustmentRule[] */ adjustmentRules, void** /* System.Exception */ __outException) + { + System.String idConverted = InteropUtils.GetInstance(id); + System.TimeSpan baseUtcOffsetConverted = InteropUtils.GetInstance(baseUtcOffset); + System.String displayNameConverted = InteropUtils.GetInstance(displayName); + System.String standardDisplayNameConverted = InteropUtils.GetInstance(standardDisplayName); + System.String daylightDisplayNameConverted = InteropUtils.GetInstance(daylightDisplayName); + System.TimeZoneInfo.AdjustmentRule[] adjustmentRulesConverted = InteropUtils.GetInstance(adjustmentRules); + + try { + System.TimeZoneInfo __returnValue = System.TimeZoneInfo.CreateCustomTimeZone(idConverted, baseUtcOffsetConverted, displayNameConverted, standardDisplayNameConverted, daylightDisplayNameConverted, adjustmentRulesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_CreateCustomTimeZone_2")] + internal static void* /* System.TimeZoneInfo */ System_TimeZoneInfo_CreateCustomTimeZone_2(void* /* System.String */ id, void* /* System.TimeSpan */ baseUtcOffset, void* /* System.String */ displayName, void* /* System.String */ standardDisplayName, void* /* System.String */ daylightDisplayName, void* /* System.TimeZoneInfo.AdjustmentRule[] */ adjustmentRules, byte /* System.Boolean */ disableDaylightSavingTime, void** /* System.Exception */ __outException) + { + System.String idConverted = InteropUtils.GetInstance(id); + System.TimeSpan baseUtcOffsetConverted = InteropUtils.GetInstance(baseUtcOffset); + System.String displayNameConverted = InteropUtils.GetInstance(displayName); + System.String standardDisplayNameConverted = InteropUtils.GetInstance(standardDisplayName); + System.String daylightDisplayNameConverted = InteropUtils.GetInstance(daylightDisplayName); + System.TimeZoneInfo.AdjustmentRule[] adjustmentRulesConverted = InteropUtils.GetInstance(adjustmentRules); + System.Boolean disableDaylightSavingTimeConverted = disableDaylightSavingTime.ToBool(); + + try { + System.TimeZoneInfo __returnValue = System.TimeZoneInfo.CreateCustomTimeZone(idConverted, baseUtcOffsetConverted, displayNameConverted, standardDisplayNameConverted, daylightDisplayNameConverted, adjustmentRulesConverted, disableDaylightSavingTimeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TryConvertIanaIdToWindowsId")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_TryConvertIanaIdToWindowsId(void* /* System.String */ ianaId, void** /* System.String */ windowsId, void** /* System.Exception */ __outException) + { + System.String ianaIdConverted = InteropUtils.GetInstance(ianaId); + System.String windowsIdConverted; + + try { + System.Boolean __returnValue = System.TimeZoneInfo.TryConvertIanaIdToWindowsId(ianaIdConverted, out windowsIdConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (windowsId is not null) { + *windowsId = windowsIdConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (windowsId is not null) { + *windowsId = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TryConvertWindowsIdToIanaId")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_TryConvertWindowsIdToIanaId(void* /* System.String */ windowsId, void** /* System.String */ ianaId, void** /* System.Exception */ __outException) + { + System.String windowsIdConverted = InteropUtils.GetInstance(windowsId); + System.String ianaIdConverted; + + try { + System.Boolean __returnValue = System.TimeZoneInfo.TryConvertWindowsIdToIanaId(windowsIdConverted, out ianaIdConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (ianaId is not null) { + *ianaId = ianaIdConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (ianaId is not null) { + *ianaId = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TryConvertWindowsIdToIanaId_1")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_TryConvertWindowsIdToIanaId_1(void* /* System.String */ windowsId, void* /* System.String */ region, void** /* System.String */ ianaId, void** /* System.Exception */ __outException) + { + System.String windowsIdConverted = InteropUtils.GetInstance(windowsId); + System.String regionConverted = InteropUtils.GetInstance(region); + System.String ianaIdConverted; + + try { + System.Boolean __returnValue = System.TimeZoneInfo.TryConvertWindowsIdToIanaId(windowsIdConverted, regionConverted, out ianaIdConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (ianaId is not null) { + *ianaId = ianaIdConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (ianaId is not null) { + *ianaId = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_GetAdjustmentRules")] + internal static void* /* System.TimeZoneInfo.AdjustmentRule[] */ System_TimeZoneInfo_GetAdjustmentRules(void* /* System.TimeZoneInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeZoneInfo.AdjustmentRule[] __returnValue = __selfConverted.GetAdjustmentRules(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_Id_Get")] + internal static void* /* System.String */ System_TimeZoneInfo_Id_Get(void* /* System.TimeZoneInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Id; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_HasIanaId_Get")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_HasIanaId_Get(void* /* System.TimeZoneInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.HasIanaId; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_DisplayName_Get")] + internal static void* /* System.String */ System_TimeZoneInfo_DisplayName_Get(void* /* System.TimeZoneInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.DisplayName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_StandardName_Get")] + internal static void* /* System.String */ System_TimeZoneInfo_StandardName_Get(void* /* System.TimeZoneInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.StandardName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_DaylightName_Get")] + internal static void* /* System.String */ System_TimeZoneInfo_DaylightName_Get(void* /* System.TimeZoneInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.DaylightName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_BaseUtcOffset_Get")] + internal static void* /* System.TimeSpan */ System_TimeZoneInfo_BaseUtcOffset_Get(void* /* System.TimeZoneInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeSpan __returnValue = __selfConverted.BaseUtcOffset; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_SupportsDaylightSavingTime_Get")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_SupportsDaylightSavingTime_Get(void* /* System.TimeZoneInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.SupportsDaylightSavingTime; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_Local_Get")] + internal static void* /* System.TimeZoneInfo */ System_TimeZoneInfo_Local_Get(void** /* System.Exception */ __outException) + { + + try { + System.TimeZoneInfo __returnValue = System.TimeZoneInfo.Local; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_Utc_Get")] + internal static void* /* System.TimeZoneInfo */ System_TimeZoneInfo_Utc_Get(void** /* System.Exception */ __outException) + { + + try { + System.TimeZoneInfo __returnValue = System.TimeZoneInfo.Utc; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TypeOf")] + internal static void* /* System.Type */ System_TimeZoneInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.TimeZoneInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_Destroy")] + internal static void /* System.Void */ System_TimeZoneInfo_Destroy(void* /* System.TimeZoneInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + + +internal unsafe class System_TimeZoneInfo_AdjustmentRule +{ + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_AdjustmentRule_Equals")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_AdjustmentRule_Equals(void* /* System.TimeZoneInfo.AdjustmentRule */ __self, void* /* System.TimeZoneInfo.AdjustmentRule */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.AdjustmentRule __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeZoneInfo.AdjustmentRule otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.Equals(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_AdjustmentRule_Equals_1")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_AdjustmentRule_Equals_1(void* /* System.TimeZoneInfo.AdjustmentRule */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.AdjustmentRule __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_AdjustmentRule_GetHashCode")] + internal static int /* System.Int32 */ System_TimeZoneInfo_AdjustmentRule_GetHashCode(void* /* System.TimeZoneInfo.AdjustmentRule */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.AdjustmentRule __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule")] + internal static void* /* System.TimeZoneInfo.AdjustmentRule */ System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule(void* /* System.DateTime */ dateStart, void* /* System.DateTime */ dateEnd, void* /* System.TimeSpan */ daylightDelta, void* /* System.TimeZoneInfo.TransitionTime */ daylightTransitionStart, void* /* System.TimeZoneInfo.TransitionTime */ daylightTransitionEnd, void* /* System.TimeSpan */ baseUtcOffsetDelta, void** /* System.Exception */ __outException) + { + System.DateTime dateStartConverted = InteropUtils.GetInstance(dateStart); + System.DateTime dateEndConverted = InteropUtils.GetInstance(dateEnd); + System.TimeSpan daylightDeltaConverted = InteropUtils.GetInstance(daylightDelta); + System.TimeZoneInfo.TransitionTime daylightTransitionStartConverted = InteropUtils.GetInstance(daylightTransitionStart); + System.TimeZoneInfo.TransitionTime daylightTransitionEndConverted = InteropUtils.GetInstance(daylightTransitionEnd); + System.TimeSpan baseUtcOffsetDeltaConverted = InteropUtils.GetInstance(baseUtcOffsetDelta); + + try { + System.TimeZoneInfo.AdjustmentRule __returnValue = System.TimeZoneInfo.AdjustmentRule.CreateAdjustmentRule(dateStartConverted, dateEndConverted, daylightDeltaConverted, daylightTransitionStartConverted, daylightTransitionEndConverted, baseUtcOffsetDeltaConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule_1")] + internal static void* /* System.TimeZoneInfo.AdjustmentRule */ System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule_1(void* /* System.DateTime */ dateStart, void* /* System.DateTime */ dateEnd, void* /* System.TimeSpan */ daylightDelta, void* /* System.TimeZoneInfo.TransitionTime */ daylightTransitionStart, void* /* System.TimeZoneInfo.TransitionTime */ daylightTransitionEnd, void** /* System.Exception */ __outException) + { + System.DateTime dateStartConverted = InteropUtils.GetInstance(dateStart); + System.DateTime dateEndConverted = InteropUtils.GetInstance(dateEnd); + System.TimeSpan daylightDeltaConverted = InteropUtils.GetInstance(daylightDelta); + System.TimeZoneInfo.TransitionTime daylightTransitionStartConverted = InteropUtils.GetInstance(daylightTransitionStart); + System.TimeZoneInfo.TransitionTime daylightTransitionEndConverted = InteropUtils.GetInstance(daylightTransitionEnd); + + try { + System.TimeZoneInfo.AdjustmentRule __returnValue = System.TimeZoneInfo.AdjustmentRule.CreateAdjustmentRule(dateStartConverted, dateEndConverted, daylightDeltaConverted, daylightTransitionStartConverted, daylightTransitionEndConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_AdjustmentRule_DateStart_Get")] + internal static void* /* System.DateTime */ System_TimeZoneInfo_AdjustmentRule_DateStart_Get(void* /* System.TimeZoneInfo.AdjustmentRule */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.AdjustmentRule __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.DateStart; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_AdjustmentRule_DateEnd_Get")] + internal static void* /* System.DateTime */ System_TimeZoneInfo_AdjustmentRule_DateEnd_Get(void* /* System.TimeZoneInfo.AdjustmentRule */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.AdjustmentRule __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.DateEnd; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_AdjustmentRule_DaylightDelta_Get")] + internal static void* /* System.TimeSpan */ System_TimeZoneInfo_AdjustmentRule_DaylightDelta_Get(void* /* System.TimeZoneInfo.AdjustmentRule */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.AdjustmentRule __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeSpan __returnValue = __selfConverted.DaylightDelta; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_AdjustmentRule_DaylightTransitionStart_Get")] + internal static void* /* System.TimeZoneInfo.TransitionTime */ System_TimeZoneInfo_AdjustmentRule_DaylightTransitionStart_Get(void* /* System.TimeZoneInfo.AdjustmentRule */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.AdjustmentRule __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeZoneInfo.TransitionTime __returnValue = __selfConverted.DaylightTransitionStart; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_AdjustmentRule_DaylightTransitionEnd_Get")] + internal static void* /* System.TimeZoneInfo.TransitionTime */ System_TimeZoneInfo_AdjustmentRule_DaylightTransitionEnd_Get(void* /* System.TimeZoneInfo.AdjustmentRule */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.AdjustmentRule __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeZoneInfo.TransitionTime __returnValue = __selfConverted.DaylightTransitionEnd; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_AdjustmentRule_BaseUtcOffsetDelta_Get")] + internal static void* /* System.TimeSpan */ System_TimeZoneInfo_AdjustmentRule_BaseUtcOffsetDelta_Get(void* /* System.TimeZoneInfo.AdjustmentRule */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.AdjustmentRule __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.TimeSpan __returnValue = __selfConverted.BaseUtcOffsetDelta; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_AdjustmentRule_TypeOf")] + internal static void* /* System.Type */ System_TimeZoneInfo_AdjustmentRule_TypeOf() + { + + System.Type __returnValue = typeof(System.TimeZoneInfo.AdjustmentRule); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_AdjustmentRule_Destroy")] + internal static void /* System.Void */ System_TimeZoneInfo_AdjustmentRule_Destroy(void* /* System.TimeZoneInfo.AdjustmentRule */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_TimeZoneInfo_TransitionTime +{ + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_Equals")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_TransitionTime_Equals(void* /* System.TimeZoneInfo.TransitionTime */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.TransitionTime __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_Equals_1")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_TransitionTime_Equals_1(void* /* System.TimeZoneInfo.TransitionTime */ __self, void* /* System.TimeZoneInfo.TransitionTime */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.TransitionTime __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeZoneInfo.TransitionTime otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.Equals(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_GetHashCode")] + internal static int /* System.Int32 */ System_TimeZoneInfo_TransitionTime_GetHashCode(void* /* System.TimeZoneInfo.TransitionTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.TransitionTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_CreateFixedDateRule")] + internal static void* /* System.TimeZoneInfo.TransitionTime */ System_TimeZoneInfo_TransitionTime_CreateFixedDateRule(void* /* System.DateTime */ timeOfDay, int /* System.Int32 */ month, int /* System.Int32 */ day, void** /* System.Exception */ __outException) + { + System.DateTime timeOfDayConverted = InteropUtils.GetInstance(timeOfDay); + + try { + System.TimeZoneInfo.TransitionTime __returnValue = System.TimeZoneInfo.TransitionTime.CreateFixedDateRule(timeOfDayConverted, month, day); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_CreateFloatingDateRule")] + internal static void* /* System.TimeZoneInfo.TransitionTime */ System_TimeZoneInfo_TransitionTime_CreateFloatingDateRule(void* /* System.DateTime */ timeOfDay, int /* System.Int32 */ month, int /* System.Int32 */ week, System.DayOfWeek /* System.DayOfWeek */ dayOfWeek, void** /* System.Exception */ __outException) + { + System.DateTime timeOfDayConverted = InteropUtils.GetInstance(timeOfDay); + + try { + System.TimeZoneInfo.TransitionTime __returnValue = System.TimeZoneInfo.TransitionTime.CreateFloatingDateRule(timeOfDayConverted, month, week, dayOfWeek); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_TimeOfDay_Get")] + internal static void* /* System.DateTime */ System_TimeZoneInfo_TransitionTime_TimeOfDay_Get(void* /* System.TimeZoneInfo.TransitionTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.TransitionTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DateTime __returnValue = __selfConverted.TimeOfDay; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_Month_Get")] + internal static int /* System.Int32 */ System_TimeZoneInfo_TransitionTime_Month_Get(void* /* System.TimeZoneInfo.TransitionTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.TransitionTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Month; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_Week_Get")] + internal static int /* System.Int32 */ System_TimeZoneInfo_TransitionTime_Week_Get(void* /* System.TimeZoneInfo.TransitionTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.TransitionTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Week; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_Day_Get")] + internal static int /* System.Int32 */ System_TimeZoneInfo_TransitionTime_Day_Get(void* /* System.TimeZoneInfo.TransitionTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.TransitionTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Day; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_DayOfWeek_Get")] + internal static System.DayOfWeek /* System.DayOfWeek */ System_TimeZoneInfo_TransitionTime_DayOfWeek_Get(void* /* System.TimeZoneInfo.TransitionTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.TransitionTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DayOfWeek __returnValue = __selfConverted.DayOfWeek; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.DayOfWeek); + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_IsFixedDateRule_Get")] + internal static byte /* System.Boolean */ System_TimeZoneInfo_TransitionTime_IsFixedDateRule_Get(void* /* System.TimeZoneInfo.TransitionTime */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.TimeZoneInfo.TransitionTime __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsFixedDateRule; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_Create_1")] + internal static void* /* System.TimeZoneInfo.TransitionTime */ System_TimeZoneInfo_TransitionTime_Create_1(void** /* System.Exception */ __outException) + { + + try { + System.TimeZoneInfo.TransitionTime __returnValue = new System.TimeZoneInfo.TransitionTime(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_TypeOf")] + internal static void* /* System.Type */ System_TimeZoneInfo_TransitionTime_TypeOf() + { + + System.Type __returnValue = typeof(System.TimeZoneInfo.TransitionTime); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_TimeZoneInfo_TransitionTime_Destroy")] + internal static void /* System.Void */ System_TimeZoneInfo_TransitionTime_Destroy(void* /* System.TimeZoneInfo.TransitionTime */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + +internal unsafe class System_Threading_ITimer +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_ITimer_Change")] + internal static byte /* System.Boolean */ System_Threading_ITimer_Change(void* /* System.Threading.ITimer */ __self, void* /* System.TimeSpan */ dueTime, void* /* System.TimeSpan */ period, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.ITimer __selfConverted = InteropUtils.GetInstance(__self); + + System.TimeSpan dueTimeConverted = InteropUtils.GetInstance(dueTime); + System.TimeSpan periodConverted = InteropUtils.GetInstance(period); + + try { + System.Boolean __returnValue = __selfConverted.Change(dueTimeConverted, periodConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_ITimer_TypeOf")] + internal static void* /* System.Type */ System_Threading_ITimer_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.ITimer); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_ITimer_Destroy")] + internal static void /* System.Void */ System_Threading_ITimer_Destroy(void* /* System.Threading.ITimer */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Threading_TimerCallback +{ + internal void* Context { get; } + internal delegate* unmanaged CFunction { get; } + internal delegate* unmanaged CDestructorFunction { get; } + + private WeakReference m_trampoline; + internal System.Threading.TimerCallback Trampoline + { + get { + System.Threading.TimerCallback? trampoline; + + if (m_trampoline is not null) { + m_trampoline.TryGetTarget(out trampoline); + } else { + trampoline = null; + } + + if (trampoline is null) { + trampoline = CreateTrampoline(); + m_trampoline = new(trampoline); + } + + return trampoline; + } + } + + private System_Threading_TimerCallback(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + Context = context; + CFunction = cFunction; + CDestructorFunction = cDestructorFunction; + } + + internal System_Threading_TimerCallback(System.Threading.TimerCallback originalDelegate) + { + m_trampoline = new(originalDelegate); + } + + ~System_Threading_TimerCallback() + { + if (CDestructorFunction is null) { + return; + } + + CDestructorFunction(Context); + } + + private System.Threading.TimerCallback? CreateTrampoline() + { + if (CFunction is null) { + return null; + } + + System.Type typeOfSelf = typeof(System_Threading_TimerCallback); + string nameOfInvocationMethod = nameof(__InvokeByCallingCFunction); + System.Reflection.BindingFlags bindingFlags = System.Reflection.BindingFlags.Instance | BindingFlags.NonPublic; + System.Reflection.MethodInfo? invocationMethod = typeOfSelf.GetMethod(nameOfInvocationMethod, bindingFlags); + + if (invocationMethod is null) { + throw new Exception("Failed to retrieve delegate invocation method"); + } + + System.Threading.TimerCallback trampoline = (System.Threading.TimerCallback)System.Delegate.CreateDelegate(typeof(System.Threading.TimerCallback), this, invocationMethod); + + return trampoline; + } + + private void __InvokeByCallingCFunction(System.Object /* System.Object */ state) + { + void* stateConverted = state.AllocateGCHandleAndGetAddress(); + + + CFunction(Context, stateConverted); + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_TimerCallback_Create")] + public static void* Create(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + var self = new System_Threading_TimerCallback(context, cFunction, cDestructorFunction); + void* selfHandle = self.AllocateGCHandleAndGetAddress(); + + return selfHandle; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_TimerCallback_Invoke")] + public static void /* System.Void */ Invoke(void* self, void* /* System.Object */ state, void** __outException) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + try { + var selfConverted = InteropUtils.GetInstance(self); + + System.Object stateConverted = InteropUtils.GetInstance(state); + + + selfConverted.Trampoline(stateConverted); + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_TimerCallback_Context_Get")] + public static void* Context_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.Context; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_TimerCallback_CFunction_Get")] + public static delegate* unmanaged CFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_TimerCallback_CDestructorFunction_Get")] + public static delegate* unmanaged CDestructorFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CDestructorFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_TimerCallback_TypeOf")] + internal static void* /* System.Type */ System_Threading_TimerCallback_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.TimerCallback); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_TimerCallback_Destroy")] + internal static void /* System.Void */ System_Threading_TimerCallback_Destroy(void* /* System.Threading.TimerCallback */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_CompilerServices_ValueTaskAwaiter +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ValueTaskAwaiter_GetResult")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ValueTaskAwaiter_GetResult(void* /* System.Runtime.CompilerServices.ValueTaskAwaiter */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ValueTaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.GetResult(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ValueTaskAwaiter_OnCompleted")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ValueTaskAwaiter_OnCompleted(void* /* System.Runtime.CompilerServices.ValueTaskAwaiter */ __self, void* /* System.Action */ continuation, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ValueTaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + System.Action continuationConverted = InteropUtils.GetInstance(continuation)?.Trampoline; + + try { + __selfConverted.OnCompleted(continuationConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ValueTaskAwaiter_UnsafeOnCompleted")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ValueTaskAwaiter_UnsafeOnCompleted(void* /* System.Runtime.CompilerServices.ValueTaskAwaiter */ __self, void* /* System.Action */ continuation, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ValueTaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + System.Action continuationConverted = InteropUtils.GetInstance(continuation)?.Trampoline; + + try { + __selfConverted.UnsafeOnCompleted(continuationConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ValueTaskAwaiter_IsCompleted_Get")] + internal static byte /* System.Boolean */ System_Runtime_CompilerServices_ValueTaskAwaiter_IsCompleted_Get(void* /* System.Runtime.CompilerServices.ValueTaskAwaiter */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ValueTaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCompleted; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ValueTaskAwaiter_Create")] + internal static void* /* System.Runtime.CompilerServices.ValueTaskAwaiter */ System_Runtime_CompilerServices_ValueTaskAwaiter_Create(void** /* System.Exception */ __outException) + { + + try { + System.Runtime.CompilerServices.ValueTaskAwaiter __returnValue = new System.Runtime.CompilerServices.ValueTaskAwaiter(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ValueTaskAwaiter_TypeOf")] + internal static void* /* System.Type */ System_Runtime_CompilerServices_ValueTaskAwaiter_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.CompilerServices.ValueTaskAwaiter); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ValueTaskAwaiter_Destroy")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ValueTaskAwaiter_Destroy(void* /* System.Runtime.CompilerServices.ValueTaskAwaiter */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_GetAwaiter")] + internal static void* /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_GetAwaiter(void* /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter __returnValue = __selfConverted.GetAwaiter(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Create")] + internal static void* /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable */ System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Create(void** /* System.Exception */ __outException) + { + + try { + System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable __returnValue = new System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_TypeOf")] + internal static void* /* System.Type */ System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Destroy")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Destroy(void* /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_GetResult")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_GetResult(void* /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.GetResult(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_OnCompleted")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_OnCompleted(void* /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ __self, void* /* System.Action */ continuation, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + System.Action continuationConverted = InteropUtils.GetInstance(continuation)?.Trampoline; + + try { + __selfConverted.OnCompleted(continuationConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_UnsafeOnCompleted")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_UnsafeOnCompleted(void* /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ __self, void* /* System.Action */ continuation, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + System.Action continuationConverted = InteropUtils.GetInstance(continuation)?.Trampoline; + + try { + __selfConverted.UnsafeOnCompleted(continuationConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_IsCompleted_Get")] + internal static byte /* System.Boolean */ System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_IsCompleted_Get(void* /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsCompleted; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Create")] + internal static void* /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Create(void** /* System.Exception */ __outException) + { + + try { + System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter __returnValue = new System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_TypeOf")] + internal static void* /* System.Type */ System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Destroy")] + internal static void /* System.Void */ System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Destroy(void* /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Threading_Tasks_Sources_IValueTaskSource +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Sources_IValueTaskSource_GetStatus")] + internal static System.Threading.Tasks.Sources.ValueTaskSourceStatus /* System.Threading.Tasks.Sources.ValueTaskSourceStatus */ System_Threading_Tasks_Sources_IValueTaskSource_GetStatus(void* /* System.Threading.Tasks.Sources.IValueTaskSource */ __self, short /* System.Int16 */ token, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Sources.IValueTaskSource __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Threading.Tasks.Sources.ValueTaskSourceStatus __returnValue = __selfConverted.GetStatus(token); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Threading.Tasks.Sources.ValueTaskSourceStatus); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Sources_IValueTaskSource_GetResult")] + internal static void /* System.Void */ System_Threading_Tasks_Sources_IValueTaskSource_GetResult(void* /* System.Threading.Tasks.Sources.IValueTaskSource */ __self, short /* System.Int16 */ token, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Threading.Tasks.Sources.IValueTaskSource __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.GetResult(token); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Sources_IValueTaskSource_TypeOf")] + internal static void* /* System.Type */ System_Threading_Tasks_Sources_IValueTaskSource_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.Tasks.Sources.IValueTaskSource); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Sources_IValueTaskSource_Destroy")] + internal static void /* System.Void */ System_Threading_Tasks_Sources_IValueTaskSource_Destroy(void* /* System.Threading.Tasks.Sources.IValueTaskSource */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Threading_Tasks_Sources_ValueTaskSourceStatus +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Sources_ValueTaskSourceStatus_TypeOf")] + internal static void* /* System.Type */ System_Threading_Tasks_Sources_ValueTaskSourceStatus_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.Tasks.Sources.ValueTaskSourceStatus); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags +{ + [UnmanagedCallersOnly(EntryPoint = "System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_TypeOf")] + internal static void* /* System.Type */ System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_TypeOf() + { + + System.Type __returnValue = typeof(System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_AsyncCallback +{ + internal void* Context { get; } + internal delegate* unmanaged CFunction { get; } + internal delegate* unmanaged CDestructorFunction { get; } + + private WeakReference m_trampoline; + internal System.AsyncCallback Trampoline + { + get { + System.AsyncCallback? trampoline; + + if (m_trampoline is not null) { + m_trampoline.TryGetTarget(out trampoline); + } else { + trampoline = null; + } + + if (trampoline is null) { + trampoline = CreateTrampoline(); + m_trampoline = new(trampoline); + } + + return trampoline; + } + } + + private System_AsyncCallback(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + Context = context; + CFunction = cFunction; + CDestructorFunction = cDestructorFunction; + } + + internal System_AsyncCallback(System.AsyncCallback originalDelegate) + { + m_trampoline = new(originalDelegate); + } + + ~System_AsyncCallback() + { + if (CDestructorFunction is null) { + return; + } + + CDestructorFunction(Context); + } + + private System.AsyncCallback? CreateTrampoline() + { + if (CFunction is null) { + return null; + } + + System.Type typeOfSelf = typeof(System_AsyncCallback); + string nameOfInvocationMethod = nameof(__InvokeByCallingCFunction); + System.Reflection.BindingFlags bindingFlags = System.Reflection.BindingFlags.Instance | BindingFlags.NonPublic; + System.Reflection.MethodInfo? invocationMethod = typeOfSelf.GetMethod(nameOfInvocationMethod, bindingFlags); + + if (invocationMethod is null) { + throw new Exception("Failed to retrieve delegate invocation method"); + } + + System.AsyncCallback trampoline = (System.AsyncCallback)System.Delegate.CreateDelegate(typeof(System.AsyncCallback), this, invocationMethod); + + return trampoline; + } + + private void __InvokeByCallingCFunction(System.IAsyncResult /* System.IAsyncResult */ ar) + { + void* arConverted = ar.AllocateGCHandleAndGetAddress(); + + + CFunction(Context, arConverted); + } + + [UnmanagedCallersOnly(EntryPoint = "System_AsyncCallback_Create")] + public static void* Create(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + var self = new System_AsyncCallback(context, cFunction, cDestructorFunction); + void* selfHandle = self.AllocateGCHandleAndGetAddress(); + + return selfHandle; + } + + [UnmanagedCallersOnly(EntryPoint = "System_AsyncCallback_Invoke")] + public static void /* System.Void */ Invoke(void* self, void* /* System.IAsyncResult */ ar, void** __outException) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + try { + var selfConverted = InteropUtils.GetInstance(self); + + System.IAsyncResult arConverted = InteropUtils.GetInstance(ar); + + + selfConverted.Trampoline(arConverted); + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AsyncCallback_Context_Get")] + public static void* Context_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.Context; + } + + [UnmanagedCallersOnly(EntryPoint = "System_AsyncCallback_CFunction_Get")] + public static delegate* unmanaged CFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_AsyncCallback_CDestructorFunction_Get")] + public static delegate* unmanaged CDestructorFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CDestructorFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_AsyncCallback_TypeOf")] + internal static void* /* System.Type */ System_AsyncCallback_TypeOf() + { + + System.Type __returnValue = typeof(System.AsyncCallback); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_AsyncCallback_Destroy")] + internal static void /* System.Void */ System_AsyncCallback_Destroy(void* /* System.AsyncCallback */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_IO_SeekOrigin +{ + [UnmanagedCallersOnly(EntryPoint = "System_IO_SeekOrigin_TypeOf")] + internal static void* /* System.Type */ System_IO_SeekOrigin_TypeOf() + { + + System.Type __returnValue = typeof(System.IO.SeekOrigin); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class Microsoft_Win32_SafeHandles_SafeFileHandle +{ + [UnmanagedCallersOnly(EntryPoint = "Microsoft_Win32_SafeHandles_SafeFileHandle_Create")] + internal static void* /* Microsoft.Win32.SafeHandles.SafeFileHandle */ Microsoft_Win32_SafeHandles_SafeFileHandle_Create(nint /* System.IntPtr */ preexistingHandle, byte /* System.Boolean */ ownsHandle, void** /* System.Exception */ __outException) + { + System.Boolean ownsHandleConverted = ownsHandle.ToBool(); + + try { + Microsoft.Win32.SafeHandles.SafeFileHandle __returnValue = new Microsoft.Win32.SafeHandles.SafeFileHandle(preexistingHandle, ownsHandleConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "Microsoft_Win32_SafeHandles_SafeFileHandle_Create_1")] + internal static void* /* Microsoft.Win32.SafeHandles.SafeFileHandle */ Microsoft_Win32_SafeHandles_SafeFileHandle_Create_1(void** /* System.Exception */ __outException) + { + + try { + Microsoft.Win32.SafeHandles.SafeFileHandle __returnValue = new Microsoft.Win32.SafeHandles.SafeFileHandle(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "Microsoft_Win32_SafeHandles_SafeFileHandle_IsAsync_Get")] + internal static byte /* System.Boolean */ Microsoft_Win32_SafeHandles_SafeFileHandle_IsAsync_Get(void* /* Microsoft.Win32.SafeHandles.SafeFileHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + Microsoft.Win32.SafeHandles.SafeFileHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsAsync; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "Microsoft_Win32_SafeHandles_SafeFileHandle_IsInvalid_Get")] + internal static byte /* System.Boolean */ Microsoft_Win32_SafeHandles_SafeFileHandle_IsInvalid_Get(void* /* Microsoft.Win32.SafeHandles.SafeFileHandle */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + Microsoft.Win32.SafeHandles.SafeFileHandle __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsInvalid; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "Microsoft_Win32_SafeHandles_SafeFileHandle_TypeOf")] + internal static void* /* System.Type */ Microsoft_Win32_SafeHandles_SafeFileHandle_TypeOf() + { + + System.Type __returnValue = typeof(Microsoft.Win32.SafeHandles.SafeFileHandle); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "Microsoft_Win32_SafeHandles_SafeFileHandle_Destroy")] + internal static void /* System.Void */ Microsoft_Win32_SafeHandles_SafeFileHandle_Destroy(void* /* Microsoft.Win32.SafeHandles.SafeFileHandle */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_IO_FileAccess +{ + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileAccess_TypeOf")] + internal static void* /* System.Type */ System_IO_FileAccess_TypeOf() + { + + System.Type __returnValue = typeof(System.IO.FileAccess); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_IO_FileMode +{ + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileMode_TypeOf")] + internal static void* /* System.Type */ System_IO_FileMode_TypeOf() + { + + System.Type __returnValue = typeof(System.IO.FileMode); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_IO_FileShare +{ + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileShare_TypeOf")] + internal static void* /* System.Type */ System_IO_FileShare_TypeOf() + { + + System.Type __returnValue = typeof(System.IO.FileShare); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_IO_FileOptions +{ + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileOptions_TypeOf")] + internal static void* /* System.Type */ System_IO_FileOptions_TypeOf() + { + + System.Type __returnValue = typeof(System.IO.FileOptions); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_IO_FileStreamOptions +{ + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_Create")] + internal static void* /* System.IO.FileStreamOptions */ System_IO_FileStreamOptions_Create(void** /* System.Exception */ __outException) + { + + try { + System.IO.FileStreamOptions __returnValue = new System.IO.FileStreamOptions(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_Mode_Get")] + internal static System.IO.FileMode /* System.IO.FileMode */ System_IO_FileStreamOptions_Mode_Get(void* /* System.IO.FileStreamOptions */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStreamOptions __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.IO.FileMode __returnValue = __selfConverted.Mode; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.IO.FileMode); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_Mode_Set")] + internal static void /* System.Void */ System_IO_FileStreamOptions_Mode_Set(void* /* System.IO.FileStreamOptions */ __self, System.IO.FileMode /* System.IO.FileMode */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStreamOptions __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Mode = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_Access_Get")] + internal static System.IO.FileAccess /* System.IO.FileAccess */ System_IO_FileStreamOptions_Access_Get(void* /* System.IO.FileStreamOptions */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStreamOptions __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.IO.FileAccess __returnValue = __selfConverted.Access; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.IO.FileAccess); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_Access_Set")] + internal static void /* System.Void */ System_IO_FileStreamOptions_Access_Set(void* /* System.IO.FileStreamOptions */ __self, System.IO.FileAccess /* System.IO.FileAccess */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStreamOptions __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Access = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_Share_Get")] + internal static System.IO.FileShare /* System.IO.FileShare */ System_IO_FileStreamOptions_Share_Get(void* /* System.IO.FileStreamOptions */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStreamOptions __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.IO.FileShare __returnValue = __selfConverted.Share; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.IO.FileShare); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_Share_Set")] + internal static void /* System.Void */ System_IO_FileStreamOptions_Share_Set(void* /* System.IO.FileStreamOptions */ __self, System.IO.FileShare /* System.IO.FileShare */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStreamOptions __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Share = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_Options_Get")] + internal static System.IO.FileOptions /* System.IO.FileOptions */ System_IO_FileStreamOptions_Options_Get(void* /* System.IO.FileStreamOptions */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStreamOptions __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.IO.FileOptions __returnValue = __selfConverted.Options; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.IO.FileOptions); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_Options_Set")] + internal static void /* System.Void */ System_IO_FileStreamOptions_Options_Set(void* /* System.IO.FileStreamOptions */ __self, System.IO.FileOptions /* System.IO.FileOptions */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStreamOptions __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Options = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_PreallocationSize_Get")] + internal static long /* System.Int64 */ System_IO_FileStreamOptions_PreallocationSize_Get(void* /* System.IO.FileStreamOptions */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStreamOptions __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int64 __returnValue = __selfConverted.PreallocationSize; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_PreallocationSize_Set")] + internal static void /* System.Void */ System_IO_FileStreamOptions_PreallocationSize_Set(void* /* System.IO.FileStreamOptions */ __self, long /* System.Int64 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStreamOptions __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.PreallocationSize = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_BufferSize_Get")] + internal static int /* System.Int32 */ System_IO_FileStreamOptions_BufferSize_Get(void* /* System.IO.FileStreamOptions */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStreamOptions __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.BufferSize; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_BufferSize_Set")] + internal static void /* System.Void */ System_IO_FileStreamOptions_BufferSize_Set(void* /* System.IO.FileStreamOptions */ __self, int /* System.Int32 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.IO.FileStreamOptions __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.BufferSize = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_TypeOf")] + internal static void* /* System.Type */ System_IO_FileStreamOptions_TypeOf() + { + + System.Type __returnValue = typeof(System.IO.FileStreamOptions); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_IO_FileStreamOptions_Destroy")] + internal static void /* System.Void */ System_IO_FileStreamOptions_Destroy(void* /* System.IO.FileStreamOptions */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_ManifestResourceInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ManifestResourceInfo_Create")] + internal static void* /* System.Reflection.ManifestResourceInfo */ System_Reflection_ManifestResourceInfo_Create(void* /* System.Reflection.Assembly */ containingAssembly, void* /* System.String */ containingFileName, System.Reflection.ResourceLocation /* System.Reflection.ResourceLocation */ resourceLocation, void** /* System.Exception */ __outException) + { + System.Reflection.Assembly containingAssemblyConverted = InteropUtils.GetInstance(containingAssembly); + System.String containingFileNameConverted = InteropUtils.GetInstance(containingFileName); + + try { + System.Reflection.ManifestResourceInfo __returnValue = new System.Reflection.ManifestResourceInfo(containingAssemblyConverted, containingFileNameConverted, resourceLocation); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ManifestResourceInfo_ReferencedAssembly_Get")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_ManifestResourceInfo_ReferencedAssembly_Get(void* /* System.Reflection.ManifestResourceInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ManifestResourceInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.Assembly __returnValue = __selfConverted.ReferencedAssembly; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ManifestResourceInfo_FileName_Get")] + internal static void* /* System.String */ System_Reflection_ManifestResourceInfo_FileName_Get(void* /* System.Reflection.ManifestResourceInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ManifestResourceInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.FileName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ManifestResourceInfo_ResourceLocation_Get")] + internal static System.Reflection.ResourceLocation /* System.Reflection.ResourceLocation */ System_Reflection_ManifestResourceInfo_ResourceLocation_Get(void* /* System.Reflection.ManifestResourceInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ManifestResourceInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.ResourceLocation __returnValue = __selfConverted.ResourceLocation; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.ResourceLocation); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ManifestResourceInfo_TypeOf")] + internal static void* /* System.Type */ System_Reflection_ManifestResourceInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.ManifestResourceInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ManifestResourceInfo_Destroy")] + internal static void /* System.Void */ System_Reflection_ManifestResourceInfo_Destroy(void* /* System.Reflection.ManifestResourceInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_ResourceLocation +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ResourceLocation_TypeOf")] + internal static void* /* System.Type */ System_Reflection_ResourceLocation_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.ResourceLocation); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Reflection_ModuleResolveEventHandler +{ + internal void* Context { get; } + internal delegate* unmanaged CFunction { get; } + internal delegate* unmanaged CDestructorFunction { get; } + + private WeakReference m_trampoline; + internal System.Reflection.ModuleResolveEventHandler Trampoline + { + get { + System.Reflection.ModuleResolveEventHandler? trampoline; + + if (m_trampoline is not null) { + m_trampoline.TryGetTarget(out trampoline); + } else { + trampoline = null; + } + + if (trampoline is null) { + trampoline = CreateTrampoline(); + m_trampoline = new(trampoline); + } + + return trampoline; + } + } + + private System_Reflection_ModuleResolveEventHandler(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + Context = context; + CFunction = cFunction; + CDestructorFunction = cDestructorFunction; + } + + internal System_Reflection_ModuleResolveEventHandler(System.Reflection.ModuleResolveEventHandler originalDelegate) + { + m_trampoline = new(originalDelegate); + } + + ~System_Reflection_ModuleResolveEventHandler() + { + if (CDestructorFunction is null) { + return; + } + + CDestructorFunction(Context); + } + + private System.Reflection.ModuleResolveEventHandler? CreateTrampoline() + { + if (CFunction is null) { + return null; + } + + System.Type typeOfSelf = typeof(System_Reflection_ModuleResolveEventHandler); + string nameOfInvocationMethod = nameof(__InvokeByCallingCFunction); + System.Reflection.BindingFlags bindingFlags = System.Reflection.BindingFlags.Instance | BindingFlags.NonPublic; + System.Reflection.MethodInfo? invocationMethod = typeOfSelf.GetMethod(nameOfInvocationMethod, bindingFlags); + + if (invocationMethod is null) { + throw new Exception("Failed to retrieve delegate invocation method"); + } + + System.Reflection.ModuleResolveEventHandler trampoline = (System.Reflection.ModuleResolveEventHandler)System.Delegate.CreateDelegate(typeof(System.Reflection.ModuleResolveEventHandler), this, invocationMethod); + + return trampoline; + } + + private System.Reflection.Module __InvokeByCallingCFunction(System.Object /* System.Object */ sender, System.ResolveEventArgs /* System.ResolveEventArgs */ e) + { + void* senderConverted = sender.AllocateGCHandleAndGetAddress(); + void* eConverted = e.AllocateGCHandleAndGetAddress(); + + + var __returnValue = CFunction(Context, senderConverted, eConverted); + var __returnValueConverted = InteropUtils.GetInstance(__returnValue); + + InteropUtils.FreeIfAllocated(__returnValue); + + return __returnValueConverted; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ModuleResolveEventHandler_Create")] + public static void* Create(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + var self = new System_Reflection_ModuleResolveEventHandler(context, cFunction, cDestructorFunction); + void* selfHandle = self.AllocateGCHandleAndGetAddress(); + + return selfHandle; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ModuleResolveEventHandler_Invoke")] + public static void* /* System.Reflection.Module */ Invoke(void* self, void* /* System.Object */ sender, void* /* System.ResolveEventArgs */ e, void** __outException) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + try { + var selfConverted = InteropUtils.GetInstance(self); + + System.Object senderConverted = InteropUtils.GetInstance(sender); + System.ResolveEventArgs eConverted = InteropUtils.GetInstance(e); + + + var __returnValue = selfConverted.Trampoline(senderConverted, eConverted); + var __returnValueConverted = __returnValue.AllocateGCHandleAndGetAddress(); + + return __returnValueConverted; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ModuleResolveEventHandler_Context_Get")] + public static void* Context_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.Context; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ModuleResolveEventHandler_CFunction_Get")] + public static delegate* unmanaged CFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ModuleResolveEventHandler_CDestructorFunction_Get")] + public static delegate* unmanaged CDestructorFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CDestructorFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ModuleResolveEventHandler_TypeOf")] + internal static void* /* System.Type */ System_Reflection_ModuleResolveEventHandler_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.ModuleResolveEventHandler); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ModuleResolveEventHandler_Destroy")] + internal static void /* System.Void */ System_Reflection_ModuleResolveEventHandler_Destroy(void* /* System.Reflection.ModuleResolveEventHandler */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_Module +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetPEKind")] + internal static void /* System.Void */ System_Reflection_Module_GetPEKind(void* /* System.Reflection.Module */ __self, System.Reflection.PortableExecutableKinds* /* System.Reflection.PortableExecutableKinds */ peKind, System.Reflection.ImageFileMachine* /* System.Reflection.ImageFileMachine */ machine, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.Reflection.PortableExecutableKinds peKindConverted; + System.Reflection.ImageFileMachine machineConverted; + + try { + __selfConverted.GetPEKind(out peKindConverted, out machineConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (peKind is not null) { + *peKind = peKindConverted; + } + + if (machine is not null) { + *machine = machineConverted; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (peKind is not null) { + *peKind = default(System.Reflection.PortableExecutableKinds); + } + + if (machine is not null) { + *machine = default(System.Reflection.ImageFileMachine); + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_IsResource")] + internal static byte /* System.Boolean */ System_Reflection_Module_IsResource(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsResource(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_IsDefined")] + internal static byte /* System.Boolean */ System_Reflection_Module_IsDefined(void* /* System.Reflection.Module */ __self, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Boolean __returnValue = __selfConverted.IsDefined(attributeTypeConverted, inheritConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetCustomAttributes")] + internal static void* /* System.Object[] */ System_Reflection_Module_GetCustomAttributes(void* /* System.Reflection.Module */ __self, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Object[] __returnValue = __selfConverted.GetCustomAttributes(inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetCustomAttributes_1")] + internal static void* /* System.Object[] */ System_Reflection_Module_GetCustomAttributes_1(void* /* System.Reflection.Module */ __self, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Object[] __returnValue = __selfConverted.GetCustomAttributes(attributeTypeConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetMethod")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_Module_GetMethod(void* /* System.Reflection.Module */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetMethod_1")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_Module_GetMethod_1(void* /* System.Reflection.Module */ __self, void* /* System.String */ name, void* /* System.Type[] */ types, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, typesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetMethod_2")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_Module_GetMethod_2(void* /* System.Reflection.Module */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.Binder */ binder, System.Reflection.CallingConventions /* System.Reflection.CallingConventions */ callConvention, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, bindingAttr, binderConverted, callConvention, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetMethods")] + internal static void* /* System.Reflection.MethodInfo[] */ System_Reflection_Module_GetMethods(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo[] __returnValue = __selfConverted.GetMethods(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetMethods_1")] + internal static void* /* System.Reflection.MethodInfo[] */ System_Reflection_Module_GetMethods_1(void* /* System.Reflection.Module */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingFlags, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo[] __returnValue = __selfConverted.GetMethods(bindingFlags); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetField")] + internal static void* /* System.Reflection.FieldInfo */ System_Reflection_Module_GetField(void* /* System.Reflection.Module */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.FieldInfo __returnValue = __selfConverted.GetField(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetField_1")] + internal static void* /* System.Reflection.FieldInfo */ System_Reflection_Module_GetField_1(void* /* System.Reflection.Module */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.FieldInfo __returnValue = __selfConverted.GetField(nameConverted, bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetFields")] + internal static void* /* System.Reflection.FieldInfo[] */ System_Reflection_Module_GetFields(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.FieldInfo[] __returnValue = __selfConverted.GetFields(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetFields_1")] + internal static void* /* System.Reflection.FieldInfo[] */ System_Reflection_Module_GetFields_1(void* /* System.Reflection.Module */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingFlags, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.FieldInfo[] __returnValue = __selfConverted.GetFields(bindingFlags); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetTypes")] + internal static void* /* System.Type[] */ System_Reflection_Module_GetTypes(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type[] __returnValue = __selfConverted.GetTypes(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetType_1")] + internal static void* /* System.Type */ System_Reflection_Module_GetType_1(void* /* System.Reflection.Module */ __self, void* /* System.String */ className, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.String classNameConverted = InteropUtils.GetInstance(className); + + try { + System.Type __returnValue = __selfConverted.GetType(classNameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetType_2")] + internal static void* /* System.Type */ System_Reflection_Module_GetType_2(void* /* System.Reflection.Module */ __self, void* /* System.String */ className, byte /* System.Boolean */ ignoreCase, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.String classNameConverted = InteropUtils.GetInstance(className); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + + try { + System.Type __returnValue = __selfConverted.GetType(classNameConverted, ignoreCaseConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetType_3")] + internal static void* /* System.Type */ System_Reflection_Module_GetType_3(void* /* System.Reflection.Module */ __self, void* /* System.String */ className, byte /* System.Boolean */ throwOnError, byte /* System.Boolean */ ignoreCase, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.String classNameConverted = InteropUtils.GetInstance(className); + System.Boolean throwOnErrorConverted = throwOnError.ToBool(); + System.Boolean ignoreCaseConverted = ignoreCase.ToBool(); + + try { + System.Type __returnValue = __selfConverted.GetType(classNameConverted, throwOnErrorConverted, ignoreCaseConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_FindTypes")] + internal static void* /* System.Type[] */ System_Reflection_Module_FindTypes(void* /* System.Reflection.Module */ __self, void* /* System.Reflection.TypeFilter */ filter, void* /* System.Object */ filterCriteria, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.Reflection.TypeFilter filterConverted = InteropUtils.GetInstance(filter)?.Trampoline; + System.Object filterCriteriaConverted = InteropUtils.GetInstance(filterCriteria); + + try { + System.Type[] __returnValue = __selfConverted.FindTypes(filterConverted, filterCriteriaConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ResolveField")] + internal static void* /* System.Reflection.FieldInfo */ System_Reflection_Module_ResolveField(void* /* System.Reflection.Module */ __self, int /* System.Int32 */ metadataToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.FieldInfo __returnValue = __selfConverted.ResolveField(metadataToken); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ResolveField_1")] + internal static void* /* System.Reflection.FieldInfo */ System_Reflection_Module_ResolveField_1(void* /* System.Reflection.Module */ __self, int /* System.Int32 */ metadataToken, void* /* System.Type[] */ genericTypeArguments, void* /* System.Type[] */ genericMethodArguments, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.Type[] genericTypeArgumentsConverted = InteropUtils.GetInstance(genericTypeArguments); + System.Type[] genericMethodArgumentsConverted = InteropUtils.GetInstance(genericMethodArguments); + + try { + System.Reflection.FieldInfo __returnValue = __selfConverted.ResolveField(metadataToken, genericTypeArgumentsConverted, genericMethodArgumentsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ResolveMember")] + internal static void* /* System.Reflection.MemberInfo */ System_Reflection_Module_ResolveMember(void* /* System.Reflection.Module */ __self, int /* System.Int32 */ metadataToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MemberInfo __returnValue = __selfConverted.ResolveMember(metadataToken); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ResolveMember_1")] + internal static void* /* System.Reflection.MemberInfo */ System_Reflection_Module_ResolveMember_1(void* /* System.Reflection.Module */ __self, int /* System.Int32 */ metadataToken, void* /* System.Type[] */ genericTypeArguments, void* /* System.Type[] */ genericMethodArguments, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.Type[] genericTypeArgumentsConverted = InteropUtils.GetInstance(genericTypeArguments); + System.Type[] genericMethodArgumentsConverted = InteropUtils.GetInstance(genericMethodArguments); + + try { + System.Reflection.MemberInfo __returnValue = __selfConverted.ResolveMember(metadataToken, genericTypeArgumentsConverted, genericMethodArgumentsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ResolveMethod")] + internal static void* /* System.Reflection.MethodBase */ System_Reflection_Module_ResolveMethod(void* /* System.Reflection.Module */ __self, int /* System.Int32 */ metadataToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodBase __returnValue = __selfConverted.ResolveMethod(metadataToken); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ResolveMethod_1")] + internal static void* /* System.Reflection.MethodBase */ System_Reflection_Module_ResolveMethod_1(void* /* System.Reflection.Module */ __self, int /* System.Int32 */ metadataToken, void* /* System.Type[] */ genericTypeArguments, void* /* System.Type[] */ genericMethodArguments, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.Type[] genericTypeArgumentsConverted = InteropUtils.GetInstance(genericTypeArguments); + System.Type[] genericMethodArgumentsConverted = InteropUtils.GetInstance(genericMethodArguments); + + try { + System.Reflection.MethodBase __returnValue = __selfConverted.ResolveMethod(metadataToken, genericTypeArgumentsConverted, genericMethodArgumentsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ResolveSignature")] + internal static void* /* System.Byte[] */ System_Reflection_Module_ResolveSignature(void* /* System.Reflection.Module */ __self, int /* System.Int32 */ metadataToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Byte[] __returnValue = __selfConverted.ResolveSignature(metadataToken); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ResolveString")] + internal static void* /* System.String */ System_Reflection_Module_ResolveString(void* /* System.Reflection.Module */ __self, int /* System.Int32 */ metadataToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ResolveString(metadataToken); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ResolveType")] + internal static void* /* System.Type */ System_Reflection_Module_ResolveType(void* /* System.Reflection.Module */ __self, int /* System.Int32 */ metadataToken, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.ResolveType(metadataToken); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ResolveType_1")] + internal static void* /* System.Type */ System_Reflection_Module_ResolveType_1(void* /* System.Reflection.Module */ __self, int /* System.Int32 */ metadataToken, void* /* System.Type[] */ genericTypeArguments, void* /* System.Type[] */ genericMethodArguments, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.Type[] genericTypeArgumentsConverted = InteropUtils.GetInstance(genericTypeArguments); + System.Type[] genericMethodArgumentsConverted = InteropUtils.GetInstance(genericMethodArguments); + + try { + System.Type __returnValue = __selfConverted.ResolveType(metadataToken, genericTypeArgumentsConverted, genericMethodArgumentsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetObjectData")] + internal static void /* System.Void */ System_Reflection_Module_GetObjectData(void* /* System.Reflection.Module */ __self, void* /* System.Runtime.Serialization.SerializationInfo */ info, void* /* System.Runtime.Serialization.StreamingContext */ context, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.Runtime.Serialization.SerializationInfo infoConverted = InteropUtils.GetInstance(info); + System.Runtime.Serialization.StreamingContext contextConverted = InteropUtils.GetInstance(context); + + try { + __selfConverted.GetObjectData(infoConverted, contextConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_Equals")] + internal static byte /* System.Boolean */ System_Reflection_Module_Equals(void* /* System.Reflection.Module */ __self, void* /* System.Object */ o, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + System.Object oConverted = InteropUtils.GetInstance(o); + + try { + System.Boolean __returnValue = __selfConverted.Equals(oConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_GetHashCode")] + internal static int /* System.Int32 */ System_Reflection_Module_GetHashCode(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ToString")] + internal static void* /* System.String */ System_Reflection_Module_ToString(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_Assembly_Get")] + internal static void* /* System.Reflection.Assembly */ System_Reflection_Module_Assembly_Get(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.Assembly __returnValue = __selfConverted.Assembly; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_FullyQualifiedName_Get")] + internal static void* /* System.String */ System_Reflection_Module_FullyQualifiedName_Get(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.FullyQualifiedName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_Name_Get")] + internal static void* /* System.String */ System_Reflection_Module_Name_Get(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Name; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_MDStreamVersion_Get")] + internal static int /* System.Int32 */ System_Reflection_Module_MDStreamVersion_Get(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.MDStreamVersion; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ModuleVersionId_Get")] + internal static void* /* System.Guid */ System_Reflection_Module_ModuleVersionId_Get(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Guid __returnValue = __selfConverted.ModuleVersionId; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ScopeName_Get")] + internal static void* /* System.String */ System_Reflection_Module_ScopeName_Get(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ScopeName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_ModuleHandle_Get")] + internal static void* /* System.ModuleHandle */ System_Reflection_Module_ModuleHandle_Get(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.ModuleHandle __returnValue = __selfConverted.ModuleHandle; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_MetadataToken_Get")] + internal static int /* System.Int32 */ System_Reflection_Module_MetadataToken_Get(void* /* System.Reflection.Module */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.Module __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.MetadataToken; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_FilterTypeName_Get")] + internal static void* /* System.Reflection.TypeFilter */ System_Reflection_Module_FilterTypeName_Get() + { + + System.Reflection.TypeFilter __returnValue = System.Reflection.Module.FilterTypeName; + void* __returnValueNative = new System_Reflection_TypeFilter(__returnValue).AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_FilterTypeNameIgnoreCase_Get")] + internal static void* /* System.Reflection.TypeFilter */ System_Reflection_Module_FilterTypeNameIgnoreCase_Get() + { + + System.Reflection.TypeFilter __returnValue = System.Reflection.Module.FilterTypeNameIgnoreCase; + void* __returnValueNative = new System_Reflection_TypeFilter(__returnValue).AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_TypeOf")] + internal static void* /* System.Type */ System_Reflection_Module_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.Module); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_Module_Destroy")] + internal static void /* System.Void */ System_Reflection_Module_Destroy(void* /* System.Reflection.Module */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Guid +{ + [UnmanagedCallersOnly(EntryPoint = "System_Guid_Parse")] + internal static void* /* System.Guid */ System_Guid_Parse(void* /* System.String */ input, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + + try { + System.Guid __returnValue = System.Guid.Parse(inputConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_TryParse")] + internal static byte /* System.Boolean */ System_Guid_TryParse(void* /* System.String */ input, void** /* System.Guid */ result, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.Guid resultConverted; + + try { + System.Boolean __returnValue = System.Guid.TryParse(inputConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_ParseExact")] + internal static void* /* System.Guid */ System_Guid_ParseExact(void* /* System.String */ input, void* /* System.String */ format, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String formatConverted = InteropUtils.GetInstance(format); + + try { + System.Guid __returnValue = System.Guid.ParseExact(inputConverted, formatConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_TryParseExact")] + internal static byte /* System.Boolean */ System_Guid_TryParseExact(void* /* System.String */ input, void* /* System.String */ format, void** /* System.Guid */ result, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.String formatConverted = InteropUtils.GetInstance(format); + System.Guid resultConverted; + + try { + System.Boolean __returnValue = System.Guid.TryParseExact(inputConverted, formatConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_ToByteArray")] + internal static void* /* System.Byte[] */ System_Guid_ToByteArray(void* /* System.Guid */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Guid __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Byte[] __returnValue = __selfConverted.ToByteArray(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_ToByteArray_1")] + internal static void* /* System.Byte[] */ System_Guid_ToByteArray_1(void* /* System.Guid */ __self, byte /* System.Boolean */ bigEndian, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Guid __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean bigEndianConverted = bigEndian.ToBool(); + + try { + System.Byte[] __returnValue = __selfConverted.ToByteArray(bigEndianConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_GetHashCode")] + internal static int /* System.Int32 */ System_Guid_GetHashCode(void* /* System.Guid */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Guid __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_Equals")] + internal static byte /* System.Boolean */ System_Guid_Equals(void* /* System.Guid */ __self, void* /* System.Object */ o, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Guid __selfConverted = InteropUtils.GetInstance(__self); + + System.Object oConverted = InteropUtils.GetInstance(o); + + try { + System.Boolean __returnValue = __selfConverted.Equals(oConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_Equals_1")] + internal static byte /* System.Boolean */ System_Guid_Equals_1(void* /* System.Guid */ __self, void* /* System.Guid */ g, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Guid __selfConverted = InteropUtils.GetInstance(__self); + + System.Guid gConverted = InteropUtils.GetInstance(g); + + try { + System.Boolean __returnValue = __selfConverted.Equals(gConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_CompareTo")] + internal static int /* System.Int32 */ System_Guid_CompareTo(void* /* System.Guid */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Guid __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_CompareTo_1")] + internal static int /* System.Int32 */ System_Guid_CompareTo_1(void* /* System.Guid */ __self, void* /* System.Guid */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Guid __selfConverted = InteropUtils.GetInstance(__self); + + System.Guid valueConverted = InteropUtils.GetInstance(value); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_ToString")] + internal static void* /* System.String */ System_Guid_ToString(void* /* System.Guid */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Guid __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_ToString_1")] + internal static void* /* System.String */ System_Guid_ToString_1(void* /* System.Guid */ __self, void* /* System.String */ format, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Guid __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_ToString_2")] + internal static void* /* System.String */ System_Guid_ToString_2(void* /* System.Guid */ __self, void* /* System.String */ format, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Guid __selfConverted = InteropUtils.GetInstance(__self); + + System.String formatConverted = InteropUtils.GetInstance(format); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.String __returnValue = __selfConverted.ToString(formatConverted, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_Parse_1")] + internal static void* /* System.Guid */ System_Guid_Parse_1(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Guid __returnValue = System.Guid.Parse(sConverted, providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_TryParse_1")] + internal static byte /* System.Boolean */ System_Guid_TryParse_1(void* /* System.String */ s, void* /* System.IFormatProvider */ provider, void** /* System.Guid */ result, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + System.Guid resultConverted; + + try { + System.Boolean __returnValue = System.Guid.TryParse(sConverted, providerConverted, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_NewGuid")] + internal static void* /* System.Guid */ System_Guid_NewGuid(void** /* System.Exception */ __outException) + { + + try { + System.Guid __returnValue = System.Guid.NewGuid(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_Create")] + internal static void* /* System.Guid */ System_Guid_Create(void* /* System.Byte[] */ b, void** /* System.Exception */ __outException) + { + System.Byte[] bConverted = InteropUtils.GetInstance(b); + + try { + System.Guid __returnValue = new System.Guid(bConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_Create_1")] + internal static void* /* System.Guid */ System_Guid_Create_1(uint /* System.UInt32 */ a, ushort /* System.UInt16 */ b, ushort /* System.UInt16 */ c, byte /* System.Byte */ d, byte /* System.Byte */ e, byte /* System.Byte */ f, byte /* System.Byte */ g, byte /* System.Byte */ h, byte /* System.Byte */ i, byte /* System.Byte */ j, byte /* System.Byte */ k, void** /* System.Exception */ __outException) + { + + try { + System.Guid __returnValue = new System.Guid(a, b, c, d, e, f, g, h, i, j, k); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_Create_2")] + internal static void* /* System.Guid */ System_Guid_Create_2(int /* System.Int32 */ a, short /* System.Int16 */ b, short /* System.Int16 */ c, void* /* System.Byte[] */ d, void** /* System.Exception */ __outException) + { + System.Byte[] dConverted = InteropUtils.GetInstance(d); + + try { + System.Guid __returnValue = new System.Guid(a, b, c, dConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_Create_3")] + internal static void* /* System.Guid */ System_Guid_Create_3(int /* System.Int32 */ a, short /* System.Int16 */ b, short /* System.Int16 */ c, byte /* System.Byte */ d, byte /* System.Byte */ e, byte /* System.Byte */ f, byte /* System.Byte */ g, byte /* System.Byte */ h, byte /* System.Byte */ i, byte /* System.Byte */ j, byte /* System.Byte */ k, void** /* System.Exception */ __outException) + { + + try { + System.Guid __returnValue = new System.Guid(a, b, c, d, e, f, g, h, i, j, k); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_Create_4")] + internal static void* /* System.Guid */ System_Guid_Create_4(void* /* System.String */ g, void** /* System.Exception */ __outException) + { + System.String gConverted = InteropUtils.GetInstance(g); + + try { + System.Guid __returnValue = new System.Guid(gConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_Empty_Get")] + internal static void* /* System.Guid */ System_Guid_Empty_Get() + { + + System.Guid __returnValue = System.Guid.Empty; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_Create_5")] + internal static void* /* System.Guid */ System_Guid_Create_5(void** /* System.Exception */ __outException) + { + + try { + System.Guid __returnValue = new System.Guid(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_TypeOf")] + internal static void* /* System.Type */ System_Guid_TypeOf() + { + + System.Type __returnValue = typeof(System.Guid); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Guid_Destroy")] + internal static void /* System.Void */ System_Guid_Destroy(void* /* System.Guid */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + +internal unsafe class System_Reflection_PortableExecutableKinds +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_PortableExecutableKinds_TypeOf")] + internal static void* /* System.Type */ System_Reflection_PortableExecutableKinds_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.PortableExecutableKinds); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_Reflection_ImageFileMachine +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ImageFileMachine_TypeOf")] + internal static void* /* System.Type */ System_Reflection_ImageFileMachine_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.ImageFileMachine); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_Reflection_TypeFilter +{ + internal void* Context { get; } + internal delegate* unmanaged CFunction { get; } + internal delegate* unmanaged CDestructorFunction { get; } + + private WeakReference m_trampoline; + internal System.Reflection.TypeFilter Trampoline + { + get { + System.Reflection.TypeFilter? trampoline; + + if (m_trampoline is not null) { + m_trampoline.TryGetTarget(out trampoline); + } else { + trampoline = null; + } + + if (trampoline is null) { + trampoline = CreateTrampoline(); + m_trampoline = new(trampoline); + } + + return trampoline; + } + } + + private System_Reflection_TypeFilter(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + Context = context; + CFunction = cFunction; + CDestructorFunction = cDestructorFunction; + } + + internal System_Reflection_TypeFilter(System.Reflection.TypeFilter originalDelegate) + { + m_trampoline = new(originalDelegate); + } + + ~System_Reflection_TypeFilter() + { + if (CDestructorFunction is null) { + return; + } + + CDestructorFunction(Context); + } + + private System.Reflection.TypeFilter? CreateTrampoline() + { + if (CFunction is null) { + return null; + } + + System.Type typeOfSelf = typeof(System_Reflection_TypeFilter); + string nameOfInvocationMethod = nameof(__InvokeByCallingCFunction); + System.Reflection.BindingFlags bindingFlags = System.Reflection.BindingFlags.Instance | BindingFlags.NonPublic; + System.Reflection.MethodInfo? invocationMethod = typeOfSelf.GetMethod(nameOfInvocationMethod, bindingFlags); + + if (invocationMethod is null) { + throw new Exception("Failed to retrieve delegate invocation method"); + } + + System.Reflection.TypeFilter trampoline = (System.Reflection.TypeFilter)System.Delegate.CreateDelegate(typeof(System.Reflection.TypeFilter), this, invocationMethod); + + return trampoline; + } + + private System.Boolean __InvokeByCallingCFunction(System.Type /* System.Type */ m, System.Object /* System.Object */ filterCriteria) + { + void* mConverted = m.AllocateGCHandleAndGetAddress(); + void* filterCriteriaConverted = filterCriteria.AllocateGCHandleAndGetAddress(); + + + var __returnValue = CFunction(Context, mConverted, filterCriteriaConverted); + var __returnValueConverted = __returnValue.ToBool(); + + return __returnValueConverted; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_TypeFilter_Create")] + public static void* Create(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + var self = new System_Reflection_TypeFilter(context, cFunction, cDestructorFunction); + void* selfHandle = self.AllocateGCHandleAndGetAddress(); + + return selfHandle; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_TypeFilter_Invoke")] + public static byte /* System.Boolean */ Invoke(void* self, void* /* System.Type */ m, void* /* System.Object */ filterCriteria, void** __outException) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + try { + var selfConverted = InteropUtils.GetInstance(self); + + System.Type mConverted = InteropUtils.GetInstance(m); + System.Object filterCriteriaConverted = InteropUtils.GetInstance(filterCriteria); + + + var __returnValue = selfConverted.Trampoline(mConverted, filterCriteriaConverted); + var __returnValueConverted = __returnValue.ToCBool(); + + return __returnValueConverted; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_TypeFilter_Context_Get")] + public static void* Context_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.Context; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_TypeFilter_CFunction_Get")] + public static delegate* unmanaged CFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_TypeFilter_CDestructorFunction_Get")] + public static delegate* unmanaged CDestructorFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CDestructorFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_TypeFilter_TypeOf")] + internal static void* /* System.Type */ System_Reflection_TypeFilter_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.TypeFilter); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_TypeFilter_Destroy")] + internal static void /* System.Void */ System_Reflection_TypeFilter_Destroy(void* /* System.Reflection.TypeFilter */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_ResolveEventArgs +{ + [UnmanagedCallersOnly(EntryPoint = "System_ResolveEventArgs_Create")] + internal static void* /* System.ResolveEventArgs */ System_ResolveEventArgs_Create(void* /* System.String */ name, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.ResolveEventArgs __returnValue = new System.ResolveEventArgs(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ResolveEventArgs_Create_1")] + internal static void* /* System.ResolveEventArgs */ System_ResolveEventArgs_Create_1(void* /* System.String */ name, void* /* System.Reflection.Assembly */ requestingAssembly, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Assembly requestingAssemblyConverted = InteropUtils.GetInstance(requestingAssembly); + + try { + System.ResolveEventArgs __returnValue = new System.ResolveEventArgs(nameConverted, requestingAssemblyConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_ResolveEventArgs_Name_Get")] + internal static void* /* System.String */ System_ResolveEventArgs_Name_Get(void* /* System.ResolveEventArgs */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ResolveEventArgs __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Name; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_ResolveEventArgs_RequestingAssembly_Get")] + internal static void* /* System.Reflection.Assembly */ System_ResolveEventArgs_RequestingAssembly_Get(void* /* System.ResolveEventArgs */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.ResolveEventArgs __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.Assembly __returnValue = __selfConverted.RequestingAssembly; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_ResolveEventArgs_TypeOf")] + internal static void* /* System.Type */ System_ResolveEventArgs_TypeOf() + { + + System.Type __returnValue = typeof(System.ResolveEventArgs); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_ResolveEventArgs_Destroy")] + internal static void /* System.Void */ System_ResolveEventArgs_Destroy(void* /* System.ResolveEventArgs */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_EventArgs +{ + [UnmanagedCallersOnly(EntryPoint = "System_EventArgs_Create")] + internal static void* /* System.EventArgs */ System_EventArgs_Create(void** /* System.Exception */ __outException) + { + + try { + System.EventArgs __returnValue = new System.EventArgs(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_EventArgs_Empty_Get")] + internal static void* /* System.EventArgs */ System_EventArgs_Empty_Get() + { + + System.EventArgs __returnValue = System.EventArgs.Empty; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_EventArgs_TypeOf")] + internal static void* /* System.Type */ System_EventArgs_TypeOf() + { + + System.Type __returnValue = typeof(System.EventArgs); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_EventArgs_Destroy")] + internal static void /* System.Void */ System_EventArgs_Destroy(void* /* System.EventArgs */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + + + + + +internal unsafe class System_Security_SecurityRuleSet +{ + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecurityRuleSet_TypeOf")] + internal static void* /* System.Type */ System_Security_SecurityRuleSet_TypeOf() + { + + System.Type __returnValue = typeof(System.Security.SecurityRuleSet); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Text_Rune +{ + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_CompareTo")] + internal static int /* System.Int32 */ System_Text_Rune_CompareTo(void* /* System.Text.Rune */ __self, void* /* System.Text.Rune */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Rune __selfConverted = InteropUtils.GetInstance(__self); + + System.Text.Rune otherConverted = InteropUtils.GetInstance(other); + + try { + System.Int32 __returnValue = __selfConverted.CompareTo(otherConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_Equals")] + internal static byte /* System.Boolean */ System_Text_Rune_Equals(void* /* System.Text.Rune */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Rune __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_Equals_1")] + internal static byte /* System.Boolean */ System_Text_Rune_Equals_1(void* /* System.Text.Rune */ __self, void* /* System.Text.Rune */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Rune __selfConverted = InteropUtils.GetInstance(__self); + + System.Text.Rune otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.Equals(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_GetHashCode")] + internal static int /* System.Int32 */ System_Text_Rune_GetHashCode(void* /* System.Text.Rune */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Rune __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_GetRuneAt")] + internal static void* /* System.Text.Rune */ System_Text_Rune_GetRuneAt(void* /* System.String */ input, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + + try { + System.Text.Rune __returnValue = System.Text.Rune.GetRuneAt(inputConverted, index); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsValid")] + internal static byte /* System.Boolean */ System_Text_Rune_IsValid(int /* System.Int32 */ value, void** /* System.Exception */ __outException) + { + + try { + System.Boolean __returnValue = System.Text.Rune.IsValid(value); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsValid_1")] + internal static byte /* System.Boolean */ System_Text_Rune_IsValid_1(uint /* System.UInt32 */ value, void** /* System.Exception */ __outException) + { + + try { + System.Boolean __returnValue = System.Text.Rune.IsValid(value); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_ToString")] + internal static void* /* System.String */ System_Text_Rune_ToString(void* /* System.Text.Rune */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Rune __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_TryCreate")] + internal static byte /* System.Boolean */ System_Text_Rune_TryCreate(char /* System.Char */ ch, void** /* System.Text.Rune */ result, void** /* System.Exception */ __outException) + { + System.Text.Rune resultConverted; + + try { + System.Boolean __returnValue = System.Text.Rune.TryCreate(ch, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_TryCreate_1")] + internal static byte /* System.Boolean */ System_Text_Rune_TryCreate_1(char /* System.Char */ highSurrogate, char /* System.Char */ lowSurrogate, void** /* System.Text.Rune */ result, void** /* System.Exception */ __outException) + { + System.Text.Rune resultConverted; + + try { + System.Boolean __returnValue = System.Text.Rune.TryCreate(highSurrogate, lowSurrogate, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_TryCreate_2")] + internal static byte /* System.Boolean */ System_Text_Rune_TryCreate_2(int /* System.Int32 */ value, void** /* System.Text.Rune */ result, void** /* System.Exception */ __outException) + { + System.Text.Rune resultConverted; + + try { + System.Boolean __returnValue = System.Text.Rune.TryCreate(value, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_TryCreate_3")] + internal static byte /* System.Boolean */ System_Text_Rune_TryCreate_3(uint /* System.UInt32 */ value, void** /* System.Text.Rune */ result, void** /* System.Exception */ __outException) + { + System.Text.Rune resultConverted; + + try { + System.Boolean __returnValue = System.Text.Rune.TryCreate(value, out resultConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (result is not null) { + *result = resultConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (result is not null) { + *result = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_TryGetRuneAt")] + internal static byte /* System.Boolean */ System_Text_Rune_TryGetRuneAt(void* /* System.String */ input, int /* System.Int32 */ index, void** /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.String inputConverted = InteropUtils.GetInstance(input); + System.Text.Rune valueConverted; + + try { + System.Boolean __returnValue = System.Text.Rune.TryGetRuneAt(inputConverted, index, out valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (value is not null) { + *value = valueConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (value is not null) { + *value = null; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_GetNumericValue")] + internal static double /* System.Double */ System_Text_Rune_GetNumericValue(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Double __returnValue = System.Text.Rune.GetNumericValue(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_GetUnicodeCategory")] + internal static System.Globalization.UnicodeCategory /* System.Globalization.UnicodeCategory */ System_Text_Rune_GetUnicodeCategory(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Globalization.UnicodeCategory __returnValue = System.Text.Rune.GetUnicodeCategory(valueConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Globalization.UnicodeCategory); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsControl")] + internal static byte /* System.Boolean */ System_Text_Rune_IsControl(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Text.Rune.IsControl(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsDigit")] + internal static byte /* System.Boolean */ System_Text_Rune_IsDigit(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Text.Rune.IsDigit(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsLetter")] + internal static byte /* System.Boolean */ System_Text_Rune_IsLetter(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Text.Rune.IsLetter(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsLetterOrDigit")] + internal static byte /* System.Boolean */ System_Text_Rune_IsLetterOrDigit(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Text.Rune.IsLetterOrDigit(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsLower")] + internal static byte /* System.Boolean */ System_Text_Rune_IsLower(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Text.Rune.IsLower(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsNumber")] + internal static byte /* System.Boolean */ System_Text_Rune_IsNumber(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Text.Rune.IsNumber(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsPunctuation")] + internal static byte /* System.Boolean */ System_Text_Rune_IsPunctuation(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Text.Rune.IsPunctuation(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsSeparator")] + internal static byte /* System.Boolean */ System_Text_Rune_IsSeparator(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Text.Rune.IsSeparator(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsSymbol")] + internal static byte /* System.Boolean */ System_Text_Rune_IsSymbol(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Text.Rune.IsSymbol(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsUpper")] + internal static byte /* System.Boolean */ System_Text_Rune_IsUpper(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Text.Rune.IsUpper(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsWhiteSpace")] + internal static byte /* System.Boolean */ System_Text_Rune_IsWhiteSpace(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = System.Text.Rune.IsWhiteSpace(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_ToLower")] + internal static void* /* System.Text.Rune */ System_Text_Rune_ToLower(void* /* System.Text.Rune */ value, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Text.Rune __returnValue = System.Text.Rune.ToLower(valueConverted, cultureConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_ToLowerInvariant")] + internal static void* /* System.Text.Rune */ System_Text_Rune_ToLowerInvariant(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Text.Rune __returnValue = System.Text.Rune.ToLowerInvariant(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_ToUpper")] + internal static void* /* System.Text.Rune */ System_Text_Rune_ToUpper(void* /* System.Text.Rune */ value, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Text.Rune __returnValue = System.Text.Rune.ToUpper(valueConverted, cultureConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_ToUpperInvariant")] + internal static void* /* System.Text.Rune */ System_Text_Rune_ToUpperInvariant(void* /* System.Text.Rune */ value, void** /* System.Exception */ __outException) + { + System.Text.Rune valueConverted = InteropUtils.GetInstance(value); + + try { + System.Text.Rune __returnValue = System.Text.Rune.ToUpperInvariant(valueConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_Create")] + internal static void* /* System.Text.Rune */ System_Text_Rune_Create(char /* System.Char */ ch, void** /* System.Exception */ __outException) + { + + try { + System.Text.Rune __returnValue = new System.Text.Rune(ch); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_Create_1")] + internal static void* /* System.Text.Rune */ System_Text_Rune_Create_1(char /* System.Char */ highSurrogate, char /* System.Char */ lowSurrogate, void** /* System.Exception */ __outException) + { + + try { + System.Text.Rune __returnValue = new System.Text.Rune(highSurrogate, lowSurrogate); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_Create_2")] + internal static void* /* System.Text.Rune */ System_Text_Rune_Create_2(int /* System.Int32 */ value, void** /* System.Exception */ __outException) + { + + try { + System.Text.Rune __returnValue = new System.Text.Rune(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_Create_3")] + internal static void* /* System.Text.Rune */ System_Text_Rune_Create_3(uint /* System.UInt32 */ value, void** /* System.Exception */ __outException) + { + + try { + System.Text.Rune __returnValue = new System.Text.Rune(value); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsAscii_Get")] + internal static byte /* System.Boolean */ System_Text_Rune_IsAscii_Get(void* /* System.Text.Rune */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Rune __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsAscii; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_IsBmp_Get")] + internal static byte /* System.Boolean */ System_Text_Rune_IsBmp_Get(void* /* System.Text.Rune */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Rune __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsBmp; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_Plane_Get")] + internal static int /* System.Int32 */ System_Text_Rune_Plane_Get(void* /* System.Text.Rune */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Rune __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Plane; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_ReplacementChar_Get")] + internal static void* /* System.Text.Rune */ System_Text_Rune_ReplacementChar_Get(void** /* System.Exception */ __outException) + { + + try { + System.Text.Rune __returnValue = System.Text.Rune.ReplacementChar; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_Utf16SequenceLength_Get")] + internal static int /* System.Int32 */ System_Text_Rune_Utf16SequenceLength_Get(void* /* System.Text.Rune */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Rune __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Utf16SequenceLength; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_Utf8SequenceLength_Get")] + internal static int /* System.Int32 */ System_Text_Rune_Utf8SequenceLength_Get(void* /* System.Text.Rune */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Rune __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Utf8SequenceLength; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_Value_Get")] + internal static int /* System.Int32 */ System_Text_Rune_Value_Get(void* /* System.Text.Rune */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Rune __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Value; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_Create_4")] + internal static void* /* System.Text.Rune */ System_Text_Rune_Create_4(void** /* System.Exception */ __outException) + { + + try { + System.Text.Rune __returnValue = new System.Text.Rune(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_TypeOf")] + internal static void* /* System.Type */ System_Text_Rune_TypeOf() + { + + System.Type __returnValue = typeof(System.Text.Rune); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Rune_Destroy")] + internal static void /* System.Void */ System_Text_Rune_Destroy(void* /* System.Text.Rune */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Buffers_OperationStatus +{ + [UnmanagedCallersOnly(EntryPoint = "System_Buffers_OperationStatus_TypeOf")] + internal static void* /* System.Type */ System_Buffers_OperationStatus_TypeOf() + { + + System.Type __returnValue = typeof(System.Buffers.OperationStatus); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_Globalization_CompareOptions +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_CompareOptions_TypeOf")] + internal static void* /* System.Type */ System_Globalization_CompareOptions_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.CompareOptions); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Globalization_SortKey +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortKey_Compare")] + internal static int /* System.Int32 */ System_Globalization_SortKey_Compare(void* /* System.Globalization.SortKey */ sortkey1, void* /* System.Globalization.SortKey */ sortkey2, void** /* System.Exception */ __outException) + { + System.Globalization.SortKey sortkey1Converted = InteropUtils.GetInstance(sortkey1); + System.Globalization.SortKey sortkey2Converted = InteropUtils.GetInstance(sortkey2); + + try { + System.Int32 __returnValue = System.Globalization.SortKey.Compare(sortkey1Converted, sortkey2Converted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortKey_Equals")] + internal static byte /* System.Boolean */ System_Globalization_SortKey_Equals(void* /* System.Globalization.SortKey */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.SortKey __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortKey_GetHashCode")] + internal static int /* System.Int32 */ System_Globalization_SortKey_GetHashCode(void* /* System.Globalization.SortKey */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.SortKey __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortKey_ToString")] + internal static void* /* System.String */ System_Globalization_SortKey_ToString(void* /* System.Globalization.SortKey */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.SortKey __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortKey_OriginalString_Get")] + internal static void* /* System.String */ System_Globalization_SortKey_OriginalString_Get(void* /* System.Globalization.SortKey */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.SortKey __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.OriginalString; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortKey_KeyData_Get")] + internal static void* /* System.Byte[] */ System_Globalization_SortKey_KeyData_Get(void* /* System.Globalization.SortKey */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.SortKey __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Byte[] __returnValue = __selfConverted.KeyData; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortKey_TypeOf")] + internal static void* /* System.Type */ System_Globalization_SortKey_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.SortKey); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortKey_Destroy")] + internal static void /* System.Void */ System_Globalization_SortKey_Destroy(void* /* System.Globalization.SortKey */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Globalization_SortVersion +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortVersion_Equals")] + internal static byte /* System.Boolean */ System_Globalization_SortVersion_Equals(void* /* System.Globalization.SortVersion */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.SortVersion __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortVersion_Equals_1")] + internal static byte /* System.Boolean */ System_Globalization_SortVersion_Equals_1(void* /* System.Globalization.SortVersion */ __self, void* /* System.Globalization.SortVersion */ other, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.SortVersion __selfConverted = InteropUtils.GetInstance(__self); + + System.Globalization.SortVersion otherConverted = InteropUtils.GetInstance(other); + + try { + System.Boolean __returnValue = __selfConverted.Equals(otherConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortVersion_GetHashCode")] + internal static int /* System.Int32 */ System_Globalization_SortVersion_GetHashCode(void* /* System.Globalization.SortVersion */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.SortVersion __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortVersion_Create")] + internal static void* /* System.Globalization.SortVersion */ System_Globalization_SortVersion_Create(int /* System.Int32 */ fullVersion, void* /* System.Guid */ sortId, void** /* System.Exception */ __outException) + { + System.Guid sortIdConverted = InteropUtils.GetInstance(sortId); + + try { + System.Globalization.SortVersion __returnValue = new System.Globalization.SortVersion(fullVersion, sortIdConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortVersion_FullVersion_Get")] + internal static int /* System.Int32 */ System_Globalization_SortVersion_FullVersion_Get(void* /* System.Globalization.SortVersion */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.SortVersion __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.FullVersion; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortVersion_SortId_Get")] + internal static void* /* System.Guid */ System_Globalization_SortVersion_SortId_Get(void* /* System.Globalization.SortVersion */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.SortVersion __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Guid __returnValue = __selfConverted.SortId; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortVersion_TypeOf")] + internal static void* /* System.Type */ System_Globalization_SortVersion_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.SortVersion); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_SortVersion_Destroy")] + internal static void /* System.Void */ System_Globalization_SortVersion_Destroy(void* /* System.Globalization.SortVersion */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Globalization_TextInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_Clone")] + internal static void* /* System.Object */ System_Globalization_TextInfo_Clone(void* /* System.Globalization.TextInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Clone(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_ReadOnly")] + internal static void* /* System.Globalization.TextInfo */ System_Globalization_TextInfo_ReadOnly(void* /* System.Globalization.TextInfo */ textInfo, void** /* System.Exception */ __outException) + { + System.Globalization.TextInfo textInfoConverted = InteropUtils.GetInstance(textInfo); + + try { + System.Globalization.TextInfo __returnValue = System.Globalization.TextInfo.ReadOnly(textInfoConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_ToLower")] + internal static char /* System.Char */ System_Globalization_TextInfo_ToLower(void* /* System.Globalization.TextInfo */ __self, char /* System.Char */ c, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Char __returnValue = __selfConverted.ToLower(c); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return (char)0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_ToLower_1")] + internal static void* /* System.String */ System_Globalization_TextInfo_ToLower_1(void* /* System.Globalization.TextInfo */ __self, void* /* System.String */ str, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String strConverted = InteropUtils.GetInstance(str); + + try { + System.String __returnValue = __selfConverted.ToLower(strConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_ToUpper")] + internal static char /* System.Char */ System_Globalization_TextInfo_ToUpper(void* /* System.Globalization.TextInfo */ __self, char /* System.Char */ c, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Char __returnValue = __selfConverted.ToUpper(c); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return (char)0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_ToUpper_1")] + internal static void* /* System.String */ System_Globalization_TextInfo_ToUpper_1(void* /* System.Globalization.TextInfo */ __self, void* /* System.String */ str, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String strConverted = InteropUtils.GetInstance(str); + + try { + System.String __returnValue = __selfConverted.ToUpper(strConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_Equals")] + internal static byte /* System.Boolean */ System_Globalization_TextInfo_Equals(void* /* System.Globalization.TextInfo */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_GetHashCode")] + internal static int /* System.Int32 */ System_Globalization_TextInfo_GetHashCode(void* /* System.Globalization.TextInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_ToString")] + internal static void* /* System.String */ System_Globalization_TextInfo_ToString(void* /* System.Globalization.TextInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ToString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_ToTitleCase")] + internal static void* /* System.String */ System_Globalization_TextInfo_ToTitleCase(void* /* System.Globalization.TextInfo */ __self, void* /* System.String */ str, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String strConverted = InteropUtils.GetInstance(str); + + try { + System.String __returnValue = __selfConverted.ToTitleCase(strConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_ANSICodePage_Get")] + internal static int /* System.Int32 */ System_Globalization_TextInfo_ANSICodePage_Get(void* /* System.Globalization.TextInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.ANSICodePage; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_OEMCodePage_Get")] + internal static int /* System.Int32 */ System_Globalization_TextInfo_OEMCodePage_Get(void* /* System.Globalization.TextInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.OEMCodePage; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_MacCodePage_Get")] + internal static int /* System.Int32 */ System_Globalization_TextInfo_MacCodePage_Get(void* /* System.Globalization.TextInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.MacCodePage; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_EBCDICCodePage_Get")] + internal static int /* System.Int32 */ System_Globalization_TextInfo_EBCDICCodePage_Get(void* /* System.Globalization.TextInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.EBCDICCodePage; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_LCID_Get")] + internal static int /* System.Int32 */ System_Globalization_TextInfo_LCID_Get(void* /* System.Globalization.TextInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.LCID; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_CultureName_Get")] + internal static void* /* System.String */ System_Globalization_TextInfo_CultureName_Get(void* /* System.Globalization.TextInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.CultureName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_IsReadOnly_Get")] + internal static byte /* System.Boolean */ System_Globalization_TextInfo_IsReadOnly_Get(void* /* System.Globalization.TextInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsReadOnly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_ListSeparator_Get")] + internal static void* /* System.String */ System_Globalization_TextInfo_ListSeparator_Get(void* /* System.Globalization.TextInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ListSeparator; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_ListSeparator_Set")] + internal static void /* System.Void */ System_Globalization_TextInfo_ListSeparator_Set(void* /* System.Globalization.TextInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.ListSeparator = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_IsRightToLeft_Get")] + internal static byte /* System.Boolean */ System_Globalization_TextInfo_IsRightToLeft_Get(void* /* System.Globalization.TextInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.TextInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsRightToLeft; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_TypeOf")] + internal static void* /* System.Type */ System_Globalization_TextInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.TextInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_TextInfo_Destroy")] + internal static void /* System.Void */ System_Globalization_TextInfo_Destroy(void* /* System.Globalization.TextInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Globalization_NumberFormatInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_GetInstance")] + internal static void* /* System.Globalization.NumberFormatInfo */ System_Globalization_NumberFormatInfo_GetInstance(void* /* System.IFormatProvider */ formatProvider, void** /* System.Exception */ __outException) + { + System.IFormatProvider formatProviderConverted = InteropUtils.GetInstance(formatProvider); + + try { + System.Globalization.NumberFormatInfo __returnValue = System.Globalization.NumberFormatInfo.GetInstance(formatProviderConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_Clone")] + internal static void* /* System.Object */ System_Globalization_NumberFormatInfo_Clone(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Clone(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_GetFormat")] + internal static void* /* System.Object */ System_Globalization_NumberFormatInfo_GetFormat(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.Type */ formatType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Type formatTypeConverted = InteropUtils.GetInstance(formatType); + + try { + System.Object __returnValue = __selfConverted.GetFormat(formatTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_ReadOnly")] + internal static void* /* System.Globalization.NumberFormatInfo */ System_Globalization_NumberFormatInfo_ReadOnly(void* /* System.Globalization.NumberFormatInfo */ nfi, void** /* System.Exception */ __outException) + { + System.Globalization.NumberFormatInfo nfiConverted = InteropUtils.GetInstance(nfi); + + try { + System.Globalization.NumberFormatInfo __returnValue = System.Globalization.NumberFormatInfo.ReadOnly(nfiConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_Create")] + internal static void* /* System.Globalization.NumberFormatInfo */ System_Globalization_NumberFormatInfo_Create(void** /* System.Exception */ __outException) + { + + try { + System.Globalization.NumberFormatInfo __returnValue = new System.Globalization.NumberFormatInfo(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_InvariantInfo_Get")] + internal static void* /* System.Globalization.NumberFormatInfo */ System_Globalization_NumberFormatInfo_InvariantInfo_Get(void** /* System.Exception */ __outException) + { + + try { + System.Globalization.NumberFormatInfo __returnValue = System.Globalization.NumberFormatInfo.InvariantInfo; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Get")] + internal static int /* System.Int32 */ System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.CurrencyDecimalDigits; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Set(void* /* System.Globalization.NumberFormatInfo */ __self, int /* System.Int32 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.CurrencyDecimalDigits = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.CurrencyDecimalSeparator; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.CurrencyDecimalSeparator = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_IsReadOnly_Get")] + internal static byte /* System.Boolean */ System_Globalization_NumberFormatInfo_IsReadOnly_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsReadOnly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Get")] + internal static void* /* System.Int32[] */ System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32[] __returnValue = __selfConverted.CurrencyGroupSizes; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.Int32[] */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.CurrencyGroupSizes = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NumberGroupSizes_Get")] + internal static void* /* System.Int32[] */ System_Globalization_NumberFormatInfo_NumberGroupSizes_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32[] __returnValue = __selfConverted.NumberGroupSizes; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NumberGroupSizes_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_NumberGroupSizes_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.Int32[] */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.NumberGroupSizes = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentGroupSizes_Get")] + internal static void* /* System.Int32[] */ System_Globalization_NumberFormatInfo_PercentGroupSizes_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32[] __returnValue = __selfConverted.PercentGroupSizes; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentGroupSizes_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_PercentGroupSizes_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.Int32[] */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.PercentGroupSizes = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.CurrencyGroupSeparator; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.CurrencyGroupSeparator = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencySymbol_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_CurrencySymbol_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.CurrencySymbol; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencySymbol_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_CurrencySymbol_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.CurrencySymbol = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrentInfo_Get")] + internal static void* /* System.Globalization.NumberFormatInfo */ System_Globalization_NumberFormatInfo_CurrentInfo_Get(void** /* System.Exception */ __outException) + { + + try { + System.Globalization.NumberFormatInfo __returnValue = System.Globalization.NumberFormatInfo.CurrentInfo; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NaNSymbol_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_NaNSymbol_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.NaNSymbol; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NaNSymbol_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_NaNSymbol_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.NaNSymbol = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Get")] + internal static int /* System.Int32 */ System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.CurrencyNegativePattern; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Set(void* /* System.Globalization.NumberFormatInfo */ __self, int /* System.Int32 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.CurrencyNegativePattern = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NumberNegativePattern_Get")] + internal static int /* System.Int32 */ System_Globalization_NumberFormatInfo_NumberNegativePattern_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.NumberNegativePattern; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NumberNegativePattern_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_NumberNegativePattern_Set(void* /* System.Globalization.NumberFormatInfo */ __self, int /* System.Int32 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.NumberNegativePattern = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentPositivePattern_Get")] + internal static int /* System.Int32 */ System_Globalization_NumberFormatInfo_PercentPositivePattern_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.PercentPositivePattern; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentPositivePattern_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_PercentPositivePattern_Set(void* /* System.Globalization.NumberFormatInfo */ __self, int /* System.Int32 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.PercentPositivePattern = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentNegativePattern_Get")] + internal static int /* System.Int32 */ System_Globalization_NumberFormatInfo_PercentNegativePattern_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.PercentNegativePattern; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentNegativePattern_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_PercentNegativePattern_Set(void* /* System.Globalization.NumberFormatInfo */ __self, int /* System.Int32 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.PercentNegativePattern = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.NegativeInfinitySymbol; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.NegativeInfinitySymbol = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NegativeSign_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_NegativeSign_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.NegativeSign; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NegativeSign_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_NegativeSign_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.NegativeSign = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NumberDecimalDigits_Get")] + internal static int /* System.Int32 */ System_Globalization_NumberFormatInfo_NumberDecimalDigits_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.NumberDecimalDigits; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NumberDecimalDigits_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_NumberDecimalDigits_Set(void* /* System.Globalization.NumberFormatInfo */ __self, int /* System.Int32 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.NumberDecimalDigits = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.NumberDecimalSeparator; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.NumberDecimalSeparator = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NumberGroupSeparator_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_NumberGroupSeparator_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.NumberGroupSeparator; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NumberGroupSeparator_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_NumberGroupSeparator_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.NumberGroupSeparator = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Get")] + internal static int /* System.Int32 */ System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.CurrencyPositivePattern; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Set(void* /* System.Globalization.NumberFormatInfo */ __self, int /* System.Int32 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.CurrencyPositivePattern = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.PositiveInfinitySymbol; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.PositiveInfinitySymbol = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PositiveSign_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_PositiveSign_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.PositiveSign; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PositiveSign_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_PositiveSign_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.PositiveSign = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentDecimalDigits_Get")] + internal static int /* System.Int32 */ System_Globalization_NumberFormatInfo_PercentDecimalDigits_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.PercentDecimalDigits; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentDecimalDigits_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_PercentDecimalDigits_Set(void* /* System.Globalization.NumberFormatInfo */ __self, int /* System.Int32 */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.PercentDecimalDigits = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.PercentDecimalSeparator; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.PercentDecimalSeparator = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentGroupSeparator_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_PercentGroupSeparator_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.PercentGroupSeparator; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentGroupSeparator_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_PercentGroupSeparator_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.PercentGroupSeparator = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentSymbol_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_PercentSymbol_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.PercentSymbol; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PercentSymbol_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_PercentSymbol_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.PercentSymbol = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PerMilleSymbol_Get")] + internal static void* /* System.String */ System_Globalization_NumberFormatInfo_PerMilleSymbol_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.PerMilleSymbol; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_PerMilleSymbol_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_PerMilleSymbol_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.PerMilleSymbol = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NativeDigits_Get")] + internal static void* /* System.String[] */ System_Globalization_NumberFormatInfo_NativeDigits_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.NativeDigits; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_NativeDigits_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_NativeDigits_Set(void* /* System.Globalization.NumberFormatInfo */ __self, void* /* System.String[] */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.NativeDigits = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_DigitSubstitution_Get")] + internal static System.Globalization.DigitShapes /* System.Globalization.DigitShapes */ System_Globalization_NumberFormatInfo_DigitSubstitution_Get(void* /* System.Globalization.NumberFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.DigitShapes __returnValue = __selfConverted.DigitSubstitution; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Globalization.DigitShapes); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_DigitSubstitution_Set")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_DigitSubstitution_Set(void* /* System.Globalization.NumberFormatInfo */ __self, System.Globalization.DigitShapes /* System.Globalization.DigitShapes */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.NumberFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.DigitSubstitution = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_TypeOf")] + internal static void* /* System.Type */ System_Globalization_NumberFormatInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.NumberFormatInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_NumberFormatInfo_Destroy")] + internal static void /* System.Void */ System_Globalization_NumberFormatInfo_Destroy(void* /* System.Globalization.NumberFormatInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Globalization_DigitShapes +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DigitShapes_TypeOf")] + internal static void* /* System.Type */ System_Globalization_DigitShapes_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.DigitShapes); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Globalization_DateTimeFormatInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_GetInstance")] + internal static void* /* System.Globalization.DateTimeFormatInfo */ System_Globalization_DateTimeFormatInfo_GetInstance(void* /* System.IFormatProvider */ provider, void** /* System.Exception */ __outException) + { + System.IFormatProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Globalization.DateTimeFormatInfo __returnValue = System.Globalization.DateTimeFormatInfo.GetInstance(providerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_GetFormat")] + internal static void* /* System.Object */ System_Globalization_DateTimeFormatInfo_GetFormat(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.Type */ formatType, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Type formatTypeConverted = InteropUtils.GetInstance(formatType); + + try { + System.Object __returnValue = __selfConverted.GetFormat(formatTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_Clone")] + internal static void* /* System.Object */ System_Globalization_DateTimeFormatInfo_Clone(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Clone(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_GetEra")] + internal static int /* System.Int32 */ System_Globalization_DateTimeFormatInfo_GetEra(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String */ eraName, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String eraNameConverted = InteropUtils.GetInstance(eraName); + + try { + System.Int32 __returnValue = __selfConverted.GetEra(eraNameConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_GetEraName")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_GetEraName(void* /* System.Globalization.DateTimeFormatInfo */ __self, int /* System.Int32 */ era, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.GetEraName(era); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_GetAbbreviatedEraName")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_GetAbbreviatedEraName(void* /* System.Globalization.DateTimeFormatInfo */ __self, int /* System.Int32 */ era, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.GetAbbreviatedEraName(era); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_GetAbbreviatedDayName")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_GetAbbreviatedDayName(void* /* System.Globalization.DateTimeFormatInfo */ __self, System.DayOfWeek /* System.DayOfWeek */ dayofweek, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.GetAbbreviatedDayName(dayofweek); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_GetShortestDayName")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_GetShortestDayName(void* /* System.Globalization.DateTimeFormatInfo */ __self, System.DayOfWeek /* System.DayOfWeek */ dayOfWeek, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.GetShortestDayName(dayOfWeek); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns")] + internal static void* /* System.String[] */ System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.GetAllDateTimePatterns(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns_1")] + internal static void* /* System.String[] */ System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns_1(void* /* System.Globalization.DateTimeFormatInfo */ __self, char /* System.Char */ format, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.GetAllDateTimePatterns(format); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_GetDayName")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_GetDayName(void* /* System.Globalization.DateTimeFormatInfo */ __self, System.DayOfWeek /* System.DayOfWeek */ dayofweek, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.GetDayName(dayofweek); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_GetAbbreviatedMonthName")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_GetAbbreviatedMonthName(void* /* System.Globalization.DateTimeFormatInfo */ __self, int /* System.Int32 */ month, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.GetAbbreviatedMonthName(month); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_GetMonthName")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_GetMonthName(void* /* System.Globalization.DateTimeFormatInfo */ __self, int /* System.Int32 */ month, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.GetMonthName(month); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_ReadOnly")] + internal static void* /* System.Globalization.DateTimeFormatInfo */ System_Globalization_DateTimeFormatInfo_ReadOnly(void* /* System.Globalization.DateTimeFormatInfo */ dtfi, void** /* System.Exception */ __outException) + { + System.Globalization.DateTimeFormatInfo dtfiConverted = InteropUtils.GetInstance(dtfi); + + try { + System.Globalization.DateTimeFormatInfo __returnValue = System.Globalization.DateTimeFormatInfo.ReadOnly(dtfiConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_SetAllDateTimePatterns")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_SetAllDateTimePatterns(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String[] */ patterns, char /* System.Char */ format, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.String[] patternsConverted = InteropUtils.GetInstance(patterns); + + try { + __selfConverted.SetAllDateTimePatterns(patternsConverted, format); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_Create")] + internal static void* /* System.Globalization.DateTimeFormatInfo */ System_Globalization_DateTimeFormatInfo_Create(void** /* System.Exception */ __outException) + { + + try { + System.Globalization.DateTimeFormatInfo __returnValue = new System.Globalization.DateTimeFormatInfo(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_InvariantInfo_Get")] + internal static void* /* System.Globalization.DateTimeFormatInfo */ System_Globalization_DateTimeFormatInfo_InvariantInfo_Get(void** /* System.Exception */ __outException) + { + + try { + System.Globalization.DateTimeFormatInfo __returnValue = System.Globalization.DateTimeFormatInfo.InvariantInfo; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_CurrentInfo_Get")] + internal static void* /* System.Globalization.DateTimeFormatInfo */ System_Globalization_DateTimeFormatInfo_CurrentInfo_Get(void** /* System.Exception */ __outException) + { + + try { + System.Globalization.DateTimeFormatInfo __returnValue = System.Globalization.DateTimeFormatInfo.CurrentInfo; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_AMDesignator_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_AMDesignator_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.AMDesignator; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_AMDesignator_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_AMDesignator_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.AMDesignator = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_Calendar_Get")] + internal static void* /* System.Globalization.Calendar */ System_Globalization_DateTimeFormatInfo_Calendar_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.Calendar __returnValue = __selfConverted.Calendar; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_Calendar_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_Calendar_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.Globalization.Calendar */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Calendar = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_DateSeparator_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_DateSeparator_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.DateSeparator; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_DateSeparator_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_DateSeparator_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.DateSeparator = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Get")] + internal static System.DayOfWeek /* System.DayOfWeek */ System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.DayOfWeek __returnValue = __selfConverted.FirstDayOfWeek; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.DayOfWeek); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, System.DayOfWeek /* System.DayOfWeek */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.FirstDayOfWeek = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Get")] + internal static System.Globalization.CalendarWeekRule /* System.Globalization.CalendarWeekRule */ System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Globalization.CalendarWeekRule __returnValue = __selfConverted.CalendarWeekRule; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Globalization.CalendarWeekRule); + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, System.Globalization.CalendarWeekRule /* System.Globalization.CalendarWeekRule */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.CalendarWeekRule = __value; + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.FullDateTimePattern; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.FullDateTimePattern = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_LongDatePattern_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_LongDatePattern_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.LongDatePattern; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_LongDatePattern_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_LongDatePattern_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.LongDatePattern = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_LongTimePattern_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_LongTimePattern_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.LongTimePattern; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_LongTimePattern_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_LongTimePattern_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.LongTimePattern = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_MonthDayPattern_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_MonthDayPattern_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.MonthDayPattern; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_MonthDayPattern_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_MonthDayPattern_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.MonthDayPattern = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_PMDesignator_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_PMDesignator_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.PMDesignator; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_PMDesignator_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_PMDesignator_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.PMDesignator = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_RFC1123Pattern_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_RFC1123Pattern_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.RFC1123Pattern; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_ShortDatePattern_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_ShortDatePattern_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ShortDatePattern; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_ShortDatePattern_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_ShortDatePattern_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.ShortDatePattern = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_ShortTimePattern_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_ShortTimePattern_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.ShortTimePattern; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_ShortTimePattern_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_ShortTimePattern_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.ShortTimePattern = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_SortableDateTimePattern_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_SortableDateTimePattern_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.SortableDateTimePattern; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_TimeSeparator_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_TimeSeparator_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.TimeSeparator; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_TimeSeparator_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_TimeSeparator_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.TimeSeparator = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_UniversalSortableDateTimePattern_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_UniversalSortableDateTimePattern_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.UniversalSortableDateTimePattern; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_YearMonthPattern_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_YearMonthPattern_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.YearMonthPattern; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_YearMonthPattern_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_YearMonthPattern_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.YearMonthPattern = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Get")] + internal static void* /* System.String[] */ System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.AbbreviatedDayNames; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String[] */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.AbbreviatedDayNames = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_ShortestDayNames_Get")] + internal static void* /* System.String[] */ System_Globalization_DateTimeFormatInfo_ShortestDayNames_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.ShortestDayNames; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_ShortestDayNames_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_ShortestDayNames_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String[] */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.ShortestDayNames = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_DayNames_Get")] + internal static void* /* System.String[] */ System_Globalization_DateTimeFormatInfo_DayNames_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.DayNames; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_DayNames_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_DayNames_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String[] */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.DayNames = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Get")] + internal static void* /* System.String[] */ System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.AbbreviatedMonthNames; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String[] */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.AbbreviatedMonthNames = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_MonthNames_Get")] + internal static void* /* System.String[] */ System_Globalization_DateTimeFormatInfo_MonthNames_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.MonthNames; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_MonthNames_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_MonthNames_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String[] */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.MonthNames = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_IsReadOnly_Get")] + internal static byte /* System.Boolean */ System_Globalization_DateTimeFormatInfo_IsReadOnly_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsReadOnly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_NativeCalendarName_Get")] + internal static void* /* System.String */ System_Globalization_DateTimeFormatInfo_NativeCalendarName_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.NativeCalendarName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Get")] + internal static void* /* System.String[] */ System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.AbbreviatedMonthGenitiveNames; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String[] */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.AbbreviatedMonthGenitiveNames = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Get")] + internal static void* /* System.String[] */ System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Get(void* /* System.Globalization.DateTimeFormatInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String[] __returnValue = __selfConverted.MonthGenitiveNames; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Set")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Set(void* /* System.Globalization.DateTimeFormatInfo */ __self, void* /* System.String[] */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Globalization.DateTimeFormatInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.MonthGenitiveNames = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_TypeOf")] + internal static void* /* System.Type */ System_Globalization_DateTimeFormatInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Globalization.DateTimeFormatInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Globalization_DateTimeFormatInfo_Destroy")] + internal static void /* System.Void */ System_Globalization_DateTimeFormatInfo_Destroy(void* /* System.Globalization.DateTimeFormatInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + + +internal unsafe class System_CharEnumerator +{ + [UnmanagedCallersOnly(EntryPoint = "System_CharEnumerator_Clone")] + internal static void* /* System.Object */ System_CharEnumerator_Clone(void* /* System.CharEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.CharEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Clone(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_CharEnumerator_MoveNext")] + internal static byte /* System.Boolean */ System_CharEnumerator_MoveNext(void* /* System.CharEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.CharEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.MoveNext(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_CharEnumerator_Dispose")] + internal static void /* System.Void */ System_CharEnumerator_Dispose(void* /* System.CharEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.CharEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Dispose(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_CharEnumerator_Reset")] + internal static void /* System.Void */ System_CharEnumerator_Reset(void* /* System.CharEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.CharEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Reset(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_CharEnumerator_Current_Get")] + internal static char /* System.Char */ System_CharEnumerator_Current_Get(void* /* System.CharEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.CharEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Char __returnValue = __selfConverted.Current; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return (char)0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_CharEnumerator_TypeOf")] + internal static void* /* System.Type */ System_CharEnumerator_TypeOf() + { + + System.Type __returnValue = typeof(System.CharEnumerator); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_CharEnumerator_Destroy")] + internal static void /* System.Void */ System_CharEnumerator_Destroy(void* /* System.CharEnumerator */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Text_StringRuneEnumerator +{ + [UnmanagedCallersOnly(EntryPoint = "System_Text_StringRuneEnumerator_GetEnumerator")] + internal static void* /* System.Text.StringRuneEnumerator */ System_Text_StringRuneEnumerator_GetEnumerator(void* /* System.Text.StringRuneEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.StringRuneEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.StringRuneEnumerator __returnValue = __selfConverted.GetEnumerator(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_StringRuneEnumerator_MoveNext")] + internal static byte /* System.Boolean */ System_Text_StringRuneEnumerator_MoveNext(void* /* System.Text.StringRuneEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.StringRuneEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.MoveNext(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_StringRuneEnumerator_Current_Get")] + internal static void* /* System.Text.Rune */ System_Text_StringRuneEnumerator_Current_Get(void* /* System.Text.StringRuneEnumerator */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.StringRuneEnumerator __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.Rune __returnValue = __selfConverted.Current; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_StringRuneEnumerator_Create")] + internal static void* /* System.Text.StringRuneEnumerator */ System_Text_StringRuneEnumerator_Create(void** /* System.Exception */ __outException) + { + + try { + System.Text.StringRuneEnumerator __returnValue = new System.Text.StringRuneEnumerator(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_StringRuneEnumerator_TypeOf")] + internal static void* /* System.Type */ System_Text_StringRuneEnumerator_TypeOf() + { + + System.Type __returnValue = typeof(System.Text.StringRuneEnumerator); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_StringRuneEnumerator_Destroy")] + internal static void /* System.Void */ System_Text_StringRuneEnumerator_Destroy(void* /* System.Text.StringRuneEnumerator */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Text_NormalizationForm +{ + [UnmanagedCallersOnly(EntryPoint = "System_Text_NormalizationForm_TypeOf")] + internal static void* /* System.Type */ System_Text_NormalizationForm_TypeOf() + { + + System.Type __returnValue = typeof(System.Text.NormalizationForm); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Text_CompositeFormat +{ + [UnmanagedCallersOnly(EntryPoint = "System_Text_CompositeFormat_Parse")] + internal static void* /* System.Text.CompositeFormat */ System_Text_CompositeFormat_Parse(void* /* System.String */ format, void** /* System.Exception */ __outException) + { + System.String formatConverted = InteropUtils.GetInstance(format); + + try { + System.Text.CompositeFormat __returnValue = System.Text.CompositeFormat.Parse(formatConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_CompositeFormat_Format_Get")] + internal static void* /* System.String */ System_Text_CompositeFormat_Format_Get(void* /* System.Text.CompositeFormat */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.CompositeFormat __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Format; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_CompositeFormat_MinimumArgumentCount_Get")] + internal static int /* System.Int32 */ System_Text_CompositeFormat_MinimumArgumentCount_Get(void* /* System.Text.CompositeFormat */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.CompositeFormat __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.MinimumArgumentCount; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_CompositeFormat_TypeOf")] + internal static void* /* System.Type */ System_Text_CompositeFormat_TypeOf() + { + + System.Type __returnValue = typeof(System.Text.CompositeFormat); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_CompositeFormat_Destroy")] + internal static void /* System.Void */ System_Text_CompositeFormat_Destroy(void* /* System.Text.CompositeFormat */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_StringSplitOptions +{ + [UnmanagedCallersOnly(EntryPoint = "System_StringSplitOptions_TypeOf")] + internal static void* /* System.Type */ System_StringSplitOptions_TypeOf() + { + + System.Type __returnValue = typeof(System.StringSplitOptions); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Text_Encoding +{ + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_Convert")] + internal static void* /* System.Byte[] */ System_Text_Encoding_Convert(void* /* System.Text.Encoding */ srcEncoding, void* /* System.Text.Encoding */ dstEncoding, void* /* System.Byte[] */ bytes, void** /* System.Exception */ __outException) + { + System.Text.Encoding srcEncodingConverted = InteropUtils.GetInstance(srcEncoding); + System.Text.Encoding dstEncodingConverted = InteropUtils.GetInstance(dstEncoding); + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + + try { + System.Byte[] __returnValue = System.Text.Encoding.Convert(srcEncodingConverted, dstEncodingConverted, bytesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_Convert_1")] + internal static void* /* System.Byte[] */ System_Text_Encoding_Convert_1(void* /* System.Text.Encoding */ srcEncoding, void* /* System.Text.Encoding */ dstEncoding, void* /* System.Byte[] */ bytes, int /* System.Int32 */ index, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + System.Text.Encoding srcEncodingConverted = InteropUtils.GetInstance(srcEncoding); + System.Text.Encoding dstEncodingConverted = InteropUtils.GetInstance(dstEncoding); + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + + try { + System.Byte[] __returnValue = System.Text.Encoding.Convert(srcEncodingConverted, dstEncodingConverted, bytesConverted, index, count); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_RegisterProvider")] + internal static void /* System.Void */ System_Text_Encoding_RegisterProvider(void* /* System.Text.EncodingProvider */ provider, void** /* System.Exception */ __outException) + { + System.Text.EncodingProvider providerConverted = InteropUtils.GetInstance(provider); + + try { + System.Text.Encoding.RegisterProvider(providerConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetEncoding")] + internal static void* /* System.Text.Encoding */ System_Text_Encoding_GetEncoding(int /* System.Int32 */ codepage, void** /* System.Exception */ __outException) + { + + try { + System.Text.Encoding __returnValue = System.Text.Encoding.GetEncoding(codepage); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetEncoding_1")] + internal static void* /* System.Text.Encoding */ System_Text_Encoding_GetEncoding_1(int /* System.Int32 */ codepage, void* /* System.Text.EncoderFallback */ encoderFallback, void* /* System.Text.DecoderFallback */ decoderFallback, void** /* System.Exception */ __outException) + { + System.Text.EncoderFallback encoderFallbackConverted = InteropUtils.GetInstance(encoderFallback); + System.Text.DecoderFallback decoderFallbackConverted = InteropUtils.GetInstance(decoderFallback); + + try { + System.Text.Encoding __returnValue = System.Text.Encoding.GetEncoding(codepage, encoderFallbackConverted, decoderFallbackConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetEncoding_2")] + internal static void* /* System.Text.Encoding */ System_Text_Encoding_GetEncoding_2(void* /* System.String */ name, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Text.Encoding __returnValue = System.Text.Encoding.GetEncoding(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetEncoding_3")] + internal static void* /* System.Text.Encoding */ System_Text_Encoding_GetEncoding_3(void* /* System.String */ name, void* /* System.Text.EncoderFallback */ encoderFallback, void* /* System.Text.DecoderFallback */ decoderFallback, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + System.Text.EncoderFallback encoderFallbackConverted = InteropUtils.GetInstance(encoderFallback); + System.Text.DecoderFallback decoderFallbackConverted = InteropUtils.GetInstance(decoderFallback); + + try { + System.Text.Encoding __returnValue = System.Text.Encoding.GetEncoding(nameConverted, encoderFallbackConverted, decoderFallbackConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetEncodings")] + internal static void* /* System.Text.EncodingInfo[] */ System_Text_Encoding_GetEncodings(void** /* System.Exception */ __outException) + { + + try { + System.Text.EncodingInfo[] __returnValue = System.Text.Encoding.GetEncodings(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetPreamble")] + internal static void* /* System.Byte[] */ System_Text_Encoding_GetPreamble(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Byte[] __returnValue = __selfConverted.GetPreamble(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_Clone")] + internal static void* /* System.Object */ System_Text_Encoding_Clone(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.Clone(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetByteCount")] + internal static int /* System.Int32 */ System_Text_Encoding_GetByteCount(void* /* System.Text.Encoding */ __self, void* /* System.Char[] */ chars, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] charsConverted = InteropUtils.GetInstance(chars); + + try { + System.Int32 __returnValue = __selfConverted.GetByteCount(charsConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetByteCount_1")] + internal static int /* System.Int32 */ System_Text_Encoding_GetByteCount_1(void* /* System.Text.Encoding */ __self, void* /* System.String */ s, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.Int32 __returnValue = __selfConverted.GetByteCount(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetByteCount_2")] + internal static int /* System.Int32 */ System_Text_Encoding_GetByteCount_2(void* /* System.Text.Encoding */ __self, void* /* System.Char[] */ chars, int /* System.Int32 */ index, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] charsConverted = InteropUtils.GetInstance(chars); + + try { + System.Int32 __returnValue = __selfConverted.GetByteCount(charsConverted, index, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetByteCount_3")] + internal static int /* System.Int32 */ System_Text_Encoding_GetByteCount_3(void* /* System.Text.Encoding */ __self, void* /* System.String */ s, int /* System.Int32 */ index, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.Int32 __returnValue = __selfConverted.GetByteCount(sConverted, index, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetBytes")] + internal static void* /* System.Byte[] */ System_Text_Encoding_GetBytes(void* /* System.Text.Encoding */ __self, void* /* System.Char[] */ chars, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] charsConverted = InteropUtils.GetInstance(chars); + + try { + System.Byte[] __returnValue = __selfConverted.GetBytes(charsConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetBytes_1")] + internal static void* /* System.Byte[] */ System_Text_Encoding_GetBytes_1(void* /* System.Text.Encoding */ __self, void* /* System.Char[] */ chars, int /* System.Int32 */ index, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] charsConverted = InteropUtils.GetInstance(chars); + + try { + System.Byte[] __returnValue = __selfConverted.GetBytes(charsConverted, index, count); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetBytes_2")] + internal static int /* System.Int32 */ System_Text_Encoding_GetBytes_2(void* /* System.Text.Encoding */ __self, void* /* System.Char[] */ chars, int /* System.Int32 */ charIndex, int /* System.Int32 */ charCount, void* /* System.Byte[] */ bytes, int /* System.Int32 */ byteIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] charsConverted = InteropUtils.GetInstance(chars); + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + + try { + System.Int32 __returnValue = __selfConverted.GetBytes(charsConverted, charIndex, charCount, bytesConverted, byteIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetBytes_3")] + internal static void* /* System.Byte[] */ System_Text_Encoding_GetBytes_3(void* /* System.Text.Encoding */ __self, void* /* System.String */ s, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.Byte[] __returnValue = __selfConverted.GetBytes(sConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetBytes_4")] + internal static void* /* System.Byte[] */ System_Text_Encoding_GetBytes_4(void* /* System.Text.Encoding */ __self, void* /* System.String */ s, int /* System.Int32 */ index, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.Byte[] __returnValue = __selfConverted.GetBytes(sConverted, index, count); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetBytes_5")] + internal static int /* System.Int32 */ System_Text_Encoding_GetBytes_5(void* /* System.Text.Encoding */ __self, void* /* System.String */ s, int /* System.Int32 */ charIndex, int /* System.Int32 */ charCount, void* /* System.Byte[] */ bytes, int /* System.Int32 */ byteIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.String sConverted = InteropUtils.GetInstance(s); + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + + try { + System.Int32 __returnValue = __selfConverted.GetBytes(sConverted, charIndex, charCount, bytesConverted, byteIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetCharCount")] + internal static int /* System.Int32 */ System_Text_Encoding_GetCharCount(void* /* System.Text.Encoding */ __self, void* /* System.Byte[] */ bytes, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + + try { + System.Int32 __returnValue = __selfConverted.GetCharCount(bytesConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetCharCount_1")] + internal static int /* System.Int32 */ System_Text_Encoding_GetCharCount_1(void* /* System.Text.Encoding */ __self, void* /* System.Byte[] */ bytes, int /* System.Int32 */ index, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + + try { + System.Int32 __returnValue = __selfConverted.GetCharCount(bytesConverted, index, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetChars")] + internal static void* /* System.Char[] */ System_Text_Encoding_GetChars(void* /* System.Text.Encoding */ __self, void* /* System.Byte[] */ bytes, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + + try { + System.Char[] __returnValue = __selfConverted.GetChars(bytesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetChars_1")] + internal static void* /* System.Char[] */ System_Text_Encoding_GetChars_1(void* /* System.Text.Encoding */ __self, void* /* System.Byte[] */ bytes, int /* System.Int32 */ index, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + + try { + System.Char[] __returnValue = __selfConverted.GetChars(bytesConverted, index, count); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetChars_2")] + internal static int /* System.Int32 */ System_Text_Encoding_GetChars_2(void* /* System.Text.Encoding */ __self, void* /* System.Byte[] */ bytes, int /* System.Int32 */ byteIndex, int /* System.Int32 */ byteCount, void* /* System.Char[] */ chars, int /* System.Int32 */ charIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + System.Char[] charsConverted = InteropUtils.GetInstance(chars); + + try { + System.Int32 __returnValue = __selfConverted.GetChars(bytesConverted, byteIndex, byteCount, charsConverted, charIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_IsAlwaysNormalized")] + internal static byte /* System.Boolean */ System_Text_Encoding_IsAlwaysNormalized(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsAlwaysNormalized(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_IsAlwaysNormalized_1")] + internal static byte /* System.Boolean */ System_Text_Encoding_IsAlwaysNormalized_1(void* /* System.Text.Encoding */ __self, System.Text.NormalizationForm /* System.Text.NormalizationForm */ form, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsAlwaysNormalized(form); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetDecoder")] + internal static void* /* System.Text.Decoder */ System_Text_Encoding_GetDecoder(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.Decoder __returnValue = __selfConverted.GetDecoder(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetEncoder")] + internal static void* /* System.Text.Encoder */ System_Text_Encoding_GetEncoder(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.Encoder __returnValue = __selfConverted.GetEncoder(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetMaxByteCount")] + internal static int /* System.Int32 */ System_Text_Encoding_GetMaxByteCount(void* /* System.Text.Encoding */ __self, int /* System.Int32 */ charCount, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetMaxByteCount(charCount); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetMaxCharCount")] + internal static int /* System.Int32 */ System_Text_Encoding_GetMaxCharCount(void* /* System.Text.Encoding */ __self, int /* System.Int32 */ byteCount, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetMaxCharCount(byteCount); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetString")] + internal static void* /* System.String */ System_Text_Encoding_GetString(void* /* System.Text.Encoding */ __self, void* /* System.Byte[] */ bytes, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + + try { + System.String __returnValue = __selfConverted.GetString(bytesConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetString_1")] + internal static void* /* System.String */ System_Text_Encoding_GetString_1(void* /* System.Text.Encoding */ __self, void* /* System.Byte[] */ bytes, int /* System.Int32 */ index, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + + try { + System.String __returnValue = __selfConverted.GetString(bytesConverted, index, count); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_Equals")] + internal static byte /* System.Boolean */ System_Text_Encoding_Equals(void* /* System.Text.Encoding */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_GetHashCode")] + internal static int /* System.Int32 */ System_Text_Encoding_GetHashCode(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_CreateTranscodingStream")] + internal static void* /* System.IO.Stream */ System_Text_Encoding_CreateTranscodingStream(void* /* System.IO.Stream */ innerStream, void* /* System.Text.Encoding */ innerStreamEncoding, void* /* System.Text.Encoding */ outerStreamEncoding, byte /* System.Boolean */ leaveOpen, void** /* System.Exception */ __outException) + { + System.IO.Stream innerStreamConverted = InteropUtils.GetInstance(innerStream); + System.Text.Encoding innerStreamEncodingConverted = InteropUtils.GetInstance(innerStreamEncoding); + System.Text.Encoding outerStreamEncodingConverted = InteropUtils.GetInstance(outerStreamEncoding); + System.Boolean leaveOpenConverted = leaveOpen.ToBool(); + + try { + System.IO.Stream __returnValue = System.Text.Encoding.CreateTranscodingStream(innerStreamConverted, innerStreamEncodingConverted, outerStreamEncodingConverted, leaveOpenConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_Default_Get")] + internal static void* /* System.Text.Encoding */ System_Text_Encoding_Default_Get(void** /* System.Exception */ __outException) + { + + try { + System.Text.Encoding __returnValue = System.Text.Encoding.Default; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_BodyName_Get")] + internal static void* /* System.String */ System_Text_Encoding_BodyName_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.BodyName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_EncodingName_Get")] + internal static void* /* System.String */ System_Text_Encoding_EncodingName_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.EncodingName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_HeaderName_Get")] + internal static void* /* System.String */ System_Text_Encoding_HeaderName_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.HeaderName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_WebName_Get")] + internal static void* /* System.String */ System_Text_Encoding_WebName_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.WebName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_WindowsCodePage_Get")] + internal static int /* System.Int32 */ System_Text_Encoding_WindowsCodePage_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.WindowsCodePage; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_IsBrowserDisplay_Get")] + internal static byte /* System.Boolean */ System_Text_Encoding_IsBrowserDisplay_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsBrowserDisplay; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_IsBrowserSave_Get")] + internal static byte /* System.Boolean */ System_Text_Encoding_IsBrowserSave_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsBrowserSave; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_IsMailNewsDisplay_Get")] + internal static byte /* System.Boolean */ System_Text_Encoding_IsMailNewsDisplay_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsMailNewsDisplay; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_IsMailNewsSave_Get")] + internal static byte /* System.Boolean */ System_Text_Encoding_IsMailNewsSave_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsMailNewsSave; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_IsSingleByte_Get")] + internal static byte /* System.Boolean */ System_Text_Encoding_IsSingleByte_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSingleByte; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_EncoderFallback_Get")] + internal static void* /* System.Text.EncoderFallback */ System_Text_Encoding_EncoderFallback_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.EncoderFallback __returnValue = __selfConverted.EncoderFallback; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_EncoderFallback_Set")] + internal static void /* System.Void */ System_Text_Encoding_EncoderFallback_Set(void* /* System.Text.Encoding */ __self, void* /* System.Text.EncoderFallback */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.EncoderFallback = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_DecoderFallback_Get")] + internal static void* /* System.Text.DecoderFallback */ System_Text_Encoding_DecoderFallback_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.DecoderFallback __returnValue = __selfConverted.DecoderFallback; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_DecoderFallback_Set")] + internal static void /* System.Void */ System_Text_Encoding_DecoderFallback_Set(void* /* System.Text.Encoding */ __self, void* /* System.Text.DecoderFallback */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.DecoderFallback = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_IsReadOnly_Get")] + internal static byte /* System.Boolean */ System_Text_Encoding_IsReadOnly_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsReadOnly; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_ASCII_Get")] + internal static void* /* System.Text.Encoding */ System_Text_Encoding_ASCII_Get(void** /* System.Exception */ __outException) + { + + try { + System.Text.Encoding __returnValue = System.Text.Encoding.ASCII; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_Latin1_Get")] + internal static void* /* System.Text.Encoding */ System_Text_Encoding_Latin1_Get(void** /* System.Exception */ __outException) + { + + try { + System.Text.Encoding __returnValue = System.Text.Encoding.Latin1; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_CodePage_Get")] + internal static int /* System.Int32 */ System_Text_Encoding_CodePage_Get(void* /* System.Text.Encoding */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoding __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.CodePage; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_Unicode_Get")] + internal static void* /* System.Text.Encoding */ System_Text_Encoding_Unicode_Get(void** /* System.Exception */ __outException) + { + + try { + System.Text.Encoding __returnValue = System.Text.Encoding.Unicode; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_BigEndianUnicode_Get")] + internal static void* /* System.Text.Encoding */ System_Text_Encoding_BigEndianUnicode_Get(void** /* System.Exception */ __outException) + { + + try { + System.Text.Encoding __returnValue = System.Text.Encoding.BigEndianUnicode; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_UTF7_Get")] + internal static void* /* System.Text.Encoding */ System_Text_Encoding_UTF7_Get(void** /* System.Exception */ __outException) + { + + try { + System.Text.Encoding __returnValue = System.Text.Encoding.UTF7; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_UTF8_Get")] + internal static void* /* System.Text.Encoding */ System_Text_Encoding_UTF8_Get(void** /* System.Exception */ __outException) + { + + try { + System.Text.Encoding __returnValue = System.Text.Encoding.UTF8; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_UTF32_Get")] + internal static void* /* System.Text.Encoding */ System_Text_Encoding_UTF32_Get(void** /* System.Exception */ __outException) + { + + try { + System.Text.Encoding __returnValue = System.Text.Encoding.UTF32; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_TypeOf")] + internal static void* /* System.Type */ System_Text_Encoding_TypeOf() + { + + System.Type __returnValue = typeof(System.Text.Encoding); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoding_Destroy")] + internal static void /* System.Void */ System_Text_Encoding_Destroy(void* /* System.Text.Encoding */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Text_EncodingProvider +{ + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingProvider_GetEncoding")] + internal static void* /* System.Text.Encoding */ System_Text_EncodingProvider_GetEncoding(void* /* System.Text.EncodingProvider */ __self, void* /* System.String */ name, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncodingProvider __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Text.Encoding __returnValue = __selfConverted.GetEncoding(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingProvider_GetEncoding_1")] + internal static void* /* System.Text.Encoding */ System_Text_EncodingProvider_GetEncoding_1(void* /* System.Text.EncodingProvider */ __self, int /* System.Int32 */ codepage, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncodingProvider __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.Encoding __returnValue = __selfConverted.GetEncoding(codepage); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingProvider_GetEncoding_2")] + internal static void* /* System.Text.Encoding */ System_Text_EncodingProvider_GetEncoding_2(void* /* System.Text.EncodingProvider */ __self, void* /* System.String */ name, void* /* System.Text.EncoderFallback */ encoderFallback, void* /* System.Text.DecoderFallback */ decoderFallback, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncodingProvider __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Text.EncoderFallback encoderFallbackConverted = InteropUtils.GetInstance(encoderFallback); + System.Text.DecoderFallback decoderFallbackConverted = InteropUtils.GetInstance(decoderFallback); + + try { + System.Text.Encoding __returnValue = __selfConverted.GetEncoding(nameConverted, encoderFallbackConverted, decoderFallbackConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingProvider_GetEncoding_3")] + internal static void* /* System.Text.Encoding */ System_Text_EncodingProvider_GetEncoding_3(void* /* System.Text.EncodingProvider */ __self, int /* System.Int32 */ codepage, void* /* System.Text.EncoderFallback */ encoderFallback, void* /* System.Text.DecoderFallback */ decoderFallback, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncodingProvider __selfConverted = InteropUtils.GetInstance(__self); + + System.Text.EncoderFallback encoderFallbackConverted = InteropUtils.GetInstance(encoderFallback); + System.Text.DecoderFallback decoderFallbackConverted = InteropUtils.GetInstance(decoderFallback); + + try { + System.Text.Encoding __returnValue = __selfConverted.GetEncoding(codepage, encoderFallbackConverted, decoderFallbackConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingProvider_TypeOf")] + internal static void* /* System.Type */ System_Text_EncodingProvider_TypeOf() + { + + System.Type __returnValue = typeof(System.Text.EncodingProvider); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingProvider_Destroy")] + internal static void /* System.Void */ System_Text_EncodingProvider_Destroy(void* /* System.Text.EncodingProvider */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Text_EncoderFallback +{ + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallback_CreateFallbackBuffer")] + internal static void* /* System.Text.EncoderFallbackBuffer */ System_Text_EncoderFallback_CreateFallbackBuffer(void* /* System.Text.EncoderFallback */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncoderFallback __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.EncoderFallbackBuffer __returnValue = __selfConverted.CreateFallbackBuffer(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallback_ReplacementFallback_Get")] + internal static void* /* System.Text.EncoderFallback */ System_Text_EncoderFallback_ReplacementFallback_Get(void** /* System.Exception */ __outException) + { + + try { + System.Text.EncoderFallback __returnValue = System.Text.EncoderFallback.ReplacementFallback; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallback_ExceptionFallback_Get")] + internal static void* /* System.Text.EncoderFallback */ System_Text_EncoderFallback_ExceptionFallback_Get(void** /* System.Exception */ __outException) + { + + try { + System.Text.EncoderFallback __returnValue = System.Text.EncoderFallback.ExceptionFallback; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallback_MaxCharCount_Get")] + internal static int /* System.Int32 */ System_Text_EncoderFallback_MaxCharCount_Get(void* /* System.Text.EncoderFallback */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncoderFallback __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.MaxCharCount; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallback_TypeOf")] + internal static void* /* System.Type */ System_Text_EncoderFallback_TypeOf() + { + + System.Type __returnValue = typeof(System.Text.EncoderFallback); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallback_Destroy")] + internal static void /* System.Void */ System_Text_EncoderFallback_Destroy(void* /* System.Text.EncoderFallback */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Text_EncoderFallbackBuffer +{ + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallbackBuffer_Fallback")] + internal static byte /* System.Boolean */ System_Text_EncoderFallbackBuffer_Fallback(void* /* System.Text.EncoderFallbackBuffer */ __self, char /* System.Char */ charUnknown, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncoderFallbackBuffer __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.Fallback(charUnknown, index); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallbackBuffer_Fallback_1")] + internal static byte /* System.Boolean */ System_Text_EncoderFallbackBuffer_Fallback_1(void* /* System.Text.EncoderFallbackBuffer */ __self, char /* System.Char */ charUnknownHigh, char /* System.Char */ charUnknownLow, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncoderFallbackBuffer __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.Fallback(charUnknownHigh, charUnknownLow, index); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallbackBuffer_GetNextChar")] + internal static char /* System.Char */ System_Text_EncoderFallbackBuffer_GetNextChar(void* /* System.Text.EncoderFallbackBuffer */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncoderFallbackBuffer __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Char __returnValue = __selfConverted.GetNextChar(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return (char)0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallbackBuffer_MovePrevious")] + internal static byte /* System.Boolean */ System_Text_EncoderFallbackBuffer_MovePrevious(void* /* System.Text.EncoderFallbackBuffer */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncoderFallbackBuffer __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.MovePrevious(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallbackBuffer_Reset")] + internal static void /* System.Void */ System_Text_EncoderFallbackBuffer_Reset(void* /* System.Text.EncoderFallbackBuffer */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncoderFallbackBuffer __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Reset(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallbackBuffer_Remaining_Get")] + internal static int /* System.Int32 */ System_Text_EncoderFallbackBuffer_Remaining_Get(void* /* System.Text.EncoderFallbackBuffer */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncoderFallbackBuffer __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Remaining; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallbackBuffer_TypeOf")] + internal static void* /* System.Type */ System_Text_EncoderFallbackBuffer_TypeOf() + { + + System.Type __returnValue = typeof(System.Text.EncoderFallbackBuffer); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncoderFallbackBuffer_Destroy")] + internal static void /* System.Void */ System_Text_EncoderFallbackBuffer_Destroy(void* /* System.Text.EncoderFallbackBuffer */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Text_DecoderFallback +{ + [UnmanagedCallersOnly(EntryPoint = "System_Text_DecoderFallback_CreateFallbackBuffer")] + internal static void* /* System.Text.DecoderFallbackBuffer */ System_Text_DecoderFallback_CreateFallbackBuffer(void* /* System.Text.DecoderFallback */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.DecoderFallback __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.DecoderFallbackBuffer __returnValue = __selfConverted.CreateFallbackBuffer(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_DecoderFallback_ReplacementFallback_Get")] + internal static void* /* System.Text.DecoderFallback */ System_Text_DecoderFallback_ReplacementFallback_Get(void** /* System.Exception */ __outException) + { + + try { + System.Text.DecoderFallback __returnValue = System.Text.DecoderFallback.ReplacementFallback; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_DecoderFallback_ExceptionFallback_Get")] + internal static void* /* System.Text.DecoderFallback */ System_Text_DecoderFallback_ExceptionFallback_Get(void** /* System.Exception */ __outException) + { + + try { + System.Text.DecoderFallback __returnValue = System.Text.DecoderFallback.ExceptionFallback; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_DecoderFallback_MaxCharCount_Get")] + internal static int /* System.Int32 */ System_Text_DecoderFallback_MaxCharCount_Get(void* /* System.Text.DecoderFallback */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.DecoderFallback __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.MaxCharCount; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_DecoderFallback_TypeOf")] + internal static void* /* System.Type */ System_Text_DecoderFallback_TypeOf() + { + + System.Type __returnValue = typeof(System.Text.DecoderFallback); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_DecoderFallback_Destroy")] + internal static void /* System.Void */ System_Text_DecoderFallback_Destroy(void* /* System.Text.DecoderFallback */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Text_DecoderFallbackBuffer +{ + [UnmanagedCallersOnly(EntryPoint = "System_Text_DecoderFallbackBuffer_Fallback")] + internal static byte /* System.Boolean */ System_Text_DecoderFallbackBuffer_Fallback(void* /* System.Text.DecoderFallbackBuffer */ __self, void* /* System.Byte[] */ bytesUnknown, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.DecoderFallbackBuffer __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bytesUnknownConverted = InteropUtils.GetInstance(bytesUnknown); + + try { + System.Boolean __returnValue = __selfConverted.Fallback(bytesUnknownConverted, index); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_DecoderFallbackBuffer_GetNextChar")] + internal static char /* System.Char */ System_Text_DecoderFallbackBuffer_GetNextChar(void* /* System.Text.DecoderFallbackBuffer */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.DecoderFallbackBuffer __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Char __returnValue = __selfConverted.GetNextChar(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return (char)0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_DecoderFallbackBuffer_MovePrevious")] + internal static byte /* System.Boolean */ System_Text_DecoderFallbackBuffer_MovePrevious(void* /* System.Text.DecoderFallbackBuffer */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.DecoderFallbackBuffer __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.MovePrevious(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_DecoderFallbackBuffer_Reset")] + internal static void /* System.Void */ System_Text_DecoderFallbackBuffer_Reset(void* /* System.Text.DecoderFallbackBuffer */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.DecoderFallbackBuffer __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Reset(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_DecoderFallbackBuffer_Remaining_Get")] + internal static int /* System.Int32 */ System_Text_DecoderFallbackBuffer_Remaining_Get(void* /* System.Text.DecoderFallbackBuffer */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.DecoderFallbackBuffer __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Remaining; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_DecoderFallbackBuffer_TypeOf")] + internal static void* /* System.Type */ System_Text_DecoderFallbackBuffer_TypeOf() + { + + System.Type __returnValue = typeof(System.Text.DecoderFallbackBuffer); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_DecoderFallbackBuffer_Destroy")] + internal static void /* System.Void */ System_Text_DecoderFallbackBuffer_Destroy(void* /* System.Text.DecoderFallbackBuffer */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + +internal unsafe class System_Text_EncodingInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingInfo_GetEncoding")] + internal static void* /* System.Text.Encoding */ System_Text_EncodingInfo_GetEncoding(void* /* System.Text.EncodingInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncodingInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.Encoding __returnValue = __selfConverted.GetEncoding(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingInfo_Equals")] + internal static byte /* System.Boolean */ System_Text_EncodingInfo_Equals(void* /* System.Text.EncodingInfo */ __self, void* /* System.Object */ value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncodingInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object valueConverted = InteropUtils.GetInstance(value); + + try { + System.Boolean __returnValue = __selfConverted.Equals(valueConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingInfo_GetHashCode")] + internal static int /* System.Int32 */ System_Text_EncodingInfo_GetHashCode(void* /* System.Text.EncodingInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncodingInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingInfo_Create")] + internal static void* /* System.Text.EncodingInfo */ System_Text_EncodingInfo_Create(void* /* System.Text.EncodingProvider */ provider, int /* System.Int32 */ codePage, void* /* System.String */ name, void* /* System.String */ displayName, void** /* System.Exception */ __outException) + { + System.Text.EncodingProvider providerConverted = InteropUtils.GetInstance(provider); + System.String nameConverted = InteropUtils.GetInstance(name); + System.String displayNameConverted = InteropUtils.GetInstance(displayName); + + try { + System.Text.EncodingInfo __returnValue = new System.Text.EncodingInfo(providerConverted, codePage, nameConverted, displayNameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingInfo_CodePage_Get")] + internal static int /* System.Int32 */ System_Text_EncodingInfo_CodePage_Get(void* /* System.Text.EncodingInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncodingInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.CodePage; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingInfo_Name_Get")] + internal static void* /* System.String */ System_Text_EncodingInfo_Name_Get(void* /* System.Text.EncodingInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncodingInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.Name; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingInfo_DisplayName_Get")] + internal static void* /* System.String */ System_Text_EncodingInfo_DisplayName_Get(void* /* System.Text.EncodingInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.EncodingInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.String __returnValue = __selfConverted.DisplayName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingInfo_TypeOf")] + internal static void* /* System.Type */ System_Text_EncodingInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Text.EncodingInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_EncodingInfo_Destroy")] + internal static void /* System.Void */ System_Text_EncodingInfo_Destroy(void* /* System.Text.EncodingInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + +internal unsafe class System_Text_Decoder +{ + [UnmanagedCallersOnly(EntryPoint = "System_Text_Decoder_Reset")] + internal static void /* System.Void */ System_Text_Decoder_Reset(void* /* System.Text.Decoder */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Decoder __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Reset(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Decoder_GetCharCount")] + internal static int /* System.Int32 */ System_Text_Decoder_GetCharCount(void* /* System.Text.Decoder */ __self, void* /* System.Byte[] */ bytes, int /* System.Int32 */ index, int /* System.Int32 */ count, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Decoder __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + + try { + System.Int32 __returnValue = __selfConverted.GetCharCount(bytesConverted, index, count); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Decoder_GetCharCount_1")] + internal static int /* System.Int32 */ System_Text_Decoder_GetCharCount_1(void* /* System.Text.Decoder */ __self, void* /* System.Byte[] */ bytes, int /* System.Int32 */ index, int /* System.Int32 */ count, byte /* System.Boolean */ flush, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Decoder __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + System.Boolean flushConverted = flush.ToBool(); + + try { + System.Int32 __returnValue = __selfConverted.GetCharCount(bytesConverted, index, count, flushConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Decoder_GetChars")] + internal static int /* System.Int32 */ System_Text_Decoder_GetChars(void* /* System.Text.Decoder */ __self, void* /* System.Byte[] */ bytes, int /* System.Int32 */ byteIndex, int /* System.Int32 */ byteCount, void* /* System.Char[] */ chars, int /* System.Int32 */ charIndex, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Decoder __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + System.Char[] charsConverted = InteropUtils.GetInstance(chars); + + try { + System.Int32 __returnValue = __selfConverted.GetChars(bytesConverted, byteIndex, byteCount, charsConverted, charIndex); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Decoder_GetChars_1")] + internal static int /* System.Int32 */ System_Text_Decoder_GetChars_1(void* /* System.Text.Decoder */ __self, void* /* System.Byte[] */ bytes, int /* System.Int32 */ byteIndex, int /* System.Int32 */ byteCount, void* /* System.Char[] */ chars, int /* System.Int32 */ charIndex, byte /* System.Boolean */ flush, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Decoder __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + System.Char[] charsConverted = InteropUtils.GetInstance(chars); + System.Boolean flushConverted = flush.ToBool(); + + try { + System.Int32 __returnValue = __selfConverted.GetChars(bytesConverted, byteIndex, byteCount, charsConverted, charIndex, flushConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Decoder_Convert")] + internal static void /* System.Void */ System_Text_Decoder_Convert(void* /* System.Text.Decoder */ __self, void* /* System.Byte[] */ bytes, int /* System.Int32 */ byteIndex, int /* System.Int32 */ byteCount, void* /* System.Char[] */ chars, int /* System.Int32 */ charIndex, int /* System.Int32 */ charCount, byte /* System.Boolean */ flush, int* /* System.Int32 */ bytesUsed, int* /* System.Int32 */ charsUsed, byte* /* System.Boolean */ completed, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Decoder __selfConverted = InteropUtils.GetInstance(__self); + + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + System.Char[] charsConverted = InteropUtils.GetInstance(chars); + System.Boolean flushConverted = flush.ToBool(); + System.Int32 bytesUsedConverted; + System.Int32 charsUsedConverted; + System.Boolean completedConverted; + + try { + __selfConverted.Convert(bytesConverted, byteIndex, byteCount, charsConverted, charIndex, charCount, flushConverted, out bytesUsedConverted, out charsUsedConverted, out completedConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (bytesUsed is not null) { + *bytesUsed = bytesUsedConverted; + } + + if (charsUsed is not null) { + *charsUsed = charsUsedConverted; + } + + if (completed is not null) { + *completed = completedConverted.ToCBool(); + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (bytesUsed is not null) { + *bytesUsed = -1; + } + + if (charsUsed is not null) { + *charsUsed = -1; + } + + if (completed is not null) { + *completed = 0; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Decoder_Fallback_Get")] + internal static void* /* System.Text.DecoderFallback */ System_Text_Decoder_Fallback_Get(void* /* System.Text.Decoder */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Decoder __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.DecoderFallback __returnValue = __selfConverted.Fallback; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Decoder_Fallback_Set")] + internal static void /* System.Void */ System_Text_Decoder_Fallback_Set(void* /* System.Text.Decoder */ __self, void* /* System.Text.DecoderFallback */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Decoder __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Fallback = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Decoder_FallbackBuffer_Get")] + internal static void* /* System.Text.DecoderFallbackBuffer */ System_Text_Decoder_FallbackBuffer_Get(void* /* System.Text.Decoder */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Decoder __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.DecoderFallbackBuffer __returnValue = __selfConverted.FallbackBuffer; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Decoder_TypeOf")] + internal static void* /* System.Type */ System_Text_Decoder_TypeOf() + { + + System.Type __returnValue = typeof(System.Text.Decoder); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Decoder_Destroy")] + internal static void /* System.Void */ System_Text_Decoder_Destroy(void* /* System.Text.Decoder */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Text_Encoder +{ + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoder_Reset")] + internal static void /* System.Void */ System_Text_Encoder_Reset(void* /* System.Text.Encoder */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoder __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Reset(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoder_GetByteCount")] + internal static int /* System.Int32 */ System_Text_Encoder_GetByteCount(void* /* System.Text.Encoder */ __self, void* /* System.Char[] */ chars, int /* System.Int32 */ index, int /* System.Int32 */ count, byte /* System.Boolean */ flush, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoder __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] charsConverted = InteropUtils.GetInstance(chars); + System.Boolean flushConverted = flush.ToBool(); + + try { + System.Int32 __returnValue = __selfConverted.GetByteCount(charsConverted, index, count, flushConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoder_GetBytes")] + internal static int /* System.Int32 */ System_Text_Encoder_GetBytes(void* /* System.Text.Encoder */ __self, void* /* System.Char[] */ chars, int /* System.Int32 */ charIndex, int /* System.Int32 */ charCount, void* /* System.Byte[] */ bytes, int /* System.Int32 */ byteIndex, byte /* System.Boolean */ flush, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoder __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] charsConverted = InteropUtils.GetInstance(chars); + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + System.Boolean flushConverted = flush.ToBool(); + + try { + System.Int32 __returnValue = __selfConverted.GetBytes(charsConverted, charIndex, charCount, bytesConverted, byteIndex, flushConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoder_Convert")] + internal static void /* System.Void */ System_Text_Encoder_Convert(void* /* System.Text.Encoder */ __self, void* /* System.Char[] */ chars, int /* System.Int32 */ charIndex, int /* System.Int32 */ charCount, void* /* System.Byte[] */ bytes, int /* System.Int32 */ byteIndex, int /* System.Int32 */ byteCount, byte /* System.Boolean */ flush, int* /* System.Int32 */ charsUsed, int* /* System.Int32 */ bytesUsed, byte* /* System.Boolean */ completed, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoder __selfConverted = InteropUtils.GetInstance(__self); + + System.Char[] charsConverted = InteropUtils.GetInstance(chars); + System.Byte[] bytesConverted = InteropUtils.GetInstance(bytes); + System.Boolean flushConverted = flush.ToBool(); + System.Int32 charsUsedConverted; + System.Int32 bytesUsedConverted; + System.Boolean completedConverted; + + try { + __selfConverted.Convert(charsConverted, charIndex, charCount, bytesConverted, byteIndex, byteCount, flushConverted, out charsUsedConverted, out bytesUsedConverted, out completedConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (charsUsed is not null) { + *charsUsed = charsUsedConverted; + } + + if (bytesUsed is not null) { + *bytesUsed = bytesUsedConverted; + } + + if (completed is not null) { + *completed = completedConverted.ToCBool(); + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (charsUsed is not null) { + *charsUsed = -1; + } + + if (bytesUsed is not null) { + *bytesUsed = -1; + } + + if (completed is not null) { + *completed = 0; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoder_Fallback_Get")] + internal static void* /* System.Text.EncoderFallback */ System_Text_Encoder_Fallback_Get(void* /* System.Text.Encoder */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoder __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.EncoderFallback __returnValue = __selfConverted.Fallback; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoder_Fallback_Set")] + internal static void /* System.Void */ System_Text_Encoder_Fallback_Set(void* /* System.Text.Encoder */ __self, void* /* System.Text.EncoderFallback */ __value, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoder __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Fallback = InteropUtils.GetInstance(__value); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoder_FallbackBuffer_Get")] + internal static void* /* System.Text.EncoderFallbackBuffer */ System_Text_Encoder_FallbackBuffer_Get(void* /* System.Text.Encoder */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Text.Encoder __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Text.EncoderFallbackBuffer __returnValue = __selfConverted.FallbackBuffer; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoder_TypeOf")] + internal static void* /* System.Type */ System_Text_Encoder_TypeOf() + { + + System.Type __returnValue = typeof(System.Text.Encoder); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Text_Encoder_Destroy")] + internal static void /* System.Void */ System_Text_Encoder_Destroy(void* /* System.Text.Encoder */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +internal unsafe class System_Reflection_IReflect +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_GetMethod")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_IReflect_GetMethod(void* /* System.Reflection.IReflect */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.IReflect __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, bindingAttr, binderConverted, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_GetMethod_1")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_IReflect_GetMethod_1(void* /* System.Reflection.IReflect */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.IReflect __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetMethod(nameConverted, bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_GetMethods")] + internal static void* /* System.Reflection.MethodInfo[] */ System_Reflection_IReflect_GetMethods(void* /* System.Reflection.IReflect */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.IReflect __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo[] __returnValue = __selfConverted.GetMethods(bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_GetField")] + internal static void* /* System.Reflection.FieldInfo */ System_Reflection_IReflect_GetField(void* /* System.Reflection.IReflect */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.IReflect __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.FieldInfo __returnValue = __selfConverted.GetField(nameConverted, bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_GetFields")] + internal static void* /* System.Reflection.FieldInfo[] */ System_Reflection_IReflect_GetFields(void* /* System.Reflection.IReflect */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.IReflect __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.FieldInfo[] __returnValue = __selfConverted.GetFields(bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_GetProperty")] + internal static void* /* System.Reflection.PropertyInfo */ System_Reflection_IReflect_GetProperty(void* /* System.Reflection.IReflect */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.IReflect __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.PropertyInfo __returnValue = __selfConverted.GetProperty(nameConverted, bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_GetProperty_1")] + internal static void* /* System.Reflection.PropertyInfo */ System_Reflection_IReflect_GetProperty_1(void* /* System.Reflection.IReflect */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Type */ returnType, void* /* System.Type[] */ types, void* /* System.Reflection.ParameterModifier[] */ modifiers, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.IReflect __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Type returnTypeConverted = InteropUtils.GetInstance(returnType); + System.Type[] typesConverted = InteropUtils.GetInstance(types); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + + try { + System.Reflection.PropertyInfo __returnValue = __selfConverted.GetProperty(nameConverted, bindingAttr, binderConverted, returnTypeConverted, typesConverted, modifiersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_GetProperties")] + internal static void* /* System.Reflection.PropertyInfo[] */ System_Reflection_IReflect_GetProperties(void* /* System.Reflection.IReflect */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.IReflect __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.PropertyInfo[] __returnValue = __selfConverted.GetProperties(bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_GetMember")] + internal static void* /* System.Reflection.MemberInfo[] */ System_Reflection_IReflect_GetMember(void* /* System.Reflection.IReflect */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.IReflect __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Reflection.MemberInfo[] __returnValue = __selfConverted.GetMember(nameConverted, bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_GetMembers")] + internal static void* /* System.Reflection.MemberInfo[] */ System_Reflection_IReflect_GetMembers(void* /* System.Reflection.IReflect */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ bindingAttr, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.IReflect __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MemberInfo[] __returnValue = __selfConverted.GetMembers(bindingAttr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_InvokeMember")] + internal static void* /* System.Object */ System_Reflection_IReflect_InvokeMember(void* /* System.Reflection.IReflect */ __self, void* /* System.String */ name, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ invokeAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Object */ target, void* /* System.Object[] */ args, void* /* System.Reflection.ParameterModifier[] */ modifiers, void* /* System.Globalization.CultureInfo */ culture, void* /* System.String[] */ namedParameters, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.IReflect __selfConverted = InteropUtils.GetInstance(__self); + + System.String nameConverted = InteropUtils.GetInstance(name); + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Object targetConverted = InteropUtils.GetInstance(target); + System.Object[] argsConverted = InteropUtils.GetInstance(args); + System.Reflection.ParameterModifier[] modifiersConverted = InteropUtils.GetInstance(modifiers); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + System.String[] namedParametersConverted = InteropUtils.GetInstance(namedParameters); + + try { + System.Object __returnValue = __selfConverted.InvokeMember(nameConverted, invokeAttr, binderConverted, targetConverted, argsConverted, modifiersConverted, cultureConverted, namedParametersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_UnderlyingSystemType_Get")] + internal static void* /* System.Type */ System_Reflection_IReflect_UnderlyingSystemType_Get(void* /* System.Reflection.IReflect */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.IReflect __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.UnderlyingSystemType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_TypeOf")] + internal static void* /* System.Type */ System_Reflection_IReflect_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.IReflect); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_IReflect_Destroy")] + internal static void /* System.Void */ System_Reflection_IReflect_Destroy(void* /* System.Reflection.IReflect */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + +internal unsafe class System_Reflection_GenericParameterAttributes +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_GenericParameterAttributes_TypeOf")] + internal static void* /* System.Type */ System_Reflection_GenericParameterAttributes_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.GenericParameterAttributes); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Reflection_TypeAttributes +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_TypeAttributes_TypeOf")] + internal static void* /* System.Type */ System_Reflection_TypeAttributes_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.TypeAttributes); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Runtime_InteropServices_StructLayoutAttribute +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_StructLayoutAttribute_Create")] + internal static void* /* System.Runtime.InteropServices.StructLayoutAttribute */ System_Runtime_InteropServices_StructLayoutAttribute_Create(System.Runtime.InteropServices.LayoutKind /* System.Runtime.InteropServices.LayoutKind */ layoutKind, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.StructLayoutAttribute __returnValue = new System.Runtime.InteropServices.StructLayoutAttribute(layoutKind); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_StructLayoutAttribute_Create_1")] + internal static void* /* System.Runtime.InteropServices.StructLayoutAttribute */ System_Runtime_InteropServices_StructLayoutAttribute_Create_1(short /* System.Int16 */ layoutKind, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.StructLayoutAttribute __returnValue = new System.Runtime.InteropServices.StructLayoutAttribute(layoutKind); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_StructLayoutAttribute_Value_Get")] + internal static System.Runtime.InteropServices.LayoutKind /* System.Runtime.InteropServices.LayoutKind */ System_Runtime_InteropServices_StructLayoutAttribute_Value_Get(void* /* System.Runtime.InteropServices.StructLayoutAttribute */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.StructLayoutAttribute __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Runtime.InteropServices.LayoutKind __returnValue = __selfConverted.Value; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Runtime.InteropServices.LayoutKind); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_StructLayoutAttribute_Pack_Get")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_StructLayoutAttribute_Pack_Get(void* /* System.Runtime.InteropServices.StructLayoutAttribute */ __self) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.StructLayoutAttribute __selfConverted = InteropUtils.GetInstance(__self); + + + System.Int32 __returnValue = __selfConverted.Pack; + return __returnValue; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_StructLayoutAttribute_Pack_Set")] + internal static void /* System.Void */ System_Runtime_InteropServices_StructLayoutAttribute_Pack_Set(void* /* System.Runtime.InteropServices.StructLayoutAttribute */ __self, int /* System.Int32 */ __value) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.StructLayoutAttribute __selfConverted = InteropUtils.GetInstance(__self); + + + __selfConverted.Pack = __value; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_StructLayoutAttribute_Size_Get")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_StructLayoutAttribute_Size_Get(void* /* System.Runtime.InteropServices.StructLayoutAttribute */ __self) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.StructLayoutAttribute __selfConverted = InteropUtils.GetInstance(__self); + + + System.Int32 __returnValue = __selfConverted.Size; + return __returnValue; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_StructLayoutAttribute_Size_Set")] + internal static void /* System.Void */ System_Runtime_InteropServices_StructLayoutAttribute_Size_Set(void* /* System.Runtime.InteropServices.StructLayoutAttribute */ __self, int /* System.Int32 */ __value) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.StructLayoutAttribute __selfConverted = InteropUtils.GetInstance(__self); + + + __selfConverted.Size = __value; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Get")] + internal static System.Runtime.InteropServices.CharSet /* System.Runtime.InteropServices.CharSet */ System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Get(void* /* System.Runtime.InteropServices.StructLayoutAttribute */ __self) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.StructLayoutAttribute __selfConverted = InteropUtils.GetInstance(__self); + + + System.Runtime.InteropServices.CharSet __returnValue = __selfConverted.CharSet; + return __returnValue; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Set")] + internal static void /* System.Void */ System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Set(void* /* System.Runtime.InteropServices.StructLayoutAttribute */ __self, System.Runtime.InteropServices.CharSet /* System.Runtime.InteropServices.CharSet */ __value) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Runtime.InteropServices.StructLayoutAttribute __selfConverted = InteropUtils.GetInstance(__self); + + + __selfConverted.CharSet = __value; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_StructLayoutAttribute_TypeOf")] + internal static void* /* System.Type */ System_Runtime_InteropServices_StructLayoutAttribute_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.InteropServices.StructLayoutAttribute); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_StructLayoutAttribute_Destroy")] + internal static void /* System.Void */ System_Runtime_InteropServices_StructLayoutAttribute_Destroy(void* /* System.Runtime.InteropServices.StructLayoutAttribute */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Attribute +{ + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes(void* /* System.Reflection.MemberInfo */ element, void* /* System.Type */ attributeType, void** /* System.Exception */ __outException) + { + System.Reflection.MemberInfo elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted, attributeTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_1")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_1(void* /* System.Reflection.MemberInfo */ element, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.MemberInfo elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted, attributeTypeConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_2")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_2(void* /* System.Reflection.MemberInfo */ element, void** /* System.Exception */ __outException) + { + System.Reflection.MemberInfo elementConverted = InteropUtils.GetInstance(element); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_3")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_3(void* /* System.Reflection.MemberInfo */ element, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.MemberInfo elementConverted = InteropUtils.GetInstance(element); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_IsDefined")] + internal static byte /* System.Boolean */ System_Attribute_IsDefined(void* /* System.Reflection.MemberInfo */ element, void* /* System.Type */ attributeType, void** /* System.Exception */ __outException) + { + System.Reflection.MemberInfo elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + + try { + System.Boolean __returnValue = System.Attribute.IsDefined(elementConverted, attributeTypeConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_IsDefined_1")] + internal static byte /* System.Boolean */ System_Attribute_IsDefined_1(void* /* System.Reflection.MemberInfo */ element, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.MemberInfo elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Boolean __returnValue = System.Attribute.IsDefined(elementConverted, attributeTypeConverted, inheritConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttribute_1")] + internal static void* /* System.Attribute */ System_Attribute_GetCustomAttribute_1(void* /* System.Reflection.MemberInfo */ element, void* /* System.Type */ attributeType, void** /* System.Exception */ __outException) + { + System.Reflection.MemberInfo elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + + try { + System.Attribute __returnValue = System.Attribute.GetCustomAttribute(elementConverted, attributeTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttribute_2")] + internal static void* /* System.Attribute */ System_Attribute_GetCustomAttribute_2(void* /* System.Reflection.MemberInfo */ element, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.MemberInfo elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Attribute __returnValue = System.Attribute.GetCustomAttribute(elementConverted, attributeTypeConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_4")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_4(void* /* System.Reflection.ParameterInfo */ element, void** /* System.Exception */ __outException) + { + System.Reflection.ParameterInfo elementConverted = InteropUtils.GetInstance(element); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_5")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_5(void* /* System.Reflection.ParameterInfo */ element, void* /* System.Type */ attributeType, void** /* System.Exception */ __outException) + { + System.Reflection.ParameterInfo elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted, attributeTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_6")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_6(void* /* System.Reflection.ParameterInfo */ element, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.ParameterInfo elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted, attributeTypeConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_7")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_7(void* /* System.Reflection.ParameterInfo */ element, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.ParameterInfo elementConverted = InteropUtils.GetInstance(element); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_IsDefined_2")] + internal static byte /* System.Boolean */ System_Attribute_IsDefined_2(void* /* System.Reflection.ParameterInfo */ element, void* /* System.Type */ attributeType, void** /* System.Exception */ __outException) + { + System.Reflection.ParameterInfo elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + + try { + System.Boolean __returnValue = System.Attribute.IsDefined(elementConverted, attributeTypeConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_IsDefined_3")] + internal static byte /* System.Boolean */ System_Attribute_IsDefined_3(void* /* System.Reflection.ParameterInfo */ element, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.ParameterInfo elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Boolean __returnValue = System.Attribute.IsDefined(elementConverted, attributeTypeConverted, inheritConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttribute_3")] + internal static void* /* System.Attribute */ System_Attribute_GetCustomAttribute_3(void* /* System.Reflection.ParameterInfo */ element, void* /* System.Type */ attributeType, void** /* System.Exception */ __outException) + { + System.Reflection.ParameterInfo elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + + try { + System.Attribute __returnValue = System.Attribute.GetCustomAttribute(elementConverted, attributeTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttribute_4")] + internal static void* /* System.Attribute */ System_Attribute_GetCustomAttribute_4(void* /* System.Reflection.ParameterInfo */ element, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.ParameterInfo elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Attribute __returnValue = System.Attribute.GetCustomAttribute(elementConverted, attributeTypeConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_8")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_8(void* /* System.Reflection.Module */ element, void* /* System.Type */ attributeType, void** /* System.Exception */ __outException) + { + System.Reflection.Module elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted, attributeTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_9")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_9(void* /* System.Reflection.Module */ element, void** /* System.Exception */ __outException) + { + System.Reflection.Module elementConverted = InteropUtils.GetInstance(element); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_10")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_10(void* /* System.Reflection.Module */ element, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.Module elementConverted = InteropUtils.GetInstance(element); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_11")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_11(void* /* System.Reflection.Module */ element, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.Module elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted, attributeTypeConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_IsDefined_4")] + internal static byte /* System.Boolean */ System_Attribute_IsDefined_4(void* /* System.Reflection.Module */ element, void* /* System.Type */ attributeType, void** /* System.Exception */ __outException) + { + System.Reflection.Module elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + + try { + System.Boolean __returnValue = System.Attribute.IsDefined(elementConverted, attributeTypeConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_IsDefined_5")] + internal static byte /* System.Boolean */ System_Attribute_IsDefined_5(void* /* System.Reflection.Module */ element, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.Module elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Boolean __returnValue = System.Attribute.IsDefined(elementConverted, attributeTypeConverted, inheritConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttribute_5")] + internal static void* /* System.Attribute */ System_Attribute_GetCustomAttribute_5(void* /* System.Reflection.Module */ element, void* /* System.Type */ attributeType, void** /* System.Exception */ __outException) + { + System.Reflection.Module elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + + try { + System.Attribute __returnValue = System.Attribute.GetCustomAttribute(elementConverted, attributeTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttribute_6")] + internal static void* /* System.Attribute */ System_Attribute_GetCustomAttribute_6(void* /* System.Reflection.Module */ element, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.Module elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Attribute __returnValue = System.Attribute.GetCustomAttribute(elementConverted, attributeTypeConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_12")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_12(void* /* System.Reflection.Assembly */ element, void* /* System.Type */ attributeType, void** /* System.Exception */ __outException) + { + System.Reflection.Assembly elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted, attributeTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_13")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_13(void* /* System.Reflection.Assembly */ element, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.Assembly elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted, attributeTypeConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_14")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_14(void* /* System.Reflection.Assembly */ element, void** /* System.Exception */ __outException) + { + System.Reflection.Assembly elementConverted = InteropUtils.GetInstance(element); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttributes_15")] + internal static void* /* System.Attribute[] */ System_Attribute_GetCustomAttributes_15(void* /* System.Reflection.Assembly */ element, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.Assembly elementConverted = InteropUtils.GetInstance(element); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Attribute[] __returnValue = System.Attribute.GetCustomAttributes(elementConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_IsDefined_6")] + internal static byte /* System.Boolean */ System_Attribute_IsDefined_6(void* /* System.Reflection.Assembly */ element, void* /* System.Type */ attributeType, void** /* System.Exception */ __outException) + { + System.Reflection.Assembly elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + + try { + System.Boolean __returnValue = System.Attribute.IsDefined(elementConverted, attributeTypeConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_IsDefined_7")] + internal static byte /* System.Boolean */ System_Attribute_IsDefined_7(void* /* System.Reflection.Assembly */ element, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.Assembly elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Boolean __returnValue = System.Attribute.IsDefined(elementConverted, attributeTypeConverted, inheritConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttribute_7")] + internal static void* /* System.Attribute */ System_Attribute_GetCustomAttribute_7(void* /* System.Reflection.Assembly */ element, void* /* System.Type */ attributeType, void** /* System.Exception */ __outException) + { + System.Reflection.Assembly elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + + try { + System.Attribute __returnValue = System.Attribute.GetCustomAttribute(elementConverted, attributeTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetCustomAttribute_8")] + internal static void* /* System.Attribute */ System_Attribute_GetCustomAttribute_8(void* /* System.Reflection.Assembly */ element, void* /* System.Type */ attributeType, byte /* System.Boolean */ inherit, void** /* System.Exception */ __outException) + { + System.Reflection.Assembly elementConverted = InteropUtils.GetInstance(element); + System.Type attributeTypeConverted = InteropUtils.GetInstance(attributeType); + System.Boolean inheritConverted = inherit.ToBool(); + + try { + System.Attribute __returnValue = System.Attribute.GetCustomAttribute(elementConverted, attributeTypeConverted, inheritConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_Equals")] + internal static byte /* System.Boolean */ System_Attribute_Equals(void* /* System.Attribute */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Attribute __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_GetHashCode")] + internal static int /* System.Int32 */ System_Attribute_GetHashCode(void* /* System.Attribute */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Attribute __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_Match")] + internal static byte /* System.Boolean */ System_Attribute_Match(void* /* System.Attribute */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Attribute __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Match(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_IsDefaultAttribute")] + internal static byte /* System.Boolean */ System_Attribute_IsDefaultAttribute(void* /* System.Attribute */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Attribute __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsDefaultAttribute(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_TypeId_Get")] + internal static void* /* System.Object */ System_Attribute_TypeId_Get(void* /* System.Attribute */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Attribute __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Object __returnValue = __selfConverted.TypeId; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_TypeOf")] + internal static void* /* System.Type */ System_Attribute_TypeOf() + { + + System.Type __returnValue = typeof(System.Attribute); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Attribute_Destroy")] + internal static void /* System.Void */ System_Attribute_Destroy(void* /* System.Attribute */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + +internal unsafe class System_Runtime_InteropServices_LayoutKind +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_LayoutKind_TypeOf")] + internal static void* /* System.Type */ System_Runtime_InteropServices_LayoutKind_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.InteropServices.LayoutKind); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Runtime_InteropServices_CharSet +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_CharSet_TypeOf")] + internal static void* /* System.Type */ System_Runtime_InteropServices_CharSet_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.InteropServices.CharSet); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + +internal unsafe class System_Reflection_ConstructorInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ConstructorInfo_Invoke")] + internal static void* /* System.Object */ System_Reflection_ConstructorInfo_Invoke(void* /* System.Reflection.ConstructorInfo */ __self, void* /* System.Object[] */ parameters, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ConstructorInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object[] parametersConverted = InteropUtils.GetInstance(parameters); + + try { + System.Object __returnValue = __selfConverted.Invoke(parametersConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ConstructorInfo_Invoke_1")] + internal static void* /* System.Object */ System_Reflection_ConstructorInfo_Invoke_1(void* /* System.Reflection.ConstructorInfo */ __self, System.Reflection.BindingFlags /* System.Reflection.BindingFlags */ invokeAttr, void* /* System.Reflection.Binder */ binder, void* /* System.Object[] */ parameters, void* /* System.Globalization.CultureInfo */ culture, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ConstructorInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Reflection.Binder binderConverted = InteropUtils.GetInstance(binder); + System.Object[] parametersConverted = InteropUtils.GetInstance(parameters); + System.Globalization.CultureInfo cultureConverted = InteropUtils.GetInstance(culture); + + try { + System.Object __returnValue = __selfConverted.Invoke(invokeAttr, binderConverted, parametersConverted, cultureConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ConstructorInfo_Equals")] + internal static byte /* System.Boolean */ System_Reflection_ConstructorInfo_Equals(void* /* System.Reflection.ConstructorInfo */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ConstructorInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ConstructorInfo_GetHashCode")] + internal static int /* System.Int32 */ System_Reflection_ConstructorInfo_GetHashCode(void* /* System.Reflection.ConstructorInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ConstructorInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ConstructorInfo_MemberType_Get")] + internal static System.Reflection.MemberTypes /* System.Reflection.MemberTypes */ System_Reflection_ConstructorInfo_MemberType_Get(void* /* System.Reflection.ConstructorInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.ConstructorInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MemberTypes __returnValue = __selfConverted.MemberType; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.MemberTypes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ConstructorInfo_ConstructorName_Get")] + internal static void* /* System.String */ System_Reflection_ConstructorInfo_ConstructorName_Get() + { + + System.String __returnValue = System.Reflection.ConstructorInfo.ConstructorName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ConstructorInfo_TypeConstructorName_Get")] + internal static void* /* System.String */ System_Reflection_ConstructorInfo_TypeConstructorName_Get() + { + + System.String __returnValue = System.Reflection.ConstructorInfo.TypeConstructorName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ConstructorInfo_TypeOf")] + internal static void* /* System.Type */ System_Reflection_ConstructorInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.ConstructorInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_ConstructorInfo_Destroy")] + internal static void /* System.Void */ System_Reflection_ConstructorInfo_Destroy(void* /* System.Reflection.ConstructorInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + +internal unsafe class System_Reflection_EventInfo +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_GetOtherMethods")] + internal static void* /* System.Reflection.MethodInfo[] */ System_Reflection_EventInfo_GetOtherMethods(void* /* System.Reflection.EventInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo[] __returnValue = __selfConverted.GetOtherMethods(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_GetOtherMethods_1")] + internal static void* /* System.Reflection.MethodInfo[] */ System_Reflection_EventInfo_GetOtherMethods_1(void* /* System.Reflection.EventInfo */ __self, byte /* System.Boolean */ nonPublic, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean nonPublicConverted = nonPublic.ToBool(); + + try { + System.Reflection.MethodInfo[] __returnValue = __selfConverted.GetOtherMethods(nonPublicConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_GetAddMethod")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_EventInfo_GetAddMethod(void* /* System.Reflection.EventInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetAddMethod(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_GetRemoveMethod")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_EventInfo_GetRemoveMethod(void* /* System.Reflection.EventInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetRemoveMethod(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_GetRaiseMethod")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_EventInfo_GetRaiseMethod(void* /* System.Reflection.EventInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetRaiseMethod(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_GetAddMethod_1")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_EventInfo_GetAddMethod_1(void* /* System.Reflection.EventInfo */ __self, byte /* System.Boolean */ nonPublic, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean nonPublicConverted = nonPublic.ToBool(); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetAddMethod(nonPublicConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_GetRemoveMethod_1")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_EventInfo_GetRemoveMethod_1(void* /* System.Reflection.EventInfo */ __self, byte /* System.Boolean */ nonPublic, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean nonPublicConverted = nonPublic.ToBool(); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetRemoveMethod(nonPublicConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_GetRaiseMethod_1")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_EventInfo_GetRaiseMethod_1(void* /* System.Reflection.EventInfo */ __self, byte /* System.Boolean */ nonPublic, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Boolean nonPublicConverted = nonPublic.ToBool(); + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.GetRaiseMethod(nonPublicConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_AddEventHandler")] + internal static void /* System.Void */ System_Reflection_EventInfo_AddEventHandler(void* /* System.Reflection.EventInfo */ __self, void* /* System.Object */ target, void* /* System.Delegate */ handler, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object targetConverted = InteropUtils.GetInstance(target); + System.Delegate handlerConverted = InteropUtils.GetInstance(handler)?.Trampoline; + + try { + __selfConverted.AddEventHandler(targetConverted, handlerConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_RemoveEventHandler")] + internal static void /* System.Void */ System_Reflection_EventInfo_RemoveEventHandler(void* /* System.Reflection.EventInfo */ __self, void* /* System.Object */ target, void* /* System.Delegate */ handler, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object targetConverted = InteropUtils.GetInstance(target); + System.Delegate handlerConverted = InteropUtils.GetInstance(handler)?.Trampoline; + + try { + __selfConverted.RemoveEventHandler(targetConverted, handlerConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_Equals")] + internal static byte /* System.Boolean */ System_Reflection_EventInfo_Equals(void* /* System.Reflection.EventInfo */ __self, void* /* System.Object */ obj, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Boolean __returnValue = __selfConverted.Equals(objConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_GetHashCode")] + internal static int /* System.Int32 */ System_Reflection_EventInfo_GetHashCode(void* /* System.Reflection.EventInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.GetHashCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_MemberType_Get")] + internal static System.Reflection.MemberTypes /* System.Reflection.MemberTypes */ System_Reflection_EventInfo_MemberType_Get(void* /* System.Reflection.EventInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MemberTypes __returnValue = __selfConverted.MemberType; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.MemberTypes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_Attributes_Get")] + internal static System.Reflection.EventAttributes /* System.Reflection.EventAttributes */ System_Reflection_EventInfo_Attributes_Get(void* /* System.Reflection.EventInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.EventAttributes __returnValue = __selfConverted.Attributes; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return default(System.Reflection.EventAttributes); + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_IsSpecialName_Get")] + internal static byte /* System.Boolean */ System_Reflection_EventInfo_IsSpecialName_Get(void* /* System.Reflection.EventInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsSpecialName; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_AddMethod_Get")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_EventInfo_AddMethod_Get(void* /* System.Reflection.EventInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.AddMethod; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_RemoveMethod_Get")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_EventInfo_RemoveMethod_Get(void* /* System.Reflection.EventInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.RemoveMethod; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_RaiseMethod_Get")] + internal static void* /* System.Reflection.MethodInfo */ System_Reflection_EventInfo_RaiseMethod_Get(void* /* System.Reflection.EventInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Reflection.MethodInfo __returnValue = __selfConverted.RaiseMethod; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_IsMulticast_Get")] + internal static byte /* System.Boolean */ System_Reflection_EventInfo_IsMulticast_Get(void* /* System.Reflection.EventInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsMulticast; + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_EventHandlerType_Get")] + internal static void* /* System.Type */ System_Reflection_EventInfo_EventHandlerType_Get(void* /* System.Reflection.EventInfo */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.EventInfo __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Type __returnValue = __selfConverted.EventHandlerType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_TypeOf")] + internal static void* /* System.Type */ System_Reflection_EventInfo_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.EventInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventInfo_Destroy")] + internal static void /* System.Void */ System_Reflection_EventInfo_Destroy(void* /* System.Reflection.EventInfo */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_EventAttributes +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_EventAttributes_TypeOf")] + internal static void* /* System.Type */ System_Reflection_EventAttributes_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.EventAttributes); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + + +internal unsafe class System_Reflection_InterfaceMapping +{ + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_InterfaceMapping_TargetType_Get")] + internal static void* /* System.Type */ System_Reflection_InterfaceMapping_TargetType_Get(void* /* System.Reflection.InterfaceMapping */ __self) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.InterfaceMapping __selfConverted = InteropUtils.GetInstance(__self); + + + System.Type __returnValue = __selfConverted.TargetType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_InterfaceMapping_TargetType_Set")] + internal static void /* System.Void */ System_Reflection_InterfaceMapping_TargetType_Set(void* /* System.Reflection.InterfaceMapping */ __self, void* /* System.Type */ __value) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.InterfaceMapping __selfConverted = InteropUtils.GetInstance(__self); + + + __selfConverted.TargetType = InteropUtils.GetInstance(__value); + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_InterfaceMapping_InterfaceType_Get")] + internal static void* /* System.Type */ System_Reflection_InterfaceMapping_InterfaceType_Get(void* /* System.Reflection.InterfaceMapping */ __self) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.InterfaceMapping __selfConverted = InteropUtils.GetInstance(__self); + + + System.Type __returnValue = __selfConverted.InterfaceType; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_InterfaceMapping_InterfaceType_Set")] + internal static void /* System.Void */ System_Reflection_InterfaceMapping_InterfaceType_Set(void* /* System.Reflection.InterfaceMapping */ __self, void* /* System.Type */ __value) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.InterfaceMapping __selfConverted = InteropUtils.GetInstance(__self); + + + __selfConverted.InterfaceType = InteropUtils.GetInstance(__value); + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_InterfaceMapping_TargetMethods_Get")] + internal static void* /* System.Reflection.MethodInfo[] */ System_Reflection_InterfaceMapping_TargetMethods_Get(void* /* System.Reflection.InterfaceMapping */ __self) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.InterfaceMapping __selfConverted = InteropUtils.GetInstance(__self); + + + System.Reflection.MethodInfo[] __returnValue = __selfConverted.TargetMethods; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_InterfaceMapping_TargetMethods_Set")] + internal static void /* System.Void */ System_Reflection_InterfaceMapping_TargetMethods_Set(void* /* System.Reflection.InterfaceMapping */ __self, void* /* System.Reflection.MethodInfo[] */ __value) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.InterfaceMapping __selfConverted = InteropUtils.GetInstance(__self); + + + __selfConverted.TargetMethods = InteropUtils.GetInstance(__value); + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_InterfaceMapping_InterfaceMethods_Get")] + internal static void* /* System.Reflection.MethodInfo[] */ System_Reflection_InterfaceMapping_InterfaceMethods_Get(void* /* System.Reflection.InterfaceMapping */ __self) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.InterfaceMapping __selfConverted = InteropUtils.GetInstance(__self); + + + System.Reflection.MethodInfo[] __returnValue = __selfConverted.InterfaceMethods; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_InterfaceMapping_InterfaceMethods_Set")] + internal static void /* System.Void */ System_Reflection_InterfaceMapping_InterfaceMethods_Set(void* /* System.Reflection.InterfaceMapping */ __self, void* /* System.Reflection.MethodInfo[] */ __value) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Reflection.InterfaceMapping __selfConverted = InteropUtils.GetInstance(__self); + + + __selfConverted.InterfaceMethods = InteropUtils.GetInstance(__value); + if (__self is not null) { + InteropUtils.ReplaceInstance(__self, __selfConverted); + } + + + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_InterfaceMapping_Create")] + internal static void* /* System.Reflection.InterfaceMapping */ System_Reflection_InterfaceMapping_Create(void** /* System.Exception */ __outException) + { + + try { + System.Reflection.InterfaceMapping __returnValue = new System.Reflection.InterfaceMapping(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_InterfaceMapping_TypeOf")] + internal static void* /* System.Type */ System_Reflection_InterfaceMapping_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.InterfaceMapping); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_InterfaceMapping_Destroy")] + internal static void /* System.Void */ System_Reflection_InterfaceMapping_Destroy(void* /* System.Reflection.InterfaceMapping */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Reflection_MemberFilter +{ + internal void* Context { get; } + internal delegate* unmanaged CFunction { get; } + internal delegate* unmanaged CDestructorFunction { get; } + + private WeakReference m_trampoline; + internal System.Reflection.MemberFilter Trampoline + { + get { + System.Reflection.MemberFilter? trampoline; + + if (m_trampoline is not null) { + m_trampoline.TryGetTarget(out trampoline); + } else { + trampoline = null; + } + + if (trampoline is null) { + trampoline = CreateTrampoline(); + m_trampoline = new(trampoline); + } + + return trampoline; + } + } + + private System_Reflection_MemberFilter(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + Context = context; + CFunction = cFunction; + CDestructorFunction = cDestructorFunction; + } + + internal System_Reflection_MemberFilter(System.Reflection.MemberFilter originalDelegate) + { + m_trampoline = new(originalDelegate); + } + + ~System_Reflection_MemberFilter() + { + if (CDestructorFunction is null) { + return; + } + + CDestructorFunction(Context); + } + + private System.Reflection.MemberFilter? CreateTrampoline() + { + if (CFunction is null) { + return null; + } + + System.Type typeOfSelf = typeof(System_Reflection_MemberFilter); + string nameOfInvocationMethod = nameof(__InvokeByCallingCFunction); + System.Reflection.BindingFlags bindingFlags = System.Reflection.BindingFlags.Instance | BindingFlags.NonPublic; + System.Reflection.MethodInfo? invocationMethod = typeOfSelf.GetMethod(nameOfInvocationMethod, bindingFlags); + + if (invocationMethod is null) { + throw new Exception("Failed to retrieve delegate invocation method"); + } + + System.Reflection.MemberFilter trampoline = (System.Reflection.MemberFilter)System.Delegate.CreateDelegate(typeof(System.Reflection.MemberFilter), this, invocationMethod); + + return trampoline; + } + + private System.Boolean __InvokeByCallingCFunction(System.Reflection.MemberInfo /* System.Reflection.MemberInfo */ m, System.Object /* System.Object */ filterCriteria) + { + void* mConverted = m.AllocateGCHandleAndGetAddress(); + void* filterCriteriaConverted = filterCriteria.AllocateGCHandleAndGetAddress(); + + + var __returnValue = CFunction(Context, mConverted, filterCriteriaConverted); + var __returnValueConverted = __returnValue.ToBool(); + + return __returnValueConverted; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberFilter_Create")] + public static void* Create(void* context, delegate* unmanaged cFunction, delegate* unmanaged cDestructorFunction) + { + var self = new System_Reflection_MemberFilter(context, cFunction, cDestructorFunction); + void* selfHandle = self.AllocateGCHandleAndGetAddress(); + + return selfHandle; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberFilter_Invoke")] + public static byte /* System.Boolean */ Invoke(void* self, void* /* System.Reflection.MemberInfo */ m, void* /* System.Object */ filterCriteria, void** __outException) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + try { + var selfConverted = InteropUtils.GetInstance(self); + + System.Reflection.MemberInfo mConverted = InteropUtils.GetInstance(m); + System.Object filterCriteriaConverted = InteropUtils.GetInstance(filterCriteria); + + + var __returnValue = selfConverted.Trampoline(mConverted, filterCriteriaConverted); + var __returnValueConverted = __returnValue.ToCBool(); + + return __returnValueConverted; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberFilter_Context_Get")] + public static void* Context_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.Context; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberFilter_CFunction_Get")] + public static delegate* unmanaged CFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberFilter_CDestructorFunction_Get")] + public static delegate* unmanaged CDestructorFunction_Get(void* self) + { + if (self is null) { + throw new ArgumentNullException(nameof(self)); + } + + var selfConverted = InteropUtils.GetInstance(self); + + return selfConverted.CDestructorFunction; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberFilter_TypeOf")] + internal static void* /* System.Type */ System_Reflection_MemberFilter_TypeOf() + { + + System.Type __returnValue = typeof(System.Reflection.MemberFilter); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Reflection_MemberFilter_Destroy")] + internal static void /* System.Void */ System_Reflection_MemberFilter_Destroy(void* /* System.Reflection.MemberFilter */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_InteropServices_Marshal +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_OffsetOf")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_OffsetOf(void* /* System.Type */ t, void* /* System.String */ fieldName, void** /* System.Exception */ __outException) + { + System.Type tConverted = InteropUtils.GetInstance(t); + System.String fieldNameConverted = InteropUtils.GetInstance(fieldName); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.OffsetOf(tConverted, fieldNameConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadByte")] + internal static byte /* System.Byte */ System_Runtime_InteropServices_Marshal_ReadByte(void* /* System.Object */ ptr, int /* System.Int32 */ ofs, void** /* System.Exception */ __outException) + { + System.Object ptrConverted = InteropUtils.GetInstance(ptr); + + try { + System.Byte __returnValue = System.Runtime.InteropServices.Marshal.ReadByte(ptrConverted, ofs); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadInt16")] + internal static short /* System.Int16 */ System_Runtime_InteropServices_Marshal_ReadInt16(void* /* System.Object */ ptr, int /* System.Int32 */ ofs, void** /* System.Exception */ __outException) + { + System.Object ptrConverted = InteropUtils.GetInstance(ptr); + + try { + System.Int16 __returnValue = System.Runtime.InteropServices.Marshal.ReadInt16(ptrConverted, ofs); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadInt32")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_ReadInt32(void* /* System.Object */ ptr, int /* System.Int32 */ ofs, void** /* System.Exception */ __outException) + { + System.Object ptrConverted = InteropUtils.GetInstance(ptr); + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.ReadInt32(ptrConverted, ofs); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadInt64")] + internal static long /* System.Int64 */ System_Runtime_InteropServices_Marshal_ReadInt64(void** /* System.Object */ ptr, int /* System.Int32 */ ofs, void** /* System.Exception */ __outException) + { + System.Object ptrConverted; + + if (ptr is not null) { + ptrConverted = InteropUtils.GetInstance((*ptr)); + } else { + ptrConverted = default(System.Object); + } + + + try { + System.Int64 __returnValue = System.Runtime.InteropServices.Marshal.ReadInt64(ptrConverted, ofs); + + if (__outException is not null) { + *__outException = null; + } + + if (ptr is not null) { + *ptr = ptrConverted.AllocateGCHandleAndGetAddress(); + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_WriteByte")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_WriteByte(void* /* System.Object */ ptr, int /* System.Int32 */ ofs, byte /* System.Byte */ val, void** /* System.Exception */ __outException) + { + System.Object ptrConverted = InteropUtils.GetInstance(ptr); + + try { + System.Runtime.InteropServices.Marshal.WriteByte(ptrConverted, ofs, val); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_WriteInt32")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_WriteInt32(void* /* System.Object */ ptr, int /* System.Int32 */ ofs, int /* System.Int32 */ val, void** /* System.Exception */ __outException) + { + System.Object ptrConverted = InteropUtils.GetInstance(ptr); + + try { + System.Runtime.InteropServices.Marshal.WriteInt32(ptrConverted, ofs, val); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_WriteInt64")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_WriteInt64(void* /* System.Object */ ptr, int /* System.Int32 */ ofs, long /* System.Int64 */ val, void** /* System.Exception */ __outException) + { + System.Object ptrConverted = InteropUtils.GetInstance(ptr); + + try { + System.Runtime.InteropServices.Marshal.WriteInt64(ptrConverted, ofs, val); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetLastPInvokeError")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_GetLastPInvokeError(void** /* System.Exception */ __outException) + { + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.GetLastPInvokeError(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_SetLastPInvokeError")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_SetLastPInvokeError(int /* System.Int32 */ error, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.SetLastPInvokeError(error); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetExceptionPointers")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_GetExceptionPointers(void** /* System.Exception */ __outException) + { + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.GetExceptionPointers(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetExceptionCode")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_GetExceptionCode(void** /* System.Exception */ __outException) + { + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.GetExceptionCode(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_StructureToPtr")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_StructureToPtr(void* /* System.Object */ structure, nint /* System.IntPtr */ ptr, byte /* System.Boolean */ fDeleteOld, void** /* System.Exception */ __outException) + { + System.Object structureConverted = InteropUtils.GetInstance(structure); + System.Boolean fDeleteOldConverted = fDeleteOld.ToBool(); + + try { + System.Runtime.InteropServices.Marshal.StructureToPtr(structureConverted, ptr, fDeleteOldConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_DestroyStructure")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_DestroyStructure(nint /* System.IntPtr */ ptr, void* /* System.Type */ structuretype, void** /* System.Exception */ __outException) + { + System.Type structuretypeConverted = InteropUtils.GetInstance(structuretype); + + try { + System.Runtime.InteropServices.Marshal.DestroyStructure(ptr, structuretypeConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_AllocHGlobal")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_AllocHGlobal(int /* System.Int32 */ cb, void** /* System.Exception */ __outException) + { + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.AllocHGlobal(cb); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_PtrToStringAnsi")] + internal static void* /* System.String */ System_Runtime_InteropServices_Marshal_PtrToStringAnsi(nint /* System.IntPtr */ ptr, void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(ptr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_PtrToStringAnsi_1")] + internal static void* /* System.String */ System_Runtime_InteropServices_Marshal_PtrToStringAnsi_1(nint /* System.IntPtr */ ptr, int /* System.Int32 */ len, void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(ptr, len); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_PtrToStringUni")] + internal static void* /* System.String */ System_Runtime_InteropServices_Marshal_PtrToStringUni(nint /* System.IntPtr */ ptr, void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = System.Runtime.InteropServices.Marshal.PtrToStringUni(ptr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_PtrToStringUni_1")] + internal static void* /* System.String */ System_Runtime_InteropServices_Marshal_PtrToStringUni_1(nint /* System.IntPtr */ ptr, int /* System.Int32 */ len, void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = System.Runtime.InteropServices.Marshal.PtrToStringUni(ptr, len); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_PtrToStringUTF8")] + internal static void* /* System.String */ System_Runtime_InteropServices_Marshal_PtrToStringUTF8(nint /* System.IntPtr */ ptr, void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = System.Runtime.InteropServices.Marshal.PtrToStringUTF8(ptr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_PtrToStringUTF8_1")] + internal static void* /* System.String */ System_Runtime_InteropServices_Marshal_PtrToStringUTF8_1(nint /* System.IntPtr */ ptr, int /* System.Int32 */ byteLen, void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = System.Runtime.InteropServices.Marshal.PtrToStringUTF8(ptr, byteLen); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_SizeOf")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_SizeOf(void* /* System.Object */ structure, void** /* System.Exception */ __outException) + { + System.Object structureConverted = InteropUtils.GetInstance(structure); + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.SizeOf(structureConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_SizeOf_1")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_SizeOf_1(void* /* System.Type */ t, void** /* System.Exception */ __outException) + { + System.Type tConverted = InteropUtils.GetInstance(t); + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.SizeOf(tConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_SizeOf_A1")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_SizeOf_A1(void* /* System.Type */ T, void** /* System.Exception */ __outException) + { + System.Type TConverted = InteropUtils.GetInstance(T); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Runtime.InteropServices.Marshal); + System.String __memberNameForGenericCall = nameof(System.Runtime.InteropServices.Marshal.SizeOf); + System.Object? __methodTargetForGenericCall = null; + + System.Object[]? __parametersForGenericCall = null; + System.Type[] __parameterTypesForGenericCall = System.Type.EmptyTypes; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 1, __parameterTypesForGenericCall) ?? throw new Exception("Method SizeOf not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + System.Int32 __returnValue = (System.Int32)__genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_QueryInterface")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_QueryInterface(nint /* System.IntPtr */ pUnk, void** /* System.Guid */ iid, nint* /* System.IntPtr */ ppv, void** /* System.Exception */ __outException) + { + System.Guid iidConverted; + + if (iid is not null) { + iidConverted = InteropUtils.GetInstance((*iid)); + } else { + iidConverted = default(System.Guid); + } + + System.IntPtr ppvConverted; + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.QueryInterface(pUnk, iidConverted, out ppvConverted); + + if (__outException is not null) { + *__outException = null; + } + + if (iid is not null) { + *iid = iidConverted.AllocateGCHandleAndGetAddress(); + } + + if (ppv is not null) { + *ppv = ppvConverted; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (ppv is not null) { + *ppv = nint.Zero; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_AddRef")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_AddRef(nint /* System.IntPtr */ pUnk, void** /* System.Exception */ __outException) + { + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.AddRef(pUnk); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Release")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_Release(nint /* System.IntPtr */ pUnk, void** /* System.Exception */ __outException) + { + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.Release(pUnk); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement(void* /* System.Array */ arr, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + System.Array arrConverted = InteropUtils.GetInstance(arr); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.UnsafeAddrOfPinnedArrayElement(arrConverted, index); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement_A1")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement_A1(void* /* System.Type */ T, void* /* T[] */ arr, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + System.Type TConverted = InteropUtils.GetInstance(T); + System.Array arrConverted = InteropUtils.GetInstance(arr); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Runtime.InteropServices.Marshal); + System.String __memberNameForGenericCall = nameof(System.Runtime.InteropServices.Marshal.UnsafeAddrOfPinnedArrayElement); + System.Object? __methodTargetForGenericCall = null; + + System.Object[] __parametersForGenericCall = new System.Object[] { arrConverted, index }; + System.Type[] __parameterTypesForGenericCall = new System.Type[] { System.Type.MakeGenericMethodParameter(0).MakeArrayType(), typeof(System.Int32) }; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 1, __parameterTypesForGenericCall) ?? throw new Exception("Method UnsafeAddrOfPinnedArrayElement not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + System.IntPtr __returnValue = (System.IntPtr)__genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_OffsetOf_A1")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_OffsetOf_A1(void* /* System.Type */ T, void* /* System.String */ fieldName, void** /* System.Exception */ __outException) + { + System.Type TConverted = InteropUtils.GetInstance(T); + System.String fieldNameConverted = InteropUtils.GetInstance(fieldName); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Runtime.InteropServices.Marshal); + System.String __memberNameForGenericCall = nameof(System.Runtime.InteropServices.Marshal.OffsetOf); + System.Object? __methodTargetForGenericCall = null; + + System.Object[] __parametersForGenericCall = new System.Object[] { fieldNameConverted }; + System.Type[] __parameterTypesForGenericCall = new System.Type[] { typeof(System.String) }; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 1, __parameterTypesForGenericCall) ?? throw new Exception("Method OffsetOf not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + System.IntPtr __returnValue = (System.IntPtr)__genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy(void* /* System.Int32[] */ source, int /* System.Int32 */ startIndex, nint /* System.IntPtr */ destination, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Int32[] sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Runtime.InteropServices.Marshal.Copy(sourceConverted, startIndex, destination, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_1")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_1(void* /* System.Char[] */ source, int /* System.Int32 */ startIndex, nint /* System.IntPtr */ destination, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Char[] sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Runtime.InteropServices.Marshal.Copy(sourceConverted, startIndex, destination, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_2")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_2(void* /* System.Int16[] */ source, int /* System.Int32 */ startIndex, nint /* System.IntPtr */ destination, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Int16[] sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Runtime.InteropServices.Marshal.Copy(sourceConverted, startIndex, destination, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_3")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_3(void* /* System.Int64[] */ source, int /* System.Int32 */ startIndex, nint /* System.IntPtr */ destination, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Int64[] sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Runtime.InteropServices.Marshal.Copy(sourceConverted, startIndex, destination, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_4")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_4(void* /* System.Single[] */ source, int /* System.Int32 */ startIndex, nint /* System.IntPtr */ destination, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Single[] sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Runtime.InteropServices.Marshal.Copy(sourceConverted, startIndex, destination, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_5")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_5(void* /* System.Double[] */ source, int /* System.Int32 */ startIndex, nint /* System.IntPtr */ destination, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Double[] sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Runtime.InteropServices.Marshal.Copy(sourceConverted, startIndex, destination, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_6")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_6(void* /* System.Byte[] */ source, int /* System.Int32 */ startIndex, nint /* System.IntPtr */ destination, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Byte[] sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Runtime.InteropServices.Marshal.Copy(sourceConverted, startIndex, destination, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_7")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_7(void* /* System.IntPtr[] */ source, int /* System.Int32 */ startIndex, nint /* System.IntPtr */ destination, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.IntPtr[] sourceConverted = InteropUtils.GetInstance(source); + + try { + System.Runtime.InteropServices.Marshal.Copy(sourceConverted, startIndex, destination, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_8")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_8(nint /* System.IntPtr */ source, void* /* System.Int32[] */ destination, int /* System.Int32 */ startIndex, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Int32[] destinationConverted = InteropUtils.GetInstance(destination); + + try { + System.Runtime.InteropServices.Marshal.Copy(source, destinationConverted, startIndex, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_9")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_9(nint /* System.IntPtr */ source, void* /* System.Char[] */ destination, int /* System.Int32 */ startIndex, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Char[] destinationConverted = InteropUtils.GetInstance(destination); + + try { + System.Runtime.InteropServices.Marshal.Copy(source, destinationConverted, startIndex, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_10")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_10(nint /* System.IntPtr */ source, void* /* System.Int16[] */ destination, int /* System.Int32 */ startIndex, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Int16[] destinationConverted = InteropUtils.GetInstance(destination); + + try { + System.Runtime.InteropServices.Marshal.Copy(source, destinationConverted, startIndex, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_11")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_11(nint /* System.IntPtr */ source, void* /* System.Int64[] */ destination, int /* System.Int32 */ startIndex, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Int64[] destinationConverted = InteropUtils.GetInstance(destination); + + try { + System.Runtime.InteropServices.Marshal.Copy(source, destinationConverted, startIndex, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_12")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_12(nint /* System.IntPtr */ source, void* /* System.Single[] */ destination, int /* System.Int32 */ startIndex, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Single[] destinationConverted = InteropUtils.GetInstance(destination); + + try { + System.Runtime.InteropServices.Marshal.Copy(source, destinationConverted, startIndex, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_13")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_13(nint /* System.IntPtr */ source, void* /* System.Double[] */ destination, int /* System.Int32 */ startIndex, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Double[] destinationConverted = InteropUtils.GetInstance(destination); + + try { + System.Runtime.InteropServices.Marshal.Copy(source, destinationConverted, startIndex, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_14")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_14(nint /* System.IntPtr */ source, void* /* System.Byte[] */ destination, int /* System.Int32 */ startIndex, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.Byte[] destinationConverted = InteropUtils.GetInstance(destination); + + try { + System.Runtime.InteropServices.Marshal.Copy(source, destinationConverted, startIndex, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Copy_15")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Copy_15(nint /* System.IntPtr */ source, void* /* System.IntPtr[] */ destination, int /* System.Int32 */ startIndex, int /* System.Int32 */ length, void** /* System.Exception */ __outException) + { + System.IntPtr[] destinationConverted = InteropUtils.GetInstance(destination); + + try { + System.Runtime.InteropServices.Marshal.Copy(source, destinationConverted, startIndex, length); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadByte_1")] + internal static byte /* System.Byte */ System_Runtime_InteropServices_Marshal_ReadByte_1(nint /* System.IntPtr */ ptr, int /* System.Int32 */ ofs, void** /* System.Exception */ __outException) + { + + try { + System.Byte __returnValue = System.Runtime.InteropServices.Marshal.ReadByte(ptr, ofs); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadByte_2")] + internal static byte /* System.Byte */ System_Runtime_InteropServices_Marshal_ReadByte_2(nint /* System.IntPtr */ ptr, void** /* System.Exception */ __outException) + { + + try { + System.Byte __returnValue = System.Runtime.InteropServices.Marshal.ReadByte(ptr); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadInt16_1")] + internal static short /* System.Int16 */ System_Runtime_InteropServices_Marshal_ReadInt16_1(nint /* System.IntPtr */ ptr, int /* System.Int32 */ ofs, void** /* System.Exception */ __outException) + { + + try { + System.Int16 __returnValue = System.Runtime.InteropServices.Marshal.ReadInt16(ptr, ofs); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadInt16_2")] + internal static short /* System.Int16 */ System_Runtime_InteropServices_Marshal_ReadInt16_2(nint /* System.IntPtr */ ptr, void** /* System.Exception */ __outException) + { + + try { + System.Int16 __returnValue = System.Runtime.InteropServices.Marshal.ReadInt16(ptr); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadInt32_1")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_ReadInt32_1(nint /* System.IntPtr */ ptr, int /* System.Int32 */ ofs, void** /* System.Exception */ __outException) + { + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.ReadInt32(ptr, ofs); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadInt32_2")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_ReadInt32_2(nint /* System.IntPtr */ ptr, void** /* System.Exception */ __outException) + { + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.ReadInt32(ptr); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadIntPtr")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_ReadIntPtr(void* /* System.Object */ ptr, int /* System.Int32 */ ofs, void** /* System.Exception */ __outException) + { + System.Object ptrConverted = InteropUtils.GetInstance(ptr); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.ReadIntPtr(ptrConverted, ofs); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadIntPtr_1")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_ReadIntPtr_1(nint /* System.IntPtr */ ptr, int /* System.Int32 */ ofs, void** /* System.Exception */ __outException) + { + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.ReadIntPtr(ptr, ofs); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadIntPtr_2")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_ReadIntPtr_2(nint /* System.IntPtr */ ptr, void** /* System.Exception */ __outException) + { + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.ReadIntPtr(ptr); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadInt64_1")] + internal static long /* System.Int64 */ System_Runtime_InteropServices_Marshal_ReadInt64_1(nint /* System.IntPtr */ ptr, int /* System.Int32 */ ofs, void** /* System.Exception */ __outException) + { + + try { + System.Int64 __returnValue = System.Runtime.InteropServices.Marshal.ReadInt64(ptr, ofs); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReadInt64_2")] + internal static long /* System.Int64 */ System_Runtime_InteropServices_Marshal_ReadInt64_2(nint /* System.IntPtr */ ptr, void** /* System.Exception */ __outException) + { + + try { + System.Int64 __returnValue = System.Runtime.InteropServices.Marshal.ReadInt64(ptr); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_WriteByte_1")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_WriteByte_1(nint /* System.IntPtr */ ptr, int /* System.Int32 */ ofs, byte /* System.Byte */ val, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.WriteByte(ptr, ofs, val); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_WriteByte_2")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_WriteByte_2(nint /* System.IntPtr */ ptr, byte /* System.Byte */ val, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.WriteByte(ptr, val); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_WriteInt32_1")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_WriteInt32_1(nint /* System.IntPtr */ ptr, int /* System.Int32 */ ofs, int /* System.Int32 */ val, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.WriteInt32(ptr, ofs, val); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_WriteInt32_2")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_WriteInt32_2(nint /* System.IntPtr */ ptr, int /* System.Int32 */ val, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.WriteInt32(ptr, val); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_WriteIntPtr")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_WriteIntPtr(nint /* System.IntPtr */ ptr, int /* System.Int32 */ ofs, nint /* System.IntPtr */ val, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.WriteIntPtr(ptr, ofs, val); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_WriteIntPtr_1")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_WriteIntPtr_1(void* /* System.Object */ ptr, int /* System.Int32 */ ofs, nint /* System.IntPtr */ val, void** /* System.Exception */ __outException) + { + System.Object ptrConverted = InteropUtils.GetInstance(ptr); + + try { + System.Runtime.InteropServices.Marshal.WriteIntPtr(ptrConverted, ofs, val); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_WriteIntPtr_2")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_WriteIntPtr_2(nint /* System.IntPtr */ ptr, nint /* System.IntPtr */ val, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.WriteIntPtr(ptr, val); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_WriteInt64_1")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_WriteInt64_1(nint /* System.IntPtr */ ptr, int /* System.Int32 */ ofs, long /* System.Int64 */ val, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.WriteInt64(ptr, ofs, val); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_WriteInt64_2")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_WriteInt64_2(nint /* System.IntPtr */ ptr, long /* System.Int64 */ val, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.WriteInt64(ptr, val); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Prelink")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Prelink(void* /* System.Reflection.MethodInfo */ m, void** /* System.Exception */ __outException) + { + System.Reflection.MethodInfo mConverted = InteropUtils.GetInstance(m); + + try { + System.Runtime.InteropServices.Marshal.Prelink(mConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_PrelinkAll")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_PrelinkAll(void* /* System.Type */ c, void** /* System.Exception */ __outException) + { + System.Type cConverted = InteropUtils.GetInstance(c); + + try { + System.Runtime.InteropServices.Marshal.PrelinkAll(cConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_PtrToStructure")] + internal static void* /* System.Object */ System_Runtime_InteropServices_Marshal_PtrToStructure(nint /* System.IntPtr */ ptr, void* /* System.Type */ structureType, void** /* System.Exception */ __outException) + { + System.Type structureTypeConverted = InteropUtils.GetInstance(structureType); + + try { + System.Object __returnValue = System.Runtime.InteropServices.Marshal.PtrToStructure(ptr, structureTypeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_PtrToStructure_1")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_PtrToStructure_1(nint /* System.IntPtr */ ptr, void* /* System.Object */ structure, void** /* System.Exception */ __outException) + { + System.Object structureConverted = InteropUtils.GetInstance(structure); + + try { + System.Runtime.InteropServices.Marshal.PtrToStructure(ptr, structureConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_DestroyStructure_A1")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_DestroyStructure_A1(void* /* System.Type */ T, nint /* System.IntPtr */ ptr, void** /* System.Exception */ __outException) + { + System.Type TConverted = InteropUtils.GetInstance(T); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Runtime.InteropServices.Marshal); + System.String __memberNameForGenericCall = nameof(System.Runtime.InteropServices.Marshal.DestroyStructure); + System.Object? __methodTargetForGenericCall = null; + + System.Object[] __parametersForGenericCall = new System.Object[] { ptr }; + System.Type[] __parameterTypesForGenericCall = new System.Type[] { typeof(System.IntPtr) }; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 1, __parameterTypesForGenericCall) ?? throw new Exception("Method DestroyStructure not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + __genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetHINSTANCE")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_GetHINSTANCE(void* /* System.Reflection.Module */ m, void** /* System.Exception */ __outException) + { + System.Reflection.Module mConverted = InteropUtils.GetInstance(m); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.GetHINSTANCE(mConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetExceptionForHR")] + internal static void* /* System.Exception */ System_Runtime_InteropServices_Marshal_GetExceptionForHR(int /* System.Int32 */ errorCode, void** /* System.Exception */ __outException) + { + + try { + System.Exception __returnValue = System.Runtime.InteropServices.Marshal.GetExceptionForHR(errorCode); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetExceptionForHR_1")] + internal static void* /* System.Exception */ System_Runtime_InteropServices_Marshal_GetExceptionForHR_1(int /* System.Int32 */ errorCode, nint /* System.IntPtr */ errorInfo, void** /* System.Exception */ __outException) + { + + try { + System.Exception __returnValue = System.Runtime.InteropServices.Marshal.GetExceptionForHR(errorCode, errorInfo); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ThrowExceptionForHR")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_ThrowExceptionForHR(int /* System.Int32 */ errorCode, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(errorCode); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ThrowExceptionForHR_1")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_ThrowExceptionForHR_1(int /* System.Int32 */ errorCode, nint /* System.IntPtr */ errorInfo, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(errorCode, errorInfo); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_SecureStringToBSTR")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_SecureStringToBSTR(void* /* System.Security.SecureString */ s, void** /* System.Exception */ __outException) + { + System.Security.SecureString sConverted = InteropUtils.GetInstance(s); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.SecureStringToBSTR(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemAnsi")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemAnsi(void* /* System.Security.SecureString */ s, void** /* System.Exception */ __outException) + { + System.Security.SecureString sConverted = InteropUtils.GetInstance(s); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.SecureStringToCoTaskMemAnsi(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemUnicode")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemUnicode(void* /* System.Security.SecureString */ s, void** /* System.Exception */ __outException) + { + System.Security.SecureString sConverted = InteropUtils.GetInstance(s); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.SecureStringToCoTaskMemUnicode(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocAnsi")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocAnsi(void* /* System.Security.SecureString */ s, void** /* System.Exception */ __outException) + { + System.Security.SecureString sConverted = InteropUtils.GetInstance(s); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.SecureStringToGlobalAllocAnsi(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocUnicode")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocUnicode(void* /* System.Security.SecureString */ s, void** /* System.Exception */ __outException) + { + System.Security.SecureString sConverted = InteropUtils.GetInstance(s); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.SecureStringToGlobalAllocUnicode(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi(void* /* System.String */ s, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.StringToHGlobalAnsi(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_StringToHGlobalUni")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_StringToHGlobalUni(void* /* System.String */ s, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.StringToHGlobalUni(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_StringToCoTaskMemUni")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_StringToCoTaskMemUni(void* /* System.String */ s, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.StringToCoTaskMemUni(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_StringToCoTaskMemUTF8")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_StringToCoTaskMemUTF8(void* /* System.String */ s, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.StringToCoTaskMemUTF8(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_StringToCoTaskMemAnsi")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_StringToCoTaskMemAnsi(void* /* System.String */ s, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.StringToCoTaskMemAnsi(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GenerateGuidForType")] + internal static void* /* System.Guid */ System_Runtime_InteropServices_Marshal_GenerateGuidForType(void* /* System.Type */ type, void** /* System.Exception */ __outException) + { + System.Type typeConverted = InteropUtils.GetInstance(type); + + try { + System.Guid __returnValue = System.Runtime.InteropServices.Marshal.GenerateGuidForType(typeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GenerateProgIdForType")] + internal static void* /* System.String */ System_Runtime_InteropServices_Marshal_GenerateProgIdForType(void* /* System.Type */ type, void** /* System.Exception */ __outException) + { + System.Type typeConverted = InteropUtils.GetInstance(type); + + try { + System.String __returnValue = System.Runtime.InteropServices.Marshal.GenerateProgIdForType(typeConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetDelegateForFunctionPointer")] + internal static void* /* System.Delegate */ System_Runtime_InteropServices_Marshal_GetDelegateForFunctionPointer(nint /* System.IntPtr */ ptr, void* /* System.Type */ t, void** /* System.Exception */ __outException) + { + System.Type tConverted = InteropUtils.GetInstance(t); + + try { + System.Delegate __returnValue = System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(ptr, tConverted); + void* __returnValueNative = new System_Delegate(__returnValue).AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetFunctionPointerForDelegate")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_GetFunctionPointerForDelegate(void* /* System.Delegate */ d, void** /* System.Exception */ __outException) + { + System.Delegate dConverted = InteropUtils.GetInstance(d)?.Trampoline; + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(dConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetHRForLastWin32Error")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_GetHRForLastWin32Error(void** /* System.Exception */ __outException) + { + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.GetHRForLastWin32Error(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ZeroFreeBSTR")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_ZeroFreeBSTR(nint /* System.IntPtr */ s, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.ZeroFreeBSTR(s); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemAnsi")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemAnsi(nint /* System.IntPtr */ s, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.ZeroFreeCoTaskMemAnsi(s); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUnicode")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUnicode(nint /* System.IntPtr */ s, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.ZeroFreeCoTaskMemUnicode(s); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUTF8")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUTF8(nint /* System.IntPtr */ s, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.ZeroFreeCoTaskMemUTF8(s); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocAnsi")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocAnsi(nint /* System.IntPtr */ s, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.ZeroFreeGlobalAllocAnsi(s); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocUnicode")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocUnicode(nint /* System.IntPtr */ s, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.ZeroFreeGlobalAllocUnicode(s); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_StringToBSTR")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_StringToBSTR(void* /* System.String */ s, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.StringToBSTR(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_PtrToStringBSTR")] + internal static void* /* System.String */ System_Runtime_InteropServices_Marshal_PtrToStringBSTR(nint /* System.IntPtr */ ptr, void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = System.Runtime.InteropServices.Marshal.PtrToStringBSTR(ptr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetTypeFromCLSID")] + internal static void* /* System.Type */ System_Runtime_InteropServices_Marshal_GetTypeFromCLSID(void* /* System.Guid */ clsid, void** /* System.Exception */ __outException) + { + System.Guid clsidConverted = InteropUtils.GetInstance(clsid); + + try { + System.Type __returnValue = System.Runtime.InteropServices.Marshal.GetTypeFromCLSID(clsidConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_InitHandle")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_InitHandle(void* /* System.Runtime.InteropServices.SafeHandle */ safeHandle, nint /* System.IntPtr */ handle, void** /* System.Exception */ __outException) + { + System.Runtime.InteropServices.SafeHandle safeHandleConverted = InteropUtils.GetInstance(safeHandle); + + try { + System.Runtime.InteropServices.Marshal.InitHandle(safeHandleConverted, handle); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetLastWin32Error")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_GetLastWin32Error(void** /* System.Exception */ __outException) + { + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.GetLastWin32Error(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetLastPInvokeErrorMessage")] + internal static void* /* System.String */ System_Runtime_InteropServices_Marshal_GetLastPInvokeErrorMessage(void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = System.Runtime.InteropServices.Marshal.GetLastPInvokeErrorMessage(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetHRForException")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_GetHRForException(void* /* System.Exception */ e, void** /* System.Exception */ __outException) + { + System.Exception eConverted = InteropUtils.GetInstance(e); + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.GetHRForException(eConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_AreComObjectsAvailableForCleanup")] + internal static byte /* System.Boolean */ System_Runtime_InteropServices_Marshal_AreComObjectsAvailableForCleanup(void** /* System.Exception */ __outException) + { + + try { + System.Boolean __returnValue = System.Runtime.InteropServices.Marshal.AreComObjectsAvailableForCleanup(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_CreateAggregatedObject")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_CreateAggregatedObject(nint /* System.IntPtr */ pOuter, void* /* System.Object */ o, void** /* System.Exception */ __outException) + { + System.Object oConverted = InteropUtils.GetInstance(o); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.CreateAggregatedObject(pOuter, oConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_BindToMoniker")] + internal static void* /* System.Object */ System_Runtime_InteropServices_Marshal_BindToMoniker(void* /* System.String */ monikerName, void** /* System.Exception */ __outException) + { + System.String monikerNameConverted = InteropUtils.GetInstance(monikerName); + + try { + System.Object __returnValue = System.Runtime.InteropServices.Marshal.BindToMoniker(monikerNameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_CleanupUnusedObjectsInCurrentContext")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_CleanupUnusedObjectsInCurrentContext(void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.CleanupUnusedObjectsInCurrentContext(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_CreateWrapperOfType")] + internal static void* /* System.Object */ System_Runtime_InteropServices_Marshal_CreateWrapperOfType(void* /* System.Object */ o, void* /* System.Type */ t, void** /* System.Exception */ __outException) + { + System.Object oConverted = InteropUtils.GetInstance(o); + System.Type tConverted = InteropUtils.GetInstance(t); + + try { + System.Object __returnValue = System.Runtime.InteropServices.Marshal.CreateWrapperOfType(oConverted, tConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ChangeWrapperHandleStrength")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_ChangeWrapperHandleStrength(void* /* System.Object */ otp, byte /* System.Boolean */ fIsWeak, void** /* System.Exception */ __outException) + { + System.Object otpConverted = InteropUtils.GetInstance(otp); + System.Boolean fIsWeakConverted = fIsWeak.ToBool(); + + try { + System.Runtime.InteropServices.Marshal.ChangeWrapperHandleStrength(otpConverted, fIsWeakConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_FinalReleaseComObject")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_FinalReleaseComObject(void* /* System.Object */ o, void** /* System.Exception */ __outException) + { + System.Object oConverted = InteropUtils.GetInstance(o); + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.FinalReleaseComObject(oConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetComInterfaceForObject")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_GetComInterfaceForObject(void* /* System.Object */ o, void* /* System.Type */ T, void** /* System.Exception */ __outException) + { + System.Object oConverted = InteropUtils.GetInstance(o); + System.Type TConverted = InteropUtils.GetInstance(T); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.GetComInterfaceForObject(oConverted, TConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetComInterfaceForObject_1")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_GetComInterfaceForObject_1(void* /* System.Object */ o, void* /* System.Type */ T, System.Runtime.InteropServices.CustomQueryInterfaceMode /* System.Runtime.InteropServices.CustomQueryInterfaceMode */ mode, void** /* System.Exception */ __outException) + { + System.Object oConverted = InteropUtils.GetInstance(o); + System.Type TConverted = InteropUtils.GetInstance(T); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.GetComInterfaceForObject(oConverted, TConverted, mode); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetComObjectData")] + internal static void* /* System.Object */ System_Runtime_InteropServices_Marshal_GetComObjectData(void* /* System.Object */ obj, void* /* System.Object */ key, void** /* System.Exception */ __outException) + { + System.Object objConverted = InteropUtils.GetInstance(obj); + System.Object keyConverted = InteropUtils.GetInstance(key); + + try { + System.Object __returnValue = System.Runtime.InteropServices.Marshal.GetComObjectData(objConverted, keyConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetIDispatchForObject")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_GetIDispatchForObject(void* /* System.Object */ o, void** /* System.Exception */ __outException) + { + System.Object oConverted = InteropUtils.GetInstance(o); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.GetIDispatchForObject(oConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetIUnknownForObject")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_GetIUnknownForObject(void* /* System.Object */ o, void** /* System.Exception */ __outException) + { + System.Object oConverted = InteropUtils.GetInstance(o); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.GetIUnknownForObject(oConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetNativeVariantForObject")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_GetNativeVariantForObject(void* /* System.Object */ obj, nint /* System.IntPtr */ pDstNativeVariant, void** /* System.Exception */ __outException) + { + System.Object objConverted = InteropUtils.GetInstance(obj); + + try { + System.Runtime.InteropServices.Marshal.GetNativeVariantForObject(objConverted, pDstNativeVariant); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetTypedObjectForIUnknown")] + internal static void* /* System.Object */ System_Runtime_InteropServices_Marshal_GetTypedObjectForIUnknown(nint /* System.IntPtr */ pUnk, void* /* System.Type */ t, void** /* System.Exception */ __outException) + { + System.Type tConverted = InteropUtils.GetInstance(t); + + try { + System.Object __returnValue = System.Runtime.InteropServices.Marshal.GetTypedObjectForIUnknown(pUnk, tConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetObjectForIUnknown")] + internal static void* /* System.Object */ System_Runtime_InteropServices_Marshal_GetObjectForIUnknown(nint /* System.IntPtr */ pUnk, void** /* System.Exception */ __outException) + { + + try { + System.Object __returnValue = System.Runtime.InteropServices.Marshal.GetObjectForIUnknown(pUnk); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetObjectForNativeVariant")] + internal static void* /* System.Object */ System_Runtime_InteropServices_Marshal_GetObjectForNativeVariant(nint /* System.IntPtr */ pSrcNativeVariant, void** /* System.Exception */ __outException) + { + + try { + System.Object __returnValue = System.Runtime.InteropServices.Marshal.GetObjectForNativeVariant(pSrcNativeVariant); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants")] + internal static void* /* System.Object[] */ System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants(nint /* System.IntPtr */ aSrcNativeVariant, int /* System.Int32 */ cVars, void** /* System.Exception */ __outException) + { + + try { + System.Object[] __returnValue = System.Runtime.InteropServices.Marshal.GetObjectsForNativeVariants(aSrcNativeVariant, cVars); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants_A1")] + internal static void* /* System.Array */ System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants_A1(void* /* System.Type */ T, nint /* System.IntPtr */ aSrcNativeVariant, int /* System.Int32 */ cVars, void** /* System.Exception */ __outException) + { + System.Type TConverted = InteropUtils.GetInstance(T); + + try { + System.Type __targetTypeForGenericCall = typeof(System.Runtime.InteropServices.Marshal); + System.String __memberNameForGenericCall = nameof(System.Runtime.InteropServices.Marshal.GetObjectsForNativeVariants); + System.Object? __methodTargetForGenericCall = null; + + System.Object[] __parametersForGenericCall = new System.Object[] { aSrcNativeVariant, cVars }; + System.Type[] __parameterTypesForGenericCall = new System.Type[] { typeof(System.IntPtr), typeof(System.Int32) }; + + System.Type[] __genericParameterTypesForGenericCall = new System.Type[] { TConverted }; + + System.Reflection.MethodInfo __methodForGenericCall = __targetTypeForGenericCall.GetMethod(__memberNameForGenericCall, 1, __parameterTypesForGenericCall) ?? throw new Exception("Method GetObjectsForNativeVariants not found"); + System.Reflection.MethodInfo __genericMethodForGenericCall = __methodForGenericCall.MakeGenericMethod(__genericParameterTypesForGenericCall); + + System.Array __returnValue = (System.Array)__genericMethodForGenericCall.Invoke(__methodTargetForGenericCall, __parametersForGenericCall); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetStartComSlot")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_GetStartComSlot(void* /* System.Type */ t, void** /* System.Exception */ __outException) + { + System.Type tConverted = InteropUtils.GetInstance(t); + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.GetStartComSlot(tConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetEndComSlot")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_GetEndComSlot(void* /* System.Type */ t, void** /* System.Exception */ __outException) + { + System.Type tConverted = InteropUtils.GetInstance(t); + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.GetEndComSlot(tConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetUniqueObjectForIUnknown")] + internal static void* /* System.Object */ System_Runtime_InteropServices_Marshal_GetUniqueObjectForIUnknown(nint /* System.IntPtr */ unknown, void** /* System.Exception */ __outException) + { + + try { + System.Object __returnValue = System.Runtime.InteropServices.Marshal.GetUniqueObjectForIUnknown(unknown); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_IsComObject")] + internal static byte /* System.Boolean */ System_Runtime_InteropServices_Marshal_IsComObject(void* /* System.Object */ o, void** /* System.Exception */ __outException) + { + System.Object oConverted = InteropUtils.GetInstance(o); + + try { + System.Boolean __returnValue = System.Runtime.InteropServices.Marshal.IsComObject(oConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_IsTypeVisibleFromCom")] + internal static byte /* System.Boolean */ System_Runtime_InteropServices_Marshal_IsTypeVisibleFromCom(void* /* System.Type */ t, void** /* System.Exception */ __outException) + { + System.Type tConverted = InteropUtils.GetInstance(t); + + try { + System.Boolean __returnValue = System.Runtime.InteropServices.Marshal.IsTypeVisibleFromCom(tConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReleaseComObject")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_ReleaseComObject(void* /* System.Object */ o, void** /* System.Exception */ __outException) + { + System.Object oConverted = InteropUtils.GetInstance(o); + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.ReleaseComObject(oConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_SetComObjectData")] + internal static byte /* System.Boolean */ System_Runtime_InteropServices_Marshal_SetComObjectData(void* /* System.Object */ obj, void* /* System.Object */ key, void* /* System.Object */ data, void** /* System.Exception */ __outException) + { + System.Object objConverted = InteropUtils.GetInstance(obj); + System.Object keyConverted = InteropUtils.GetInstance(key); + System.Object dataConverted = InteropUtils.GetInstance(data); + + try { + System.Boolean __returnValue = System.Runtime.InteropServices.Marshal.SetComObjectData(objConverted, keyConverted, dataConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_PtrToStringAuto")] + internal static void* /* System.String */ System_Runtime_InteropServices_Marshal_PtrToStringAuto(nint /* System.IntPtr */ ptr, int /* System.Int32 */ len, void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = System.Runtime.InteropServices.Marshal.PtrToStringAuto(ptr, len); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_PtrToStringAuto_1")] + internal static void* /* System.String */ System_Runtime_InteropServices_Marshal_PtrToStringAuto_1(nint /* System.IntPtr */ ptr, void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = System.Runtime.InteropServices.Marshal.PtrToStringAuto(ptr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_StringToHGlobalAuto")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_StringToHGlobalAuto(void* /* System.String */ s, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.StringToHGlobalAuto(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_StringToCoTaskMemAuto")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_StringToCoTaskMemAuto(void* /* System.String */ s, void** /* System.Exception */ __outException) + { + System.String sConverted = InteropUtils.GetInstance(s); + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.StringToCoTaskMemAuto(sConverted); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_AllocHGlobal_1")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_AllocHGlobal_1(nint /* System.IntPtr */ cb, void** /* System.Exception */ __outException) + { + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.AllocHGlobal(cb); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_FreeHGlobal")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_FreeHGlobal(nint /* System.IntPtr */ hglobal, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.FreeHGlobal(hglobal); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReAllocHGlobal")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_ReAllocHGlobal(nint /* System.IntPtr */ pv, nint /* System.IntPtr */ cb, void** /* System.Exception */ __outException) + { + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.ReAllocHGlobal(pv, cb); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_AllocCoTaskMem")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_AllocCoTaskMem(int /* System.Int32 */ cb, void** /* System.Exception */ __outException) + { + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.AllocCoTaskMem(cb); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_FreeCoTaskMem")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_FreeCoTaskMem(nint /* System.IntPtr */ ptr, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.FreeCoTaskMem(ptr); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_ReAllocCoTaskMem")] + internal static nint /* System.IntPtr */ System_Runtime_InteropServices_Marshal_ReAllocCoTaskMem(nint /* System.IntPtr */ pv, int /* System.Int32 */ cb, void** /* System.Exception */ __outException) + { + + try { + System.IntPtr __returnValue = System.Runtime.InteropServices.Marshal.ReAllocCoTaskMem(pv, cb); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return nint.Zero; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_FreeBSTR")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_FreeBSTR(nint /* System.IntPtr */ ptr, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.FreeBSTR(ptr); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetLastSystemError")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_GetLastSystemError(void** /* System.Exception */ __outException) + { + + try { + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.GetLastSystemError(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_SetLastSystemError")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_SetLastSystemError(int /* System.Int32 */ error, void** /* System.Exception */ __outException) + { + + try { + System.Runtime.InteropServices.Marshal.SetLastSystemError(error); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_GetPInvokeErrorMessage")] + internal static void* /* System.String */ System_Runtime_InteropServices_Marshal_GetPInvokeErrorMessage(int /* System.Int32 */ error, void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = System.Runtime.InteropServices.Marshal.GetPInvokeErrorMessage(error); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_SystemDefaultCharSize_Get")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_SystemDefaultCharSize_Get() + { + + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.SystemDefaultCharSize; + return __returnValue; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_SystemMaxDBCSCharSize_Get")] + internal static int /* System.Int32 */ System_Runtime_InteropServices_Marshal_SystemMaxDBCSCharSize_Get() + { + + System.Int32 __returnValue = System.Runtime.InteropServices.Marshal.SystemMaxDBCSCharSize; + return __returnValue; + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_TypeOf")] + internal static void* /* System.Type */ System_Runtime_InteropServices_Marshal_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.InteropServices.Marshal); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_Marshal_Destroy_1")] + internal static void /* System.Void */ System_Runtime_InteropServices_Marshal_Destroy_1(void* /* System.Runtime.InteropServices.Marshal */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + + + + + +internal unsafe class System_Security_SecureString +{ + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecureString_AppendChar")] + internal static void /* System.Void */ System_Security_SecureString_AppendChar(void* /* System.Security.SecureString */ __self, char /* System.Char */ c, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Security.SecureString __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.AppendChar(c); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecureString_Clear")] + internal static void /* System.Void */ System_Security_SecureString_Clear(void* /* System.Security.SecureString */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Security.SecureString __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Clear(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecureString_Copy")] + internal static void* /* System.Security.SecureString */ System_Security_SecureString_Copy(void* /* System.Security.SecureString */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Security.SecureString __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Security.SecureString __returnValue = __selfConverted.Copy(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecureString_Dispose")] + internal static void /* System.Void */ System_Security_SecureString_Dispose(void* /* System.Security.SecureString */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Security.SecureString __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.Dispose(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecureString_InsertAt")] + internal static void /* System.Void */ System_Security_SecureString_InsertAt(void* /* System.Security.SecureString */ __self, int /* System.Int32 */ index, char /* System.Char */ c, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Security.SecureString __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.InsertAt(index, c); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecureString_IsReadOnly")] + internal static byte /* System.Boolean */ System_Security_SecureString_IsReadOnly(void* /* System.Security.SecureString */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Security.SecureString __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Boolean __returnValue = __selfConverted.IsReadOnly(); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecureString_MakeReadOnly")] + internal static void /* System.Void */ System_Security_SecureString_MakeReadOnly(void* /* System.Security.SecureString */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Security.SecureString __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.MakeReadOnly(); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecureString_RemoveAt")] + internal static void /* System.Void */ System_Security_SecureString_RemoveAt(void* /* System.Security.SecureString */ __self, int /* System.Int32 */ index, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Security.SecureString __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.RemoveAt(index); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecureString_SetAt")] + internal static void /* System.Void */ System_Security_SecureString_SetAt(void* /* System.Security.SecureString */ __self, int /* System.Int32 */ index, char /* System.Char */ c, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Security.SecureString __selfConverted = InteropUtils.GetInstance(__self); + + + try { + __selfConverted.SetAt(index, c); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecureString_Create")] + internal static void* /* System.Security.SecureString */ System_Security_SecureString_Create(void** /* System.Exception */ __outException) + { + + try { + System.Security.SecureString __returnValue = new System.Security.SecureString(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecureString_Length_Get")] + internal static int /* System.Int32 */ System_Security_SecureString_Length_Get(void* /* System.Security.SecureString */ __self, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + System.Security.SecureString __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Length; + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecureString_TypeOf")] + internal static void* /* System.Type */ System_Security_SecureString_TypeOf() + { + + System.Type __returnValue = typeof(System.Security.SecureString); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_Security_SecureString_Destroy")] + internal static void /* System.Void */ System_Security_SecureString_Destroy(void* /* System.Security.SecureString */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_Runtime_InteropServices_CustomQueryInterfaceMode +{ + [UnmanagedCallersOnly(EntryPoint = "System_Runtime_InteropServices_CustomQueryInterfaceMode_TypeOf")] + internal static void* /* System.Type */ System_Runtime_InteropServices_CustomQueryInterfaceMode_TypeOf() + { + + System.Type __returnValue = typeof(System.Runtime.InteropServices.CustomQueryInterfaceMode); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_NullReferenceException +{ + [UnmanagedCallersOnly(EntryPoint = "System_NullReferenceException_Create")] + internal static void* /* System.NullReferenceException */ System_NullReferenceException_Create(void** /* System.Exception */ __outException) + { + + try { + System.NullReferenceException __returnValue = new System.NullReferenceException(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_NullReferenceException_Create_1")] + internal static void* /* System.NullReferenceException */ System_NullReferenceException_Create_1(void* /* System.String */ message, void** /* System.Exception */ __outException) + { + System.String messageConverted = InteropUtils.GetInstance(message); + + try { + System.NullReferenceException __returnValue = new System.NullReferenceException(messageConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_NullReferenceException_Create_2")] + internal static void* /* System.NullReferenceException */ System_NullReferenceException_Create_2(void* /* System.String */ message, void* /* System.Exception */ innerException, void** /* System.Exception */ __outException) + { + System.String messageConverted = InteropUtils.GetInstance(message); + System.Exception innerExceptionConverted = InteropUtils.GetInstance(innerException); + + try { + System.NullReferenceException __returnValue = new System.NullReferenceException(messageConverted, innerExceptionConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_NullReferenceException_TypeOf")] + internal static void* /* System.Type */ System_NullReferenceException_TypeOf() + { + + System.Type __returnValue = typeof(System.NullReferenceException); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_NullReferenceException_Destroy")] + internal static void /* System.Void */ System_NullReferenceException_Destroy(void* /* System.NullReferenceException */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_SystemException +{ + [UnmanagedCallersOnly(EntryPoint = "System_SystemException_Create")] + internal static void* /* System.SystemException */ System_SystemException_Create(void** /* System.Exception */ __outException) + { + + try { + System.SystemException __returnValue = new System.SystemException(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_SystemException_Create_1")] + internal static void* /* System.SystemException */ System_SystemException_Create_1(void* /* System.String */ message, void** /* System.Exception */ __outException) + { + System.String messageConverted = InteropUtils.GetInstance(message); + + try { + System.SystemException __returnValue = new System.SystemException(messageConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_SystemException_Create_2")] + internal static void* /* System.SystemException */ System_SystemException_Create_2(void* /* System.String */ message, void* /* System.Exception */ innerException, void** /* System.Exception */ __outException) + { + System.String messageConverted = InteropUtils.GetInstance(message); + System.Exception innerExceptionConverted = InteropUtils.GetInstance(innerException); + + try { + System.SystemException __returnValue = new System.SystemException(messageConverted, innerExceptionConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_SystemException_TypeOf")] + internal static void* /* System.Type */ System_SystemException_TypeOf() + { + + System.Type __returnValue = typeof(System.SystemException); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_SystemException_Destroy")] + internal static void /* System.Void */ System_SystemException_Destroy(void* /* System.SystemException */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_PlatformNotSupportedException +{ + [UnmanagedCallersOnly(EntryPoint = "System_PlatformNotSupportedException_Create")] + internal static void* /* System.PlatformNotSupportedException */ System_PlatformNotSupportedException_Create(void** /* System.Exception */ __outException) + { + + try { + System.PlatformNotSupportedException __returnValue = new System.PlatformNotSupportedException(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_PlatformNotSupportedException_Create_1")] + internal static void* /* System.PlatformNotSupportedException */ System_PlatformNotSupportedException_Create_1(void* /* System.String */ message, void** /* System.Exception */ __outException) + { + System.String messageConverted = InteropUtils.GetInstance(message); + + try { + System.PlatformNotSupportedException __returnValue = new System.PlatformNotSupportedException(messageConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_PlatformNotSupportedException_Create_2")] + internal static void* /* System.PlatformNotSupportedException */ System_PlatformNotSupportedException_Create_2(void* /* System.String */ message, void* /* System.Exception */ inner, void** /* System.Exception */ __outException) + { + System.String messageConverted = InteropUtils.GetInstance(message); + System.Exception innerConverted = InteropUtils.GetInstance(inner); + + try { + System.PlatformNotSupportedException __returnValue = new System.PlatformNotSupportedException(messageConverted, innerConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_PlatformNotSupportedException_TypeOf")] + internal static void* /* System.Type */ System_PlatformNotSupportedException_TypeOf() + { + + System.Type __returnValue = typeof(System.PlatformNotSupportedException); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_PlatformNotSupportedException_Destroy")] + internal static void /* System.Void */ System_PlatformNotSupportedException_Destroy(void* /* System.PlatformNotSupportedException */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_NotSupportedException +{ + [UnmanagedCallersOnly(EntryPoint = "System_NotSupportedException_Create")] + internal static void* /* System.NotSupportedException */ System_NotSupportedException_Create(void** /* System.Exception */ __outException) + { + + try { + System.NotSupportedException __returnValue = new System.NotSupportedException(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_NotSupportedException_Create_1")] + internal static void* /* System.NotSupportedException */ System_NotSupportedException_Create_1(void* /* System.String */ message, void** /* System.Exception */ __outException) + { + System.String messageConverted = InteropUtils.GetInstance(message); + + try { + System.NotSupportedException __returnValue = new System.NotSupportedException(messageConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_NotSupportedException_Create_2")] + internal static void* /* System.NotSupportedException */ System_NotSupportedException_Create_2(void* /* System.String */ message, void* /* System.Exception */ innerException, void** /* System.Exception */ __outException) + { + System.String messageConverted = InteropUtils.GetInstance(message); + System.Exception innerExceptionConverted = InteropUtils.GetInstance(innerException); + + try { + System.NotSupportedException __returnValue = new System.NotSupportedException(messageConverted, innerExceptionConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_NotSupportedException_TypeOf")] + internal static void* /* System.Type */ System_NotSupportedException_TypeOf() + { + + System.Type __returnValue = typeof(System.NotSupportedException); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_NotSupportedException_Destroy")] + internal static void /* System.Void */ System_NotSupportedException_Destroy(void* /* System.NotSupportedException */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class System_UIntPtr +{ + [UnmanagedCallersOnly(EntryPoint = "System_UIntPtr_TypeOf")] + internal static void* /* System.Type */ System_UIntPtr_TypeOf() + { + + System.Type __returnValue = typeof(System.UIntPtr); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + +} + + + +internal unsafe class System_AppContext +{ + [UnmanagedCallersOnly(EntryPoint = "System_AppContext_GetData")] + internal static void* /* System.Object */ System_AppContext_GetData(void* /* System.String */ name, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + + try { + System.Object __returnValue = System.AppContext.GetData(nameConverted); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AppContext_SetData")] + internal static void /* System.Void */ System_AppContext_SetData(void* /* System.String */ name, void* /* System.Object */ data, void** /* System.Exception */ __outException) + { + System.String nameConverted = InteropUtils.GetInstance(name); + System.Object dataConverted = InteropUtils.GetInstance(data); + + try { + System.AppContext.SetData(nameConverted, dataConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AppContext_TryGetSwitch")] + internal static byte /* System.Boolean */ System_AppContext_TryGetSwitch(void* /* System.String */ switchName, byte* /* System.Boolean */ isEnabled, void** /* System.Exception */ __outException) + { + System.String switchNameConverted = InteropUtils.GetInstance(switchName); + System.Boolean isEnabledConverted; + + try { + System.Boolean __returnValue = System.AppContext.TryGetSwitch(switchNameConverted, out isEnabledConverted); + byte __returnValueNative = __returnValue.ToCBool(); + + if (__outException is not null) { + *__outException = null; + } + + if (isEnabled is not null) { + *isEnabled = isEnabledConverted.ToCBool(); + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + if (isEnabled is not null) { + *isEnabled = 0; + } + + return 0; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AppContext_SetSwitch")] + internal static void /* System.Void */ System_AppContext_SetSwitch(void* /* System.String */ switchName, byte /* System.Boolean */ isEnabled, void** /* System.Exception */ __outException) + { + System.String switchNameConverted = InteropUtils.GetInstance(switchName); + System.Boolean isEnabledConverted = isEnabled.ToBool(); + + try { + System.AppContext.SetSwitch(switchNameConverted, isEnabledConverted); + + if (__outException is not null) { + *__outException = null; + } + + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "System_AppContext_BaseDirectory_Get")] + internal static void* /* System.String */ System_AppContext_BaseDirectory_Get(void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = System.AppContext.BaseDirectory; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_AppContext_TargetFrameworkName_Get")] + internal static void* /* System.String */ System_AppContext_TargetFrameworkName_Get(void** /* System.Exception */ __outException) + { + + try { + System.String __returnValue = System.AppContext.TargetFrameworkName; + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + + [UnmanagedCallersOnly(EntryPoint = "System_AppContext_TypeOf")] + internal static void* /* System.Type */ System_AppContext_TypeOf() + { + + System.Type __returnValue = typeof(System.AppContext); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "System_AppContext_Destroy")] + internal static void /* System.Void */ System_AppContext_Destroy(void* /* System.AppContext */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + +internal unsafe class MyLib_Hello +{ + [UnmanagedCallersOnly(EntryPoint = "MyLib_Hello_Sum")] + internal static int /* System.Int32 */ MyLib_Hello_Sum(void* /* MyLib.Hello */ __self, int /* System.Int32 */ a, int /* System.Int32 */ b, void** /* System.Exception */ __outException) + { + if (__self is null) { + throw new ArgumentNullException(nameof(__self)); + } + + MyLib.Hello __selfConverted = InteropUtils.GetInstance(__self); + + + try { + System.Int32 __returnValue = __selfConverted.Sum(a, b); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValue; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return -1; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "MyLib_Hello_Create")] + internal static void* /* MyLib.Hello */ MyLib_Hello_Create(void** /* System.Exception */ __outException) + { + + try { + MyLib.Hello __returnValue = new MyLib.Hello(); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + + if (__outException is not null) { + *__outException = null; + } + + return __returnValueNative; + } catch (Exception __exception) { + if (__outException is not null) { + void* __exceptionHandleAddress = __exception.AllocateGCHandleAndGetAddress(); + + *__outException = __exceptionHandleAddress; + } + + return null; + } finally { + } + } + + [UnmanagedCallersOnly(EntryPoint = "MyLib_Hello_TypeOf")] + internal static void* /* System.Type */ MyLib_Hello_TypeOf() + { + + System.Type __returnValue = typeof(MyLib.Hello); + void* __returnValueNative = __returnValue.AllocateGCHandleAndGetAddress(); + return __returnValueNative; + } + + [UnmanagedCallersOnly(EntryPoint = "MyLib_Hello_Destroy")] + internal static void /* System.Void */ MyLib_Hello_Destroy(void* /* MyLib.Hello */ __self) + { + + InteropUtils.FreeIfAllocated(__self); + } + +} + + + +// diff --git a/MyLib.Generated/Hello.h b/MyLib.Generated/Hello.h new file mode 100644 index 0000000..0287a2d --- /dev/null +++ b/MyLib.Generated/Hello.h @@ -0,0 +1,22256 @@ +// Number of generated types: 338 +// Number of generated members: 2889 + +#pragma mark - BEGIN Header +#ifndef TypeDefinitions_h +#define TypeDefinitions_h + +#import +#import +#import + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnullability-completeness" +#pragma clang diagnostic ignored "-Wflag-enum" + +#pragma mark - END Header + +#pragma mark - BEGIN Common Types +typedef const char* CString; + +#pragma mark - END Common Types + +#pragma mark - BEGIN Unsupported Types +// Omitted due to settings + +#pragma mark - END Unsupported Types + +#pragma mark - BEGIN Type Definitions +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_TypeCode_Empty = 0, + System_TypeCode_Object = 1, + System_TypeCode_DBNull = 2, + System_TypeCode_Boolean = 3, + System_TypeCode_Char = 4, + System_TypeCode_SByte = 5, + System_TypeCode_Byte = 6, + System_TypeCode_Int16 = 7, + System_TypeCode_UInt16 = 8, + System_TypeCode_Int32 = 9, + System_TypeCode_UInt32 = 10, + System_TypeCode_Int64 = 11, + System_TypeCode_UInt64 = 12, + System_TypeCode_Single = 13, + System_TypeCode_Double = 14, + System_TypeCode_Decimal = 15, + System_TypeCode_DateTime = 16, + System_TypeCode_String = 18 +} System_TypeCode_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_StringComparison_CurrentCulture = 0, + System_StringComparison_CurrentCultureIgnoreCase = 1, + System_StringComparison_InvariantCulture = 2, + System_StringComparison_InvariantCultureIgnoreCase = 3, + System_StringComparison_Ordinal = 4, + System_StringComparison_OrdinalIgnoreCase = 5 +} System_StringComparison_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Globalization_CultureTypes_NeutralCultures = 1, + System_Globalization_CultureTypes_SpecificCultures = 2, + System_Globalization_CultureTypes_InstalledWin32Cultures = 4, + System_Globalization_CultureTypes_AllCultures = 7, + System_Globalization_CultureTypes_UserCustomCulture = 8, + System_Globalization_CultureTypes_ReplacementCultures = 16, + System_Globalization_CultureTypes_WindowsOnlyCultures = 32, + System_Globalization_CultureTypes_FrameworkCultures = 64 +} System_Globalization_CultureTypes_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Globalization_UnicodeCategory_UppercaseLetter = 0, + System_Globalization_UnicodeCategory_LowercaseLetter = 1, + System_Globalization_UnicodeCategory_TitlecaseLetter = 2, + System_Globalization_UnicodeCategory_ModifierLetter = 3, + System_Globalization_UnicodeCategory_OtherLetter = 4, + System_Globalization_UnicodeCategory_NonSpacingMark = 5, + System_Globalization_UnicodeCategory_SpacingCombiningMark = 6, + System_Globalization_UnicodeCategory_EnclosingMark = 7, + System_Globalization_UnicodeCategory_DecimalDigitNumber = 8, + System_Globalization_UnicodeCategory_LetterNumber = 9, + System_Globalization_UnicodeCategory_OtherNumber = 10, + System_Globalization_UnicodeCategory_SpaceSeparator = 11, + System_Globalization_UnicodeCategory_LineSeparator = 12, + System_Globalization_UnicodeCategory_ParagraphSeparator = 13, + System_Globalization_UnicodeCategory_Control = 14, + System_Globalization_UnicodeCategory_Format = 15, + System_Globalization_UnicodeCategory_Surrogate = 16, + System_Globalization_UnicodeCategory_PrivateUse = 17, + System_Globalization_UnicodeCategory_ConnectorPunctuation = 18, + System_Globalization_UnicodeCategory_DashPunctuation = 19, + System_Globalization_UnicodeCategory_OpenPunctuation = 20, + System_Globalization_UnicodeCategory_ClosePunctuation = 21, + System_Globalization_UnicodeCategory_InitialQuotePunctuation = 22, + System_Globalization_UnicodeCategory_FinalQuotePunctuation = 23, + System_Globalization_UnicodeCategory_OtherPunctuation = 24, + System_Globalization_UnicodeCategory_MathSymbol = 25, + System_Globalization_UnicodeCategory_CurrencySymbol = 26, + System_Globalization_UnicodeCategory_ModifierSymbol = 27, + System_Globalization_UnicodeCategory_OtherSymbol = 28, + System_Globalization_UnicodeCategory_OtherNotAssigned = 29 +} System_Globalization_UnicodeCategory_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Globalization_NumberStyles_None = 0, + System_Globalization_NumberStyles_AllowLeadingWhite = 1, + System_Globalization_NumberStyles_AllowTrailingWhite = 2, + System_Globalization_NumberStyles_AllowLeadingSign = 4, + System_Globalization_NumberStyles_Integer = 7, + System_Globalization_NumberStyles_AllowTrailingSign = 8, + System_Globalization_NumberStyles_AllowParentheses = 16, + System_Globalization_NumberStyles_AllowDecimalPoint = 32, + System_Globalization_NumberStyles_AllowThousands = 64, + System_Globalization_NumberStyles_Number = 111, + System_Globalization_NumberStyles_AllowExponent = 128, + System_Globalization_NumberStyles_Float = 167, + System_Globalization_NumberStyles_AllowCurrencySymbol = 256, + System_Globalization_NumberStyles_Currency = 383, + System_Globalization_NumberStyles_Any = 511, + System_Globalization_NumberStyles_AllowHexSpecifier = 512, + System_Globalization_NumberStyles_HexNumber = 515, + System_Globalization_NumberStyles_AllowBinarySpecifier = 1024, + System_Globalization_NumberStyles_BinaryNumber = 1027 +} System_Globalization_NumberStyles_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_MidpointRounding_ToEven = 0, + System_MidpointRounding_AwayFromZero = 1, + System_MidpointRounding_ToZero = 2, + System_MidpointRounding_ToNegativeInfinity = 3, + System_MidpointRounding_ToPositiveInfinity = 4 +} System_MidpointRounding_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Globalization_TimeSpanStyles_None = 0, + System_Globalization_TimeSpanStyles_AssumeNegative = 1 +} System_Globalization_TimeSpanStyles_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_DateTimeKind_Unspecified = 0, + System_DateTimeKind_Utc = 1, + System_DateTimeKind_Local = 2 +} System_DateTimeKind_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_DayOfWeek_Sunday = 0, + System_DayOfWeek_Monday = 1, + System_DayOfWeek_Tuesday = 2, + System_DayOfWeek_Wednesday = 3, + System_DayOfWeek_Thursday = 4, + System_DayOfWeek_Friday = 5, + System_DayOfWeek_Saturday = 6 +} System_DayOfWeek_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Globalization_DateTimeStyles_None = 0, + System_Globalization_DateTimeStyles_AllowLeadingWhite = 1, + System_Globalization_DateTimeStyles_AllowTrailingWhite = 2, + System_Globalization_DateTimeStyles_AllowInnerWhite = 4, + System_Globalization_DateTimeStyles_AllowWhiteSpaces = 7, + System_Globalization_DateTimeStyles_NoCurrentDateDefault = 8, + System_Globalization_DateTimeStyles_AdjustToUniversal = 16, + System_Globalization_DateTimeStyles_AssumeLocal = 32, + System_Globalization_DateTimeStyles_AssumeUniversal = 64, + System_Globalization_DateTimeStyles_RoundtripKind = 128 +} System_Globalization_DateTimeStyles_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Globalization_CalendarAlgorithmType_Unknown = 0, + System_Globalization_CalendarAlgorithmType_SolarCalendar = 1, + System_Globalization_CalendarAlgorithmType_LunarCalendar = 2, + System_Globalization_CalendarAlgorithmType_LunisolarCalendar = 3 +} System_Globalization_CalendarAlgorithmType_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Globalization_CalendarWeekRule_FirstDay = 0, + System_Globalization_CalendarWeekRule_FirstFullWeek = 1, + System_Globalization_CalendarWeekRule_FirstFourDayWeek = 2 +} System_Globalization_CalendarWeekRule_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Runtime_Serialization_StreamingContextStates_CrossProcess = 1, + System_Runtime_Serialization_StreamingContextStates_CrossMachine = 2, + System_Runtime_Serialization_StreamingContextStates_File = 4, + System_Runtime_Serialization_StreamingContextStates_Persistence = 8, + System_Runtime_Serialization_StreamingContextStates_Remoting = 16, + System_Runtime_Serialization_StreamingContextStates_Other = 32, + System_Runtime_Serialization_StreamingContextStates_Clone = 64, + System_Runtime_Serialization_StreamingContextStates_CrossAppDomain = 128, + System_Runtime_Serialization_StreamingContextStates_All = 255 +} System_Runtime_Serialization_StreamingContextStates_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Reflection_ProcessorArchitecture_None = 0, + System_Reflection_ProcessorArchitecture_MSIL = 1, + System_Reflection_ProcessorArchitecture_X86 = 2, + System_Reflection_ProcessorArchitecture_IA64 = 3, + System_Reflection_ProcessorArchitecture_Amd64 = 4, + System_Reflection_ProcessorArchitecture_Arm = 5 +} System_Reflection_ProcessorArchitecture_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Reflection_AssemblyContentType_Default = 0, + System_Reflection_AssemblyContentType_WindowsRuntime = 1 +} System_Reflection_AssemblyContentType_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Reflection_AssemblyNameFlags_None = 0, + System_Reflection_AssemblyNameFlags_PublicKey = 1, + System_Reflection_AssemblyNameFlags_Retargetable = 256, + System_Reflection_AssemblyNameFlags_EnableJITcompileOptimizer = 16384, + System_Reflection_AssemblyNameFlags_EnableJITcompileTracking = 32768 +} System_Reflection_AssemblyNameFlags_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Configuration_Assemblies_AssemblyHashAlgorithm_None = 0, + System_Configuration_Assemblies_AssemblyHashAlgorithm_MD5 = 32771, + System_Configuration_Assemblies_AssemblyHashAlgorithm_SHA1 = 32772, + System_Configuration_Assemblies_AssemblyHashAlgorithm_SHA256 = 32780, + System_Configuration_Assemblies_AssemblyHashAlgorithm_SHA384 = 32781, + System_Configuration_Assemblies_AssemblyHashAlgorithm_SHA512 = 32782 +} System_Configuration_Assemblies_AssemblyHashAlgorithm_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Configuration_Assemblies_AssemblyVersionCompatibility_SameMachine = 1, + System_Configuration_Assemblies_AssemblyVersionCompatibility_SameProcess = 2, + System_Configuration_Assemblies_AssemblyVersionCompatibility_SameDomain = 3 +} System_Configuration_Assemblies_AssemblyVersionCompatibility_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Reflection_ParameterAttributes_None = 0, + System_Reflection_ParameterAttributes_In = 1, + System_Reflection_ParameterAttributes_Out = 2, + System_Reflection_ParameterAttributes_Lcid = 4, + System_Reflection_ParameterAttributes_Retval = 8, + System_Reflection_ParameterAttributes_Optional = 16, + System_Reflection_ParameterAttributes_HasDefault = 4096, + System_Reflection_ParameterAttributes_HasFieldMarshal = 8192, + System_Reflection_ParameterAttributes_Reserved3 = 16384, + System_Reflection_ParameterAttributes_Reserved4 = 32768, + System_Reflection_ParameterAttributes_ReservedMask = 61440 +} System_Reflection_ParameterAttributes_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Reflection_MethodAttributes_PrivateScope = 0, + System_Reflection_MethodAttributes_ReuseSlot = 0, + System_Reflection_MethodAttributes_Private = 1, + System_Reflection_MethodAttributes_FamANDAssem = 2, + System_Reflection_MethodAttributes_Assembly = 3, + System_Reflection_MethodAttributes_Family = 4, + System_Reflection_MethodAttributes_FamORAssem = 5, + System_Reflection_MethodAttributes_Public = 6, + System_Reflection_MethodAttributes_MemberAccessMask = 7, + System_Reflection_MethodAttributes_UnmanagedExport = 8, + System_Reflection_MethodAttributes_Static = 16, + System_Reflection_MethodAttributes_Final = 32, + System_Reflection_MethodAttributes_Virtual = 64, + System_Reflection_MethodAttributes_HideBySig = 128, + System_Reflection_MethodAttributes_NewSlot = 256, + System_Reflection_MethodAttributes_VtableLayoutMask = 256, + System_Reflection_MethodAttributes_CheckAccessOnOverride = 512, + System_Reflection_MethodAttributes_Abstract = 1024, + System_Reflection_MethodAttributes_SpecialName = 2048, + System_Reflection_MethodAttributes_RTSpecialName = 4096, + System_Reflection_MethodAttributes_PinvokeImpl = 8192, + System_Reflection_MethodAttributes_HasSecurity = 16384, + System_Reflection_MethodAttributes_RequireSecObject = 32768, + System_Reflection_MethodAttributes_ReservedMask = 53248 +} System_Reflection_MethodAttributes_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Reflection_MethodImplAttributes_IL = 0, + System_Reflection_MethodImplAttributes_Managed = 0, + System_Reflection_MethodImplAttributes_Native = 1, + System_Reflection_MethodImplAttributes_OPTIL = 2, + System_Reflection_MethodImplAttributes_CodeTypeMask = 3, + System_Reflection_MethodImplAttributes_Runtime = 3, + System_Reflection_MethodImplAttributes_ManagedMask = 4, + System_Reflection_MethodImplAttributes_Unmanaged = 4, + System_Reflection_MethodImplAttributes_NoInlining = 8, + System_Reflection_MethodImplAttributes_ForwardRef = 16, + System_Reflection_MethodImplAttributes_Synchronized = 32, + System_Reflection_MethodImplAttributes_NoOptimization = 64, + System_Reflection_MethodImplAttributes_PreserveSig = 128, + System_Reflection_MethodImplAttributes_AggressiveInlining = 256, + System_Reflection_MethodImplAttributes_AggressiveOptimization = 512, + System_Reflection_MethodImplAttributes_InternalCall = 4096, + System_Reflection_MethodImplAttributes_MaxMethodImplVal = 65535 +} System_Reflection_MethodImplAttributes_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Reflection_CallingConventions_Standard = 1, + System_Reflection_CallingConventions_VarArgs = 2, + System_Reflection_CallingConventions_Any = 3, + System_Reflection_CallingConventions_HasThis = 32, + System_Reflection_CallingConventions_ExplicitThis = 64 +} System_Reflection_CallingConventions_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Reflection_BindingFlags_Default = 0, + System_Reflection_BindingFlags_IgnoreCase = 1, + System_Reflection_BindingFlags_DeclaredOnly = 2, + System_Reflection_BindingFlags_Instance = 4, + System_Reflection_BindingFlags_Static = 8, + System_Reflection_BindingFlags_Public = 16, + System_Reflection_BindingFlags_NonPublic = 32, + System_Reflection_BindingFlags_FlattenHierarchy = 64, + System_Reflection_BindingFlags_InvokeMethod = 256, + System_Reflection_BindingFlags_CreateInstance = 512, + System_Reflection_BindingFlags_GetField = 1024, + System_Reflection_BindingFlags_SetField = 2048, + System_Reflection_BindingFlags_GetProperty = 4096, + System_Reflection_BindingFlags_SetProperty = 8192, + System_Reflection_BindingFlags_PutDispProperty = 16384, + System_Reflection_BindingFlags_PutRefDispProperty = 32768, + System_Reflection_BindingFlags_ExactBinding = 65536, + System_Reflection_BindingFlags_SuppressChangeType = 131072, + System_Reflection_BindingFlags_OptionalParamBinding = 262144, + System_Reflection_BindingFlags_IgnoreReturn = 16777216, + System_Reflection_BindingFlags_DoNotWrapExceptions = 33554432 +} System_Reflection_BindingFlags_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Reflection_MemberTypes_Constructor = 1, + System_Reflection_MemberTypes_Event = 2, + System_Reflection_MemberTypes_Field = 4, + System_Reflection_MemberTypes_Method = 8, + System_Reflection_MemberTypes_Property = 16, + System_Reflection_MemberTypes_TypeInfo = 32, + System_Reflection_MemberTypes_Custom = 64, + System_Reflection_MemberTypes_NestedType = 128, + System_Reflection_MemberTypes_All = 191 +} System_Reflection_MemberTypes_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Reflection_FieldAttributes_PrivateScope = 0, + System_Reflection_FieldAttributes_Private = 1, + System_Reflection_FieldAttributes_FamANDAssem = 2, + System_Reflection_FieldAttributes_Assembly = 3, + System_Reflection_FieldAttributes_Family = 4, + System_Reflection_FieldAttributes_FamORAssem = 5, + System_Reflection_FieldAttributes_Public = 6, + System_Reflection_FieldAttributes_FieldAccessMask = 7, + System_Reflection_FieldAttributes_Static = 16, + System_Reflection_FieldAttributes_InitOnly = 32, + System_Reflection_FieldAttributes_Literal = 64, + System_Reflection_FieldAttributes_NotSerialized = 128, + System_Reflection_FieldAttributes_HasFieldRVA = 256, + System_Reflection_FieldAttributes_SpecialName = 512, + System_Reflection_FieldAttributes_RTSpecialName = 1024, + System_Reflection_FieldAttributes_HasFieldMarshal = 4096, + System_Reflection_FieldAttributes_PinvokeImpl = 8192, + System_Reflection_FieldAttributes_HasDefault = 32768, + System_Reflection_FieldAttributes_ReservedMask = 38144 +} System_Reflection_FieldAttributes_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Reflection_PropertyAttributes_None = 0, + System_Reflection_PropertyAttributes_SpecialName = 512, + System_Reflection_PropertyAttributes_RTSpecialName = 1024, + System_Reflection_PropertyAttributes_HasDefault = 4096, + System_Reflection_PropertyAttributes_Reserved2 = 8192, + System_Reflection_PropertyAttributes_Reserved3 = 16384, + System_Reflection_PropertyAttributes_Reserved4 = 32768, + System_Reflection_PropertyAttributes_ReservedMask = 62464 +} System_Reflection_PropertyAttributes_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Threading_Tasks_TaskStatus_Created = 0, + System_Threading_Tasks_TaskStatus_WaitingForActivation = 1, + System_Threading_Tasks_TaskStatus_WaitingToRun = 2, + System_Threading_Tasks_TaskStatus_Running = 3, + System_Threading_Tasks_TaskStatus_WaitingForChildrenToComplete = 4, + System_Threading_Tasks_TaskStatus_RanToCompletion = 5, + System_Threading_Tasks_TaskStatus_Canceled = 6, + System_Threading_Tasks_TaskStatus_Faulted = 7 +} System_Threading_Tasks_TaskStatus_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Threading_Tasks_TaskCreationOptions_None = 0, + System_Threading_Tasks_TaskCreationOptions_PreferFairness = 1, + System_Threading_Tasks_TaskCreationOptions_LongRunning = 2, + System_Threading_Tasks_TaskCreationOptions_AttachedToParent = 4, + System_Threading_Tasks_TaskCreationOptions_DenyChildAttach = 8, + System_Threading_Tasks_TaskCreationOptions_HideScheduler = 16, + System_Threading_Tasks_TaskCreationOptions_RunContinuationsAsynchronously = 64 +} System_Threading_Tasks_TaskCreationOptions_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Threading_Tasks_TaskContinuationOptions_None = 0, + System_Threading_Tasks_TaskContinuationOptions_PreferFairness = 1, + System_Threading_Tasks_TaskContinuationOptions_LongRunning = 2, + System_Threading_Tasks_TaskContinuationOptions_AttachedToParent = 4, + System_Threading_Tasks_TaskContinuationOptions_DenyChildAttach = 8, + System_Threading_Tasks_TaskContinuationOptions_HideScheduler = 16, + System_Threading_Tasks_TaskContinuationOptions_LazyCancellation = 32, + System_Threading_Tasks_TaskContinuationOptions_RunContinuationsAsynchronously = 64, + System_Threading_Tasks_TaskContinuationOptions_NotOnRanToCompletion = 65536, + System_Threading_Tasks_TaskContinuationOptions_NotOnFaulted = 131072, + System_Threading_Tasks_TaskContinuationOptions_OnlyOnCanceled = 196608, + System_Threading_Tasks_TaskContinuationOptions_NotOnCanceled = 262144, + System_Threading_Tasks_TaskContinuationOptions_OnlyOnFaulted = 327680, + System_Threading_Tasks_TaskContinuationOptions_OnlyOnRanToCompletion = 393216, + System_Threading_Tasks_TaskContinuationOptions_ExecuteSynchronously = 524288 +} System_Threading_Tasks_TaskContinuationOptions_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Threading_Tasks_ConfigureAwaitOptions_None = 0, + System_Threading_Tasks_ConfigureAwaitOptions_ContinueOnCapturedContext = 1, + System_Threading_Tasks_ConfigureAwaitOptions_SuppressThrowing = 2, + System_Threading_Tasks_ConfigureAwaitOptions_ForceYielding = 4 +} System_Threading_Tasks_ConfigureAwaitOptions_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Threading_Tasks_Sources_ValueTaskSourceStatus_Pending = 0, + System_Threading_Tasks_Sources_ValueTaskSourceStatus_Succeeded = 1, + System_Threading_Tasks_Sources_ValueTaskSourceStatus_Faulted = 2, + System_Threading_Tasks_Sources_ValueTaskSourceStatus_Canceled = 3 +} System_Threading_Tasks_Sources_ValueTaskSourceStatus_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_None = 0, + System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_UseSchedulingContext = 1, + System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_FlowExecutionContext = 2 +} System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_IO_SeekOrigin_Begin = 0, + System_IO_SeekOrigin_Current = 1, + System_IO_SeekOrigin_End = 2 +} System_IO_SeekOrigin_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_IO_FileAccess_Read = 1, + System_IO_FileAccess_Write = 2, + System_IO_FileAccess_ReadWrite = 3 +} System_IO_FileAccess_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_IO_FileMode_CreateNew = 1, + System_IO_FileMode_Create = 2, + System_IO_FileMode_Open = 3, + System_IO_FileMode_OpenOrCreate = 4, + System_IO_FileMode_Truncate = 5, + System_IO_FileMode_Append = 6 +} System_IO_FileMode_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_IO_FileShare_None = 0, + System_IO_FileShare_Read = 1, + System_IO_FileShare_Write = 2, + System_IO_FileShare_ReadWrite = 3, + System_IO_FileShare_Delete = 4, + System_IO_FileShare_Inheritable = 16 +} System_IO_FileShare_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_IO_FileOptions_None = 0, + System_IO_FileOptions_Encrypted = 16384, + System_IO_FileOptions_DeleteOnClose = 67108864, + System_IO_FileOptions_SequentialScan = 134217728, + System_IO_FileOptions_RandomAccess = 268435456, + System_IO_FileOptions_Asynchronous = 1073741824, + System_IO_FileOptions_WriteThrough = -2147483648 +} System_IO_FileOptions_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Reflection_ResourceLocation_Embedded = 1, + System_Reflection_ResourceLocation_ContainedInAnotherAssembly = 2, + System_Reflection_ResourceLocation_ContainedInManifestFile = 4 +} System_Reflection_ResourceLocation_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Reflection_PortableExecutableKinds_NotAPortableExecutableImage = 0, + System_Reflection_PortableExecutableKinds_ILOnly = 1, + System_Reflection_PortableExecutableKinds_Required32Bit = 2, + System_Reflection_PortableExecutableKinds_PE32Plus = 4, + System_Reflection_PortableExecutableKinds_Unmanaged32Bit = 8, + System_Reflection_PortableExecutableKinds_Preferred32Bit = 16 +} System_Reflection_PortableExecutableKinds_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Reflection_ImageFileMachine_I386 = 332, + System_Reflection_ImageFileMachine_ARM = 452, + System_Reflection_ImageFileMachine_IA64 = 512, + System_Reflection_ImageFileMachine_AMD64 = 34404 +} System_Reflection_ImageFileMachine_t; + + +typedef enum __attribute__((enum_extensibility(open))): uint8_t { + System_Security_SecurityRuleSet_None = 0, + System_Security_SecurityRuleSet_Level1 = 1, + System_Security_SecurityRuleSet_Level2 = 2 +} System_Security_SecurityRuleSet_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Buffers_OperationStatus_Done = 0, + System_Buffers_OperationStatus_DestinationTooSmall = 1, + System_Buffers_OperationStatus_NeedMoreData = 2, + System_Buffers_OperationStatus_InvalidData = 3 +} System_Buffers_OperationStatus_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Globalization_CompareOptions_None = 0, + System_Globalization_CompareOptions_IgnoreCase = 1, + System_Globalization_CompareOptions_IgnoreNonSpace = 2, + System_Globalization_CompareOptions_IgnoreSymbols = 4, + System_Globalization_CompareOptions_IgnoreKanaType = 8, + System_Globalization_CompareOptions_IgnoreWidth = 16, + System_Globalization_CompareOptions_OrdinalIgnoreCase = 268435456, + System_Globalization_CompareOptions_StringSort = 536870912, + System_Globalization_CompareOptions_Ordinal = 1073741824 +} System_Globalization_CompareOptions_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Globalization_DigitShapes_Context = 0, + System_Globalization_DigitShapes_None = 1, + System_Globalization_DigitShapes_NativeNational = 2 +} System_Globalization_DigitShapes_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Text_NormalizationForm_FormC = 1, + System_Text_NormalizationForm_FormD = 2, + System_Text_NormalizationForm_FormKC = 5, + System_Text_NormalizationForm_FormKD = 6 +} System_Text_NormalizationForm_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_StringSplitOptions_None = 0, + System_StringSplitOptions_RemoveEmptyEntries = 1, + System_StringSplitOptions_TrimEntries = 2 +} System_StringSplitOptions_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Reflection_GenericParameterAttributes_None = 0, + System_Reflection_GenericParameterAttributes_Covariant = 1, + System_Reflection_GenericParameterAttributes_Contravariant = 2, + System_Reflection_GenericParameterAttributes_VarianceMask = 3, + System_Reflection_GenericParameterAttributes_ReferenceTypeConstraint = 4, + System_Reflection_GenericParameterAttributes_NotNullableValueTypeConstraint = 8, + System_Reflection_GenericParameterAttributes_DefaultConstructorConstraint = 16, + System_Reflection_GenericParameterAttributes_SpecialConstraintMask = 28 +} System_Reflection_GenericParameterAttributes_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Reflection_TypeAttributes_NotPublic = 0, + System_Reflection_TypeAttributes_AutoLayout = 0, + System_Reflection_TypeAttributes_AnsiClass = 0, + System_Reflection_TypeAttributes_Class = 0, + System_Reflection_TypeAttributes_Public = 1, + System_Reflection_TypeAttributes_NestedPublic = 2, + System_Reflection_TypeAttributes_NestedPrivate = 3, + System_Reflection_TypeAttributes_NestedFamily = 4, + System_Reflection_TypeAttributes_NestedAssembly = 5, + System_Reflection_TypeAttributes_NestedFamANDAssem = 6, + System_Reflection_TypeAttributes_VisibilityMask = 7, + System_Reflection_TypeAttributes_NestedFamORAssem = 7, + System_Reflection_TypeAttributes_SequentialLayout = 8, + System_Reflection_TypeAttributes_ExplicitLayout = 16, + System_Reflection_TypeAttributes_LayoutMask = 24, + System_Reflection_TypeAttributes_Interface = 32, + System_Reflection_TypeAttributes_ClassSemanticsMask = 32, + System_Reflection_TypeAttributes_Abstract = 128, + System_Reflection_TypeAttributes_Sealed = 256, + System_Reflection_TypeAttributes_SpecialName = 1024, + System_Reflection_TypeAttributes_RTSpecialName = 2048, + System_Reflection_TypeAttributes_Import = 4096, + System_Reflection_TypeAttributes_Serializable = 8192, + System_Reflection_TypeAttributes_WindowsRuntime = 16384, + System_Reflection_TypeAttributes_UnicodeClass = 65536, + System_Reflection_TypeAttributes_AutoClass = 131072, + System_Reflection_TypeAttributes_StringFormatMask = 196608, + System_Reflection_TypeAttributes_CustomFormatClass = 196608, + System_Reflection_TypeAttributes_HasSecurity = 262144, + System_Reflection_TypeAttributes_ReservedMask = 264192, + System_Reflection_TypeAttributes_BeforeFieldInit = 1048576, + System_Reflection_TypeAttributes_CustomFormatMask = 12582912 +} System_Reflection_TypeAttributes_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Runtime_InteropServices_LayoutKind_Sequential = 0, + System_Runtime_InteropServices_LayoutKind_Explicit = 2, + System_Runtime_InteropServices_LayoutKind_Auto = 3 +} System_Runtime_InteropServices_LayoutKind_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Runtime_InteropServices_CharSet_None = 1, + System_Runtime_InteropServices_CharSet_Ansi = 2, + System_Runtime_InteropServices_CharSet_Unicode = 3, + System_Runtime_InteropServices_CharSet_Auto = 4 +} System_Runtime_InteropServices_CharSet_t; + + +typedef enum __attribute__((enum_extensibility(open))) __attribute__((flag_enum)): int32_t { + System_Reflection_EventAttributes_None = 0, + System_Reflection_EventAttributes_SpecialName = 512, + System_Reflection_EventAttributes_RTSpecialName = 1024, + System_Reflection_EventAttributes_ReservedMask = 1024 +} System_Reflection_EventAttributes_t; + + +typedef enum __attribute__((enum_extensibility(open))): int32_t { + System_Runtime_InteropServices_CustomQueryInterfaceMode_Ignore = 0, + System_Runtime_InteropServices_CustomQueryInterfaceMode_Allow = 1 +} System_Runtime_InteropServices_CustomQueryInterfaceMode_t; + + +typedef void* System_Object_t; + +typedef void* System_Type_t; + +typedef void* System_Reflection_MemberInfo_t; + +typedef void* System_Reflection_ICustomAttributeProvider_t; + +typedef void* System_Object_Array_t; + +typedef void* System_Array_t; + +typedef void* System_ICloneable_t; + +typedef void* System_Collections_IList_t; + +typedef void* System_Collections_ICollection_t; + +typedef void* System_Collections_IEnumerable_t; + +typedef void* System_Collections_IEnumerator_t; + + +typedef void* System_ValueType_t; + + +typedef void* System_IComparable_t; + +typedef void* System_IConvertible_t; + +typedef void* System_Enum_t; + +typedef void* System_ISpanFormattable_t; + +typedef void* System_IFormattable_t; + +typedef void* System_String_t; + +typedef void* System_Globalization_CultureInfo_t; + +typedef void* System_IFormatProvider_t; + +typedef void* System_Globalization_CultureInfo_Array_t; + +typedef void* System_Collections_IStructuralComparable_t; + +typedef void* System_Collections_IComparer_t; + +typedef void* System_Collections_IStructuralEquatable_t; + +typedef void* System_Collections_IEqualityComparer_t; + + +typedef void* System_Globalization_CompareInfo_t; + +typedef void* System_Runtime_Serialization_IDeserializationCallback_t; + +typedef void* System_Reflection_Assembly_t; + +typedef void* System_Runtime_Serialization_ISerializable_t; + +typedef void* System_Runtime_Serialization_SerializationInfo_t; + +typedef void* System_Runtime_Serialization_SerializationInfoEnumerator_t; + +typedef void* System_Runtime_Serialization_SerializationEntry_t; + + +typedef void* System_IUtf8SpanFormattable_t; + + + + + + + + + + + + + + + + + + + + +typedef void* System_Decimal_t; + + +typedef void* System_Int32_Array_t; + +typedef void* System_DateTime_t; + +typedef void* System_TimeSpan_t; + +typedef void* System_String_Array_t; + + + + +typedef void* System_DateOnly_t; + +typedef void* System_TimeOnly_t; + + + +typedef void* System_Globalization_Calendar_t; + +typedef void* System_Runtime_Serialization_IFormatterConverter_t; + +typedef void* System_Runtime_Serialization_StreamingContext_t; + +typedef void* System_Reflection_AssemblyName_t; + +typedef void* System_Version_t; + + +typedef void* System_Byte_Array_t; + +typedef void* System_Reflection_StrongNameKeyPair_t; + +typedef void* System_IO_FileStream_t; + +typedef void* System_IO_Stream_t; + +typedef void* System_MarshalByRefObject_t; + +typedef void* System_IDisposable_t; + +typedef void* System_IAsyncDisposable_t; + +typedef void* System_Threading_Tasks_ValueTask_t; + +typedef void* System_Threading_CancellationToken_t; + +typedef void* System_Threading_WaitHandle_t; + + + +typedef void* Microsoft_Win32_SafeHandles_SafeWaitHandle_t; + +typedef void* Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_t; + +typedef void* System_Runtime_InteropServices_SafeHandle_t; + +typedef void* System_Runtime_ConstrainedExecution_CriticalFinalizerObject_t; + + +typedef void* System_Threading_WaitHandle_Array_t; + + +typedef void* System_Threading_CancellationTokenRegistration_t; + +typedef void* System_Exception_t; + +typedef void* System_Reflection_MethodBase_t; + +typedef void* System_RuntimeMethodHandle_t; + +typedef void* System_RuntimeTypeHandle_t; + +typedef void* System_ModuleHandle_t; + +typedef void* System_RuntimeTypeHandle_Array_t; + + +typedef void* System_RuntimeFieldHandle_t; + +typedef void* System_Reflection_ParameterInfo_Array_t; + +typedef void* System_Reflection_ParameterInfo_t; + +typedef void* System_Runtime_Serialization_IObjectReference_t; + +typedef void* System_Type_Array_t; + + + +typedef void* System_Reflection_MethodBody_t; + +typedef void* System_Reflection_Binder_t; + +typedef void* System_Reflection_FieldInfo_t; + +typedef void* System_Reflection_FieldInfo_Array_t; + + +typedef void* System_Reflection_MethodBase_Array_t; + + + +typedef void* System_Reflection_ParameterModifier_Array_t; + +typedef void* System_Reflection_ParameterModifier_t; + + + +typedef void* System_Reflection_PropertyInfo_t; + +typedef void* System_Reflection_MethodInfo_Array_t; + +typedef void* System_Reflection_MethodInfo_t; + + +typedef void* System_Reflection_PropertyInfo_Array_t; + + +typedef void* System_Collections_IDictionary_t; + +typedef void* System_Collections_IDictionaryEnumerator_t; + +typedef void* System_Collections_DictionaryEntry_t; + +typedef void* System_Threading_Tasks_Task_t; + +typedef void* System_IAsyncResult_t; + +typedef void* System_Threading_Tasks_TaskScheduler_t; + +typedef void* System_AggregateException_t; + +typedef void* System_Exception_Array_t; + + +typedef void* System_Threading_Tasks_TaskFactory_t; + +typedef void* System_Threading_Tasks_Task_Array_t; + + +typedef void* System_Runtime_CompilerServices_TaskAwaiter_t; + +typedef void* System_Runtime_CompilerServices_ICriticalNotifyCompletion_t; + +typedef void* System_Runtime_CompilerServices_INotifyCompletion_t; + +typedef void* System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t; + +typedef void* System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t; + +typedef void* System_Runtime_CompilerServices_YieldAwaitable_t; + +typedef void* System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t; + +typedef void* System_TimeProvider_t; + +typedef void* System_DateTimeOffset_t; + + +typedef void* System_TimeZoneInfo_t; + +typedef void* System_TimeSpan_Array_t; + + +typedef void* System_TimeZoneInfo_AdjustmentRule_Array_t; + +typedef void* System_TimeZoneInfo_AdjustmentRule_t; + +typedef void* System_TimeZoneInfo_TransitionTime_t; + + +typedef void* System_Threading_ITimer_t; + +typedef void* System_Runtime_CompilerServices_ValueTaskAwaiter_t; + +typedef void* System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t; + +typedef void* System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t; + +typedef void* System_Threading_Tasks_Sources_IValueTaskSource_t; + +typedef void* Microsoft_Win32_SafeHandles_SafeFileHandle_t; + +typedef void* System_IO_FileStreamOptions_t; + +typedef void* System_Reflection_ManifestResourceInfo_t; + +typedef void* System_Reflection_Module_t; + +typedef void* System_Guid_t; + + + + +typedef void* System_ResolveEventArgs_t; + +typedef void* System_EventArgs_t; + +typedef void* System_Reflection_Module_Array_t; + + +typedef void* System_Reflection_AssemblyName_Array_t; + + +typedef void* System_IO_FileStream_Array_t; + + +typedef void* System_Text_Rune_t; + + +typedef void* System_Globalization_SortKey_t; + +typedef void* System_Globalization_SortVersion_t; + +typedef void* System_Globalization_TextInfo_t; + +typedef void* System_Globalization_NumberFormatInfo_t; + +typedef void* System_Globalization_DateTimeFormatInfo_t; + +typedef void* System_Globalization_Calendar_Array_t; + + +typedef void* System_Char_Array_t; + +typedef void* System_CharEnumerator_t; + +typedef void* System_Text_StringRuneEnumerator_t; + +typedef void* System_Text_CompositeFormat_t; + +typedef void* System_Text_Encoding_t; + +typedef void* System_Text_EncodingProvider_t; + +typedef void* System_Text_EncoderFallback_t; + +typedef void* System_Text_EncoderFallbackBuffer_t; + +typedef void* System_Text_DecoderFallback_t; + +typedef void* System_Text_DecoderFallbackBuffer_t; + +typedef void* System_Text_EncodingInfo_Array_t; + +typedef void* System_Text_EncodingInfo_t; + + +typedef void* System_Text_Decoder_t; + +typedef void* System_Text_Encoder_t; + +// Type "TEnum[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. + +typedef void* System_Int64_Array_t; + +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "TOutput[]" was skipped. Reason: It has no full name. +// Type "TInput[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "TKey[]" was skipped. Reason: It has no full name. +// Type "TValue[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "TKey[]" was skipped. Reason: It has no full name. +// Type "TValue[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "TKey[]" was skipped. Reason: It has no full name. +// Type "TValue[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "TKey[]" was skipped. Reason: It has no full name. +// Type "TValue[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +// Type "T[]" was skipped. Reason: It has no full name. +typedef void* System_Reflection_IReflect_t; + +typedef void* System_Reflection_MemberInfo_Array_t; + + +typedef void* System_Runtime_InteropServices_StructLayoutAttribute_t; + +typedef void* System_Attribute_t; + +typedef void* System_Attribute_Array_t; + + +typedef void* System_Reflection_ConstructorInfo_t; + +typedef void* System_Reflection_ConstructorInfo_Array_t; + + +typedef void* System_Reflection_EventInfo_t; + +typedef void* System_Reflection_EventInfo_Array_t; + + +typedef void* System_Reflection_InterfaceMapping_t; + +typedef void* System_Runtime_InteropServices_Marshal_t; + +// Type "T[]" was skipped. Reason: It has no full name. +typedef void* System_Int16_Array_t; + +typedef void* System_Single_Array_t; + +typedef void* System_Double_Array_t; + +typedef void* System_IntPtr_Array_t; + +typedef void* System_Security_SecureString_t; + +// Type "T[]" was skipped. Reason: It has no full name. +typedef void* System_NullReferenceException_t; + +typedef void* System_SystemException_t; + +typedef void* System_PlatformNotSupportedException_t; + +typedef void* System_NotSupportedException_t; + + + +typedef void* System_AppContext_t; + +typedef void* MyLib_Hello_t; + +typedef void* System_Action_t; +typedef void (*System_Action_CDestructorFunction_t)(void* context); + +typedef void (*System_Action_CFunction_t)( + void* context +); + + +typedef void* System_MulticastDelegate_t; +typedef void (*System_MulticastDelegate_CDestructorFunction_t)(void* context); + +typedef void (*System_MulticastDelegate_CFunction_t)( + void* context +); + + +typedef void* System_Delegate_t; +typedef void (*System_Delegate_CDestructorFunction_t)(void* context); + +typedef void (*System_Delegate_CFunction_t)( + void* context +); + + +typedef void* System_Threading_TimerCallback_t; +typedef void (*System_Threading_TimerCallback_CDestructorFunction_t)(void* context); + +typedef void (*System_Threading_TimerCallback_CFunction_t)( + void* context, + System_Object_t state +); + + +typedef void* System_AsyncCallback_t; +typedef void (*System_AsyncCallback_CDestructorFunction_t)(void* context); + +typedef void (*System_AsyncCallback_CFunction_t)( + void* context, + System_IAsyncResult_t ar +); + + +typedef void* System_Reflection_ModuleResolveEventHandler_t; +typedef void (*System_Reflection_ModuleResolveEventHandler_CDestructorFunction_t)(void* context); + +typedef System_Reflection_Module_t (*System_Reflection_ModuleResolveEventHandler_CFunction_t)( + void* context, + System_Object_t sender, + System_ResolveEventArgs_t e +); + + +typedef void* System_Reflection_TypeFilter_t; +typedef void (*System_Reflection_TypeFilter_CDestructorFunction_t)(void* context); + +typedef bool (*System_Reflection_TypeFilter_CFunction_t)( + void* context, + System_Type_t m, + System_Object_t filterCriteria +); + + +typedef void* System_Reflection_MemberFilter_t; +typedef void (*System_Reflection_MemberFilter_CDestructorFunction_t)(void* context); + +typedef bool (*System_Reflection_MemberFilter_CFunction_t)( + void* context, + System_Reflection_MemberInfo_t m, + System_Object_t filterCriteria +); + + + +#pragma mark - END Type Definitions + +#pragma mark - BEGIN APIs +#pragma mark - BEGIN APIs of System.TypeCode +System_Type_t _Nonnull /* System.Type */ +System_TypeCode_TypeOf( + void +); + +#pragma mark - END APIs of System.TypeCode + +#pragma mark - BEGIN APIs of System.StringComparison +System_Type_t _Nonnull /* System.Type */ +System_StringComparison_TypeOf( + void +); + +#pragma mark - END APIs of System.StringComparison + +#pragma mark - BEGIN APIs of System.Globalization.CultureTypes +System_Type_t _Nonnull /* System.Type */ +System_Globalization_CultureTypes_TypeOf( + void +); + +#pragma mark - END APIs of System.Globalization.CultureTypes + +#pragma mark - BEGIN APIs of System.Globalization.UnicodeCategory +System_Type_t _Nonnull /* System.Type */ +System_Globalization_UnicodeCategory_TypeOf( + void +); + +#pragma mark - END APIs of System.Globalization.UnicodeCategory + +#pragma mark - BEGIN APIs of System.Globalization.NumberStyles +System_Type_t _Nonnull /* System.Type */ +System_Globalization_NumberStyles_TypeOf( + void +); + +#pragma mark - END APIs of System.Globalization.NumberStyles + +#pragma mark - BEGIN APIs of System.MidpointRounding +System_Type_t _Nonnull /* System.Type */ +System_MidpointRounding_TypeOf( + void +); + +#pragma mark - END APIs of System.MidpointRounding + +#pragma mark - BEGIN APIs of System.Globalization.TimeSpanStyles +System_Type_t _Nonnull /* System.Type */ +System_Globalization_TimeSpanStyles_TypeOf( + void +); + +#pragma mark - END APIs of System.Globalization.TimeSpanStyles + +#pragma mark - BEGIN APIs of System.DateTimeKind +System_Type_t _Nonnull /* System.Type */ +System_DateTimeKind_TypeOf( + void +); + +#pragma mark - END APIs of System.DateTimeKind + +#pragma mark - BEGIN APIs of System.DayOfWeek +System_Type_t _Nonnull /* System.Type */ +System_DayOfWeek_TypeOf( + void +); + +#pragma mark - END APIs of System.DayOfWeek + +#pragma mark - BEGIN APIs of System.Globalization.DateTimeStyles +System_Type_t _Nonnull /* System.Type */ +System_Globalization_DateTimeStyles_TypeOf( + void +); + +#pragma mark - END APIs of System.Globalization.DateTimeStyles + +#pragma mark - BEGIN APIs of System.Globalization.CalendarAlgorithmType +System_Type_t _Nonnull /* System.Type */ +System_Globalization_CalendarAlgorithmType_TypeOf( + void +); + +#pragma mark - END APIs of System.Globalization.CalendarAlgorithmType + +#pragma mark - BEGIN APIs of System.Globalization.CalendarWeekRule +System_Type_t _Nonnull /* System.Type */ +System_Globalization_CalendarWeekRule_TypeOf( + void +); + +#pragma mark - END APIs of System.Globalization.CalendarWeekRule + +#pragma mark - BEGIN APIs of System.Runtime.Serialization.StreamingContextStates +System_Type_t _Nonnull /* System.Type */ +System_Runtime_Serialization_StreamingContextStates_TypeOf( + void +); + +#pragma mark - END APIs of System.Runtime.Serialization.StreamingContextStates + +#pragma mark - BEGIN APIs of System.Reflection.ProcessorArchitecture +System_Type_t _Nonnull /* System.Type */ +System_Reflection_ProcessorArchitecture_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.ProcessorArchitecture + +#pragma mark - BEGIN APIs of System.Reflection.AssemblyContentType +System_Type_t _Nonnull /* System.Type */ +System_Reflection_AssemblyContentType_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.AssemblyContentType + +#pragma mark - BEGIN APIs of System.Reflection.AssemblyNameFlags +System_Type_t _Nonnull /* System.Type */ +System_Reflection_AssemblyNameFlags_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.AssemblyNameFlags + +#pragma mark - BEGIN APIs of System.Configuration.Assemblies.AssemblyHashAlgorithm +System_Type_t _Nonnull /* System.Type */ +System_Configuration_Assemblies_AssemblyHashAlgorithm_TypeOf( + void +); + +#pragma mark - END APIs of System.Configuration.Assemblies.AssemblyHashAlgorithm + +#pragma mark - BEGIN APIs of System.Configuration.Assemblies.AssemblyVersionCompatibility +System_Type_t _Nonnull /* System.Type */ +System_Configuration_Assemblies_AssemblyVersionCompatibility_TypeOf( + void +); + +#pragma mark - END APIs of System.Configuration.Assemblies.AssemblyVersionCompatibility + +#pragma mark - BEGIN APIs of System.Reflection.ParameterAttributes +System_Type_t _Nonnull /* System.Type */ +System_Reflection_ParameterAttributes_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.ParameterAttributes + +#pragma mark - BEGIN APIs of System.Reflection.MethodAttributes +System_Type_t _Nonnull /* System.Type */ +System_Reflection_MethodAttributes_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.MethodAttributes + +#pragma mark - BEGIN APIs of System.Reflection.MethodImplAttributes +System_Type_t _Nonnull /* System.Type */ +System_Reflection_MethodImplAttributes_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.MethodImplAttributes + +#pragma mark - BEGIN APIs of System.Reflection.CallingConventions +System_Type_t _Nonnull /* System.Type */ +System_Reflection_CallingConventions_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.CallingConventions + +#pragma mark - BEGIN APIs of System.Reflection.BindingFlags +System_Type_t _Nonnull /* System.Type */ +System_Reflection_BindingFlags_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.BindingFlags + +#pragma mark - BEGIN APIs of System.Reflection.MemberTypes +System_Type_t _Nonnull /* System.Type */ +System_Reflection_MemberTypes_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.MemberTypes + +#pragma mark - BEGIN APIs of System.Reflection.FieldAttributes +System_Type_t _Nonnull /* System.Type */ +System_Reflection_FieldAttributes_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.FieldAttributes + +#pragma mark - BEGIN APIs of System.Reflection.PropertyAttributes +System_Type_t _Nonnull /* System.Type */ +System_Reflection_PropertyAttributes_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.PropertyAttributes + +#pragma mark - BEGIN APIs of System.Threading.Tasks.TaskStatus +System_Type_t _Nonnull /* System.Type */ +System_Threading_Tasks_TaskStatus_TypeOf( + void +); + +#pragma mark - END APIs of System.Threading.Tasks.TaskStatus + +#pragma mark - BEGIN APIs of System.Threading.Tasks.TaskCreationOptions +System_Type_t _Nonnull /* System.Type */ +System_Threading_Tasks_TaskCreationOptions_TypeOf( + void +); + +#pragma mark - END APIs of System.Threading.Tasks.TaskCreationOptions + +#pragma mark - BEGIN APIs of System.Threading.Tasks.TaskContinuationOptions +System_Type_t _Nonnull /* System.Type */ +System_Threading_Tasks_TaskContinuationOptions_TypeOf( + void +); + +#pragma mark - END APIs of System.Threading.Tasks.TaskContinuationOptions + +#pragma mark - BEGIN APIs of System.Threading.Tasks.ConfigureAwaitOptions +System_Type_t _Nonnull /* System.Type */ +System_Threading_Tasks_ConfigureAwaitOptions_TypeOf( + void +); + +#pragma mark - END APIs of System.Threading.Tasks.ConfigureAwaitOptions + +#pragma mark - BEGIN APIs of System.Threading.Tasks.Sources.ValueTaskSourceStatus +System_Type_t _Nonnull /* System.Type */ +System_Threading_Tasks_Sources_ValueTaskSourceStatus_TypeOf( + void +); + +#pragma mark - END APIs of System.Threading.Tasks.Sources.ValueTaskSourceStatus + +#pragma mark - BEGIN APIs of System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags +System_Type_t _Nonnull /* System.Type */ +System_Threading_Tasks_Sources_ValueTaskSourceOnCompletedFlags_TypeOf( + void +); + +#pragma mark - END APIs of System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags + +#pragma mark - BEGIN APIs of System.IO.SeekOrigin +System_Type_t _Nonnull /* System.Type */ +System_IO_SeekOrigin_TypeOf( + void +); + +#pragma mark - END APIs of System.IO.SeekOrigin + +#pragma mark - BEGIN APIs of System.IO.FileAccess +System_Type_t _Nonnull /* System.Type */ +System_IO_FileAccess_TypeOf( + void +); + +#pragma mark - END APIs of System.IO.FileAccess + +#pragma mark - BEGIN APIs of System.IO.FileMode +System_Type_t _Nonnull /* System.Type */ +System_IO_FileMode_TypeOf( + void +); + +#pragma mark - END APIs of System.IO.FileMode + +#pragma mark - BEGIN APIs of System.IO.FileShare +System_Type_t _Nonnull /* System.Type */ +System_IO_FileShare_TypeOf( + void +); + +#pragma mark - END APIs of System.IO.FileShare + +#pragma mark - BEGIN APIs of System.IO.FileOptions +System_Type_t _Nonnull /* System.Type */ +System_IO_FileOptions_TypeOf( + void +); + +#pragma mark - END APIs of System.IO.FileOptions + +#pragma mark - BEGIN APIs of System.Reflection.ResourceLocation +System_Type_t _Nonnull /* System.Type */ +System_Reflection_ResourceLocation_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.ResourceLocation + +#pragma mark - BEGIN APIs of System.Reflection.PortableExecutableKinds +System_Type_t _Nonnull /* System.Type */ +System_Reflection_PortableExecutableKinds_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.PortableExecutableKinds + +#pragma mark - BEGIN APIs of System.Reflection.ImageFileMachine +System_Type_t _Nonnull /* System.Type */ +System_Reflection_ImageFileMachine_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.ImageFileMachine + +#pragma mark - BEGIN APIs of System.Security.SecurityRuleSet +System_Type_t _Nonnull /* System.Type */ +System_Security_SecurityRuleSet_TypeOf( + void +); + +#pragma mark - END APIs of System.Security.SecurityRuleSet + +#pragma mark - BEGIN APIs of System.Buffers.OperationStatus +System_Type_t _Nonnull /* System.Type */ +System_Buffers_OperationStatus_TypeOf( + void +); + +#pragma mark - END APIs of System.Buffers.OperationStatus + +#pragma mark - BEGIN APIs of System.Globalization.CompareOptions +System_Type_t _Nonnull /* System.Type */ +System_Globalization_CompareOptions_TypeOf( + void +); + +#pragma mark - END APIs of System.Globalization.CompareOptions + +#pragma mark - BEGIN APIs of System.Globalization.DigitShapes +System_Type_t _Nonnull /* System.Type */ +System_Globalization_DigitShapes_TypeOf( + void +); + +#pragma mark - END APIs of System.Globalization.DigitShapes + +#pragma mark - BEGIN APIs of System.Text.NormalizationForm +System_Type_t _Nonnull /* System.Type */ +System_Text_NormalizationForm_TypeOf( + void +); + +#pragma mark - END APIs of System.Text.NormalizationForm + +#pragma mark - BEGIN APIs of System.StringSplitOptions +System_Type_t _Nonnull /* System.Type */ +System_StringSplitOptions_TypeOf( + void +); + +#pragma mark - END APIs of System.StringSplitOptions + +#pragma mark - BEGIN APIs of System.Reflection.GenericParameterAttributes +System_Type_t _Nonnull /* System.Type */ +System_Reflection_GenericParameterAttributes_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.GenericParameterAttributes + +#pragma mark - BEGIN APIs of System.Reflection.TypeAttributes +System_Type_t _Nonnull /* System.Type */ +System_Reflection_TypeAttributes_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.TypeAttributes + +#pragma mark - BEGIN APIs of System.Runtime.InteropServices.LayoutKind +System_Type_t _Nonnull /* System.Type */ +System_Runtime_InteropServices_LayoutKind_TypeOf( + void +); + +#pragma mark - END APIs of System.Runtime.InteropServices.LayoutKind + +#pragma mark - BEGIN APIs of System.Runtime.InteropServices.CharSet +System_Type_t _Nonnull /* System.Type */ +System_Runtime_InteropServices_CharSet_TypeOf( + void +); + +#pragma mark - END APIs of System.Runtime.InteropServices.CharSet + +#pragma mark - BEGIN APIs of System.Reflection.EventAttributes +System_Type_t _Nonnull /* System.Type */ +System_Reflection_EventAttributes_TypeOf( + void +); + +#pragma mark - END APIs of System.Reflection.EventAttributes + +#pragma mark - BEGIN APIs of System.Runtime.InteropServices.CustomQueryInterfaceMode +System_Type_t _Nonnull /* System.Type */ +System_Runtime_InteropServices_CustomQueryInterfaceMode_TypeOf( + void +); + +#pragma mark - END APIs of System.Runtime.InteropServices.CustomQueryInterfaceMode + +#pragma mark - BEGIN APIs of System.Object +System_Type_t /* System.Type */ +System_Object_GetType( + System_Object_t /* System.Object */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Object_ToString( + System_Object_t /* System.Object */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Object_Equals( + System_Object_t /* System.Object */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Object_Equals_1( + System_Object_t /* System.Object */ objA, + System_Object_t /* System.Object */ objB, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Object_ReferenceEquals( + System_Object_t /* System.Object */ objA, + System_Object_t /* System.Object */ objB, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Object_GetHashCode( + System_Object_t /* System.Object */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Object_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Object_TypeOf( + void +); + +void /* System.Void */ +System_Object_Destroy( + System_Object_t /* System.Object */ self +); + +#pragma mark - END APIs of System.Object + +#pragma mark - BEGIN APIs of System.Type +System_Type_t /* System.Type */ +System_Type_GetType( + System_String_t /* System.String */ typeName, + bool /* System.Boolean */ throwOnError, + bool /* System.Boolean */ ignoreCase, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetType_1( + System_String_t /* System.String */ typeName, + bool /* System.Boolean */ throwOnError, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetType_2( + System_String_t /* System.String */ typeName, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetTypeFromHandle( + System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ handle, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetType_3( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetElementType( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Type_GetArrayRank( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetGenericTypeDefinition( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Type_GetGenericArguments( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Type_GetOptionalCustomModifiers( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Type_GetRequiredCustomModifiers( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Type_GetGenericParameterConstraints( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Type_IsAssignableTo( + System_Type_t /* System.Type */ self, + System_Type_t /* System.Type */ targetType, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_ConstructorInfo_t /* System.Reflection.ConstructorInfo */ +System_Type_GetConstructor( + System_Type_t /* System.Type */ self, + System_Type_Array_t /* System.Type[] */ types, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_ConstructorInfo_t /* System.Reflection.ConstructorInfo */ +System_Type_GetConstructor_1( + System_Type_t /* System.Type */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Type_Array_t /* System.Type[] */ types, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_ConstructorInfo_t /* System.Reflection.ConstructorInfo */ +System_Type_GetConstructor_2( + System_Type_t /* System.Type */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_ConstructorInfo_t /* System.Reflection.ConstructorInfo */ +System_Type_GetConstructor_3( + System_Type_t /* System.Type */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Reflection_CallingConventions_t /* System.Reflection.CallingConventions */ callConvention, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_ConstructorInfo_Array_t /* System.Reflection.ConstructorInfo[] */ +System_Type_GetConstructors( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_ConstructorInfo_Array_t /* System.Reflection.ConstructorInfo[] */ +System_Type_GetConstructors_1( + System_Type_t /* System.Type */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ +System_Type_GetEvent( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ +System_Type_GetEvent_1( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_EventInfo_Array_t /* System.Reflection.EventInfo[] */ +System_Type_GetEvents( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_EventInfo_Array_t /* System.Reflection.EventInfo[] */ +System_Type_GetEvents_1( + System_Type_t /* System.Type */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ +System_Type_GetField( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ +System_Type_GetField_1( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_FieldInfo_Array_t /* System.Reflection.FieldInfo[] */ +System_Type_GetFields( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_FieldInfo_Array_t /* System.Reflection.FieldInfo[] */ +System_Type_GetFields_1( + System_Type_t /* System.Type */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Type_GetFunctionPointerCallingConventions( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetFunctionPointerReturnType( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Type_GetFunctionPointerParameterTypes( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberInfo_Array_t /* System.Reflection.MemberInfo[] */ +System_Type_GetMember( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberInfo_Array_t /* System.Reflection.MemberInfo[] */ +System_Type_GetMember_1( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberInfo_Array_t /* System.Reflection.MemberInfo[] */ +System_Type_GetMember_2( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_MemberTypes_t /* System.Reflection.MemberTypes */ type, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberInfo_Array_t /* System.Reflection.MemberInfo[] */ +System_Type_GetMembers( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ +System_Type_GetMemberWithSameMetadataDefinitionAs( + System_Type_t /* System.Type */ self, + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ member, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberInfo_Array_t /* System.Reflection.MemberInfo[] */ +System_Type_GetMembers_1( + System_Type_t /* System.Type */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Type_GetMethod( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Type_GetMethod_1( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Type_GetMethod_2( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Type_Array_t /* System.Type[] */ types, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Type_GetMethod_3( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Type_Array_t /* System.Type[] */ types, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Type_GetMethod_4( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Type_GetMethod_5( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Type_GetMethod_6( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Reflection_CallingConventions_t /* System.Reflection.CallingConventions */ callConvention, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Type_GetMethod_7( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + int32_t /* System.Int32 */ genericParameterCount, + System_Type_Array_t /* System.Type[] */ types, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Type_GetMethod_8( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + int32_t /* System.Int32 */ genericParameterCount, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Type_GetMethod_9( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + int32_t /* System.Int32 */ genericParameterCount, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Type_GetMethod_10( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + int32_t /* System.Int32 */ genericParameterCount, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Reflection_CallingConventions_t /* System.Reflection.CallingConventions */ callConvention, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_Array_t /* System.Reflection.MethodInfo[] */ +System_Type_GetMethods( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_Array_t /* System.Reflection.MethodInfo[] */ +System_Type_GetMethods_1( + System_Type_t /* System.Type */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetNestedType( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetNestedType_1( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Type_GetNestedTypes( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Type_GetNestedTypes_1( + System_Type_t /* System.Type */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ +System_Type_GetProperty( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ +System_Type_GetProperty_1( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ +System_Type_GetProperty_2( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Type_t /* System.Type */ returnType, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ +System_Type_GetProperty_3( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Type_Array_t /* System.Type[] */ types, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ +System_Type_GetProperty_4( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Type_t /* System.Type */ returnType, + System_Type_Array_t /* System.Type[] */ types, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ +System_Type_GetProperty_5( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Type_t /* System.Type */ returnType, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ +System_Type_GetProperty_6( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Type_t /* System.Type */ returnType, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_PropertyInfo_Array_t /* System.Reflection.PropertyInfo[] */ +System_Type_GetProperties( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_PropertyInfo_Array_t /* System.Reflection.PropertyInfo[] */ +System_Type_GetProperties_1( + System_Type_t /* System.Type */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberInfo_Array_t /* System.Reflection.MemberInfo[] */ +System_Type_GetDefaultMembers( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ +System_Type_GetTypeHandle( + System_Object_t /* System.Object */ o, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Type_GetTypeArray( + System_Object_Array_t /* System.Object[] */ args, + System_Exception_t* /* System.Exception */ outException +); + +System_TypeCode_t /* System.TypeCode */ +System_Type_GetTypeCode( + System_Type_t /* System.Type */ type, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetTypeFromCLSID( + System_Guid_t /* System.Guid */ clsid, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetTypeFromCLSID_1( + System_Guid_t /* System.Guid */ clsid, + bool /* System.Boolean */ throwOnError, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetTypeFromCLSID_2( + System_Guid_t /* System.Guid */ clsid, + System_String_t /* System.String */ server, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetTypeFromCLSID_3( + System_Guid_t /* System.Guid */ clsid, + System_String_t /* System.String */ server, + bool /* System.Boolean */ throwOnError, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetTypeFromProgID( + System_String_t /* System.String */ progID, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetTypeFromProgID_1( + System_String_t /* System.String */ progID, + bool /* System.Boolean */ throwOnError, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetTypeFromProgID_2( + System_String_t /* System.String */ progID, + System_String_t /* System.String */ server, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetTypeFromProgID_3( + System_String_t /* System.String */ progID, + System_String_t /* System.String */ server, + bool /* System.Boolean */ throwOnError, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Type_InvokeMember( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ invokeAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Object_t /* System.Object */ target, + System_Object_Array_t /* System.Object[] */ args, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Type_InvokeMember_1( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ invokeAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Object_t /* System.Object */ target, + System_Object_Array_t /* System.Object[] */ args, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Type_InvokeMember_2( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ invokeAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Object_t /* System.Object */ target, + System_Object_Array_t /* System.Object[] */ args, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_String_Array_t /* System.String[] */ namedParameters, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetInterface( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetInterface_1( + System_Type_t /* System.Type */ self, + System_String_t /* System.String */ name, + bool /* System.Boolean */ ignoreCase, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Type_GetInterfaces( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_InterfaceMapping_t /* System.Reflection.InterfaceMapping */ +System_Type_GetInterfaceMap( + System_Type_t /* System.Type */ self, + System_Type_t /* System.Type */ interfaceType, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Type_IsInstanceOfType( + System_Type_t /* System.Type */ self, + System_Object_t /* System.Object */ o, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Type_IsEquivalentTo( + System_Type_t /* System.Type */ self, + System_Type_t /* System.Type */ other, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_GetEnumUnderlyingType( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Type_GetEnumValues( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Type_GetEnumValuesAsUnderlyingType( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_MakeArrayType( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_MakeArrayType_1( + System_Type_t /* System.Type */ self, + int32_t /* System.Int32 */ rank, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_MakeByRefType( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_MakeGenericType( + System_Type_t /* System.Type */ self, + System_Type_Array_t /* System.Type[] */ typeArguments, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_MakePointerType( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_MakeGenericSignatureType( + System_Type_t /* System.Type */ genericTypeDefinition, + System_Type_Array_t /* System.Type[] */ typeArguments, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_MakeGenericMethodParameter( + int32_t /* System.Int32 */ position, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Type_ToString( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Type_Equals( + System_Type_t /* System.Type */ self, + System_Object_t /* System.Object */ o, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Type_GetHashCode( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Type_Equals_1( + System_Type_t /* System.Type */ self, + System_Type_t /* System.Type */ o, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Type_ReflectionOnlyGetType( + System_String_t /* System.String */ typeName, + bool /* System.Boolean */ throwIfNotFound, + bool /* System.Boolean */ ignoreCase, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Type_IsEnumDefined( + System_Type_t /* System.Type */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Type_GetEnumName( + System_Type_t /* System.Type */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_Type_GetEnumNames( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Type_FindInterfaces( + System_Type_t /* System.Type */ self, + System_Reflection_TypeFilter_t /* System.Reflection.TypeFilter */ filter, + System_Object_t /* System.Object */ filterCriteria, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberInfo_Array_t /* System.Reflection.MemberInfo[] */ +System_Type_FindMembers( + System_Type_t /* System.Type */ self, + System_Reflection_MemberTypes_t /* System.Reflection.MemberTypes */ memberType, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_MemberFilter_t /* System.Reflection.MemberFilter */ filter, + System_Object_t /* System.Object */ filterCriteria, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Type_IsSubclassOf( + System_Type_t /* System.Type */ self, + System_Type_t /* System.Type */ c, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Type_IsAssignableFrom( + System_Type_t /* System.Type */ self, + System_Type_t /* System.Type */ c, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Type_IsInterface_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_MemberTypes_t /* System.Reflection.MemberTypes */ +System_Type_MemberType_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Type_Namespace_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Type_AssemblyQualifiedName_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Type_FullName_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Type_Assembly_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_Module_t /* System.Reflection.Module */ +System_Type_Module_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsNested_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Type_DeclaringType_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ +System_Type_DeclaringMethod_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Type_ReflectedType_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Type_UnderlyingSystemType_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsTypeDefinition_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsArray_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsByRef_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsPointer_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsConstructedGenericType_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsGenericParameter_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsGenericTypeParameter_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsGenericMethodParameter_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsGenericType_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsGenericTypeDefinition_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsSZArray_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsVariableBoundArray_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsByRefLike_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsFunctionPointer_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsUnmanagedFunctionPointer_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_HasElementType_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_Array_t /* System.Type[] */ +System_Type_GenericTypeArguments_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Type_GenericParameterPosition_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_GenericParameterAttributes_t /* System.Reflection.GenericParameterAttributes */ +System_Type_GenericParameterAttributes_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_TypeAttributes_t /* System.Reflection.TypeAttributes */ +System_Type_Attributes_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsAbstract_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsImport_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsSealed_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsSpecialName_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsClass_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsNestedAssembly_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsNestedFamANDAssem_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsNestedFamily_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsNestedFamORAssem_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsNestedPrivate_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsNestedPublic_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsNotPublic_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsPublic_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsAutoLayout_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsExplicitLayout_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsLayoutSequential_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsAnsiClass_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsAutoClass_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsUnicodeClass_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsCOMObject_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsContextful_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsEnum_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsMarshalByRef_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsPrimitive_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsValueType_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsSignatureType_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsSecurityCritical_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsSecuritySafeCritical_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsSecurityTransparent_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Runtime_InteropServices_StructLayoutAttribute_t /* System.Runtime.InteropServices.StructLayoutAttribute */ +System_Type_StructLayoutAttribute_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_ConstructorInfo_t /* System.Reflection.ConstructorInfo */ +System_Type_TypeInitializer_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ +System_Type_TypeHandle_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Guid_t /* System.Guid */ +System_Type_GUID_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Type_BaseType_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_Binder_t /* System.Reflection.Binder */ +System_Type_DefaultBinder_Get( + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsSerializable_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_ContainsGenericParameters_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Type_IsVisible_Get( + System_Type_t /* System.Type */ self, + System_Exception_t* /* System.Exception */ outException +); + + +wchar_t /* System.Char */ +System_Type_Delimiter_Get( + void +); + + +System_Type_Array_t /* System.Type[] */ +System_Type_EmptyTypes_Get( + void +); + + +System_Object_t /* System.Object */ +System_Type_Missing_Get( + void +); + + +System_Reflection_MemberFilter_t /* System.Reflection.MemberFilter */ +System_Type_FilterAttribute_Get( + void +); + + +System_Reflection_MemberFilter_t /* System.Reflection.MemberFilter */ +System_Type_FilterName_Get( + void +); + + +System_Reflection_MemberFilter_t /* System.Reflection.MemberFilter */ +System_Type_FilterNameIgnoreCase_Get( + void +); + + +System_Type_t _Nonnull /* System.Type */ +System_Type_TypeOf( + void +); + +void /* System.Void */ +System_Type_Destroy( + System_Type_t /* System.Type */ self +); + +#pragma mark - END APIs of System.Type + +#pragma mark - BEGIN APIs of System.Reflection.MemberInfo +bool /* System.Boolean */ +System_Reflection_MemberInfo_HasSameMetadataDefinitionAs( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self, + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ other, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_MemberInfo_IsDefined( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_Array_t /* System.Object[] */ +System_Reflection_MemberInfo_GetCustomAttributes( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_Array_t /* System.Object[] */ +System_Reflection_MemberInfo_GetCustomAttributes_1( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_MemberInfo_Equals( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Reflection_MemberInfo_GetHashCode( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberTypes_t /* System.Reflection.MemberTypes */ +System_Reflection_MemberInfo_MemberType_Get( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_MemberInfo_Name_Get( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Reflection_MemberInfo_DeclaringType_Get( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Reflection_MemberInfo_ReflectedType_Get( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_Module_t /* System.Reflection.Module */ +System_Reflection_MemberInfo_Module_Get( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MemberInfo_IsCollectible_Get( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Reflection_MemberInfo_MetadataToken_Get( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_MemberInfo_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_MemberInfo_Destroy( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ self +); + +#pragma mark - END APIs of System.Reflection.MemberInfo + +#pragma mark - BEGIN APIs of System.Reflection.ICustomAttributeProvider +System_Object_Array_t /* System.Object[] */ +System_Reflection_ICustomAttributeProvider_GetCustomAttributes( + System_Reflection_ICustomAttributeProvider_t /* System.Reflection.ICustomAttributeProvider */ self, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_Array_t /* System.Object[] */ +System_Reflection_ICustomAttributeProvider_GetCustomAttributes_1( + System_Reflection_ICustomAttributeProvider_t /* System.Reflection.ICustomAttributeProvider */ self, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_ICustomAttributeProvider_IsDefined( + System_Reflection_ICustomAttributeProvider_t /* System.Reflection.ICustomAttributeProvider */ self, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_ICustomAttributeProvider_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_ICustomAttributeProvider_Destroy( + System_Reflection_ICustomAttributeProvider_t /* System.Reflection.ICustomAttributeProvider */ self +); + +#pragma mark - END APIs of System.Reflection.ICustomAttributeProvider + +#pragma mark - BEGIN APIs of System.Object[] +#pragma mark - END APIs of System.Object[] + +#pragma mark - BEGIN APIs of System.Array +void /* System.Void */ +System_Array_ConstrainedCopy( + System_Array_t /* System.Array */ sourceArray, + int32_t /* System.Int32 */ sourceIndex, + System_Array_t /* System.Array */ destinationArray, + int32_t /* System.Int32 */ destinationIndex, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Clear( + System_Array_t /* System.Array */ array, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Clear_1( + System_Array_t /* System.Array */ array, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_GetLength( + System_Array_t /* System.Array */ self, + int32_t /* System.Int32 */ dimension, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_GetUpperBound( + System_Array_t /* System.Array */ self, + int32_t /* System.Int32 */ dimension, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_GetLowerBound( + System_Array_t /* System.Array */ self, + int32_t /* System.Int32 */ dimension, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Initialize( + System_Array_t /* System.Array */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Array_CreateInstance( + System_Type_t /* System.Type */ elementType, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Array_CreateInstance_1( + System_Type_t /* System.Type */ elementType, + int32_t /* System.Int32 */ length1, + int32_t /* System.Int32 */ length2, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Array_CreateInstance_2( + System_Type_t /* System.Type */ elementType, + int32_t /* System.Int32 */ length1, + int32_t /* System.Int32 */ length2, + int32_t /* System.Int32 */ length3, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Array_CreateInstance_3( + System_Type_t /* System.Type */ elementType, + System_Int32_Array_t /* System.Int32[] */ lengths, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Array_CreateInstance_4( + System_Type_t /* System.Type */ elementType, + System_Int32_Array_t /* System.Int32[] */ lengths, + System_Int32_Array_t /* System.Int32[] */ lowerBounds, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Array_CreateInstance_5( + System_Type_t /* System.Type */ elementType, + System_Int64_Array_t /* System.Int64[] */ lengths, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Copy( + System_Array_t /* System.Array */ sourceArray, + System_Array_t /* System.Array */ destinationArray, + int64_t /* System.Int64 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Copy_1( + System_Array_t /* System.Array */ sourceArray, + int64_t /* System.Int64 */ sourceIndex, + System_Array_t /* System.Array */ destinationArray, + int64_t /* System.Int64 */ destinationIndex, + int64_t /* System.Int64 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Copy_2( + System_Array_t /* System.Array */ sourceArray, + System_Array_t /* System.Array */ destinationArray, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Copy_3( + System_Array_t /* System.Array */ sourceArray, + int32_t /* System.Int32 */ sourceIndex, + System_Array_t /* System.Array */ destinationArray, + int32_t /* System.Int32 */ destinationIndex, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Array_GetValue( + System_Array_t /* System.Array */ self, + System_Int32_Array_t /* System.Int32[] */ indices, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Array_GetValue_1( + System_Array_t /* System.Array */ self, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Array_GetValue_2( + System_Array_t /* System.Array */ self, + int32_t /* System.Int32 */ index1, + int32_t /* System.Int32 */ index2, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Array_GetValue_3( + System_Array_t /* System.Array */ self, + int32_t /* System.Int32 */ index1, + int32_t /* System.Int32 */ index2, + int32_t /* System.Int32 */ index3, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_SetValue( + System_Array_t /* System.Array */ self, + System_Object_t /* System.Object */ value, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_SetValue_1( + System_Array_t /* System.Array */ self, + System_Object_t /* System.Object */ value, + int32_t /* System.Int32 */ index1, + int32_t /* System.Int32 */ index2, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_SetValue_2( + System_Array_t /* System.Array */ self, + System_Object_t /* System.Object */ value, + int32_t /* System.Int32 */ index1, + int32_t /* System.Int32 */ index2, + int32_t /* System.Int32 */ index3, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_SetValue_3( + System_Array_t /* System.Array */ self, + System_Object_t /* System.Object */ value, + System_Int32_Array_t /* System.Int32[] */ indices, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Array_GetValue_4( + System_Array_t /* System.Array */ self, + int64_t /* System.Int64 */ index, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Array_GetValue_5( + System_Array_t /* System.Array */ self, + int64_t /* System.Int64 */ index1, + int64_t /* System.Int64 */ index2, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Array_GetValue_6( + System_Array_t /* System.Array */ self, + int64_t /* System.Int64 */ index1, + int64_t /* System.Int64 */ index2, + int64_t /* System.Int64 */ index3, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Array_GetValue_7( + System_Array_t /* System.Array */ self, + System_Int64_Array_t /* System.Int64[] */ indices, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_SetValue_4( + System_Array_t /* System.Array */ self, + System_Object_t /* System.Object */ value, + int64_t /* System.Int64 */ index, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_SetValue_5( + System_Array_t /* System.Array */ self, + System_Object_t /* System.Object */ value, + int64_t /* System.Int64 */ index1, + int64_t /* System.Int64 */ index2, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_SetValue_6( + System_Array_t /* System.Array */ self, + System_Object_t /* System.Object */ value, + int64_t /* System.Int64 */ index1, + int64_t /* System.Int64 */ index2, + int64_t /* System.Int64 */ index3, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_SetValue_7( + System_Array_t /* System.Array */ self, + System_Object_t /* System.Object */ value, + System_Int64_Array_t /* System.Int64[] */ indices, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_Array_GetLongLength( + System_Array_t /* System.Array */ self, + int32_t /* System.Int32 */ dimension, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Array_Clone( + System_Array_t /* System.Array */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_BinarySearch( + System_Array_t /* System.Array */ array, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_BinarySearch_1( + System_Array_t /* System.Array */ array, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ length, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_BinarySearch_2( + System_Array_t /* System.Array */ array, + System_Object_t /* System.Object */ value, + System_Collections_IComparer_t /* System.Collections.IComparer */ comparer, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_BinarySearch_3( + System_Array_t /* System.Array */ array, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ length, + System_Object_t /* System.Object */ value, + System_Collections_IComparer_t /* System.Collections.IComparer */ comparer, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_CopyTo( + System_Array_t /* System.Array */ self, + System_Array_t /* System.Array */ array, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_CopyTo_1( + System_Array_t /* System.Array */ self, + System_Array_t /* System.Array */ array, + int64_t /* System.Int64 */ index, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Array_Empty_A1( + System_Type_t /* System.Type */ T, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_IndexOf( + System_Array_t /* System.Array */ array, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_IndexOf_1( + System_Array_t /* System.Array */ array, + System_Object_t /* System.Object */ value, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_IndexOf_2( + System_Array_t /* System.Array */ array, + System_Object_t /* System.Object */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_LastIndexOf( + System_Array_t /* System.Array */ array, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_LastIndexOf_1( + System_Array_t /* System.Array */ array, + System_Object_t /* System.Object */ value, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_LastIndexOf_2( + System_Array_t /* System.Array */ array, + System_Object_t /* System.Object */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Reverse( + System_Array_t /* System.Array */ array, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Reverse_1( + System_Array_t /* System.Array */ array, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Reverse_A1( + System_Type_t /* System.Type */ T, + System_Array_t /* System.Array */ array, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Reverse_A1_1( + System_Type_t /* System.Type */ T, + System_Array_t /* System.Array */ array, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Sort( + System_Array_t /* System.Array */ array, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Sort_1( + System_Array_t /* System.Array */ keys, + System_Array_t /* System.Array */ items, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Sort_2( + System_Array_t /* System.Array */ array, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Sort_3( + System_Array_t /* System.Array */ keys, + System_Array_t /* System.Array */ items, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Sort_4( + System_Array_t /* System.Array */ array, + System_Collections_IComparer_t /* System.Collections.IComparer */ comparer, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Sort_5( + System_Array_t /* System.Array */ keys, + System_Array_t /* System.Array */ items, + System_Collections_IComparer_t /* System.Collections.IComparer */ comparer, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Sort_6( + System_Array_t /* System.Array */ array, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ length, + System_Collections_IComparer_t /* System.Collections.IComparer */ comparer, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Sort_7( + System_Array_t /* System.Array */ keys, + System_Array_t /* System.Array */ items, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ length, + System_Collections_IComparer_t /* System.Collections.IComparer */ comparer, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Sort_A1( + System_Type_t /* System.Type */ T, + System_Array_t /* System.Array */ array, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Sort_A2( + System_Type_t /* System.Type */ TKey, + System_Type_t /* System.Type */ TValue, + System_Array_t /* System.Array */ keys, + System_Array_t /* System.Array */ items, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Sort_A1_1( + System_Type_t /* System.Type */ T, + System_Array_t /* System.Array */ array, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Array_Sort_A2_1( + System_Type_t /* System.Type */ TKey, + System_Type_t /* System.Type */ TValue, + System_Array_t /* System.Array */ keys, + System_Array_t /* System.Array */ items, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +System_Collections_IEnumerator_t /* System.Collections.IEnumerator */ +System_Array_GetEnumerator( + System_Array_t /* System.Array */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Array_Length_Get( + System_Array_t /* System.Array */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int64_t /* System.Int64 */ +System_Array_LongLength_Get( + System_Array_t /* System.Array */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Array_Rank_Get( + System_Array_t /* System.Array */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Object_t /* System.Object */ +System_Array_SyncRoot_Get( + System_Array_t /* System.Array */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Array_IsReadOnly_Get( + System_Array_t /* System.Array */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Array_IsFixedSize_Get( + System_Array_t /* System.Array */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Array_IsSynchronized_Get( + System_Array_t /* System.Array */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Array_MaxLength_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Array_TypeOf( + void +); + +void /* System.Void */ +System_Array_Destroy( + System_Array_t /* System.Array */ self +); + +#pragma mark - END APIs of System.Array + +#pragma mark - BEGIN APIs of System.ICloneable +System_Object_t /* System.Object */ +System_ICloneable_Clone( + System_ICloneable_t /* System.ICloneable */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_ICloneable_TypeOf( + void +); + +void /* System.Void */ +System_ICloneable_Destroy( + System_ICloneable_t /* System.ICloneable */ self +); + +#pragma mark - END APIs of System.ICloneable + +#pragma mark - BEGIN APIs of System.Collections.IList +int32_t /* System.Int32 */ +System_Collections_IList_Add( + System_Collections_IList_t /* System.Collections.IList */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Collections_IList_Contains( + System_Collections_IList_t /* System.Collections.IList */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Collections_IList_Clear( + System_Collections_IList_t /* System.Collections.IList */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Collections_IList_IndexOf( + System_Collections_IList_t /* System.Collections.IList */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Collections_IList_Insert( + System_Collections_IList_t /* System.Collections.IList */ self, + int32_t /* System.Int32 */ index, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Collections_IList_Remove( + System_Collections_IList_t /* System.Collections.IList */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Collections_IList_RemoveAt( + System_Collections_IList_t /* System.Collections.IList */ self, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Collections_IList_Item_Get( + System_Collections_IList_t /* System.Collections.IList */ self, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Collections_IList_Item_Set( + System_Collections_IList_t /* System.Collections.IList */ self, + int32_t /* System.Int32 */ index, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Collections_IList_IsReadOnly_Get( + System_Collections_IList_t /* System.Collections.IList */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Collections_IList_IsFixedSize_Get( + System_Collections_IList_t /* System.Collections.IList */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Collections_IList_TypeOf( + void +); + +void /* System.Void */ +System_Collections_IList_Destroy( + System_Collections_IList_t /* System.Collections.IList */ self +); + +#pragma mark - END APIs of System.Collections.IList + +#pragma mark - BEGIN APIs of System.Collections.ICollection +void /* System.Void */ +System_Collections_ICollection_CopyTo( + System_Collections_ICollection_t /* System.Collections.ICollection */ self, + System_Array_t /* System.Array */ array, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Collections_ICollection_Count_Get( + System_Collections_ICollection_t /* System.Collections.ICollection */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Object_t /* System.Object */ +System_Collections_ICollection_SyncRoot_Get( + System_Collections_ICollection_t /* System.Collections.ICollection */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Collections_ICollection_IsSynchronized_Get( + System_Collections_ICollection_t /* System.Collections.ICollection */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Collections_ICollection_TypeOf( + void +); + +void /* System.Void */ +System_Collections_ICollection_Destroy( + System_Collections_ICollection_t /* System.Collections.ICollection */ self +); + +#pragma mark - END APIs of System.Collections.ICollection + +#pragma mark - BEGIN APIs of System.Collections.IEnumerable +System_Collections_IEnumerator_t /* System.Collections.IEnumerator */ +System_Collections_IEnumerable_GetEnumerator( + System_Collections_IEnumerable_t /* System.Collections.IEnumerable */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Collections_IEnumerable_TypeOf( + void +); + +void /* System.Void */ +System_Collections_IEnumerable_Destroy( + System_Collections_IEnumerable_t /* System.Collections.IEnumerable */ self +); + +#pragma mark - END APIs of System.Collections.IEnumerable + +#pragma mark - BEGIN APIs of System.Collections.IEnumerator +bool /* System.Boolean */ +System_Collections_IEnumerator_MoveNext( + System_Collections_IEnumerator_t /* System.Collections.IEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Collections_IEnumerator_Reset( + System_Collections_IEnumerator_t /* System.Collections.IEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Collections_IEnumerator_Current_Get( + System_Collections_IEnumerator_t /* System.Collections.IEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Collections_IEnumerator_TypeOf( + void +); + +void /* System.Void */ +System_Collections_IEnumerator_Destroy( + System_Collections_IEnumerator_t /* System.Collections.IEnumerator */ self +); + +#pragma mark - END APIs of System.Collections.IEnumerator + +#pragma mark - BEGIN APIs of System.Boolean +System_Type_t _Nonnull /* System.Type */ +System_Boolean_TypeOf( + void +); + +#pragma mark - END APIs of System.Boolean + +#pragma mark - BEGIN APIs of System.ValueType +bool /* System.Boolean */ +System_ValueType_Equals( + System_ValueType_t /* System.ValueType */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_ValueType_GetHashCode( + System_ValueType_t /* System.ValueType */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_ValueType_ToString( + System_ValueType_t /* System.ValueType */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_ValueType_TypeOf( + void +); + +void /* System.Void */ +System_ValueType_Destroy( + System_ValueType_t /* System.ValueType */ self +); + +#pragma mark - END APIs of System.ValueType + +#pragma mark - BEGIN APIs of System.Int32 +System_Type_t _Nonnull /* System.Type */ +System_Int32_TypeOf( + void +); + +#pragma mark - END APIs of System.Int32 + +#pragma mark - BEGIN APIs of System.IComparable +int32_t /* System.Int32 */ +System_IComparable_CompareTo( + System_IComparable_t /* System.IComparable */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_IComparable_TypeOf( + void +); + +void /* System.Void */ +System_IComparable_Destroy( + System_IComparable_t /* System.IComparable */ self +); + +#pragma mark - END APIs of System.IComparable + +#pragma mark - BEGIN APIs of System.IConvertible +System_TypeCode_t /* System.TypeCode */ +System_IConvertible_GetTypeCode( + System_IConvertible_t /* System.IConvertible */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_IConvertible_ToBoolean( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +wchar_t /* System.Char */ +System_IConvertible_ToChar( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +int8_t /* System.SByte */ +System_IConvertible_ToSByte( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +uint8_t /* System.Byte */ +System_IConvertible_ToByte( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +int16_t /* System.Int16 */ +System_IConvertible_ToInt16( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +uint16_t /* System.UInt16 */ +System_IConvertible_ToUInt16( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_IConvertible_ToInt32( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +uint32_t /* System.UInt32 */ +System_IConvertible_ToUInt32( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_IConvertible_ToInt64( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +uint64_t /* System.UInt64 */ +System_IConvertible_ToUInt64( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +float /* System.Single */ +System_IConvertible_ToSingle( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +double /* System.Double */ +System_IConvertible_ToDouble( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_IConvertible_ToDecimal( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_IConvertible_ToDateTime( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_IConvertible_ToString( + System_IConvertible_t /* System.IConvertible */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_IConvertible_ToType( + System_IConvertible_t /* System.IConvertible */ self, + System_Type_t /* System.Type */ conversionType, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_IConvertible_TypeOf( + void +); + +void /* System.Void */ +System_IConvertible_Destroy( + System_IConvertible_t /* System.IConvertible */ self +); + +#pragma mark - END APIs of System.IConvertible + +#pragma mark - BEGIN APIs of System.Enum +System_String_t /* System.String */ +System_Enum_GetName( + System_Type_t /* System.Type */ enumType, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_Enum_GetNames_A1( + System_Type_t /* System.Type */ TEnum, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_Enum_GetNames_1( + System_Type_t /* System.Type */ enumType, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Enum_GetUnderlyingType( + System_Type_t /* System.Type */ enumType, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Enum_GetValues_A1( + System_Type_t /* System.Type */ TEnum, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Enum_GetValues_1( + System_Type_t /* System.Type */ enumType, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Enum_GetValuesAsUnderlyingType_A1( + System_Type_t /* System.Type */ TEnum, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Enum_GetValuesAsUnderlyingType_1( + System_Type_t /* System.Type */ enumType, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Enum_HasFlag( + System_Enum_t /* System.Enum */ self, + System_Enum_t /* System.Enum */ flag, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Enum_IsDefined( + System_Type_t /* System.Type */ enumType, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Enum_Parse( + System_Type_t /* System.Type */ enumType, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Enum_Parse_1( + System_Type_t /* System.Type */ enumType, + System_String_t /* System.String */ value, + bool /* System.Boolean */ ignoreCase, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Enum_TryParse( + System_Type_t /* System.Type */ enumType, + System_String_t /* System.String */ value, + System_Object_t* /* System.Object */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Enum_TryParse_1( + System_Type_t /* System.Type */ enumType, + System_String_t /* System.String */ value, + bool /* System.Boolean */ ignoreCase, + System_Object_t* /* System.Object */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Enum_Equals( + System_Enum_t /* System.Enum */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Enum_GetHashCode( + System_Enum_t /* System.Enum */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Enum_CompareTo( + System_Enum_t /* System.Enum */ self, + System_Object_t /* System.Object */ target, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Enum_ToString( + System_Enum_t /* System.Enum */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Enum_ToString_1( + System_Enum_t /* System.Enum */ self, + System_String_t /* System.String */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Enum_ToString_2( + System_Enum_t /* System.Enum */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Enum_ToString_3( + System_Enum_t /* System.Enum */ self, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Enum_Format( + System_Type_t /* System.Type */ enumType, + System_Object_t /* System.Object */ value, + System_String_t /* System.String */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_TypeCode_t /* System.TypeCode */ +System_Enum_GetTypeCode( + System_Enum_t /* System.Enum */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Enum_ToObject( + System_Type_t /* System.Type */ enumType, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Enum_ToObject_1( + System_Type_t /* System.Type */ enumType, + int8_t /* System.SByte */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Enum_ToObject_2( + System_Type_t /* System.Type */ enumType, + int16_t /* System.Int16 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Enum_ToObject_3( + System_Type_t /* System.Type */ enumType, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Enum_ToObject_4( + System_Type_t /* System.Type */ enumType, + uint8_t /* System.Byte */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Enum_ToObject_5( + System_Type_t /* System.Type */ enumType, + uint16_t /* System.UInt16 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Enum_ToObject_6( + System_Type_t /* System.Type */ enumType, + uint32_t /* System.UInt32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Enum_ToObject_7( + System_Type_t /* System.Type */ enumType, + int64_t /* System.Int64 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Enum_ToObject_8( + System_Type_t /* System.Type */ enumType, + uint64_t /* System.UInt64 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Enum_TypeOf( + void +); + +void /* System.Void */ +System_Enum_Destroy( + System_Enum_t /* System.Enum */ self +); + +#pragma mark - END APIs of System.Enum + +#pragma mark - BEGIN APIs of System.ISpanFormattable +System_Type_t _Nonnull /* System.Type */ +System_ISpanFormattable_TypeOf( + void +); + +void /* System.Void */ +System_ISpanFormattable_Destroy( + System_ISpanFormattable_t /* System.ISpanFormattable */ self +); + +#pragma mark - END APIs of System.ISpanFormattable + +#pragma mark - BEGIN APIs of System.IFormattable +System_String_t /* System.String */ +System_IFormattable_ToString( + System_IFormattable_t /* System.IFormattable */ self, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_IFormattable_TypeOf( + void +); + +void /* System.Void */ +System_IFormattable_Destroy( + System_IFormattable_t /* System.IFormattable */ self +); + +#pragma mark - END APIs of System.IFormattable + +#pragma mark - BEGIN APIs of System.String +System_String_t /* System.String */ +System_String_Intern( + System_String_t /* System.String */ str, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_IsInterned( + System_String_t /* System.String */ str, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_Compare( + System_String_t /* System.String */ strA, + System_String_t /* System.String */ strB, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_Compare_1( + System_String_t /* System.String */ strA, + System_String_t /* System.String */ strB, + bool /* System.Boolean */ ignoreCase, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_Compare_2( + System_String_t /* System.String */ strA, + System_String_t /* System.String */ strB, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_Compare_3( + System_String_t /* System.String */ strA, + System_String_t /* System.String */ strB, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_Compare_4( + System_String_t /* System.String */ strA, + System_String_t /* System.String */ strB, + bool /* System.Boolean */ ignoreCase, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_Compare_5( + System_String_t /* System.String */ strA, + int32_t /* System.Int32 */ indexA, + System_String_t /* System.String */ strB, + int32_t /* System.Int32 */ indexB, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_Compare_6( + System_String_t /* System.String */ strA, + int32_t /* System.Int32 */ indexA, + System_String_t /* System.String */ strB, + int32_t /* System.Int32 */ indexB, + int32_t /* System.Int32 */ length, + bool /* System.Boolean */ ignoreCase, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_Compare_7( + System_String_t /* System.String */ strA, + int32_t /* System.Int32 */ indexA, + System_String_t /* System.String */ strB, + int32_t /* System.Int32 */ indexB, + int32_t /* System.Int32 */ length, + bool /* System.Boolean */ ignoreCase, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_Compare_8( + System_String_t /* System.String */ strA, + int32_t /* System.Int32 */ indexA, + System_String_t /* System.String */ strB, + int32_t /* System.Int32 */ indexB, + int32_t /* System.Int32 */ length, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_Compare_9( + System_String_t /* System.String */ strA, + int32_t /* System.Int32 */ indexA, + System_String_t /* System.String */ strB, + int32_t /* System.Int32 */ indexB, + int32_t /* System.Int32 */ length, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_CompareOrdinal( + System_String_t /* System.String */ strA, + System_String_t /* System.String */ strB, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_CompareOrdinal_1( + System_String_t /* System.String */ strA, + int32_t /* System.Int32 */ indexA, + System_String_t /* System.String */ strB, + int32_t /* System.Int32 */ indexB, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_CompareTo( + System_String_t /* System.String */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_CompareTo_1( + System_String_t /* System.String */ self, + System_String_t /* System.String */ strB, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_EndsWith( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_EndsWith_1( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_EndsWith_2( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + bool /* System.Boolean */ ignoreCase, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_EndsWith_3( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_Equals( + System_String_t /* System.String */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_Equals_1( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_Equals_2( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_Equals_3( + System_String_t /* System.String */ a, + System_String_t /* System.String */ b, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_Equals_4( + System_String_t /* System.String */ a, + System_String_t /* System.String */ b, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_GetHashCode( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_GetHashCode_1( + System_String_t /* System.String */ self, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_StartsWith( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_StartsWith_1( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_StartsWith_2( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + bool /* System.Boolean */ ignoreCase, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_StartsWith_3( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_String_Clone( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Copy( + System_String_t /* System.String */ str, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_String_CopyTo( + System_String_t /* System.String */ self, + int32_t /* System.Int32 */ sourceIndex, + System_Char_Array_t /* System.Char[] */ destination, + int32_t /* System.Int32 */ destinationIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +System_Char_Array_t /* System.Char[] */ +System_String_ToCharArray( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Char_Array_t /* System.Char[] */ +System_String_ToCharArray_1( + System_String_t /* System.String */ self, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_IsNullOrEmpty( + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_IsNullOrWhiteSpace( + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_ToString( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_ToString_1( + System_String_t /* System.String */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_CharEnumerator_t /* System.CharEnumerator */ +System_String_GetEnumerator( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_StringRuneEnumerator_t /* System.Text.StringRuneEnumerator */ +System_String_EnumerateRunes( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_TypeCode_t /* System.TypeCode */ +System_String_GetTypeCode( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_IsNormalized( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_IsNormalized_1( + System_String_t /* System.String */ self, + System_Text_NormalizationForm_t /* System.Text.NormalizationForm */ normalizationForm, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Normalize( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Normalize_1( + System_String_t /* System.String */ self, + System_Text_NormalizationForm_t /* System.Text.NormalizationForm */ normalizationForm, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Concat( + System_Object_t /* System.Object */ arg0, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Concat_1( + System_Object_t /* System.Object */ arg0, + System_Object_t /* System.Object */ arg1, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Concat_2( + System_Object_t /* System.Object */ arg0, + System_Object_t /* System.Object */ arg1, + System_Object_t /* System.Object */ arg2, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Concat_3( + System_Object_Array_t /* System.Object[] */ args, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Concat_4( + System_String_t /* System.String */ str0, + System_String_t /* System.String */ str1, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Concat_5( + System_String_t /* System.String */ str0, + System_String_t /* System.String */ str1, + System_String_t /* System.String */ str2, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Concat_6( + System_String_t /* System.String */ str0, + System_String_t /* System.String */ str1, + System_String_t /* System.String */ str2, + System_String_t /* System.String */ str3, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Concat_7( + System_String_Array_t /* System.String[] */ values, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Format( + System_String_t /* System.String */ format, + System_Object_t /* System.Object */ arg0, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Format_1( + System_String_t /* System.String */ format, + System_Object_t /* System.Object */ arg0, + System_Object_t /* System.Object */ arg1, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Format_2( + System_String_t /* System.String */ format, + System_Object_t /* System.Object */ arg0, + System_Object_t /* System.Object */ arg1, + System_Object_t /* System.Object */ arg2, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Format_3( + System_String_t /* System.String */ format, + System_Object_Array_t /* System.Object[] */ args, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Format_4( + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_String_t /* System.String */ format, + System_Object_t /* System.Object */ arg0, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Format_5( + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_String_t /* System.String */ format, + System_Object_t /* System.Object */ arg0, + System_Object_t /* System.Object */ arg1, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Format_6( + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_String_t /* System.String */ format, + System_Object_t /* System.Object */ arg0, + System_Object_t /* System.Object */ arg1, + System_Object_t /* System.Object */ arg2, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Format_7( + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_String_t /* System.String */ format, + System_Object_Array_t /* System.Object[] */ args, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Format_8( + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Text_CompositeFormat_t /* System.Text.CompositeFormat */ format, + System_Object_Array_t /* System.Object[] */ args, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Insert( + System_String_t /* System.String */ self, + int32_t /* System.Int32 */ startIndex, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Join( + wchar_t /* System.Char */ separator, + System_String_Array_t /* System.String[] */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Join_1( + System_String_t /* System.String */ separator, + System_String_Array_t /* System.String[] */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Join_2( + wchar_t /* System.Char */ separator, + System_String_Array_t /* System.String[] */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Join_3( + System_String_t /* System.String */ separator, + System_String_Array_t /* System.String[] */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Join_4( + wchar_t /* System.Char */ separator, + System_Object_Array_t /* System.Object[] */ values, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Join_5( + System_String_t /* System.String */ separator, + System_Object_Array_t /* System.Object[] */ values, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_PadLeft( + System_String_t /* System.String */ self, + int32_t /* System.Int32 */ totalWidth, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_PadLeft_1( + System_String_t /* System.String */ self, + int32_t /* System.Int32 */ totalWidth, + wchar_t /* System.Char */ paddingChar, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_PadRight( + System_String_t /* System.String */ self, + int32_t /* System.Int32 */ totalWidth, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_PadRight_1( + System_String_t /* System.String */ self, + int32_t /* System.Int32 */ totalWidth, + wchar_t /* System.Char */ paddingChar, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Remove( + System_String_t /* System.String */ self, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Remove_1( + System_String_t /* System.String */ self, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Replace( + System_String_t /* System.String */ self, + System_String_t /* System.String */ oldValue, + System_String_t /* System.String */ newValue, + bool /* System.Boolean */ ignoreCase, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Replace_1( + System_String_t /* System.String */ self, + System_String_t /* System.String */ oldValue, + System_String_t /* System.String */ newValue, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Replace_2( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ oldChar, + wchar_t /* System.Char */ newChar, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Replace_3( + System_String_t /* System.String */ self, + System_String_t /* System.String */ oldValue, + System_String_t /* System.String */ newValue, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_ReplaceLineEndings( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_ReplaceLineEndings_1( + System_String_t /* System.String */ self, + System_String_t /* System.String */ replacementText, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_String_Split( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ separator, + System_StringSplitOptions_t /* System.StringSplitOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_String_Split_1( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ separator, + int32_t /* System.Int32 */ count, + System_StringSplitOptions_t /* System.StringSplitOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_String_Split_2( + System_String_t /* System.String */ self, + System_Char_Array_t /* System.Char[] */ separator, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_String_Split_3( + System_String_t /* System.String */ self, + System_Char_Array_t /* System.Char[] */ separator, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_String_Split_4( + System_String_t /* System.String */ self, + System_Char_Array_t /* System.Char[] */ separator, + System_StringSplitOptions_t /* System.StringSplitOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_String_Split_5( + System_String_t /* System.String */ self, + System_Char_Array_t /* System.Char[] */ separator, + int32_t /* System.Int32 */ count, + System_StringSplitOptions_t /* System.StringSplitOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_String_Split_6( + System_String_t /* System.String */ self, + System_String_t /* System.String */ separator, + System_StringSplitOptions_t /* System.StringSplitOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_String_Split_7( + System_String_t /* System.String */ self, + System_String_t /* System.String */ separator, + int32_t /* System.Int32 */ count, + System_StringSplitOptions_t /* System.StringSplitOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_String_Split_8( + System_String_t /* System.String */ self, + System_String_Array_t /* System.String[] */ separator, + System_StringSplitOptions_t /* System.StringSplitOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_String_Split_9( + System_String_t /* System.String */ self, + System_String_Array_t /* System.String[] */ separator, + int32_t /* System.Int32 */ count, + System_StringSplitOptions_t /* System.StringSplitOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Substring( + System_String_t /* System.String */ self, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Substring_1( + System_String_t /* System.String */ self, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_ToLower( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_ToLower_1( + System_String_t /* System.String */ self, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_ToLowerInvariant( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_ToUpper( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_ToUpper_1( + System_String_t /* System.String */ self, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_ToUpperInvariant( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Trim( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Trim_1( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ trimChar, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Trim_2( + System_String_t /* System.String */ self, + System_Char_Array_t /* System.Char[] */ trimChars, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_TrimStart( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_TrimStart_1( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ trimChar, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_TrimStart_2( + System_String_t /* System.String */ self, + System_Char_Array_t /* System.Char[] */ trimChars, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_TrimEnd( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_TrimEnd_1( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ trimChar, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_TrimEnd_2( + System_String_t /* System.String */ self, + System_Char_Array_t /* System.Char[] */ trimChars, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_Contains( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_Contains_1( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_Contains_2( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_String_Contains_3( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ value, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_IndexOf( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_IndexOf_1( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ value, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_IndexOf_2( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ value, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_IndexOf_3( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_IndexOfAny( + System_String_t /* System.String */ self, + System_Char_Array_t /* System.Char[] */ anyOf, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_IndexOfAny_1( + System_String_t /* System.String */ self, + System_Char_Array_t /* System.Char[] */ anyOf, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_IndexOfAny_2( + System_String_t /* System.String */ self, + System_Char_Array_t /* System.Char[] */ anyOf, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_IndexOf_4( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_IndexOf_5( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_IndexOf_6( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_IndexOf_7( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_IndexOf_8( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_IndexOf_9( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_LastIndexOf( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_LastIndexOf_1( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ value, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_LastIndexOf_2( + System_String_t /* System.String */ self, + wchar_t /* System.Char */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_LastIndexOfAny( + System_String_t /* System.String */ self, + System_Char_Array_t /* System.Char[] */ anyOf, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_LastIndexOfAny_1( + System_String_t /* System.String */ self, + System_Char_Array_t /* System.Char[] */ anyOf, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_LastIndexOfAny_2( + System_String_t /* System.String */ self, + System_Char_Array_t /* System.Char[] */ anyOf, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_LastIndexOf_3( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_LastIndexOf_4( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_LastIndexOf_5( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_LastIndexOf_6( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_LastIndexOf_7( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_String_LastIndexOf_8( + System_String_t /* System.String */ self, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_StringComparison_t /* System.StringComparison */ comparisonType, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Create( + System_Char_Array_t /* System.Char[] */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Create_1( + System_Char_Array_t /* System.Char[] */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_String_Create_2( + wchar_t /* System.Char */ c, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +wchar_t /* System.Char */ +System_String_Chars_Get( + System_String_t /* System.String */ self, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_String_Length_Get( + System_String_t /* System.String */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_String_Empty_Get( + void +); + + +System_Type_t _Nonnull /* System.Type */ +System_String_TypeOf( + void +); + +void /* System.Void */ +System_String_Destroy( + System_String_t /* System.String */ self +); + +#pragma mark - END APIs of System.String + +#pragma mark - BEGIN APIs of System.Globalization.CultureInfo +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_CreateSpecificCulture( + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CultureInfo_Array_t /* System.Globalization.CultureInfo[] */ +System_Globalization_CultureInfo_GetCultures( + System_Globalization_CultureTypes_t /* System.Globalization.CultureTypes */ types, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_CultureInfo_Equals( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CultureInfo_GetHashCode( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_CultureInfo_ToString( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Globalization_CultureInfo_GetFormat( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Type_t /* System.Type */ formatType, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_CultureInfo_ClearCachedData( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_GetConsoleFallbackUICulture( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Globalization_CultureInfo_Clone( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_ReadOnly( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ ci, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_GetCultureInfo( + int32_t /* System.Int32 */ culture, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_GetCultureInfo_1( + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_GetCultureInfo_2( + System_String_t /* System.String */ name, + System_String_t /* System.String */ altName, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_GetCultureInfo_3( + System_String_t /* System.String */ name, + bool /* System.Boolean */ predefinedOnly, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_GetCultureInfoByIetfLanguageTag( + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_Create_1( + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_Create_2( + System_String_t /* System.String */ name, + bool /* System.Boolean */ useUserOverride, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_Create_3( + int32_t /* System.Int32 */ culture, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_Create_4( + int32_t /* System.Int32 */ culture, + bool /* System.Boolean */ useUserOverride, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_CurrentCulture_Get( + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_CultureInfo_CurrentCulture_Set( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_CurrentUICulture_Get( + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_CultureInfo_CurrentUICulture_Set( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_InstalledUICulture_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Get( + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_CultureInfo_DefaultThreadCurrentCulture_Set( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Get( + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_CultureInfo_DefaultThreadCurrentUICulture_Set( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_InvariantCulture_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Globalization_CultureInfo_Parent_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_CultureInfo_LCID_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_CultureInfo_KeyboardLayoutId_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_CultureInfo_Name_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_CultureInfo_IetfLanguageTag_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_CultureInfo_DisplayName_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_CultureInfo_NativeName_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_CultureInfo_EnglishName_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_CultureInfo_TwoLetterISOLanguageName_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_CultureInfo_ThreeLetterISOLanguageName_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_CultureInfo_ThreeLetterWindowsLanguageName_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ +System_Globalization_CultureInfo_CompareInfo_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ +System_Globalization_CultureInfo_TextInfo_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Globalization_CultureInfo_IsNeutralCulture_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_CultureTypes_t /* System.Globalization.CultureTypes */ +System_Globalization_CultureInfo_CultureTypes_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ +System_Globalization_CultureInfo_NumberFormat_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_CultureInfo_NumberFormat_Set( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ +System_Globalization_CultureInfo_DateTimeFormat_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_CultureInfo_DateTimeFormat_Set( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_Calendar_t /* System.Globalization.Calendar */ +System_Globalization_CultureInfo_Calendar_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_Calendar_Array_t /* System.Globalization.Calendar[] */ +System_Globalization_CultureInfo_OptionalCalendars_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Globalization_CultureInfo_UseUserOverride_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Globalization_CultureInfo_IsReadOnly_Get( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Globalization_CultureInfo_TypeOf( + void +); + +void /* System.Void */ +System_Globalization_CultureInfo_Destroy( + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ self +); + +#pragma mark - END APIs of System.Globalization.CultureInfo + +#pragma mark - BEGIN APIs of System.IFormatProvider +System_Object_t /* System.Object */ +System_IFormatProvider_GetFormat( + System_IFormatProvider_t /* System.IFormatProvider */ self, + System_Type_t /* System.Type */ formatType, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_IFormatProvider_TypeOf( + void +); + +void /* System.Void */ +System_IFormatProvider_Destroy( + System_IFormatProvider_t /* System.IFormatProvider */ self +); + +#pragma mark - END APIs of System.IFormatProvider + +#pragma mark - BEGIN APIs of System.Globalization.CultureInfo[] +#pragma mark - END APIs of System.Globalization.CultureInfo[] + +#pragma mark - BEGIN APIs of System.Collections.IStructuralComparable +int32_t /* System.Int32 */ +System_Collections_IStructuralComparable_CompareTo( + System_Collections_IStructuralComparable_t /* System.Collections.IStructuralComparable */ self, + System_Object_t /* System.Object */ other, + System_Collections_IComparer_t /* System.Collections.IComparer */ comparer, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Collections_IStructuralComparable_TypeOf( + void +); + +void /* System.Void */ +System_Collections_IStructuralComparable_Destroy( + System_Collections_IStructuralComparable_t /* System.Collections.IStructuralComparable */ self +); + +#pragma mark - END APIs of System.Collections.IStructuralComparable + +#pragma mark - BEGIN APIs of System.Collections.IComparer +int32_t /* System.Int32 */ +System_Collections_IComparer_Compare( + System_Collections_IComparer_t /* System.Collections.IComparer */ self, + System_Object_t /* System.Object */ x, + System_Object_t /* System.Object */ y, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Collections_IComparer_TypeOf( + void +); + +void /* System.Void */ +System_Collections_IComparer_Destroy( + System_Collections_IComparer_t /* System.Collections.IComparer */ self +); + +#pragma mark - END APIs of System.Collections.IComparer + +#pragma mark - BEGIN APIs of System.Collections.IStructuralEquatable +bool /* System.Boolean */ +System_Collections_IStructuralEquatable_Equals( + System_Collections_IStructuralEquatable_t /* System.Collections.IStructuralEquatable */ self, + System_Object_t /* System.Object */ other, + System_Collections_IEqualityComparer_t /* System.Collections.IEqualityComparer */ comparer, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Collections_IStructuralEquatable_GetHashCode( + System_Collections_IStructuralEquatable_t /* System.Collections.IStructuralEquatable */ self, + System_Collections_IEqualityComparer_t /* System.Collections.IEqualityComparer */ comparer, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Collections_IStructuralEquatable_TypeOf( + void +); + +void /* System.Void */ +System_Collections_IStructuralEquatable_Destroy( + System_Collections_IStructuralEquatable_t /* System.Collections.IStructuralEquatable */ self +); + +#pragma mark - END APIs of System.Collections.IStructuralEquatable + +#pragma mark - BEGIN APIs of System.Collections.IEqualityComparer +bool /* System.Boolean */ +System_Collections_IEqualityComparer_Equals( + System_Collections_IEqualityComparer_t /* System.Collections.IEqualityComparer */ self, + System_Object_t /* System.Object */ x, + System_Object_t /* System.Object */ y, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Collections_IEqualityComparer_GetHashCode( + System_Collections_IEqualityComparer_t /* System.Collections.IEqualityComparer */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Collections_IEqualityComparer_TypeOf( + void +); + +void /* System.Void */ +System_Collections_IEqualityComparer_Destroy( + System_Collections_IEqualityComparer_t /* System.Collections.IEqualityComparer */ self +); + +#pragma mark - END APIs of System.Collections.IEqualityComparer + + +#pragma mark - BEGIN APIs of System.Globalization.CompareInfo +System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ +System_Globalization_CompareInfo_GetCompareInfo( + int32_t /* System.Int32 */ culture, + System_Reflection_Assembly_t /* System.Reflection.Assembly */ assembly, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ +System_Globalization_CompareInfo_GetCompareInfo_1( + System_String_t /* System.String */ name, + System_Reflection_Assembly_t /* System.Reflection.Assembly */ assembly, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ +System_Globalization_CompareInfo_GetCompareInfo_2( + int32_t /* System.Int32 */ culture, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ +System_Globalization_CompareInfo_GetCompareInfo_3( + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_CompareInfo_IsSortable( + wchar_t /* System.Char */ ch, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_CompareInfo_IsSortable_1( + System_String_t /* System.String */ text, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_CompareInfo_IsSortable_2( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_Compare( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ string1, + System_String_t /* System.String */ string2, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_Compare_1( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ string1, + System_String_t /* System.String */ string2, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_Compare_2( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ string1, + int32_t /* System.Int32 */ offset1, + int32_t /* System.Int32 */ length1, + System_String_t /* System.String */ string2, + int32_t /* System.Int32 */ offset2, + int32_t /* System.Int32 */ length2, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_Compare_3( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ string1, + int32_t /* System.Int32 */ offset1, + System_String_t /* System.String */ string2, + int32_t /* System.Int32 */ offset2, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_Compare_4( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ string1, + int32_t /* System.Int32 */ offset1, + System_String_t /* System.String */ string2, + int32_t /* System.Int32 */ offset2, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_Compare_5( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ string1, + int32_t /* System.Int32 */ offset1, + int32_t /* System.Int32 */ length1, + System_String_t /* System.String */ string2, + int32_t /* System.Int32 */ offset2, + int32_t /* System.Int32 */ length2, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_CompareInfo_IsPrefix( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ prefix, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_CompareInfo_IsPrefix_1( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ prefix, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_CompareInfo_IsSuffix( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ suffix, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_CompareInfo_IsSuffix_1( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ suffix, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_IndexOf( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + wchar_t /* System.Char */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_IndexOf_1( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_IndexOf_2( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + wchar_t /* System.Char */ value, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_IndexOf_3( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ value, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_IndexOf_4( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + wchar_t /* System.Char */ value, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_IndexOf_5( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_IndexOf_6( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + wchar_t /* System.Char */ value, + int32_t /* System.Int32 */ startIndex, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_IndexOf_7( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_IndexOf_8( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + wchar_t /* System.Char */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_IndexOf_9( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_IndexOf_10( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + wchar_t /* System.Char */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_IndexOf_11( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_LastIndexOf( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + wchar_t /* System.Char */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_LastIndexOf_1( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_LastIndexOf_2( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + wchar_t /* System.Char */ value, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_LastIndexOf_3( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ value, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_LastIndexOf_4( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + wchar_t /* System.Char */ value, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_LastIndexOf_5( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_LastIndexOf_6( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + wchar_t /* System.Char */ value, + int32_t /* System.Int32 */ startIndex, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_LastIndexOf_7( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_LastIndexOf_8( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + wchar_t /* System.Char */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_LastIndexOf_9( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_LastIndexOf_10( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + wchar_t /* System.Char */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_LastIndexOf_11( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_String_t /* System.String */ value, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ count, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_SortKey_t /* System.Globalization.SortKey */ +System_Globalization_CompareInfo_GetSortKey( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_SortKey_t /* System.Globalization.SortKey */ +System_Globalization_CompareInfo_GetSortKey_1( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_CompareInfo_Equals( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_GetHashCode( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_GetHashCode_1( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_String_t /* System.String */ source, + System_Globalization_CompareOptions_t /* System.Globalization.CompareOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_CompareInfo_ToString( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_CompareInfo_Name_Get( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_SortVersion_t /* System.Globalization.SortVersion */ +System_Globalization_CompareInfo_Version_Get( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_CompareInfo_LCID_Get( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Globalization_CompareInfo_TypeOf( + void +); + +void /* System.Void */ +System_Globalization_CompareInfo_Destroy( + System_Globalization_CompareInfo_t /* System.Globalization.CompareInfo */ self +); + +#pragma mark - END APIs of System.Globalization.CompareInfo + +#pragma mark - BEGIN APIs of System.Runtime.Serialization.IDeserializationCallback +void /* System.Void */ +System_Runtime_Serialization_IDeserializationCallback_OnDeserialization( + System_Runtime_Serialization_IDeserializationCallback_t /* System.Runtime.Serialization.IDeserializationCallback */ self, + System_Object_t /* System.Object */ sender, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_Serialization_IDeserializationCallback_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_Serialization_IDeserializationCallback_Destroy( + System_Runtime_Serialization_IDeserializationCallback_t /* System.Runtime.Serialization.IDeserializationCallback */ self +); + +#pragma mark - END APIs of System.Runtime.Serialization.IDeserializationCallback + +#pragma mark - BEGIN APIs of System.Reflection.Assembly +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_Load( + System_String_t /* System.String */ assemblyString, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_LoadWithPartialName( + System_String_t /* System.String */ partialName, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_Load_1( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ assemblyRef, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_GetExecutingAssembly( + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_GetCallingAssembly( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Reflection_Assembly_GetTypes( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Reflection_Assembly_GetExportedTypes( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Reflection_Assembly_GetForwardedTypes( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_ManifestResourceInfo_t /* System.Reflection.ManifestResourceInfo */ +System_Reflection_Assembly_GetManifestResourceInfo( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_String_t /* System.String */ resourceName, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_Reflection_Assembly_GetManifestResourceNames( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_Stream_t /* System.IO.Stream */ +System_Reflection_Assembly_GetManifestResourceStream( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_Stream_t /* System.IO.Stream */ +System_Reflection_Assembly_GetManifestResourceStream_1( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Type_t /* System.Type */ type, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ +System_Reflection_Assembly_GetName( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ +System_Reflection_Assembly_GetName_1( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + bool /* System.Boolean */ copiedName, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Reflection_Assembly_GetType_1( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Reflection_Assembly_GetType_2( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_String_t /* System.String */ name, + bool /* System.Boolean */ throwOnError, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Reflection_Assembly_GetType_3( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_String_t /* System.String */ name, + bool /* System.Boolean */ throwOnError, + bool /* System.Boolean */ ignoreCase, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_Assembly_IsDefined( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_Array_t /* System.Object[] */ +System_Reflection_Assembly_GetCustomAttributes( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_Array_t /* System.Object[] */ +System_Reflection_Assembly_GetCustomAttributes_1( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_Assembly_CreateInstance( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_String_t /* System.String */ typeName, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_Assembly_CreateInstance_1( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_String_t /* System.String */ typeName, + bool /* System.Boolean */ ignoreCase, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_Assembly_CreateInstance_2( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_String_t /* System.String */ typeName, + bool /* System.Boolean */ ignoreCase, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Object_Array_t /* System.Object[] */ args, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Object_Array_t /* System.Object[] */ activationAttributes, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Module_t /* System.Reflection.Module */ +System_Reflection_Assembly_GetModule( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Module_Array_t /* System.Reflection.Module[] */ +System_Reflection_Assembly_GetModules( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Module_Array_t /* System.Reflection.Module[] */ +System_Reflection_Assembly_GetModules_1( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + bool /* System.Boolean */ getResourceModules, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Module_Array_t /* System.Reflection.Module[] */ +System_Reflection_Assembly_GetLoadedModules( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Module_Array_t /* System.Reflection.Module[] */ +System_Reflection_Assembly_GetLoadedModules_1( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + bool /* System.Boolean */ getResourceModules, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_AssemblyName_Array_t /* System.Reflection.AssemblyName[] */ +System_Reflection_Assembly_GetReferencedAssemblies( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_GetSatelliteAssembly( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_GetSatelliteAssembly_1( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Version_t /* System.Version */ version, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_Reflection_Assembly_GetFile( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_Array_t /* System.IO.FileStream[] */ +System_Reflection_Assembly_GetFiles( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_Array_t /* System.IO.FileStream[] */ +System_Reflection_Assembly_GetFiles_1( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + bool /* System.Boolean */ getResourceModules, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_Assembly_GetObjectData( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ info, + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ context, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Reflection_Assembly_ToString( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_Assembly_Equals( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Object_t /* System.Object */ o, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Reflection_Assembly_GetHashCode( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Reflection_Assembly_CreateQualifiedName( + System_String_t /* System.String */ assemblyName, + System_String_t /* System.String */ typeName, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_GetAssembly( + System_Type_t /* System.Type */ type, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_GetEntryAssembly( + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_Load_2( + System_Byte_Array_t /* System.Byte[] */ rawAssembly, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_Load_3( + System_Byte_Array_t /* System.Byte[] */ rawAssembly, + System_Byte_Array_t /* System.Byte[] */ rawSymbolStore, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_LoadFile( + System_String_t /* System.String */ path, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_LoadFrom( + System_String_t /* System.String */ assemblyFile, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_LoadFrom_1( + System_String_t /* System.String */ assemblyFile, + System_Byte_Array_t /* System.Byte[] */ hashValue, + System_Configuration_Assemblies_AssemblyHashAlgorithm_t /* System.Configuration.Assemblies.AssemblyHashAlgorithm */ hashAlgorithm, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_UnsafeLoadFrom( + System_String_t /* System.String */ assemblyFile, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Module_t /* System.Reflection.Module */ +System_Reflection_Assembly_LoadModule( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_String_t /* System.String */ moduleName, + System_Byte_Array_t /* System.Byte[] */ rawModule, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Module_t /* System.Reflection.Module */ +System_Reflection_Assembly_LoadModule_1( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_String_t /* System.String */ moduleName, + System_Byte_Array_t /* System.Byte[] */ rawModule, + System_Byte_Array_t /* System.Byte[] */ rawSymbolStore, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_ReflectionOnlyLoad( + System_Byte_Array_t /* System.Byte[] */ rawAssembly, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_ReflectionOnlyLoad_1( + System_String_t /* System.String */ assemblyString, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Assembly_ReflectionOnlyLoadFrom( + System_String_t /* System.String */ assemblyFile, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Reflection_Assembly_CodeBase_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_Assembly_EntryPoint_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_Assembly_FullName_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_Assembly_ImageRuntimeVersion_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_Assembly_IsDynamic_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_Assembly_Location_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_Assembly_ReflectionOnly_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_Assembly_IsCollectible_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_Assembly_IsFullyTrusted_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_Assembly_EscapedCodeBase_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_Module_t /* System.Reflection.Module */ +System_Reflection_Assembly_ManifestModule_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_Assembly_GlobalAssemblyCache_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int64_t /* System.Int64 */ +System_Reflection_Assembly_HostContext_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Security_SecurityRuleSet_t /* System.Security.SecurityRuleSet */ +System_Reflection_Assembly_SecurityRuleSet_Get( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +void /* System.Void */ +System_Reflection_Assembly_ModuleResolve_Add( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Reflection_ModuleResolveEventHandler_t /* System.Reflection.ModuleResolveEventHandler */ value +); + +void /* System.Void */ +System_Reflection_Assembly_ModuleResolve_Remove( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self, + System_Reflection_ModuleResolveEventHandler_t /* System.Reflection.ModuleResolveEventHandler */ value +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_Assembly_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_Assembly_Destroy( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ self +); + +#pragma mark - END APIs of System.Reflection.Assembly + +#pragma mark - BEGIN APIs of System.Runtime.Serialization.ISerializable +void /* System.Void */ +System_Runtime_Serialization_ISerializable_GetObjectData( + System_Runtime_Serialization_ISerializable_t /* System.Runtime.Serialization.ISerializable */ self, + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ info, + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ context, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_Serialization_ISerializable_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_Serialization_ISerializable_Destroy( + System_Runtime_Serialization_ISerializable_t /* System.Runtime.Serialization.ISerializable */ self +); + +#pragma mark - END APIs of System.Runtime.Serialization.ISerializable + +#pragma mark - BEGIN APIs of System.Runtime.Serialization.SerializationInfo +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_SetType( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_Type_t /* System.Type */ type, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_Serialization_SerializationInfoEnumerator_t /* System.Runtime.Serialization.SerializationInfoEnumerator */ +System_Runtime_Serialization_SerializationInfo_GetEnumerator( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Object_t /* System.Object */ value, + System_Type_t /* System.Type */ type, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_1( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_2( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + bool /* System.Boolean */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_3( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + wchar_t /* System.Char */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_4( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + int8_t /* System.SByte */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_5( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + uint8_t /* System.Byte */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_6( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + int16_t /* System.Int16 */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_7( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + uint16_t /* System.UInt16 */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_8( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_9( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + uint32_t /* System.UInt32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_10( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + int64_t /* System.Int64 */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_11( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + uint64_t /* System.UInt64 */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_12( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + float /* System.Single */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_13( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_14( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AddValue_15( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_DateTime_t /* System.DateTime */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Runtime_Serialization_SerializationInfo_GetValue( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Type_t /* System.Type */ type, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Runtime_Serialization_SerializationInfo_GetBoolean( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +wchar_t /* System.Char */ +System_Runtime_Serialization_SerializationInfo_GetChar( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +int8_t /* System.SByte */ +System_Runtime_Serialization_SerializationInfo_GetSByte( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +uint8_t /* System.Byte */ +System_Runtime_Serialization_SerializationInfo_GetByte( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +int16_t /* System.Int16 */ +System_Runtime_Serialization_SerializationInfo_GetInt16( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +uint16_t /* System.UInt16 */ +System_Runtime_Serialization_SerializationInfo_GetUInt16( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_Serialization_SerializationInfo_GetInt32( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +uint32_t /* System.UInt32 */ +System_Runtime_Serialization_SerializationInfo_GetUInt32( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_Runtime_Serialization_SerializationInfo_GetInt64( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +uint64_t /* System.UInt64 */ +System_Runtime_Serialization_SerializationInfo_GetUInt64( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +float /* System.Single */ +System_Runtime_Serialization_SerializationInfo_GetSingle( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +double /* System.Double */ +System_Runtime_Serialization_SerializationInfo_GetDouble( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Runtime_Serialization_SerializationInfo_GetDecimal( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_Runtime_Serialization_SerializationInfo_GetDateTime( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_Serialization_SerializationInfo_GetString( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ +System_Runtime_Serialization_SerializationInfo_Create( + System_Type_t /* System.Type */ type, + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ converter, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ +System_Runtime_Serialization_SerializationInfo_Create_1( + System_Type_t /* System.Type */ type, + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ converter, + bool /* System.Boolean */ requireSameTokenInPartialTrust, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_Serialization_SerializationInfo_FullTypeName_Get( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_FullTypeName_Set( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Runtime_Serialization_SerializationInfo_AssemblyName_Get( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_AssemblyName_Set( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Runtime_Serialization_SerializationInfo_IsFullTypeNameSetExplicit_Get( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Runtime_Serialization_SerializationInfo_IsAssemblyNameSetExplicit_Get( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Runtime_Serialization_SerializationInfo_MemberCount_Get( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Runtime_Serialization_SerializationInfo_ObjectType_Get( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_Serialization_SerializationInfo_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfo_Destroy( + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ self +); + +#pragma mark - END APIs of System.Runtime.Serialization.SerializationInfo + +#pragma mark - BEGIN APIs of System.Runtime.Serialization.SerializationInfoEnumerator +bool /* System.Boolean */ +System_Runtime_Serialization_SerializationInfoEnumerator_MoveNext( + System_Runtime_Serialization_SerializationInfoEnumerator_t /* System.Runtime.Serialization.SerializationInfoEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfoEnumerator_Reset( + System_Runtime_Serialization_SerializationInfoEnumerator_t /* System.Runtime.Serialization.SerializationInfoEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_Serialization_SerializationEntry_t /* System.Runtime.Serialization.SerializationEntry */ +System_Runtime_Serialization_SerializationInfoEnumerator_Current_Get( + System_Runtime_Serialization_SerializationInfoEnumerator_t /* System.Runtime.Serialization.SerializationInfoEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Runtime_Serialization_SerializationInfoEnumerator_Name_Get( + System_Runtime_Serialization_SerializationInfoEnumerator_t /* System.Runtime.Serialization.SerializationInfoEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Object_t /* System.Object */ +System_Runtime_Serialization_SerializationInfoEnumerator_Value_Get( + System_Runtime_Serialization_SerializationInfoEnumerator_t /* System.Runtime.Serialization.SerializationInfoEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Runtime_Serialization_SerializationInfoEnumerator_ObjectType_Get( + System_Runtime_Serialization_SerializationInfoEnumerator_t /* System.Runtime.Serialization.SerializationInfoEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_Serialization_SerializationInfoEnumerator_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationInfoEnumerator_Destroy( + System_Runtime_Serialization_SerializationInfoEnumerator_t /* System.Runtime.Serialization.SerializationInfoEnumerator */ self +); + +#pragma mark - END APIs of System.Runtime.Serialization.SerializationInfoEnumerator + +#pragma mark - BEGIN APIs of System.Runtime.Serialization.SerializationEntry +System_Object_t /* System.Object */ +System_Runtime_Serialization_SerializationEntry_Value_Get( + System_Runtime_Serialization_SerializationEntry_t /* System.Runtime.Serialization.SerializationEntry */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Runtime_Serialization_SerializationEntry_Name_Get( + System_Runtime_Serialization_SerializationEntry_t /* System.Runtime.Serialization.SerializationEntry */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Runtime_Serialization_SerializationEntry_ObjectType_Get( + System_Runtime_Serialization_SerializationEntry_t /* System.Runtime.Serialization.SerializationEntry */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Runtime_Serialization_SerializationEntry_t /* System.Runtime.Serialization.SerializationEntry */ +System_Runtime_Serialization_SerializationEntry_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_Serialization_SerializationEntry_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_Serialization_SerializationEntry_Destroy( + System_Runtime_Serialization_SerializationEntry_t /* System.Runtime.Serialization.SerializationEntry */ self +); + +#pragma mark - END APIs of System.Runtime.Serialization.SerializationEntry + +#pragma mark - BEGIN APIs of System.Char +System_Type_t _Nonnull /* System.Type */ +System_Char_TypeOf( + void +); + +#pragma mark - END APIs of System.Char + +#pragma mark - BEGIN APIs of System.IUtf8SpanFormattable +System_Type_t _Nonnull /* System.Type */ +System_IUtf8SpanFormattable_TypeOf( + void +); + +void /* System.Void */ +System_IUtf8SpanFormattable_Destroy( + System_IUtf8SpanFormattable_t /* System.IUtf8SpanFormattable */ self +); + +#pragma mark - END APIs of System.IUtf8SpanFormattable + + +#pragma mark - BEGIN APIs of System.Double +System_Type_t _Nonnull /* System.Type */ +System_Double_TypeOf( + void +); + +#pragma mark - END APIs of System.Double + + +#pragma mark - BEGIN APIs of System.SByte +System_Type_t _Nonnull /* System.Type */ +System_SByte_TypeOf( + void +); + +#pragma mark - END APIs of System.SByte + + +#pragma mark - BEGIN APIs of System.Byte +System_Type_t _Nonnull /* System.Type */ +System_Byte_TypeOf( + void +); + +#pragma mark - END APIs of System.Byte + + +#pragma mark - BEGIN APIs of System.Int16 +System_Type_t _Nonnull /* System.Type */ +System_Int16_TypeOf( + void +); + +#pragma mark - END APIs of System.Int16 + + +#pragma mark - BEGIN APIs of System.UInt16 +System_Type_t _Nonnull /* System.Type */ +System_UInt16_TypeOf( + void +); + +#pragma mark - END APIs of System.UInt16 + + +#pragma mark - BEGIN APIs of System.UInt32 +System_Type_t _Nonnull /* System.Type */ +System_UInt32_TypeOf( + void +); + +#pragma mark - END APIs of System.UInt32 + + +#pragma mark - BEGIN APIs of System.Int64 +System_Type_t _Nonnull /* System.Type */ +System_Int64_TypeOf( + void +); + +#pragma mark - END APIs of System.Int64 + + +#pragma mark - BEGIN APIs of System.UInt64 +System_Type_t _Nonnull /* System.Type */ +System_UInt64_TypeOf( + void +); + +#pragma mark - END APIs of System.UInt64 + + +#pragma mark - BEGIN APIs of System.Single +System_Type_t _Nonnull /* System.Type */ +System_Single_TypeOf( + void +); + +#pragma mark - END APIs of System.Single + + +#pragma mark - BEGIN APIs of System.Decimal +System_Decimal_t /* System.Decimal */ +System_Decimal_FromOACurrency( + int64_t /* System.Int64 */ cy, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_Decimal_ToOACurrency( + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Add( + System_Decimal_t /* System.Decimal */ d1, + System_Decimal_t /* System.Decimal */ d2, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Ceiling( + System_Decimal_t /* System.Decimal */ d, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Decimal_Compare( + System_Decimal_t /* System.Decimal */ d1, + System_Decimal_t /* System.Decimal */ d2, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Decimal_CompareTo( + System_Decimal_t /* System.Decimal */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Decimal_CompareTo_1( + System_Decimal_t /* System.Decimal */ self, + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Divide( + System_Decimal_t /* System.Decimal */ d1, + System_Decimal_t /* System.Decimal */ d2, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Decimal_Equals( + System_Decimal_t /* System.Decimal */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Decimal_Equals_1( + System_Decimal_t /* System.Decimal */ self, + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Decimal_GetHashCode( + System_Decimal_t /* System.Decimal */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Decimal_Equals_2( + System_Decimal_t /* System.Decimal */ d1, + System_Decimal_t /* System.Decimal */ d2, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Floor( + System_Decimal_t /* System.Decimal */ d, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Decimal_ToString( + System_Decimal_t /* System.Decimal */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Decimal_ToString_1( + System_Decimal_t /* System.Decimal */ self, + System_String_t /* System.String */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Decimal_ToString_2( + System_Decimal_t /* System.Decimal */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Decimal_ToString_3( + System_Decimal_t /* System.Decimal */ self, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Parse( + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Parse_1( + System_String_t /* System.String */ s, + System_Globalization_NumberStyles_t /* System.Globalization.NumberStyles */ style, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Parse_2( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Parse_3( + System_String_t /* System.String */ s, + System_Globalization_NumberStyles_t /* System.Globalization.NumberStyles */ style, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Decimal_TryParse( + System_String_t /* System.String */ s, + System_Decimal_t* /* System.Decimal */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Decimal_TryParse_1( + System_String_t /* System.String */ s, + System_Globalization_NumberStyles_t /* System.Globalization.NumberStyles */ style, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Decimal_t* /* System.Decimal */ result, + System_Exception_t* /* System.Exception */ outException +); + +System_Int32_Array_t /* System.Int32[] */ +System_Decimal_GetBits( + System_Decimal_t /* System.Decimal */ d, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Remainder( + System_Decimal_t /* System.Decimal */ d1, + System_Decimal_t /* System.Decimal */ d2, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Multiply( + System_Decimal_t /* System.Decimal */ d1, + System_Decimal_t /* System.Decimal */ d2, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Negate( + System_Decimal_t /* System.Decimal */ d, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Round( + System_Decimal_t /* System.Decimal */ d, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Round_1( + System_Decimal_t /* System.Decimal */ d, + int32_t /* System.Int32 */ decimals, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Round_2( + System_Decimal_t /* System.Decimal */ d, + System_MidpointRounding_t /* System.MidpointRounding */ mode, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Round_3( + System_Decimal_t /* System.Decimal */ d, + int32_t /* System.Int32 */ decimals, + System_MidpointRounding_t /* System.MidpointRounding */ mode, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Subtract( + System_Decimal_t /* System.Decimal */ d1, + System_Decimal_t /* System.Decimal */ d2, + System_Exception_t* /* System.Exception */ outException +); + +uint8_t /* System.Byte */ +System_Decimal_ToByte( + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +int8_t /* System.SByte */ +System_Decimal_ToSByte( + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +int16_t /* System.Int16 */ +System_Decimal_ToInt16( + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +double /* System.Double */ +System_Decimal_ToDouble( + System_Decimal_t /* System.Decimal */ d, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Decimal_ToInt32( + System_Decimal_t /* System.Decimal */ d, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_Decimal_ToInt64( + System_Decimal_t /* System.Decimal */ d, + System_Exception_t* /* System.Exception */ outException +); + +uint16_t /* System.UInt16 */ +System_Decimal_ToUInt16( + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +uint32_t /* System.UInt32 */ +System_Decimal_ToUInt32( + System_Decimal_t /* System.Decimal */ d, + System_Exception_t* /* System.Exception */ outException +); + +uint64_t /* System.UInt64 */ +System_Decimal_ToUInt64( + System_Decimal_t /* System.Decimal */ d, + System_Exception_t* /* System.Exception */ outException +); + +float /* System.Single */ +System_Decimal_ToSingle( + System_Decimal_t /* System.Decimal */ d, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Truncate( + System_Decimal_t /* System.Decimal */ d, + System_Exception_t* /* System.Exception */ outException +); + +System_TypeCode_t /* System.TypeCode */ +System_Decimal_GetTypeCode( + System_Decimal_t /* System.Decimal */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Clamp( + System_Decimal_t /* System.Decimal */ value, + System_Decimal_t /* System.Decimal */ min, + System_Decimal_t /* System.Decimal */ max, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_CopySign( + System_Decimal_t /* System.Decimal */ value, + System_Decimal_t /* System.Decimal */ sign, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Max( + System_Decimal_t /* System.Decimal */ x, + System_Decimal_t /* System.Decimal */ y, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Min( + System_Decimal_t /* System.Decimal */ x, + System_Decimal_t /* System.Decimal */ y, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Decimal_Sign( + System_Decimal_t /* System.Decimal */ d, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Abs( + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Decimal_IsCanonical( + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Decimal_IsEvenInteger( + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Decimal_IsInteger( + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Decimal_IsNegative( + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Decimal_IsOddInteger( + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Decimal_IsPositive( + System_Decimal_t /* System.Decimal */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_MaxMagnitude( + System_Decimal_t /* System.Decimal */ x, + System_Decimal_t /* System.Decimal */ y, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_MinMagnitude( + System_Decimal_t /* System.Decimal */ x, + System_Decimal_t /* System.Decimal */ y, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Decimal_TryParse_2( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Decimal_t* /* System.Decimal */ result, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Create( + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Create_1( + uint32_t /* System.UInt32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Create_2( + int64_t /* System.Int64 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Create_3( + uint64_t /* System.UInt64 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Create_4( + float /* System.Single */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Create_5( + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Create_6( + System_Int32_Array_t /* System.Int32[] */ bits, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Decimal_Create_7( + int32_t /* System.Int32 */ lo, + int32_t /* System.Int32 */ mid, + int32_t /* System.Int32 */ hi, + bool /* System.Boolean */ isNegative, + uint8_t /* System.Byte */ scale, + System_Exception_t* /* System.Exception */ outException +); + +uint8_t /* System.Byte */ +System_Decimal_Scale_Get( + System_Decimal_t /* System.Decimal */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Decimal_t /* System.Decimal */ +System_Decimal_Zero_Get( + void +); + + +System_Decimal_t /* System.Decimal */ +System_Decimal_One_Get( + void +); + + +System_Decimal_t /* System.Decimal */ +System_Decimal_MinusOne_Get( + void +); + + +System_Decimal_t /* System.Decimal */ +System_Decimal_MaxValue_Get( + void +); + + +System_Decimal_t /* System.Decimal */ +System_Decimal_MinValue_Get( + void +); + + +System_Decimal_t /* System.Decimal */ +System_Decimal_Create_8( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Decimal_TypeOf( + void +); + +void /* System.Void */ +System_Decimal_Destroy( + System_Decimal_t /* System.Decimal */ self +); + +#pragma mark - END APIs of System.Decimal + + +#pragma mark - BEGIN APIs of System.Int32[] +#pragma mark - END APIs of System.Int32[] + +#pragma mark - BEGIN APIs of System.DateTime +System_DateTime_t /* System.DateTime */ +System_DateTime_Add( + System_DateTime_t /* System.DateTime */ self, + System_TimeSpan_t /* System.TimeSpan */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_AddDays( + System_DateTime_t /* System.DateTime */ self, + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_AddHours( + System_DateTime_t /* System.DateTime */ self, + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_AddMilliseconds( + System_DateTime_t /* System.DateTime */ self, + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_AddMicroseconds( + System_DateTime_t /* System.DateTime */ self, + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_AddMinutes( + System_DateTime_t /* System.DateTime */ self, + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_AddMonths( + System_DateTime_t /* System.DateTime */ self, + int32_t /* System.Int32 */ months, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_AddSeconds( + System_DateTime_t /* System.DateTime */ self, + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_AddTicks( + System_DateTime_t /* System.DateTime */ self, + int64_t /* System.Int64 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_AddYears( + System_DateTime_t /* System.DateTime */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_DateTime_Compare( + System_DateTime_t /* System.DateTime */ t1, + System_DateTime_t /* System.DateTime */ t2, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_DateTime_CompareTo( + System_DateTime_t /* System.DateTime */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_DateTime_CompareTo_1( + System_DateTime_t /* System.DateTime */ self, + System_DateTime_t /* System.DateTime */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_DateTime_DaysInMonth( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTime_Equals( + System_DateTime_t /* System.DateTime */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTime_Equals_1( + System_DateTime_t /* System.DateTime */ self, + System_DateTime_t /* System.DateTime */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTime_Equals_2( + System_DateTime_t /* System.DateTime */ t1, + System_DateTime_t /* System.DateTime */ t2, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_FromBinary( + int64_t /* System.Int64 */ dateData, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_FromFileTime( + int64_t /* System.Int64 */ fileTime, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_FromFileTimeUtc( + int64_t /* System.Int64 */ fileTime, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_FromOADate( + double /* System.Double */ d, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTime_IsDaylightSavingTime( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_SpecifyKind( + System_DateTime_t /* System.DateTime */ value, + System_DateTimeKind_t /* System.DateTimeKind */ kind, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_DateTime_ToBinary( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_DateTime_GetHashCode( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTime_IsLeapYear( + int32_t /* System.Int32 */ year, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Parse( + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Parse_1( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Parse_2( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ styles, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_ParseExact( + System_String_t /* System.String */ s, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_ParseExact_1( + System_String_t /* System.String */ s, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_ParseExact_2( + System_String_t /* System.String */ s, + System_String_Array_t /* System.String[] */ formats, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_DateTime_Subtract( + System_DateTime_t /* System.DateTime */ self, + System_DateTime_t /* System.DateTime */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Subtract_1( + System_DateTime_t /* System.DateTime */ self, + System_TimeSpan_t /* System.TimeSpan */ value, + System_Exception_t* /* System.Exception */ outException +); + +double /* System.Double */ +System_DateTime_ToOADate( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_DateTime_ToFileTime( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_DateTime_ToFileTimeUtc( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_ToLocalTime( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateTime_ToLongDateString( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateTime_ToLongTimeString( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateTime_ToShortDateString( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateTime_ToShortTimeString( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateTime_ToString( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateTime_ToString_1( + System_DateTime_t /* System.DateTime */ self, + System_String_t /* System.String */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateTime_ToString_2( + System_DateTime_t /* System.DateTime */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateTime_ToString_3( + System_DateTime_t /* System.DateTime */ self, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_ToUniversalTime( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTime_TryParse( + System_String_t /* System.String */ s, + System_DateTime_t* /* System.DateTime */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTime_TryParse_1( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ styles, + System_DateTime_t* /* System.DateTime */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTime_TryParseExact( + System_String_t /* System.String */ s, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_DateTime_t* /* System.DateTime */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTime_TryParseExact_1( + System_String_t /* System.String */ s, + System_String_Array_t /* System.String[] */ formats, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_DateTime_t* /* System.DateTime */ result, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_DateTime_Deconstruct( + System_DateTime_t /* System.DateTime */ self, + System_DateOnly_t* /* System.DateOnly */ date, + System_TimeOnly_t* /* System.TimeOnly */ time, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_DateTime_Deconstruct_1( + System_DateTime_t /* System.DateTime */ self, + int32_t* /* System.Int32 */ year, + int32_t* /* System.Int32 */ month, + int32_t* /* System.Int32 */ day, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_DateTime_GetDateTimeFormats( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_DateTime_GetDateTimeFormats_1( + System_DateTime_t /* System.DateTime */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_DateTime_GetDateTimeFormats_2( + System_DateTime_t /* System.DateTime */ self, + wchar_t /* System.Char */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_DateTime_GetDateTimeFormats_3( + System_DateTime_t /* System.DateTime */ self, + wchar_t /* System.Char */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_TypeCode_t /* System.TypeCode */ +System_DateTime_GetTypeCode( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTime_TryParse_2( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_DateTime_t* /* System.DateTime */ result, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create( + int64_t /* System.Int64 */ ticks, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_1( + int64_t /* System.Int64 */ ticks, + System_DateTimeKind_t /* System.DateTimeKind */ kind, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_2( + System_DateOnly_t /* System.DateOnly */ date, + System_TimeOnly_t /* System.TimeOnly */ time, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_3( + System_DateOnly_t /* System.DateOnly */ date, + System_TimeOnly_t /* System.TimeOnly */ time, + System_DateTimeKind_t /* System.DateTimeKind */ kind, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_4( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_5( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + System_Globalization_Calendar_t /* System.Globalization.Calendar */ calendar, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_6( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + System_Globalization_Calendar_t /* System.Globalization.Calendar */ calendar, + System_DateTimeKind_t /* System.DateTimeKind */ kind, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_7( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_8( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + System_DateTimeKind_t /* System.DateTimeKind */ kind, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_9( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + System_Globalization_Calendar_t /* System.Globalization.Calendar */ calendar, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_10( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_11( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + System_DateTimeKind_t /* System.DateTimeKind */ kind, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_12( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + System_Globalization_Calendar_t /* System.Globalization.Calendar */ calendar, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_13( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + int32_t /* System.Int32 */ microsecond, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_14( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + int32_t /* System.Int32 */ microsecond, + System_DateTimeKind_t /* System.DateTimeKind */ kind, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_15( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + int32_t /* System.Int32 */ microsecond, + System_Globalization_Calendar_t /* System.Globalization.Calendar */ calendar, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_16( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + int32_t /* System.Int32 */ microsecond, + System_Globalization_Calendar_t /* System.Globalization.Calendar */ calendar, + System_DateTimeKind_t /* System.DateTimeKind */ kind, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateTime_Date_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTime_Day_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DayOfWeek_t /* System.DayOfWeek */ +System_DateTime_DayOfWeek_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTime_DayOfYear_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTime_Hour_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DateTimeKind_t /* System.DateTimeKind */ +System_DateTime_Kind_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTime_Millisecond_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTime_Microsecond_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTime_Nanosecond_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTime_Minute_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTime_Month_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DateTime_t /* System.DateTime */ +System_DateTime_Now_Get( + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTime_Second_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int64_t /* System.Int64 */ +System_DateTime_Ticks_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeSpan_t /* System.TimeSpan */ +System_DateTime_TimeOfDay_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DateTime_t /* System.DateTime */ +System_DateTime_Today_Get( + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTime_Year_Get( + System_DateTime_t /* System.DateTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DateTime_t /* System.DateTime */ +System_DateTime_UtcNow_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_DateTime_t /* System.DateTime */ +System_DateTime_MinValue_Get( + void +); + + +System_DateTime_t /* System.DateTime */ +System_DateTime_MaxValue_Get( + void +); + + +System_DateTime_t /* System.DateTime */ +System_DateTime_UnixEpoch_Get( + void +); + + +System_DateTime_t /* System.DateTime */ +System_DateTime_Create_17( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_DateTime_TypeOf( + void +); + +void /* System.Void */ +System_DateTime_Destroy( + System_DateTime_t /* System.DateTime */ self +); + +#pragma mark - END APIs of System.DateTime + +#pragma mark - BEGIN APIs of System.TimeSpan +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Add( + System_TimeSpan_t /* System.TimeSpan */ self, + System_TimeSpan_t /* System.TimeSpan */ ts, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_TimeSpan_Compare( + System_TimeSpan_t /* System.TimeSpan */ t1, + System_TimeSpan_t /* System.TimeSpan */ t2, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_TimeSpan_CompareTo( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_TimeSpan_CompareTo_1( + System_TimeSpan_t /* System.TimeSpan */ self, + System_TimeSpan_t /* System.TimeSpan */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_FromDays( + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Duration( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeSpan_Equals( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeSpan_Equals_1( + System_TimeSpan_t /* System.TimeSpan */ self, + System_TimeSpan_t /* System.TimeSpan */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeSpan_Equals_2( + System_TimeSpan_t /* System.TimeSpan */ t1, + System_TimeSpan_t /* System.TimeSpan */ t2, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_TimeSpan_GetHashCode( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_FromHours( + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_FromMilliseconds( + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_FromMicroseconds( + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_FromMinutes( + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Negate( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_FromSeconds( + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Subtract( + System_TimeSpan_t /* System.TimeSpan */ self, + System_TimeSpan_t /* System.TimeSpan */ ts, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Multiply( + System_TimeSpan_t /* System.TimeSpan */ self, + double /* System.Double */ factor, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Divide( + System_TimeSpan_t /* System.TimeSpan */ self, + double /* System.Double */ divisor, + System_Exception_t* /* System.Exception */ outException +); + +double /* System.Double */ +System_TimeSpan_Divide_1( + System_TimeSpan_t /* System.TimeSpan */ self, + System_TimeSpan_t /* System.TimeSpan */ ts, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_FromTicks( + int64_t /* System.Int64 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Parse( + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Parse_1( + System_String_t /* System.String */ input, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_ParseExact( + System_String_t /* System.String */ input, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_ParseExact_1( + System_String_t /* System.String */ input, + System_String_Array_t /* System.String[] */ formats, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_ParseExact_2( + System_String_t /* System.String */ input, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Globalization_TimeSpanStyles_t /* System.Globalization.TimeSpanStyles */ styles, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_ParseExact_3( + System_String_t /* System.String */ input, + System_String_Array_t /* System.String[] */ formats, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Globalization_TimeSpanStyles_t /* System.Globalization.TimeSpanStyles */ styles, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeSpan_TryParse( + System_String_t /* System.String */ s, + System_TimeSpan_t* /* System.TimeSpan */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeSpan_TryParse_1( + System_String_t /* System.String */ input, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_TimeSpan_t* /* System.TimeSpan */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeSpan_TryParseExact( + System_String_t /* System.String */ input, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_TimeSpan_t* /* System.TimeSpan */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeSpan_TryParseExact_1( + System_String_t /* System.String */ input, + System_String_Array_t /* System.String[] */ formats, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_TimeSpan_t* /* System.TimeSpan */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeSpan_TryParseExact_2( + System_String_t /* System.String */ input, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Globalization_TimeSpanStyles_t /* System.Globalization.TimeSpanStyles */ styles, + System_TimeSpan_t* /* System.TimeSpan */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeSpan_TryParseExact_3( + System_String_t /* System.String */ input, + System_String_Array_t /* System.String[] */ formats, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Globalization_TimeSpanStyles_t /* System.Globalization.TimeSpanStyles */ styles, + System_TimeSpan_t* /* System.TimeSpan */ result, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_TimeSpan_ToString( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_TimeSpan_ToString_1( + System_TimeSpan_t /* System.TimeSpan */ self, + System_String_t /* System.String */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_TimeSpan_ToString_2( + System_TimeSpan_t /* System.TimeSpan */ self, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Create( + int64_t /* System.Int64 */ ticks, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Create_1( + int32_t /* System.Int32 */ hours, + int32_t /* System.Int32 */ minutes, + int32_t /* System.Int32 */ seconds, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Create_2( + int32_t /* System.Int32 */ days, + int32_t /* System.Int32 */ hours, + int32_t /* System.Int32 */ minutes, + int32_t /* System.Int32 */ seconds, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Create_3( + int32_t /* System.Int32 */ days, + int32_t /* System.Int32 */ hours, + int32_t /* System.Int32 */ minutes, + int32_t /* System.Int32 */ seconds, + int32_t /* System.Int32 */ milliseconds, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Create_4( + int32_t /* System.Int32 */ days, + int32_t /* System.Int32 */ hours, + int32_t /* System.Int32 */ minutes, + int32_t /* System.Int32 */ seconds, + int32_t /* System.Int32 */ milliseconds, + int32_t /* System.Int32 */ microseconds, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_TimeSpan_Ticks_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeSpan_Days_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeSpan_Hours_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeSpan_Milliseconds_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeSpan_Microseconds_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeSpan_Nanoseconds_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeSpan_Minutes_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeSpan_Seconds_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +double /* System.Double */ +System_TimeSpan_TotalDays_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +double /* System.Double */ +System_TimeSpan_TotalHours_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +double /* System.Double */ +System_TimeSpan_TotalMilliseconds_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +double /* System.Double */ +System_TimeSpan_TotalMicroseconds_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +double /* System.Double */ +System_TimeSpan_TotalNanoseconds_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +double /* System.Double */ +System_TimeSpan_TotalMinutes_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +double /* System.Double */ +System_TimeSpan_TotalSeconds_Get( + System_TimeSpan_t /* System.TimeSpan */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Zero_Get( + void +); + + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_MaxValue_Get( + void +); + + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_MinValue_Get( + void +); + + +int64_t /* System.Int64 */ +System_TimeSpan_NanosecondsPerTick_Get( + void +); + + +int64_t /* System.Int64 */ +System_TimeSpan_TicksPerMicrosecond_Get( + void +); + + +int64_t /* System.Int64 */ +System_TimeSpan_TicksPerMillisecond_Get( + void +); + + +int64_t /* System.Int64 */ +System_TimeSpan_TicksPerSecond_Get( + void +); + + +int64_t /* System.Int64 */ +System_TimeSpan_TicksPerMinute_Get( + void +); + + +int64_t /* System.Int64 */ +System_TimeSpan_TicksPerHour_Get( + void +); + + +int64_t /* System.Int64 */ +System_TimeSpan_TicksPerDay_Get( + void +); + + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeSpan_Create_5( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_TimeSpan_TypeOf( + void +); + +void /* System.Void */ +System_TimeSpan_Destroy( + System_TimeSpan_t /* System.TimeSpan */ self +); + +#pragma mark - END APIs of System.TimeSpan + +#pragma mark - BEGIN APIs of System.String[] +#pragma mark - END APIs of System.String[] + + + + +#pragma mark - BEGIN APIs of System.DateOnly +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_FromDayNumber( + int32_t /* System.Int32 */ dayNumber, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_AddDays( + System_DateOnly_t /* System.DateOnly */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_AddMonths( + System_DateOnly_t /* System.DateOnly */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_AddYears( + System_DateOnly_t /* System.DateOnly */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_DateOnly_Deconstruct( + System_DateOnly_t /* System.DateOnly */ self, + int32_t* /* System.Int32 */ year, + int32_t* /* System.Int32 */ month, + int32_t* /* System.Int32 */ day, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateOnly_ToDateTime( + System_DateOnly_t /* System.DateOnly */ self, + System_TimeOnly_t /* System.TimeOnly */ time, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_DateOnly_ToDateTime_1( + System_DateOnly_t /* System.DateOnly */ self, + System_TimeOnly_t /* System.TimeOnly */ time, + System_DateTimeKind_t /* System.DateTimeKind */ kind, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_FromDateTime( + System_DateTime_t /* System.DateTime */ dateTime, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_DateOnly_CompareTo( + System_DateOnly_t /* System.DateOnly */ self, + System_DateOnly_t /* System.DateOnly */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_DateOnly_CompareTo_1( + System_DateOnly_t /* System.DateOnly */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateOnly_Equals( + System_DateOnly_t /* System.DateOnly */ self, + System_DateOnly_t /* System.DateOnly */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateOnly_Equals_1( + System_DateOnly_t /* System.DateOnly */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_DateOnly_GetHashCode( + System_DateOnly_t /* System.DateOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_Parse( + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_Parse_1( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_ParseExact( + System_String_t /* System.String */ s, + System_String_t /* System.String */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_ParseExact_1( + System_String_t /* System.String */ s, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_ParseExact_2( + System_String_t /* System.String */ s, + System_String_Array_t /* System.String[] */ formats, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_ParseExact_3( + System_String_t /* System.String */ s, + System_String_Array_t /* System.String[] */ formats, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateOnly_TryParse( + System_String_t /* System.String */ s, + System_DateOnly_t* /* System.DateOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateOnly_TryParse_1( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_DateOnly_t* /* System.DateOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateOnly_TryParseExact( + System_String_t /* System.String */ s, + System_String_t /* System.String */ format, + System_DateOnly_t* /* System.DateOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateOnly_TryParseExact_1( + System_String_t /* System.String */ s, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_DateOnly_t* /* System.DateOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateOnly_TryParseExact_2( + System_String_t /* System.String */ s, + System_String_Array_t /* System.String[] */ formats, + System_DateOnly_t* /* System.DateOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateOnly_TryParseExact_3( + System_String_t /* System.String */ s, + System_String_Array_t /* System.String[] */ formats, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_DateOnly_t* /* System.DateOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateOnly_ToLongDateString( + System_DateOnly_t /* System.DateOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateOnly_ToShortDateString( + System_DateOnly_t /* System.DateOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateOnly_ToString( + System_DateOnly_t /* System.DateOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateOnly_ToString_1( + System_DateOnly_t /* System.DateOnly */ self, + System_String_t /* System.String */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateOnly_ToString_2( + System_DateOnly_t /* System.DateOnly */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateOnly_ToString_3( + System_DateOnly_t /* System.DateOnly */ self, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_Parse_2( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateOnly_TryParse_2( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_DateOnly_t* /* System.DateOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_Create( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_Create_1( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + System_Globalization_Calendar_t /* System.Globalization.Calendar */ calendar, + System_Exception_t* /* System.Exception */ outException +); + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_MinValue_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_MaxValue_Get( + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateOnly_Year_Get( + System_DateOnly_t /* System.DateOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateOnly_Month_Get( + System_DateOnly_t /* System.DateOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateOnly_Day_Get( + System_DateOnly_t /* System.DateOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DayOfWeek_t /* System.DayOfWeek */ +System_DateOnly_DayOfWeek_Get( + System_DateOnly_t /* System.DateOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateOnly_DayOfYear_Get( + System_DateOnly_t /* System.DateOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateOnly_DayNumber_Get( + System_DateOnly_t /* System.DateOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DateOnly_t /* System.DateOnly */ +System_DateOnly_Create_2( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_DateOnly_TypeOf( + void +); + +void /* System.Void */ +System_DateOnly_Destroy( + System_DateOnly_t /* System.DateOnly */ self +); + +#pragma mark - END APIs of System.DateOnly + +#pragma mark - BEGIN APIs of System.TimeOnly +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_Add( + System_TimeOnly_t /* System.TimeOnly */ self, + System_TimeSpan_t /* System.TimeSpan */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_Add_1( + System_TimeOnly_t /* System.TimeOnly */ self, + System_TimeSpan_t /* System.TimeSpan */ value, + int32_t* /* System.Int32 */ wrappedDays, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_AddHours( + System_TimeOnly_t /* System.TimeOnly */ self, + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_AddHours_1( + System_TimeOnly_t /* System.TimeOnly */ self, + double /* System.Double */ value, + int32_t* /* System.Int32 */ wrappedDays, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_AddMinutes( + System_TimeOnly_t /* System.TimeOnly */ self, + double /* System.Double */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_AddMinutes_1( + System_TimeOnly_t /* System.TimeOnly */ self, + double /* System.Double */ value, + int32_t* /* System.Int32 */ wrappedDays, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeOnly_IsBetween( + System_TimeOnly_t /* System.TimeOnly */ self, + System_TimeOnly_t /* System.TimeOnly */ start, + System_TimeOnly_t /* System.TimeOnly */ end, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_TimeOnly_Deconstruct( + System_TimeOnly_t /* System.TimeOnly */ self, + int32_t* /* System.Int32 */ hour, + int32_t* /* System.Int32 */ minute, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_TimeOnly_Deconstruct_1( + System_TimeOnly_t /* System.TimeOnly */ self, + int32_t* /* System.Int32 */ hour, + int32_t* /* System.Int32 */ minute, + int32_t* /* System.Int32 */ second, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_TimeOnly_Deconstruct_2( + System_TimeOnly_t /* System.TimeOnly */ self, + int32_t* /* System.Int32 */ hour, + int32_t* /* System.Int32 */ minute, + int32_t* /* System.Int32 */ second, + int32_t* /* System.Int32 */ millisecond, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_TimeOnly_Deconstruct_3( + System_TimeOnly_t /* System.TimeOnly */ self, + int32_t* /* System.Int32 */ hour, + int32_t* /* System.Int32 */ minute, + int32_t* /* System.Int32 */ second, + int32_t* /* System.Int32 */ millisecond, + int32_t* /* System.Int32 */ microsecond, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_FromTimeSpan( + System_TimeSpan_t /* System.TimeSpan */ timeSpan, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_FromDateTime( + System_DateTime_t /* System.DateTime */ dateTime, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeOnly_ToTimeSpan( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_TimeOnly_CompareTo( + System_TimeOnly_t /* System.TimeOnly */ self, + System_TimeOnly_t /* System.TimeOnly */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_TimeOnly_CompareTo_1( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeOnly_Equals( + System_TimeOnly_t /* System.TimeOnly */ self, + System_TimeOnly_t /* System.TimeOnly */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeOnly_Equals_1( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_TimeOnly_GetHashCode( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_Parse( + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_Parse_1( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_ParseExact( + System_String_t /* System.String */ s, + System_String_t /* System.String */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_ParseExact_1( + System_String_t /* System.String */ s, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_ParseExact_2( + System_String_t /* System.String */ s, + System_String_Array_t /* System.String[] */ formats, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_ParseExact_3( + System_String_t /* System.String */ s, + System_String_Array_t /* System.String[] */ formats, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeOnly_TryParse( + System_String_t /* System.String */ s, + System_TimeOnly_t* /* System.TimeOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeOnly_TryParse_1( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_TimeOnly_t* /* System.TimeOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeOnly_TryParseExact( + System_String_t /* System.String */ s, + System_String_t /* System.String */ format, + System_TimeOnly_t* /* System.TimeOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeOnly_TryParseExact_1( + System_String_t /* System.String */ s, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_TimeOnly_t* /* System.TimeOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeOnly_TryParseExact_2( + System_String_t /* System.String */ s, + System_String_Array_t /* System.String[] */ formats, + System_TimeOnly_t* /* System.TimeOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeOnly_TryParseExact_3( + System_String_t /* System.String */ s, + System_String_Array_t /* System.String[] */ formats, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ style, + System_TimeOnly_t* /* System.TimeOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_TimeOnly_ToLongTimeString( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_TimeOnly_ToShortTimeString( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_TimeOnly_ToString( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_TimeOnly_ToString_1( + System_TimeOnly_t /* System.TimeOnly */ self, + System_String_t /* System.String */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_TimeOnly_ToString_2( + System_TimeOnly_t /* System.TimeOnly */ self, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_TimeOnly_ToString_3( + System_TimeOnly_t /* System.TimeOnly */ self, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_Parse_2( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeOnly_TryParse_2( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_TimeOnly_t* /* System.TimeOnly */ result, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_Create( + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_Create_1( + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_Create_2( + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_Create_3( + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + int32_t /* System.Int32 */ microsecond, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_Create_4( + int64_t /* System.Int64 */ ticks, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_MinValue_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_MaxValue_Get( + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeOnly_Hour_Get( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeOnly_Minute_Get( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeOnly_Second_Get( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeOnly_Millisecond_Get( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeOnly_Microsecond_Get( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeOnly_Nanosecond_Get( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int64_t /* System.Int64 */ +System_TimeOnly_Ticks_Get( + System_TimeOnly_t /* System.TimeOnly */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeOnly_t /* System.TimeOnly */ +System_TimeOnly_Create_5( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_TimeOnly_TypeOf( + void +); + +void /* System.Void */ +System_TimeOnly_Destroy( + System_TimeOnly_t /* System.TimeOnly */ self +); + +#pragma mark - END APIs of System.TimeOnly + + + +#pragma mark - BEGIN APIs of System.Globalization.Calendar +System_Object_t /* System.Object */ +System_Globalization_Calendar_Clone( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_Calendar_t /* System.Globalization.Calendar */ +System_Globalization_Calendar_ReadOnly( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ calendar, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_Globalization_Calendar_AddMilliseconds( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + double /* System.Double */ milliseconds, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_Globalization_Calendar_AddDays( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + int32_t /* System.Int32 */ days, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_Globalization_Calendar_AddHours( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + int32_t /* System.Int32 */ hours, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_Globalization_Calendar_AddMinutes( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + int32_t /* System.Int32 */ minutes, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_Globalization_Calendar_AddMonths( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + int32_t /* System.Int32 */ months, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_Globalization_Calendar_AddSeconds( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + int32_t /* System.Int32 */ seconds, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_Globalization_Calendar_AddWeeks( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + int32_t /* System.Int32 */ weeks, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_Globalization_Calendar_AddYears( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + int32_t /* System.Int32 */ years, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetDayOfMonth( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + System_Exception_t* /* System.Exception */ outException +); + +System_DayOfWeek_t /* System.DayOfWeek */ +System_Globalization_Calendar_GetDayOfWeek( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetDayOfYear( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetDaysInMonth( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetDaysInMonth_1( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ era, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetDaysInYear( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetDaysInYear_1( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ era, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetEra( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetHour( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + System_Exception_t* /* System.Exception */ outException +); + +double /* System.Double */ +System_Globalization_Calendar_GetMilliseconds( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetMinute( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetMonth( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetMonthsInYear( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetMonthsInYear_1( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ era, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetSecond( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetWeekOfYear( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + System_Globalization_CalendarWeekRule_t /* System.Globalization.CalendarWeekRule */ rule, + System_DayOfWeek_t /* System.DayOfWeek */ firstDayOfWeek, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetYear( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_DateTime_t /* System.DateTime */ time, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_Calendar_IsLeapDay( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_Calendar_IsLeapDay_1( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ era, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_Calendar_IsLeapMonth( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_Calendar_IsLeapMonth_1( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ era, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetLeapMonth( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_GetLeapMonth_1( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ era, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_Calendar_IsLeapYear( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_Calendar_IsLeapYear_1( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ era, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_Globalization_Calendar_ToDateTime( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_Globalization_Calendar_ToDateTime_1( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + int32_t /* System.Int32 */ era, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_Calendar_ToFourDigitYear( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ year, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_Globalization_Calendar_MinSupportedDateTime_Get( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DateTime_t /* System.DateTime */ +System_Globalization_Calendar_MaxSupportedDateTime_Get( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_CalendarAlgorithmType_t /* System.Globalization.CalendarAlgorithmType */ +System_Globalization_Calendar_AlgorithmType_Get( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Globalization_Calendar_IsReadOnly_Get( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Int32_Array_t /* System.Int32[] */ +System_Globalization_Calendar_Eras_Get( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_Calendar_TwoDigitYearMax_Get( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_Calendar_TwoDigitYearMax_Set( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_Calendar_CurrentEra_Get( + void +); + + +System_Type_t _Nonnull /* System.Type */ +System_Globalization_Calendar_TypeOf( + void +); + +void /* System.Void */ +System_Globalization_Calendar_Destroy( + System_Globalization_Calendar_t /* System.Globalization.Calendar */ self +); + +#pragma mark - END APIs of System.Globalization.Calendar + +#pragma mark - BEGIN APIs of System.Runtime.Serialization.IFormatterConverter +System_Object_t /* System.Object */ +System_Runtime_Serialization_IFormatterConverter_Convert( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Type_t /* System.Type */ type, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Runtime_Serialization_IFormatterConverter_Convert_1( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_TypeCode_t /* System.TypeCode */ typeCode, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Runtime_Serialization_IFormatterConverter_ToBoolean( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +wchar_t /* System.Char */ +System_Runtime_Serialization_IFormatterConverter_ToChar( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int8_t /* System.SByte */ +System_Runtime_Serialization_IFormatterConverter_ToSByte( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +uint8_t /* System.Byte */ +System_Runtime_Serialization_IFormatterConverter_ToByte( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int16_t /* System.Int16 */ +System_Runtime_Serialization_IFormatterConverter_ToInt16( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +uint16_t /* System.UInt16 */ +System_Runtime_Serialization_IFormatterConverter_ToUInt16( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_Serialization_IFormatterConverter_ToInt32( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +uint32_t /* System.UInt32 */ +System_Runtime_Serialization_IFormatterConverter_ToUInt32( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_Runtime_Serialization_IFormatterConverter_ToInt64( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +uint64_t /* System.UInt64 */ +System_Runtime_Serialization_IFormatterConverter_ToUInt64( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +float /* System.Single */ +System_Runtime_Serialization_IFormatterConverter_ToSingle( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +double /* System.Double */ +System_Runtime_Serialization_IFormatterConverter_ToDouble( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Decimal_t /* System.Decimal */ +System_Runtime_Serialization_IFormatterConverter_ToDecimal( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_Runtime_Serialization_IFormatterConverter_ToDateTime( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_Serialization_IFormatterConverter_ToString( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_Serialization_IFormatterConverter_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_Serialization_IFormatterConverter_Destroy( + System_Runtime_Serialization_IFormatterConverter_t /* System.Runtime.Serialization.IFormatterConverter */ self +); + +#pragma mark - END APIs of System.Runtime.Serialization.IFormatterConverter + +#pragma mark - BEGIN APIs of System.Runtime.Serialization.StreamingContext +bool /* System.Boolean */ +System_Runtime_Serialization_StreamingContext_Equals( + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_Serialization_StreamingContext_GetHashCode( + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ +System_Runtime_Serialization_StreamingContext_Create( + System_Runtime_Serialization_StreamingContextStates_t /* System.Runtime.Serialization.StreamingContextStates */ state, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ +System_Runtime_Serialization_StreamingContext_Create_1( + System_Runtime_Serialization_StreamingContextStates_t /* System.Runtime.Serialization.StreamingContextStates */ state, + System_Object_t /* System.Object */ additional, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_Serialization_StreamingContextStates_t /* System.Runtime.Serialization.StreamingContextStates */ +System_Runtime_Serialization_StreamingContext_State_Get( + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Object_t /* System.Object */ +System_Runtime_Serialization_StreamingContext_Context_Get( + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ +System_Runtime_Serialization_StreamingContext_Create_2( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_Serialization_StreamingContext_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_Serialization_StreamingContext_Destroy( + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ self +); + +#pragma mark - END APIs of System.Runtime.Serialization.StreamingContext + +#pragma mark - BEGIN APIs of System.Reflection.AssemblyName +System_Object_t /* System.Object */ +System_Reflection_AssemblyName_Clone( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ +System_Reflection_AssemblyName_GetAssemblyName( + System_String_t /* System.String */ assemblyFile, + System_Exception_t* /* System.Exception */ outException +); + +System_Byte_Array_t /* System.Byte[] */ +System_Reflection_AssemblyName_GetPublicKey( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_SetPublicKey( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Byte_Array_t /* System.Byte[] */ publicKey, + System_Exception_t* /* System.Exception */ outException +); + +System_Byte_Array_t /* System.Byte[] */ +System_Reflection_AssemblyName_GetPublicKeyToken( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_SetPublicKeyToken( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Byte_Array_t /* System.Byte[] */ publicKeyToken, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Reflection_AssemblyName_ToString( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_GetObjectData( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ info, + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ context, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_OnDeserialization( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Object_t /* System.Object */ sender, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_AssemblyName_ReferenceMatchesDefinition( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ reference, + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ definition, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ +System_Reflection_AssemblyName_Create( + System_String_t /* System.String */ assemblyName, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ +System_Reflection_AssemblyName_Create_1( + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Reflection_AssemblyName_Name_Get( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_Name_Set( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Version_t /* System.Version */ +System_Reflection_AssemblyName_Version_Get( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_Version_Set( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Version_t /* System.Version */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ +System_Reflection_AssemblyName_CultureInfo_Get( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_CultureInfo_Set( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_AssemblyName_CultureName_Get( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_CultureName_Set( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_AssemblyName_CodeBase_Get( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_CodeBase_Set( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_AssemblyName_EscapedCodeBase_Get( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_ProcessorArchitecture_t /* System.Reflection.ProcessorArchitecture */ +System_Reflection_AssemblyName_ProcessorArchitecture_Get( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_ProcessorArchitecture_Set( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Reflection_ProcessorArchitecture_t /* System.Reflection.ProcessorArchitecture */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_AssemblyContentType_t /* System.Reflection.AssemblyContentType */ +System_Reflection_AssemblyName_ContentType_Get( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_ContentType_Set( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Reflection_AssemblyContentType_t /* System.Reflection.AssemblyContentType */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_AssemblyNameFlags_t /* System.Reflection.AssemblyNameFlags */ +System_Reflection_AssemblyName_Flags_Get( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_Flags_Set( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Reflection_AssemblyNameFlags_t /* System.Reflection.AssemblyNameFlags */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Configuration_Assemblies_AssemblyHashAlgorithm_t /* System.Configuration.Assemblies.AssemblyHashAlgorithm */ +System_Reflection_AssemblyName_HashAlgorithm_Get( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_HashAlgorithm_Set( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Configuration_Assemblies_AssemblyHashAlgorithm_t /* System.Configuration.Assemblies.AssemblyHashAlgorithm */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Configuration_Assemblies_AssemblyVersionCompatibility_t /* System.Configuration.Assemblies.AssemblyVersionCompatibility */ +System_Reflection_AssemblyName_VersionCompatibility_Get( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_VersionCompatibility_Set( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Configuration_Assemblies_AssemblyVersionCompatibility_t /* System.Configuration.Assemblies.AssemblyVersionCompatibility */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_StrongNameKeyPair_t /* System.Reflection.StrongNameKeyPair */ +System_Reflection_AssemblyName_KeyPair_Get( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_AssemblyName_KeyPair_Set( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Reflection_StrongNameKeyPair_t /* System.Reflection.StrongNameKeyPair */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_AssemblyName_FullName_Get( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_AssemblyName_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_AssemblyName_Destroy( + System_Reflection_AssemblyName_t /* System.Reflection.AssemblyName */ self +); + +#pragma mark - END APIs of System.Reflection.AssemblyName + +#pragma mark - BEGIN APIs of System.Version +System_Object_t /* System.Object */ +System_Version_Clone( + System_Version_t /* System.Version */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Version_CompareTo( + System_Version_t /* System.Version */ self, + System_Object_t /* System.Object */ version, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Version_CompareTo_1( + System_Version_t /* System.Version */ self, + System_Version_t /* System.Version */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Version_Equals( + System_Version_t /* System.Version */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Version_Equals_1( + System_Version_t /* System.Version */ self, + System_Version_t /* System.Version */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Version_GetHashCode( + System_Version_t /* System.Version */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Version_ToString( + System_Version_t /* System.Version */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Version_ToString_1( + System_Version_t /* System.Version */ self, + int32_t /* System.Int32 */ fieldCount, + System_Exception_t* /* System.Exception */ outException +); + +System_Version_t /* System.Version */ +System_Version_Parse( + System_String_t /* System.String */ input, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Version_TryParse( + System_String_t /* System.String */ input, + System_Version_t* /* System.Version */ result, + System_Exception_t* /* System.Exception */ outException +); + +System_Version_t /* System.Version */ +System_Version_Create( + int32_t /* System.Int32 */ major, + int32_t /* System.Int32 */ minor, + int32_t /* System.Int32 */ build, + int32_t /* System.Int32 */ revision, + System_Exception_t* /* System.Exception */ outException +); + +System_Version_t /* System.Version */ +System_Version_Create_1( + int32_t /* System.Int32 */ major, + int32_t /* System.Int32 */ minor, + int32_t /* System.Int32 */ build, + System_Exception_t* /* System.Exception */ outException +); + +System_Version_t /* System.Version */ +System_Version_Create_2( + int32_t /* System.Int32 */ major, + int32_t /* System.Int32 */ minor, + System_Exception_t* /* System.Exception */ outException +); + +System_Version_t /* System.Version */ +System_Version_Create_3( + System_String_t /* System.String */ version, + System_Exception_t* /* System.Exception */ outException +); + +System_Version_t /* System.Version */ +System_Version_Create_4( + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Version_Major_Get( + System_Version_t /* System.Version */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Version_Minor_Get( + System_Version_t /* System.Version */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Version_Build_Get( + System_Version_t /* System.Version */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Version_Revision_Get( + System_Version_t /* System.Version */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int16_t /* System.Int16 */ +System_Version_MajorRevision_Get( + System_Version_t /* System.Version */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int16_t /* System.Int16 */ +System_Version_MinorRevision_Get( + System_Version_t /* System.Version */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Version_TypeOf( + void +); + +void /* System.Void */ +System_Version_Destroy( + System_Version_t /* System.Version */ self +); + +#pragma mark - END APIs of System.Version + + +#pragma mark - BEGIN APIs of System.Byte[] +#pragma mark - END APIs of System.Byte[] + +#pragma mark - BEGIN APIs of System.Reflection.StrongNameKeyPair +System_Reflection_StrongNameKeyPair_t /* System.Reflection.StrongNameKeyPair */ +System_Reflection_StrongNameKeyPair_Create( + System_IO_FileStream_t /* System.IO.FileStream */ keyPairFile, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_StrongNameKeyPair_t /* System.Reflection.StrongNameKeyPair */ +System_Reflection_StrongNameKeyPair_Create_1( + System_Byte_Array_t /* System.Byte[] */ keyPairArray, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_StrongNameKeyPair_t /* System.Reflection.StrongNameKeyPair */ +System_Reflection_StrongNameKeyPair_Create_2( + System_String_t /* System.String */ keyPairContainer, + System_Exception_t* /* System.Exception */ outException +); + +System_Byte_Array_t /* System.Byte[] */ +System_Reflection_StrongNameKeyPair_PublicKey_Get( + System_Reflection_StrongNameKeyPair_t /* System.Reflection.StrongNameKeyPair */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_StrongNameKeyPair_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_StrongNameKeyPair_Destroy( + System_Reflection_StrongNameKeyPair_t /* System.Reflection.StrongNameKeyPair */ self +); + +#pragma mark - END APIs of System.Reflection.StrongNameKeyPair + +#pragma mark - BEGIN APIs of System.IO.FileStream +void /* System.Void */ +System_IO_FileStream_Lock( + System_IO_FileStream_t /* System.IO.FileStream */ self, + int64_t /* System.Int64 */ position, + int64_t /* System.Int64 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStream_Unlock( + System_IO_FileStream_t /* System.IO.FileStream */ self, + int64_t /* System.Int64 */ position, + int64_t /* System.Int64 */ length, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_IO_FileStream_FlushAsync( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_IO_FileStream_Read( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Byte_Array_t /* System.Byte[] */ buffer, + int32_t /* System.Int32 */ offset, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStream_Write( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Byte_Array_t /* System.Byte[] */ buffer, + int32_t /* System.Int32 */ offset, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_IO_FileStream_WriteAsync( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Byte_Array_t /* System.Byte[] */ buffer, + int32_t /* System.Int32 */ offset, + int32_t /* System.Int32 */ count, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStream_Flush_1( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStream_Flush_2( + System_IO_FileStream_t /* System.IO.FileStream */ self, + bool /* System.Boolean */ flushToDisk, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStream_SetLength( + System_IO_FileStream_t /* System.IO.FileStream */ self, + int64_t /* System.Int64 */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_IO_FileStream_ReadByte( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStream_WriteByte( + System_IO_FileStream_t /* System.IO.FileStream */ self, + uint8_t /* System.Byte */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ +System_IO_FileStream_DisposeAsync( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStream_CopyTo( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_IO_Stream_t /* System.IO.Stream */ destination, + int32_t /* System.Int32 */ bufferSize, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_IO_FileStream_CopyToAsync( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_IO_Stream_t /* System.IO.Stream */ destination, + int32_t /* System.Int32 */ bufferSize, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_IAsyncResult_t /* System.IAsyncResult */ +System_IO_FileStream_BeginRead( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Byte_Array_t /* System.Byte[] */ buffer, + int32_t /* System.Int32 */ offset, + int32_t /* System.Int32 */ count, + System_AsyncCallback_t /* System.AsyncCallback */ callback, + System_Object_t /* System.Object */ state, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_IO_FileStream_EndRead( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_IAsyncResult_t /* System.IAsyncResult */ asyncResult, + System_Exception_t* /* System.Exception */ outException +); + +System_IAsyncResult_t /* System.IAsyncResult */ +System_IO_FileStream_BeginWrite( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Byte_Array_t /* System.Byte[] */ buffer, + int32_t /* System.Int32 */ offset, + int32_t /* System.Int32 */ count, + System_AsyncCallback_t /* System.AsyncCallback */ callback, + System_Object_t /* System.Object */ state, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStream_EndWrite( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_IAsyncResult_t /* System.IAsyncResult */ asyncResult, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_IO_FileStream_Seek( + System_IO_FileStream_t /* System.IO.FileStream */ self, + int64_t /* System.Int64 */ offset, + System_IO_SeekOrigin_t /* System.IO.SeekOrigin */ origin, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create( + long /* System.IntPtr */ handle, + System_IO_FileAccess_t /* System.IO.FileAccess */ access, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create_1( + long /* System.IntPtr */ handle, + System_IO_FileAccess_t /* System.IO.FileAccess */ access, + bool /* System.Boolean */ ownsHandle, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create_2( + long /* System.IntPtr */ handle, + System_IO_FileAccess_t /* System.IO.FileAccess */ access, + bool /* System.Boolean */ ownsHandle, + int32_t /* System.Int32 */ bufferSize, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create_3( + long /* System.IntPtr */ handle, + System_IO_FileAccess_t /* System.IO.FileAccess */ access, + bool /* System.Boolean */ ownsHandle, + int32_t /* System.Int32 */ bufferSize, + bool /* System.Boolean */ isAsync, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create_4( + Microsoft_Win32_SafeHandles_SafeFileHandle_t /* Microsoft.Win32.SafeHandles.SafeFileHandle */ handle, + System_IO_FileAccess_t /* System.IO.FileAccess */ access, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create_5( + Microsoft_Win32_SafeHandles_SafeFileHandle_t /* Microsoft.Win32.SafeHandles.SafeFileHandle */ handle, + System_IO_FileAccess_t /* System.IO.FileAccess */ access, + int32_t /* System.Int32 */ bufferSize, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create_6( + Microsoft_Win32_SafeHandles_SafeFileHandle_t /* Microsoft.Win32.SafeHandles.SafeFileHandle */ handle, + System_IO_FileAccess_t /* System.IO.FileAccess */ access, + int32_t /* System.Int32 */ bufferSize, + bool /* System.Boolean */ isAsync, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create_7( + System_String_t /* System.String */ path, + System_IO_FileMode_t /* System.IO.FileMode */ mode, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create_8( + System_String_t /* System.String */ path, + System_IO_FileMode_t /* System.IO.FileMode */ mode, + System_IO_FileAccess_t /* System.IO.FileAccess */ access, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create_9( + System_String_t /* System.String */ path, + System_IO_FileMode_t /* System.IO.FileMode */ mode, + System_IO_FileAccess_t /* System.IO.FileAccess */ access, + System_IO_FileShare_t /* System.IO.FileShare */ share, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create_10( + System_String_t /* System.String */ path, + System_IO_FileMode_t /* System.IO.FileMode */ mode, + System_IO_FileAccess_t /* System.IO.FileAccess */ access, + System_IO_FileShare_t /* System.IO.FileShare */ share, + int32_t /* System.Int32 */ bufferSize, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create_11( + System_String_t /* System.String */ path, + System_IO_FileMode_t /* System.IO.FileMode */ mode, + System_IO_FileAccess_t /* System.IO.FileAccess */ access, + System_IO_FileShare_t /* System.IO.FileShare */ share, + int32_t /* System.Int32 */ bufferSize, + bool /* System.Boolean */ useAsync, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create_12( + System_String_t /* System.String */ path, + System_IO_FileMode_t /* System.IO.FileMode */ mode, + System_IO_FileAccess_t /* System.IO.FileAccess */ access, + System_IO_FileShare_t /* System.IO.FileShare */ share, + int32_t /* System.Int32 */ bufferSize, + System_IO_FileOptions_t /* System.IO.FileOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileStream_t /* System.IO.FileStream */ +System_IO_FileStream_Create_13( + System_String_t /* System.String */ path, + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_IO_FileStream_Handle_Get( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_IO_FileStream_CanRead_Get( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_IO_FileStream_CanWrite_Get( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Exception_t* /* System.Exception */ outException +); + + +Microsoft_Win32_SafeHandles_SafeFileHandle_t /* Microsoft.Win32.SafeHandles.SafeFileHandle */ +System_IO_FileStream_SafeFileHandle_Get( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_IO_FileStream_Name_Get( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_IO_FileStream_IsAsync_Get( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int64_t /* System.Int64 */ +System_IO_FileStream_Length_Get( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int64_t /* System.Int64 */ +System_IO_FileStream_Position_Get( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStream_Position_Set( + System_IO_FileStream_t /* System.IO.FileStream */ self, + int64_t /* System.Int64 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_IO_FileStream_CanSeek_Get( + System_IO_FileStream_t /* System.IO.FileStream */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_IO_FileStream_TypeOf( + void +); + +void /* System.Void */ +System_IO_FileStream_Destroy( + System_IO_FileStream_t /* System.IO.FileStream */ self +); + +#pragma mark - END APIs of System.IO.FileStream + +#pragma mark - BEGIN APIs of System.IO.Stream +void /* System.Void */ +System_IO_Stream_CopyTo( + System_IO_Stream_t /* System.IO.Stream */ self, + System_IO_Stream_t /* System.IO.Stream */ destination, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_Stream_CopyTo_1( + System_IO_Stream_t /* System.IO.Stream */ self, + System_IO_Stream_t /* System.IO.Stream */ destination, + int32_t /* System.Int32 */ bufferSize, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_IO_Stream_CopyToAsync( + System_IO_Stream_t /* System.IO.Stream */ self, + System_IO_Stream_t /* System.IO.Stream */ destination, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_IO_Stream_CopyToAsync_1( + System_IO_Stream_t /* System.IO.Stream */ self, + System_IO_Stream_t /* System.IO.Stream */ destination, + int32_t /* System.Int32 */ bufferSize, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_IO_Stream_CopyToAsync_2( + System_IO_Stream_t /* System.IO.Stream */ self, + System_IO_Stream_t /* System.IO.Stream */ destination, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_IO_Stream_CopyToAsync_3( + System_IO_Stream_t /* System.IO.Stream */ self, + System_IO_Stream_t /* System.IO.Stream */ destination, + int32_t /* System.Int32 */ bufferSize, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_Stream_Dispose( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_Stream_Close( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ +System_IO_Stream_DisposeAsync( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_Stream_Flush( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_IO_Stream_FlushAsync( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_IO_Stream_FlushAsync_1( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_IAsyncResult_t /* System.IAsyncResult */ +System_IO_Stream_BeginRead( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Byte_Array_t /* System.Byte[] */ buffer, + int32_t /* System.Int32 */ offset, + int32_t /* System.Int32 */ count, + System_AsyncCallback_t /* System.AsyncCallback */ callback, + System_Object_t /* System.Object */ state, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_IO_Stream_EndRead( + System_IO_Stream_t /* System.IO.Stream */ self, + System_IAsyncResult_t /* System.IAsyncResult */ asyncResult, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ +System_IO_Stream_ReadExactlyAsync( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Byte_Array_t /* System.Byte[] */ buffer, + int32_t /* System.Int32 */ offset, + int32_t /* System.Int32 */ count, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_IAsyncResult_t /* System.IAsyncResult */ +System_IO_Stream_BeginWrite( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Byte_Array_t /* System.Byte[] */ buffer, + int32_t /* System.Int32 */ offset, + int32_t /* System.Int32 */ count, + System_AsyncCallback_t /* System.AsyncCallback */ callback, + System_Object_t /* System.Object */ state, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_Stream_EndWrite( + System_IO_Stream_t /* System.IO.Stream */ self, + System_IAsyncResult_t /* System.IAsyncResult */ asyncResult, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_IO_Stream_WriteAsync( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Byte_Array_t /* System.Byte[] */ buffer, + int32_t /* System.Int32 */ offset, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_IO_Stream_WriteAsync_1( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Byte_Array_t /* System.Byte[] */ buffer, + int32_t /* System.Int32 */ offset, + int32_t /* System.Int32 */ count, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_IO_Stream_Seek( + System_IO_Stream_t /* System.IO.Stream */ self, + int64_t /* System.Int64 */ offset, + System_IO_SeekOrigin_t /* System.IO.SeekOrigin */ origin, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_Stream_SetLength( + System_IO_Stream_t /* System.IO.Stream */ self, + int64_t /* System.Int64 */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_IO_Stream_Read_1( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Byte_Array_t /* System.Byte[] */ buffer, + int32_t /* System.Int32 */ offset, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_IO_Stream_ReadByte( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_Stream_ReadExactly_1( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Byte_Array_t /* System.Byte[] */ buffer, + int32_t /* System.Int32 */ offset, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_Stream_Write_1( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Byte_Array_t /* System.Byte[] */ buffer, + int32_t /* System.Int32 */ offset, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_Stream_WriteByte( + System_IO_Stream_t /* System.IO.Stream */ self, + uint8_t /* System.Byte */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_Stream_t /* System.IO.Stream */ +System_IO_Stream_Synchronized( + System_IO_Stream_t /* System.IO.Stream */ stream, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_IO_Stream_CanRead_Get( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_IO_Stream_CanWrite_Get( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_IO_Stream_CanSeek_Get( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_IO_Stream_CanTimeout_Get( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int64_t /* System.Int64 */ +System_IO_Stream_Length_Get( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int64_t /* System.Int64 */ +System_IO_Stream_Position_Get( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_Stream_Position_Set( + System_IO_Stream_t /* System.IO.Stream */ self, + int64_t /* System.Int64 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_IO_Stream_ReadTimeout_Get( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_Stream_ReadTimeout_Set( + System_IO_Stream_t /* System.IO.Stream */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_IO_Stream_WriteTimeout_Get( + System_IO_Stream_t /* System.IO.Stream */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_Stream_WriteTimeout_Set( + System_IO_Stream_t /* System.IO.Stream */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_IO_Stream_t /* System.IO.Stream */ +System_IO_Stream_Null_Get( + void +); + + +System_Type_t _Nonnull /* System.Type */ +System_IO_Stream_TypeOf( + void +); + +void /* System.Void */ +System_IO_Stream_Destroy( + System_IO_Stream_t /* System.IO.Stream */ self +); + +#pragma mark - END APIs of System.IO.Stream + +#pragma mark - BEGIN APIs of System.MarshalByRefObject +System_Object_t /* System.Object */ +System_MarshalByRefObject_GetLifetimeService( + System_MarshalByRefObject_t /* System.MarshalByRefObject */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_MarshalByRefObject_InitializeLifetimeService( + System_MarshalByRefObject_t /* System.MarshalByRefObject */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_MarshalByRefObject_TypeOf( + void +); + +void /* System.Void */ +System_MarshalByRefObject_Destroy( + System_MarshalByRefObject_t /* System.MarshalByRefObject */ self +); + +#pragma mark - END APIs of System.MarshalByRefObject + +#pragma mark - BEGIN APIs of System.IDisposable +void /* System.Void */ +System_IDisposable_Dispose( + System_IDisposable_t /* System.IDisposable */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_IDisposable_TypeOf( + void +); + +void /* System.Void */ +System_IDisposable_Destroy( + System_IDisposable_t /* System.IDisposable */ self +); + +#pragma mark - END APIs of System.IDisposable + +#pragma mark - BEGIN APIs of System.IAsyncDisposable +System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ +System_IAsyncDisposable_DisposeAsync( + System_IAsyncDisposable_t /* System.IAsyncDisposable */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_IAsyncDisposable_TypeOf( + void +); + +void /* System.Void */ +System_IAsyncDisposable_Destroy( + System_IAsyncDisposable_t /* System.IAsyncDisposable */ self +); + +#pragma mark - END APIs of System.IAsyncDisposable + +#pragma mark - BEGIN APIs of System.Threading.Tasks.ValueTask +System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ +System_Threading_Tasks_ValueTask_FromCanceled( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ +System_Threading_Tasks_ValueTask_FromException( + System_Exception_t /* System.Exception */ exception, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_Tasks_ValueTask_GetHashCode( + System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_Tasks_ValueTask_Equals( + System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_Tasks_ValueTask_Equals_1( + System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ self, + System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ other, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_ValueTask_AsTask( + System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ +System_Threading_Tasks_ValueTask_Preserve( + System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_CompilerServices_ValueTaskAwaiter_t /* System.Runtime.CompilerServices.ValueTaskAwaiter */ +System_Threading_Tasks_ValueTask_GetAwaiter( + System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable */ +System_Threading_Tasks_ValueTask_ConfigureAwait( + System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ self, + bool /* System.Boolean */ continueOnCapturedContext, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ +System_Threading_Tasks_ValueTask_Create( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ task, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ +System_Threading_Tasks_ValueTask_Create_1( + System_Threading_Tasks_Sources_IValueTaskSource_t /* System.Threading.Tasks.Sources.IValueTaskSource */ source, + int16_t /* System.Int16 */ token, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ +System_Threading_Tasks_ValueTask_CompletedTask_Get( + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Threading_Tasks_ValueTask_IsCompleted_Get( + System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Threading_Tasks_ValueTask_IsCompletedSuccessfully_Get( + System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Threading_Tasks_ValueTask_IsFaulted_Get( + System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Threading_Tasks_ValueTask_IsCanceled_Get( + System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ +System_Threading_Tasks_ValueTask_Create_2( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Threading_Tasks_ValueTask_TypeOf( + void +); + +void /* System.Void */ +System_Threading_Tasks_ValueTask_Destroy( + System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ self +); + +#pragma mark - END APIs of System.Threading.Tasks.ValueTask + +#pragma mark - BEGIN APIs of System.Threading.CancellationToken +System_Threading_CancellationTokenRegistration_t /* System.Threading.CancellationTokenRegistration */ +System_Threading_CancellationToken_Register( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ self, + System_Action_t /* System.Action */ callback, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_CancellationTokenRegistration_t /* System.Threading.CancellationTokenRegistration */ +System_Threading_CancellationToken_Register_1( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ self, + System_Action_t /* System.Action */ callback, + bool /* System.Boolean */ useSynchronizationContext, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_CancellationToken_Equals( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ self, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ other, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_CancellationToken_Equals_1( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ self, + System_Object_t /* System.Object */ other, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_CancellationToken_GetHashCode( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Threading_CancellationToken_ThrowIfCancellationRequested( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ +System_Threading_CancellationToken_Create( + bool /* System.Boolean */ canceled, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ +System_Threading_CancellationToken_None_Get( + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Threading_CancellationToken_IsCancellationRequested_Get( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Threading_CancellationToken_CanBeCanceled_Get( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ +System_Threading_CancellationToken_WaitHandle_Get( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ +System_Threading_CancellationToken_Create_1( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Threading_CancellationToken_TypeOf( + void +); + +void /* System.Void */ +System_Threading_CancellationToken_Destroy( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ self +); + +#pragma mark - END APIs of System.Threading.CancellationToken + +#pragma mark - BEGIN APIs of System.Threading.WaitHandle +void /* System.Void */ +System_Threading_WaitHandle_Close( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Threading_WaitHandle_Dispose( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_WaitHandle_WaitOne( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ self, + int32_t /* System.Int32 */ millisecondsTimeout, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_WaitHandle_WaitOne_1( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ self, + System_TimeSpan_t /* System.TimeSpan */ timeout, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_WaitHandle_WaitOne_2( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_WaitHandle_WaitOne_3( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ self, + int32_t /* System.Int32 */ millisecondsTimeout, + bool /* System.Boolean */ exitContext, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_WaitHandle_WaitOne_4( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ self, + System_TimeSpan_t /* System.TimeSpan */ timeout, + bool /* System.Boolean */ exitContext, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_WaitHandle_WaitAll( + System_Threading_WaitHandle_Array_t /* System.Threading.WaitHandle[] */ waitHandles, + int32_t /* System.Int32 */ millisecondsTimeout, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_WaitHandle_WaitAll_1( + System_Threading_WaitHandle_Array_t /* System.Threading.WaitHandle[] */ waitHandles, + System_TimeSpan_t /* System.TimeSpan */ timeout, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_WaitHandle_WaitAll_2( + System_Threading_WaitHandle_Array_t /* System.Threading.WaitHandle[] */ waitHandles, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_WaitHandle_WaitAll_3( + System_Threading_WaitHandle_Array_t /* System.Threading.WaitHandle[] */ waitHandles, + int32_t /* System.Int32 */ millisecondsTimeout, + bool /* System.Boolean */ exitContext, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_WaitHandle_WaitAll_4( + System_Threading_WaitHandle_Array_t /* System.Threading.WaitHandle[] */ waitHandles, + System_TimeSpan_t /* System.TimeSpan */ timeout, + bool /* System.Boolean */ exitContext, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_WaitHandle_WaitAny( + System_Threading_WaitHandle_Array_t /* System.Threading.WaitHandle[] */ waitHandles, + int32_t /* System.Int32 */ millisecondsTimeout, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_WaitHandle_WaitAny_1( + System_Threading_WaitHandle_Array_t /* System.Threading.WaitHandle[] */ waitHandles, + System_TimeSpan_t /* System.TimeSpan */ timeout, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_WaitHandle_WaitAny_2( + System_Threading_WaitHandle_Array_t /* System.Threading.WaitHandle[] */ waitHandles, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_WaitHandle_WaitAny_3( + System_Threading_WaitHandle_Array_t /* System.Threading.WaitHandle[] */ waitHandles, + int32_t /* System.Int32 */ millisecondsTimeout, + bool /* System.Boolean */ exitContext, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_WaitHandle_WaitAny_4( + System_Threading_WaitHandle_Array_t /* System.Threading.WaitHandle[] */ waitHandles, + System_TimeSpan_t /* System.TimeSpan */ timeout, + bool /* System.Boolean */ exitContext, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_WaitHandle_SignalAndWait( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ toSignal, + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ toWaitOn, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_WaitHandle_SignalAndWait_1( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ toSignal, + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ toWaitOn, + System_TimeSpan_t /* System.TimeSpan */ timeout, + bool /* System.Boolean */ exitContext, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_WaitHandle_SignalAndWait_2( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ toSignal, + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ toWaitOn, + int32_t /* System.Int32 */ millisecondsTimeout, + bool /* System.Boolean */ exitContext, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Threading_WaitHandle_Handle_Get( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Threading_WaitHandle_Handle_Set( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ self, + long /* System.IntPtr */ value, + System_Exception_t* /* System.Exception */ outException +); + + +Microsoft_Win32_SafeHandles_SafeWaitHandle_t /* Microsoft.Win32.SafeHandles.SafeWaitHandle */ +System_Threading_WaitHandle_SafeWaitHandle_Get( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Threading_WaitHandle_SafeWaitHandle_Set( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ self, + Microsoft_Win32_SafeHandles_SafeWaitHandle_t /* Microsoft.Win32.SafeHandles.SafeWaitHandle */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Threading_WaitHandle_WaitTimeout_Get( + void +); + + +System_Type_t _Nonnull /* System.Type */ +System_Threading_WaitHandle_TypeOf( + void +); + +void /* System.Void */ +System_Threading_WaitHandle_Destroy( + System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ self +); + +#pragma mark - END APIs of System.Threading.WaitHandle + +#pragma mark - BEGIN APIs of System.IntPtr +System_Type_t _Nonnull /* System.Type */ +System_IntPtr_TypeOf( + void +); + +#pragma mark - END APIs of System.IntPtr + + +#pragma mark - BEGIN APIs of Microsoft.Win32.SafeHandles.SafeWaitHandle +Microsoft_Win32_SafeHandles_SafeWaitHandle_t /* Microsoft.Win32.SafeHandles.SafeWaitHandle */ +Microsoft_Win32_SafeHandles_SafeWaitHandle_Create( + System_Exception_t* /* System.Exception */ outException +); + +Microsoft_Win32_SafeHandles_SafeWaitHandle_t /* Microsoft.Win32.SafeHandles.SafeWaitHandle */ +Microsoft_Win32_SafeHandles_SafeWaitHandle_Create_1( + long /* System.IntPtr */ existingHandle, + bool /* System.Boolean */ ownsHandle, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +Microsoft_Win32_SafeHandles_SafeWaitHandle_TypeOf( + void +); + +void /* System.Void */ +Microsoft_Win32_SafeHandles_SafeWaitHandle_Destroy( + Microsoft_Win32_SafeHandles_SafeWaitHandle_t /* Microsoft.Win32.SafeHandles.SafeWaitHandle */ self +); + +#pragma mark - END APIs of Microsoft.Win32.SafeHandles.SafeWaitHandle + +#pragma mark - BEGIN APIs of Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid +bool /* System.Boolean */ +Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_IsInvalid_Get( + Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_t /* Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_TypeOf( + void +); + +void /* System.Void */ +Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_Destroy( + Microsoft_Win32_SafeHandles_SafeHandleZeroOrMinusOneIsInvalid_t /* Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid */ self +); + +#pragma mark - END APIs of Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid + +#pragma mark - BEGIN APIs of System.Runtime.InteropServices.SafeHandle +long /* System.IntPtr */ +System_Runtime_InteropServices_SafeHandle_DangerousGetHandle( + System_Runtime_InteropServices_SafeHandle_t /* System.Runtime.InteropServices.SafeHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_SafeHandle_Close( + System_Runtime_InteropServices_SafeHandle_t /* System.Runtime.InteropServices.SafeHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_SafeHandle_Dispose( + System_Runtime_InteropServices_SafeHandle_t /* System.Runtime.InteropServices.SafeHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_SafeHandle_SetHandleAsInvalid( + System_Runtime_InteropServices_SafeHandle_t /* System.Runtime.InteropServices.SafeHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_SafeHandle_DangerousAddRef( + System_Runtime_InteropServices_SafeHandle_t /* System.Runtime.InteropServices.SafeHandle */ self, + bool* /* System.Boolean */ success, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_SafeHandle_DangerousRelease( + System_Runtime_InteropServices_SafeHandle_t /* System.Runtime.InteropServices.SafeHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Runtime_InteropServices_SafeHandle_IsClosed_Get( + System_Runtime_InteropServices_SafeHandle_t /* System.Runtime.InteropServices.SafeHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Runtime_InteropServices_SafeHandle_IsInvalid_Get( + System_Runtime_InteropServices_SafeHandle_t /* System.Runtime.InteropServices.SafeHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_InteropServices_SafeHandle_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_InteropServices_SafeHandle_Destroy( + System_Runtime_InteropServices_SafeHandle_t /* System.Runtime.InteropServices.SafeHandle */ self +); + +#pragma mark - END APIs of System.Runtime.InteropServices.SafeHandle + +#pragma mark - BEGIN APIs of System.Runtime.ConstrainedExecution.CriticalFinalizerObject +System_Type_t _Nonnull /* System.Type */ +System_Runtime_ConstrainedExecution_CriticalFinalizerObject_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_ConstrainedExecution_CriticalFinalizerObject_Destroy( + System_Runtime_ConstrainedExecution_CriticalFinalizerObject_t /* System.Runtime.ConstrainedExecution.CriticalFinalizerObject */ self +); + +#pragma mark - END APIs of System.Runtime.ConstrainedExecution.CriticalFinalizerObject + + +#pragma mark - BEGIN APIs of System.Threading.WaitHandle[] +#pragma mark - END APIs of System.Threading.WaitHandle[] + + +#pragma mark - BEGIN APIs of System.Threading.CancellationTokenRegistration +void /* System.Void */ +System_Threading_CancellationTokenRegistration_Dispose( + System_Threading_CancellationTokenRegistration_t /* System.Threading.CancellationTokenRegistration */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_ValueTask_t /* System.Threading.Tasks.ValueTask */ +System_Threading_CancellationTokenRegistration_DisposeAsync( + System_Threading_CancellationTokenRegistration_t /* System.Threading.CancellationTokenRegistration */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_CancellationTokenRegistration_Unregister( + System_Threading_CancellationTokenRegistration_t /* System.Threading.CancellationTokenRegistration */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_CancellationTokenRegistration_Equals( + System_Threading_CancellationTokenRegistration_t /* System.Threading.CancellationTokenRegistration */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_CancellationTokenRegistration_Equals_1( + System_Threading_CancellationTokenRegistration_t /* System.Threading.CancellationTokenRegistration */ self, + System_Threading_CancellationTokenRegistration_t /* System.Threading.CancellationTokenRegistration */ other, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_CancellationTokenRegistration_GetHashCode( + System_Threading_CancellationTokenRegistration_t /* System.Threading.CancellationTokenRegistration */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ +System_Threading_CancellationTokenRegistration_Token_Get( + System_Threading_CancellationTokenRegistration_t /* System.Threading.CancellationTokenRegistration */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_CancellationTokenRegistration_t /* System.Threading.CancellationTokenRegistration */ +System_Threading_CancellationTokenRegistration_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Threading_CancellationTokenRegistration_TypeOf( + void +); + +void /* System.Void */ +System_Threading_CancellationTokenRegistration_Destroy( + System_Threading_CancellationTokenRegistration_t /* System.Threading.CancellationTokenRegistration */ self +); + +#pragma mark - END APIs of System.Threading.CancellationTokenRegistration + +#pragma mark - BEGIN APIs of System.Exception +System_Exception_t /* System.Exception */ +System_Exception_GetBaseException( + System_Exception_t /* System.Exception */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Exception_GetObjectData( + System_Exception_t /* System.Exception */ self, + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ info, + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ context, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Exception_ToString( + System_Exception_t /* System.Exception */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Exception_GetType( + System_Exception_t /* System.Exception */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Exception_t /* System.Exception */ +System_Exception_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Exception_t /* System.Exception */ +System_Exception_Create_1( + System_String_t /* System.String */ message, + System_Exception_t* /* System.Exception */ outException +); + +System_Exception_t /* System.Exception */ +System_Exception_Create_2( + System_String_t /* System.String */ message, + System_Exception_t /* System.Exception */ innerException, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ +System_Exception_TargetSite_Get( + System_Exception_t /* System.Exception */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Exception_Message_Get( + System_Exception_t /* System.Exception */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Collections_IDictionary_t /* System.Collections.IDictionary */ +System_Exception_Data_Get( + System_Exception_t /* System.Exception */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Exception_t /* System.Exception */ +System_Exception_InnerException_Get( + System_Exception_t /* System.Exception */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Exception_HelpLink_Get( + System_Exception_t /* System.Exception */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Exception_HelpLink_Set( + System_Exception_t /* System.Exception */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Exception_Source_Get( + System_Exception_t /* System.Exception */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Exception_Source_Set( + System_Exception_t /* System.Exception */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Exception_HResult_Get( + System_Exception_t /* System.Exception */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Exception_HResult_Set( + System_Exception_t /* System.Exception */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Exception_StackTrace_Get( + System_Exception_t /* System.Exception */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Exception_TypeOf( + void +); + +void /* System.Void */ +System_Exception_Destroy( + System_Exception_t /* System.Exception */ self +); + +#pragma mark - END APIs of System.Exception + +#pragma mark - BEGIN APIs of System.Reflection.MethodBase +System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ +System_Reflection_MethodBase_GetMethodFromHandle( + System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ handle, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ +System_Reflection_MethodBase_GetMethodFromHandle_1( + System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ handle, + System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ declaringType, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ +System_Reflection_MethodBase_GetCurrentMethod( + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_ParameterInfo_Array_t /* System.Reflection.ParameterInfo[] */ +System_Reflection_MethodBase_GetParameters( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodImplAttributes_t /* System.Reflection.MethodImplAttributes */ +System_Reflection_MethodBase_GetMethodImplementationFlags( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodBody_t /* System.Reflection.MethodBody */ +System_Reflection_MethodBase_GetMethodBody( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Reflection_MethodBase_GetGenericArguments( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_MethodBase_Invoke( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Object_t /* System.Object */ obj, + System_Object_Array_t /* System.Object[] */ parameters, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_MethodBase_Invoke_1( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Object_t /* System.Object */ obj, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ invokeAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Object_Array_t /* System.Object[] */ parameters, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_MethodBase_Equals( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Reflection_MethodBase_GetHashCode( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodAttributes_t /* System.Reflection.MethodAttributes */ +System_Reflection_MethodBase_Attributes_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_MethodImplAttributes_t /* System.Reflection.MethodImplAttributes */ +System_Reflection_MethodBase_MethodImplementationFlags_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_CallingConventions_t /* System.Reflection.CallingConventions */ +System_Reflection_MethodBase_CallingConvention_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsAbstract_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsConstructor_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsFinal_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsHideBySig_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsSpecialName_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsStatic_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsVirtual_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsAssembly_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsFamily_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsFamilyAndAssembly_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsFamilyOrAssembly_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsPrivate_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsPublic_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsConstructedGenericMethod_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsGenericMethod_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsGenericMethodDefinition_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_ContainsGenericParameters_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ +System_Reflection_MethodBase_MethodHandle_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsSecurityCritical_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsSecuritySafeCritical_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBase_IsSecurityTransparent_Get( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_MethodBase_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_MethodBase_Destroy( + System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ self +); + +#pragma mark - END APIs of System.Reflection.MethodBase + +#pragma mark - BEGIN APIs of System.RuntimeMethodHandle +void /* System.Void */ +System_RuntimeMethodHandle_GetObjectData( + System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ self, + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ info, + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ context, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_RuntimeMethodHandle_GetHashCode( + System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_RuntimeMethodHandle_Equals( + System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ +System_RuntimeMethodHandle_FromIntPtr( + long /* System.IntPtr */ value, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_RuntimeMethodHandle_ToIntPtr( + System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_RuntimeMethodHandle_Equals_1( + System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ self, + System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ handle, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_RuntimeMethodHandle_GetFunctionPointer( + System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_RuntimeMethodHandle_Value_Get( + System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ +System_RuntimeMethodHandle_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_RuntimeMethodHandle_TypeOf( + void +); + +void /* System.Void */ +System_RuntimeMethodHandle_Destroy( + System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ self +); + +#pragma mark - END APIs of System.RuntimeMethodHandle + +#pragma mark - BEGIN APIs of System.RuntimeTypeHandle +System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ +System_RuntimeTypeHandle_FromIntPtr( + long /* System.IntPtr */ value, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_RuntimeTypeHandle_ToIntPtr( + System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_RuntimeTypeHandle_GetHashCode( + System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_RuntimeTypeHandle_Equals( + System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_RuntimeTypeHandle_Equals_1( + System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ self, + System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ handle, + System_Exception_t* /* System.Exception */ outException +); + +System_ModuleHandle_t /* System.ModuleHandle */ +System_RuntimeTypeHandle_GetModuleHandle( + System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_RuntimeTypeHandle_GetObjectData( + System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ self, + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ info, + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ context, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_RuntimeTypeHandle_Value_Get( + System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ +System_RuntimeTypeHandle_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_RuntimeTypeHandle_TypeOf( + void +); + +void /* System.Void */ +System_RuntimeTypeHandle_Destroy( + System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ self +); + +#pragma mark - END APIs of System.RuntimeTypeHandle + +#pragma mark - BEGIN APIs of System.ModuleHandle +int32_t /* System.Int32 */ +System_ModuleHandle_GetHashCode( + System_ModuleHandle_t /* System.ModuleHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_ModuleHandle_Equals( + System_ModuleHandle_t /* System.ModuleHandle */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_ModuleHandle_Equals_1( + System_ModuleHandle_t /* System.ModuleHandle */ self, + System_ModuleHandle_t /* System.ModuleHandle */ handle, + System_Exception_t* /* System.Exception */ outException +); + +System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ +System_ModuleHandle_GetRuntimeTypeHandleFromMetadataToken( + System_ModuleHandle_t /* System.ModuleHandle */ self, + int32_t /* System.Int32 */ typeToken, + System_Exception_t* /* System.Exception */ outException +); + +System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ +System_ModuleHandle_ResolveTypeHandle( + System_ModuleHandle_t /* System.ModuleHandle */ self, + int32_t /* System.Int32 */ typeToken, + System_Exception_t* /* System.Exception */ outException +); + +System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ +System_ModuleHandle_ResolveTypeHandle_1( + System_ModuleHandle_t /* System.ModuleHandle */ self, + int32_t /* System.Int32 */ typeToken, + System_RuntimeTypeHandle_Array_t /* System.RuntimeTypeHandle[] */ typeInstantiationContext, + System_RuntimeTypeHandle_Array_t /* System.RuntimeTypeHandle[] */ methodInstantiationContext, + System_Exception_t* /* System.Exception */ outException +); + +System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ +System_ModuleHandle_GetRuntimeMethodHandleFromMetadataToken( + System_ModuleHandle_t /* System.ModuleHandle */ self, + int32_t /* System.Int32 */ methodToken, + System_Exception_t* /* System.Exception */ outException +); + +System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ +System_ModuleHandle_ResolveMethodHandle( + System_ModuleHandle_t /* System.ModuleHandle */ self, + int32_t /* System.Int32 */ methodToken, + System_Exception_t* /* System.Exception */ outException +); + +System_RuntimeMethodHandle_t /* System.RuntimeMethodHandle */ +System_ModuleHandle_ResolveMethodHandle_1( + System_ModuleHandle_t /* System.ModuleHandle */ self, + int32_t /* System.Int32 */ methodToken, + System_RuntimeTypeHandle_Array_t /* System.RuntimeTypeHandle[] */ typeInstantiationContext, + System_RuntimeTypeHandle_Array_t /* System.RuntimeTypeHandle[] */ methodInstantiationContext, + System_Exception_t* /* System.Exception */ outException +); + +System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ +System_ModuleHandle_GetRuntimeFieldHandleFromMetadataToken( + System_ModuleHandle_t /* System.ModuleHandle */ self, + int32_t /* System.Int32 */ fieldToken, + System_Exception_t* /* System.Exception */ outException +); + +System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ +System_ModuleHandle_ResolveFieldHandle( + System_ModuleHandle_t /* System.ModuleHandle */ self, + int32_t /* System.Int32 */ fieldToken, + System_Exception_t* /* System.Exception */ outException +); + +System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ +System_ModuleHandle_ResolveFieldHandle_1( + System_ModuleHandle_t /* System.ModuleHandle */ self, + int32_t /* System.Int32 */ fieldToken, + System_RuntimeTypeHandle_Array_t /* System.RuntimeTypeHandle[] */ typeInstantiationContext, + System_RuntimeTypeHandle_Array_t /* System.RuntimeTypeHandle[] */ methodInstantiationContext, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_ModuleHandle_MDStreamVersion_Get( + System_ModuleHandle_t /* System.ModuleHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_ModuleHandle_t /* System.ModuleHandle */ +System_ModuleHandle_EmptyHandle_Get( + void +); + + +System_ModuleHandle_t /* System.ModuleHandle */ +System_ModuleHandle_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_ModuleHandle_TypeOf( + void +); + +void /* System.Void */ +System_ModuleHandle_Destroy( + System_ModuleHandle_t /* System.ModuleHandle */ self +); + +#pragma mark - END APIs of System.ModuleHandle + +#pragma mark - BEGIN APIs of System.RuntimeTypeHandle[] +#pragma mark - END APIs of System.RuntimeTypeHandle[] + + +#pragma mark - BEGIN APIs of System.RuntimeFieldHandle +int32_t /* System.Int32 */ +System_RuntimeFieldHandle_GetHashCode( + System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_RuntimeFieldHandle_Equals( + System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_RuntimeFieldHandle_Equals_1( + System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ self, + System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ handle, + System_Exception_t* /* System.Exception */ outException +); + +System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ +System_RuntimeFieldHandle_FromIntPtr( + long /* System.IntPtr */ value, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_RuntimeFieldHandle_ToIntPtr( + System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_RuntimeFieldHandle_GetObjectData( + System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ self, + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ info, + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ context, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_RuntimeFieldHandle_Value_Get( + System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ +System_RuntimeFieldHandle_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_RuntimeFieldHandle_TypeOf( + void +); + +void /* System.Void */ +System_RuntimeFieldHandle_Destroy( + System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ self +); + +#pragma mark - END APIs of System.RuntimeFieldHandle + +#pragma mark - BEGIN APIs of System.Reflection.ParameterInfo[] +#pragma mark - END APIs of System.Reflection.ParameterInfo[] + +#pragma mark - BEGIN APIs of System.Reflection.ParameterInfo +bool /* System.Boolean */ +System_Reflection_ParameterInfo_IsDefined( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_Array_t /* System.Object[] */ +System_Reflection_ParameterInfo_GetCustomAttributes( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_Array_t /* System.Object[] */ +System_Reflection_ParameterInfo_GetCustomAttributes_1( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Reflection_ParameterInfo_GetModifiedParameterType( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Reflection_ParameterInfo_GetOptionalCustomModifiers( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Reflection_ParameterInfo_GetRequiredCustomModifiers( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_ParameterInfo_GetRealObject( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ context, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Reflection_ParameterInfo_ToString( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_ParameterAttributes_t /* System.Reflection.ParameterAttributes */ +System_Reflection_ParameterInfo_Attributes_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ +System_Reflection_ParameterInfo_Member_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_ParameterInfo_Name_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Reflection_ParameterInfo_ParameterType_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Reflection_ParameterInfo_Position_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_ParameterInfo_IsIn_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_ParameterInfo_IsLcid_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_ParameterInfo_IsOptional_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_ParameterInfo_IsOut_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_ParameterInfo_IsRetval_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Object_t /* System.Object */ +System_Reflection_ParameterInfo_DefaultValue_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Object_t /* System.Object */ +System_Reflection_ParameterInfo_RawDefaultValue_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_ParameterInfo_HasDefaultValue_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Reflection_ParameterInfo_MetadataToken_Get( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_ParameterInfo_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_ParameterInfo_Destroy( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ self +); + +#pragma mark - END APIs of System.Reflection.ParameterInfo + +#pragma mark - BEGIN APIs of System.Runtime.Serialization.IObjectReference +System_Object_t /* System.Object */ +System_Runtime_Serialization_IObjectReference_GetRealObject( + System_Runtime_Serialization_IObjectReference_t /* System.Runtime.Serialization.IObjectReference */ self, + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ context, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_Serialization_IObjectReference_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_Serialization_IObjectReference_Destroy( + System_Runtime_Serialization_IObjectReference_t /* System.Runtime.Serialization.IObjectReference */ self +); + +#pragma mark - END APIs of System.Runtime.Serialization.IObjectReference + +#pragma mark - BEGIN APIs of System.Type[] +#pragma mark - END APIs of System.Type[] + + + +#pragma mark - BEGIN APIs of System.Reflection.MethodBody +System_Byte_Array_t /* System.Byte[] */ +System_Reflection_MethodBody_GetILAsByteArray( + System_Reflection_MethodBody_t /* System.Reflection.MethodBody */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Reflection_MethodBody_LocalSignatureMetadataToken_Get( + System_Reflection_MethodBody_t /* System.Reflection.MethodBody */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Reflection_MethodBody_MaxStackSize_Get( + System_Reflection_MethodBody_t /* System.Reflection.MethodBody */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_MethodBody_InitLocals_Get( + System_Reflection_MethodBody_t /* System.Reflection.MethodBody */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_MethodBody_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_MethodBody_Destroy( + System_Reflection_MethodBody_t /* System.Reflection.MethodBody */ self +); + +#pragma mark - END APIs of System.Reflection.MethodBody + +#pragma mark - BEGIN APIs of System.Reflection.Binder +System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ +System_Reflection_Binder_BindToField( + System_Reflection_Binder_t /* System.Reflection.Binder */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_FieldInfo_Array_t /* System.Reflection.FieldInfo[] */ match, + System_Object_t /* System.Object */ value, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ +System_Reflection_Binder_BindToMethod( + System_Reflection_Binder_t /* System.Reflection.Binder */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_MethodBase_Array_t /* System.Reflection.MethodBase[] */ match, + System_Object_Array_t* /* System.Object[] */ args, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_String_Array_t /* System.String[] */ names, + System_Object_t* /* System.Object */ state, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_Binder_ChangeType( + System_Reflection_Binder_t /* System.Reflection.Binder */ self, + System_Object_t /* System.Object */ value, + System_Type_t /* System.Type */ type, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_Binder_ReorderArgumentArray( + System_Reflection_Binder_t /* System.Reflection.Binder */ self, + System_Object_Array_t* /* System.Object[] */ args, + System_Object_t /* System.Object */ state, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ +System_Reflection_Binder_SelectMethod( + System_Reflection_Binder_t /* System.Reflection.Binder */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_MethodBase_Array_t /* System.Reflection.MethodBase[] */ match, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ +System_Reflection_Binder_SelectProperty( + System_Reflection_Binder_t /* System.Reflection.Binder */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_PropertyInfo_Array_t /* System.Reflection.PropertyInfo[] */ match, + System_Type_t /* System.Type */ returnType, + System_Type_Array_t /* System.Type[] */ indexes, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_Binder_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_Binder_Destroy( + System_Reflection_Binder_t /* System.Reflection.Binder */ self +); + +#pragma mark - END APIs of System.Reflection.Binder + +#pragma mark - BEGIN APIs of System.Reflection.FieldInfo +System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ +System_Reflection_FieldInfo_GetFieldFromHandle( + System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ handle, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ +System_Reflection_FieldInfo_GetFieldFromHandle_1( + System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ handle, + System_RuntimeTypeHandle_t /* System.RuntimeTypeHandle */ declaringType, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_FieldInfo_Equals( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Reflection_FieldInfo_GetHashCode( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_FieldInfo_GetValue( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_FieldInfo_SetValue( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Object_t /* System.Object */ obj, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_FieldInfo_SetValue_1( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Object_t /* System.Object */ obj, + System_Object_t /* System.Object */ value, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ invokeAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_FieldInfo_GetRawConstantValue( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Reflection_FieldInfo_GetModifiedFieldType( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Reflection_FieldInfo_GetOptionalCustomModifiers( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Reflection_FieldInfo_GetRequiredCustomModifiers( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberTypes_t /* System.Reflection.MemberTypes */ +System_Reflection_FieldInfo_MemberType_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_FieldAttributes_t /* System.Reflection.FieldAttributes */ +System_Reflection_FieldInfo_Attributes_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Reflection_FieldInfo_FieldType_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsInitOnly_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsLiteral_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsNotSerialized_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsPinvokeImpl_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsSpecialName_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsStatic_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsAssembly_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsFamily_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsFamilyAndAssembly_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsFamilyOrAssembly_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsPrivate_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsPublic_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsSecurityCritical_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsSecuritySafeCritical_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_FieldInfo_IsSecurityTransparent_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_RuntimeFieldHandle_t /* System.RuntimeFieldHandle */ +System_Reflection_FieldInfo_FieldHandle_Get( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_FieldInfo_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_FieldInfo_Destroy( + System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ self +); + +#pragma mark - END APIs of System.Reflection.FieldInfo + +#pragma mark - BEGIN APIs of System.Reflection.FieldInfo[] +#pragma mark - END APIs of System.Reflection.FieldInfo[] + + +#pragma mark - BEGIN APIs of System.Reflection.MethodBase[] +#pragma mark - END APIs of System.Reflection.MethodBase[] + + + +#pragma mark - BEGIN APIs of System.Reflection.ParameterModifier[] +#pragma mark - END APIs of System.Reflection.ParameterModifier[] + +#pragma mark - BEGIN APIs of System.Reflection.ParameterModifier +System_Reflection_ParameterModifier_t /* System.Reflection.ParameterModifier */ +System_Reflection_ParameterModifier_Create( + int32_t /* System.Int32 */ parameterCount, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_ParameterModifier_Item_Get( + System_Reflection_ParameterModifier_t /* System.Reflection.ParameterModifier */ self, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_ParameterModifier_Item_Set( + System_Reflection_ParameterModifier_t /* System.Reflection.ParameterModifier */ self, + int32_t /* System.Int32 */ index, + bool /* System.Boolean */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_ParameterModifier_t /* System.Reflection.ParameterModifier */ +System_Reflection_ParameterModifier_Create_1( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_ParameterModifier_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_ParameterModifier_Destroy( + System_Reflection_ParameterModifier_t /* System.Reflection.ParameterModifier */ self +); + +#pragma mark - END APIs of System.Reflection.ParameterModifier + + + +#pragma mark - BEGIN APIs of System.Reflection.PropertyInfo +System_Reflection_ParameterInfo_Array_t /* System.Reflection.ParameterInfo[] */ +System_Reflection_PropertyInfo_GetIndexParameters( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_Array_t /* System.Reflection.MethodInfo[] */ +System_Reflection_PropertyInfo_GetAccessors( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_Array_t /* System.Reflection.MethodInfo[] */ +System_Reflection_PropertyInfo_GetAccessors_1( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + bool /* System.Boolean */ nonPublic, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_PropertyInfo_GetGetMethod( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_PropertyInfo_GetGetMethod_1( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + bool /* System.Boolean */ nonPublic, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_PropertyInfo_GetSetMethod( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_PropertyInfo_GetSetMethod_1( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + bool /* System.Boolean */ nonPublic, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Reflection_PropertyInfo_GetModifiedPropertyType( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Reflection_PropertyInfo_GetOptionalCustomModifiers( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Reflection_PropertyInfo_GetRequiredCustomModifiers( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_PropertyInfo_GetValue( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_PropertyInfo_GetValue_1( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Object_t /* System.Object */ obj, + System_Object_Array_t /* System.Object[] */ index, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_PropertyInfo_GetValue_2( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Object_t /* System.Object */ obj, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ invokeAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Object_Array_t /* System.Object[] */ index, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_PropertyInfo_GetConstantValue( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_PropertyInfo_GetRawConstantValue( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_PropertyInfo_SetValue( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Object_t /* System.Object */ obj, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_PropertyInfo_SetValue_1( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Object_t /* System.Object */ obj, + System_Object_t /* System.Object */ value, + System_Object_Array_t /* System.Object[] */ index, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_PropertyInfo_SetValue_2( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Object_t /* System.Object */ obj, + System_Object_t /* System.Object */ value, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ invokeAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Object_Array_t /* System.Object[] */ index, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_PropertyInfo_Equals( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Reflection_PropertyInfo_GetHashCode( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberTypes_t /* System.Reflection.MemberTypes */ +System_Reflection_PropertyInfo_MemberType_Get( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Reflection_PropertyInfo_PropertyType_Get( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_PropertyAttributes_t /* System.Reflection.PropertyAttributes */ +System_Reflection_PropertyInfo_Attributes_Get( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_PropertyInfo_IsSpecialName_Get( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_PropertyInfo_CanRead_Get( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_PropertyInfo_CanWrite_Get( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_PropertyInfo_GetMethod_Get( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_PropertyInfo_SetMethod_Get( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_PropertyInfo_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_PropertyInfo_Destroy( + System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ self +); + +#pragma mark - END APIs of System.Reflection.PropertyInfo + +#pragma mark - BEGIN APIs of System.Reflection.MethodInfo[] +#pragma mark - END APIs of System.Reflection.MethodInfo[] + +#pragma mark - BEGIN APIs of System.Reflection.MethodInfo +System_Type_Array_t /* System.Type[] */ +System_Reflection_MethodInfo_GetGenericArguments( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_MethodInfo_GetGenericMethodDefinition( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_MethodInfo_MakeGenericMethod( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ self, + System_Type_Array_t /* System.Type[] */ typeArguments, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_MethodInfo_GetBaseDefinition( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Delegate_t /* System.Delegate */ +System_Reflection_MethodInfo_CreateDelegate( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ self, + System_Type_t /* System.Type */ delegateType, + System_Exception_t* /* System.Exception */ outException +); + +System_Delegate_t /* System.Delegate */ +System_Reflection_MethodInfo_CreateDelegate_1( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ self, + System_Type_t /* System.Type */ delegateType, + System_Object_t /* System.Object */ target, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_MethodInfo_Equals( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Reflection_MethodInfo_GetHashCode( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberTypes_t /* System.Reflection.MemberTypes */ +System_Reflection_MethodInfo_MemberType_Get( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ +System_Reflection_MethodInfo_ReturnParameter_Get( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Reflection_MethodInfo_ReturnType_Get( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_ICustomAttributeProvider_t /* System.Reflection.ICustomAttributeProvider */ +System_Reflection_MethodInfo_ReturnTypeCustomAttributes_Get( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_MethodInfo_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_MethodInfo_Destroy( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ self +); + +#pragma mark - END APIs of System.Reflection.MethodInfo + + +#pragma mark - BEGIN APIs of System.Reflection.PropertyInfo[] +#pragma mark - END APIs of System.Reflection.PropertyInfo[] + + +#pragma mark - BEGIN APIs of System.Collections.IDictionary +bool /* System.Boolean */ +System_Collections_IDictionary_Contains( + System_Collections_IDictionary_t /* System.Collections.IDictionary */ self, + System_Object_t /* System.Object */ key, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Collections_IDictionary_Add( + System_Collections_IDictionary_t /* System.Collections.IDictionary */ self, + System_Object_t /* System.Object */ key, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Collections_IDictionary_Clear( + System_Collections_IDictionary_t /* System.Collections.IDictionary */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Collections_IDictionaryEnumerator_t /* System.Collections.IDictionaryEnumerator */ +System_Collections_IDictionary_GetEnumerator( + System_Collections_IDictionary_t /* System.Collections.IDictionary */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Collections_IDictionary_Remove( + System_Collections_IDictionary_t /* System.Collections.IDictionary */ self, + System_Object_t /* System.Object */ key, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Collections_IDictionary_Item_Get( + System_Collections_IDictionary_t /* System.Collections.IDictionary */ self, + System_Object_t /* System.Object */ key, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Collections_IDictionary_Item_Set( + System_Collections_IDictionary_t /* System.Collections.IDictionary */ self, + System_Object_t /* System.Object */ key, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Collections_ICollection_t /* System.Collections.ICollection */ +System_Collections_IDictionary_Keys_Get( + System_Collections_IDictionary_t /* System.Collections.IDictionary */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Collections_ICollection_t /* System.Collections.ICollection */ +System_Collections_IDictionary_Values_Get( + System_Collections_IDictionary_t /* System.Collections.IDictionary */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Collections_IDictionary_IsReadOnly_Get( + System_Collections_IDictionary_t /* System.Collections.IDictionary */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Collections_IDictionary_IsFixedSize_Get( + System_Collections_IDictionary_t /* System.Collections.IDictionary */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Collections_IDictionary_TypeOf( + void +); + +void /* System.Void */ +System_Collections_IDictionary_Destroy( + System_Collections_IDictionary_t /* System.Collections.IDictionary */ self +); + +#pragma mark - END APIs of System.Collections.IDictionary + +#pragma mark - BEGIN APIs of System.Collections.IDictionaryEnumerator +System_Object_t /* System.Object */ +System_Collections_IDictionaryEnumerator_Key_Get( + System_Collections_IDictionaryEnumerator_t /* System.Collections.IDictionaryEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Object_t /* System.Object */ +System_Collections_IDictionaryEnumerator_Value_Get( + System_Collections_IDictionaryEnumerator_t /* System.Collections.IDictionaryEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Collections_DictionaryEntry_t /* System.Collections.DictionaryEntry */ +System_Collections_IDictionaryEnumerator_Entry_Get( + System_Collections_IDictionaryEnumerator_t /* System.Collections.IDictionaryEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Collections_IDictionaryEnumerator_TypeOf( + void +); + +void /* System.Void */ +System_Collections_IDictionaryEnumerator_Destroy( + System_Collections_IDictionaryEnumerator_t /* System.Collections.IDictionaryEnumerator */ self +); + +#pragma mark - END APIs of System.Collections.IDictionaryEnumerator + +#pragma mark - BEGIN APIs of System.Collections.DictionaryEntry +void /* System.Void */ +System_Collections_DictionaryEntry_Deconstruct( + System_Collections_DictionaryEntry_t /* System.Collections.DictionaryEntry */ self, + System_Object_t* /* System.Object */ key, + System_Object_t* /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Collections_DictionaryEntry_ToString( + System_Collections_DictionaryEntry_t /* System.Collections.DictionaryEntry */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Collections_DictionaryEntry_t /* System.Collections.DictionaryEntry */ +System_Collections_DictionaryEntry_Create( + System_Object_t /* System.Object */ key, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Collections_DictionaryEntry_Key_Get( + System_Collections_DictionaryEntry_t /* System.Collections.DictionaryEntry */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Collections_DictionaryEntry_Key_Set( + System_Collections_DictionaryEntry_t /* System.Collections.DictionaryEntry */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Object_t /* System.Object */ +System_Collections_DictionaryEntry_Value_Get( + System_Collections_DictionaryEntry_t /* System.Collections.DictionaryEntry */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Collections_DictionaryEntry_Value_Set( + System_Collections_DictionaryEntry_t /* System.Collections.DictionaryEntry */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Collections_DictionaryEntry_t /* System.Collections.DictionaryEntry */ +System_Collections_DictionaryEntry_Create_1( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Collections_DictionaryEntry_TypeOf( + void +); + +void /* System.Void */ +System_Collections_DictionaryEntry_Destroy( + System_Collections_DictionaryEntry_t /* System.Collections.DictionaryEntry */ self +); + +#pragma mark - END APIs of System.Collections.DictionaryEntry + +#pragma mark - BEGIN APIs of System.Threading.Tasks.Task +void /* System.Void */ +System_Threading_Tasks_Task_Start( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Threading_Tasks_Task_Start_1( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Threading_Tasks_TaskScheduler_t /* System.Threading.Tasks.TaskScheduler */ scheduler, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Threading_Tasks_Task_RunSynchronously( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Threading_Tasks_Task_RunSynchronously_1( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Threading_Tasks_TaskScheduler_t /* System.Threading.Tasks.TaskScheduler */ scheduler, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Threading_Tasks_Task_Dispose( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_CompilerServices_TaskAwaiter_t /* System.Runtime.CompilerServices.TaskAwaiter */ +System_Threading_Tasks_Task_GetAwaiter( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable */ +System_Threading_Tasks_Task_ConfigureAwait( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + bool /* System.Boolean */ continueOnCapturedContext, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable */ +System_Threading_Tasks_Task_ConfigureAwait_1( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Threading_Tasks_ConfigureAwaitOptions_t /* System.Threading.Tasks.ConfigureAwaitOptions */ options, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_CompilerServices_YieldAwaitable_t /* System.Runtime.CompilerServices.YieldAwaitable */ +System_Threading_Tasks_Task_Yield( + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Threading_Tasks_Task_Wait( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_Tasks_Task_Wait_1( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_TimeSpan_t /* System.TimeSpan */ timeout, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_Tasks_Task_Wait_2( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_TimeSpan_t /* System.TimeSpan */ timeout, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Threading_Tasks_Task_Wait_3( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_Tasks_Task_Wait_4( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + int32_t /* System.Int32 */ millisecondsTimeout, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_Tasks_Task_Wait_5( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + int32_t /* System.Int32 */ millisecondsTimeout, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_WaitAsync( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_WaitAsync_1( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_TimeSpan_t /* System.TimeSpan */ timeout, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_WaitAsync_2( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_TimeSpan_t /* System.TimeSpan */ timeout, + System_TimeProvider_t /* System.TimeProvider */ timeProvider, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_WaitAsync_3( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_TimeSpan_t /* System.TimeSpan */ timeout, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_WaitAsync_4( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_TimeSpan_t /* System.TimeSpan */ timeout, + System_TimeProvider_t /* System.TimeProvider */ timeProvider, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Threading_Tasks_Task_WaitAll( + System_Threading_Tasks_Task_Array_t /* System.Threading.Tasks.Task[] */ tasks, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_Tasks_Task_WaitAll_1( + System_Threading_Tasks_Task_Array_t /* System.Threading.Tasks.Task[] */ tasks, + System_TimeSpan_t /* System.TimeSpan */ timeout, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_Tasks_Task_WaitAll_2( + System_Threading_Tasks_Task_Array_t /* System.Threading.Tasks.Task[] */ tasks, + int32_t /* System.Int32 */ millisecondsTimeout, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Threading_Tasks_Task_WaitAll_3( + System_Threading_Tasks_Task_Array_t /* System.Threading.Tasks.Task[] */ tasks, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Threading_Tasks_Task_WaitAll_4( + System_Threading_Tasks_Task_Array_t /* System.Threading.Tasks.Task[] */ tasks, + int32_t /* System.Int32 */ millisecondsTimeout, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_Tasks_Task_WaitAny( + System_Threading_Tasks_Task_Array_t /* System.Threading.Tasks.Task[] */ tasks, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_Tasks_Task_WaitAny_1( + System_Threading_Tasks_Task_Array_t /* System.Threading.Tasks.Task[] */ tasks, + System_TimeSpan_t /* System.TimeSpan */ timeout, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_Tasks_Task_WaitAny_2( + System_Threading_Tasks_Task_Array_t /* System.Threading.Tasks.Task[] */ tasks, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_Tasks_Task_WaitAny_3( + System_Threading_Tasks_Task_Array_t /* System.Threading.Tasks.Task[] */ tasks, + int32_t /* System.Int32 */ millisecondsTimeout, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_Tasks_Task_WaitAny_4( + System_Threading_Tasks_Task_Array_t /* System.Threading.Tasks.Task[] */ tasks, + int32_t /* System.Int32 */ millisecondsTimeout, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_FromException( + System_Exception_t /* System.Exception */ exception, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_FromCanceled( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_Run_1( + System_Action_t /* System.Action */ action, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_Run_2( + System_Action_t /* System.Action */ action, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_Delay( + System_TimeSpan_t /* System.TimeSpan */ delay, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_Delay_1( + System_TimeSpan_t /* System.TimeSpan */ delay, + System_TimeProvider_t /* System.TimeProvider */ timeProvider, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_Delay_2( + System_TimeSpan_t /* System.TimeSpan */ delay, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_Delay_3( + System_TimeSpan_t /* System.TimeSpan */ delay, + System_TimeProvider_t /* System.TimeProvider */ timeProvider, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_Delay_4( + int32_t /* System.Int32 */ millisecondsDelay, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_Delay_5( + int32_t /* System.Int32 */ millisecondsDelay, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_WhenAll( + System_Threading_Tasks_Task_Array_t /* System.Threading.Tasks.Task[] */ tasks, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_Create( + System_Action_t /* System.Action */ action, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_Create_1( + System_Action_t /* System.Action */ action, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_Create_2( + System_Action_t /* System.Action */ action, + System_Threading_Tasks_TaskCreationOptions_t /* System.Threading.Tasks.TaskCreationOptions */ creationOptions, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_Create_3( + System_Action_t /* System.Action */ action, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Threading_Tasks_TaskCreationOptions_t /* System.Threading.Tasks.TaskCreationOptions */ creationOptions, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_Tasks_Task_Id_Get( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_AggregateException_t /* System.AggregateException */ +System_Threading_Tasks_Task_Exception_Get( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_Tasks_TaskStatus_t /* System.Threading.Tasks.TaskStatus */ +System_Threading_Tasks_Task_Status_Get( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Threading_Tasks_Task_IsCanceled_Get( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Threading_Tasks_Task_IsCompleted_Get( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Threading_Tasks_Task_IsCompletedSuccessfully_Get( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_Tasks_TaskCreationOptions_t /* System.Threading.Tasks.TaskCreationOptions */ +System_Threading_Tasks_Task_CreationOptions_Get( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Object_t /* System.Object */ +System_Threading_Tasks_Task_AsyncState_Get( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ +System_Threading_Tasks_Task_Factory_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_Task_CompletedTask_Get( + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Threading_Tasks_Task_IsFaulted_Get( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Threading_Tasks_Task_TypeOf( + void +); + +void /* System.Void */ +System_Threading_Tasks_Task_Destroy( + System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ self +); + +#pragma mark - END APIs of System.Threading.Tasks.Task + +#pragma mark - BEGIN APIs of System.IAsyncResult +bool /* System.Boolean */ +System_IAsyncResult_IsCompleted_Get( + System_IAsyncResult_t /* System.IAsyncResult */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_WaitHandle_t /* System.Threading.WaitHandle */ +System_IAsyncResult_AsyncWaitHandle_Get( + System_IAsyncResult_t /* System.IAsyncResult */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Object_t /* System.Object */ +System_IAsyncResult_AsyncState_Get( + System_IAsyncResult_t /* System.IAsyncResult */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_IAsyncResult_CompletedSynchronously_Get( + System_IAsyncResult_t /* System.IAsyncResult */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_IAsyncResult_TypeOf( + void +); + +void /* System.Void */ +System_IAsyncResult_Destroy( + System_IAsyncResult_t /* System.IAsyncResult */ self +); + +#pragma mark - END APIs of System.IAsyncResult + +#pragma mark - BEGIN APIs of System.Threading.Tasks.TaskScheduler +System_Threading_Tasks_TaskScheduler_t /* System.Threading.Tasks.TaskScheduler */ +System_Threading_Tasks_TaskScheduler_FromCurrentSynchronizationContext( + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Threading_Tasks_TaskScheduler_MaximumConcurrencyLevel_Get( + System_Threading_Tasks_TaskScheduler_t /* System.Threading.Tasks.TaskScheduler */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_Tasks_TaskScheduler_t /* System.Threading.Tasks.TaskScheduler */ +System_Threading_Tasks_TaskScheduler_Default_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_Tasks_TaskScheduler_t /* System.Threading.Tasks.TaskScheduler */ +System_Threading_Tasks_TaskScheduler_Current_Get( + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Threading_Tasks_TaskScheduler_Id_Get( + System_Threading_Tasks_TaskScheduler_t /* System.Threading.Tasks.TaskScheduler */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Threading_Tasks_TaskScheduler_TypeOf( + void +); + +void /* System.Void */ +System_Threading_Tasks_TaskScheduler_Destroy( + System_Threading_Tasks_TaskScheduler_t /* System.Threading.Tasks.TaskScheduler */ self +); + +#pragma mark - END APIs of System.Threading.Tasks.TaskScheduler + +#pragma mark - BEGIN APIs of System.AggregateException +void /* System.Void */ +System_AggregateException_GetObjectData( + System_AggregateException_t /* System.AggregateException */ self, + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ info, + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ context, + System_Exception_t* /* System.Exception */ outException +); + +System_Exception_t /* System.Exception */ +System_AggregateException_GetBaseException( + System_AggregateException_t /* System.AggregateException */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_AggregateException_t /* System.AggregateException */ +System_AggregateException_Flatten( + System_AggregateException_t /* System.AggregateException */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_AggregateException_ToString( + System_AggregateException_t /* System.AggregateException */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_AggregateException_t /* System.AggregateException */ +System_AggregateException_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_AggregateException_t /* System.AggregateException */ +System_AggregateException_Create_1( + System_String_t /* System.String */ message, + System_Exception_t* /* System.Exception */ outException +); + +System_AggregateException_t /* System.AggregateException */ +System_AggregateException_Create_2( + System_String_t /* System.String */ message, + System_Exception_t /* System.Exception */ innerException, + System_Exception_t* /* System.Exception */ outException +); + +System_AggregateException_t /* System.AggregateException */ +System_AggregateException_Create_3( + System_Exception_Array_t /* System.Exception[] */ innerExceptions, + System_Exception_t* /* System.Exception */ outException +); + +System_AggregateException_t /* System.AggregateException */ +System_AggregateException_Create_4( + System_String_t /* System.String */ message, + System_Exception_Array_t /* System.Exception[] */ innerExceptions, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_AggregateException_Message_Get( + System_AggregateException_t /* System.AggregateException */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_AggregateException_TypeOf( + void +); + +void /* System.Void */ +System_AggregateException_Destroy( + System_AggregateException_t /* System.AggregateException */ self +); + +#pragma mark - END APIs of System.AggregateException + +#pragma mark - BEGIN APIs of System.Exception[] +#pragma mark - END APIs of System.Exception[] + + +#pragma mark - BEGIN APIs of System.Threading.Tasks.TaskFactory +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_TaskFactory_StartNew( + System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ self, + System_Action_t /* System.Action */ action, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_TaskFactory_StartNew_1( + System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ self, + System_Action_t /* System.Action */ action, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_TaskFactory_StartNew_2( + System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ self, + System_Action_t /* System.Action */ action, + System_Threading_Tasks_TaskCreationOptions_t /* System.Threading.Tasks.TaskCreationOptions */ creationOptions, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_Task_t /* System.Threading.Tasks.Task */ +System_Threading_Tasks_TaskFactory_StartNew_3( + System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ self, + System_Action_t /* System.Action */ action, + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Threading_Tasks_TaskCreationOptions_t /* System.Threading.Tasks.TaskCreationOptions */ creationOptions, + System_Threading_Tasks_TaskScheduler_t /* System.Threading.Tasks.TaskScheduler */ scheduler, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ +System_Threading_Tasks_TaskFactory_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ +System_Threading_Tasks_TaskFactory_Create_1( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ +System_Threading_Tasks_TaskFactory_Create_2( + System_Threading_Tasks_TaskScheduler_t /* System.Threading.Tasks.TaskScheduler */ scheduler, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ +System_Threading_Tasks_TaskFactory_Create_3( + System_Threading_Tasks_TaskCreationOptions_t /* System.Threading.Tasks.TaskCreationOptions */ creationOptions, + System_Threading_Tasks_TaskContinuationOptions_t /* System.Threading.Tasks.TaskContinuationOptions */ continuationOptions, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ +System_Threading_Tasks_TaskFactory_Create_4( + System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ cancellationToken, + System_Threading_Tasks_TaskCreationOptions_t /* System.Threading.Tasks.TaskCreationOptions */ creationOptions, + System_Threading_Tasks_TaskContinuationOptions_t /* System.Threading.Tasks.TaskContinuationOptions */ continuationOptions, + System_Threading_Tasks_TaskScheduler_t /* System.Threading.Tasks.TaskScheduler */ scheduler, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_CancellationToken_t /* System.Threading.CancellationToken */ +System_Threading_Tasks_TaskFactory_CancellationToken_Get( + System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_Tasks_TaskScheduler_t /* System.Threading.Tasks.TaskScheduler */ +System_Threading_Tasks_TaskFactory_Scheduler_Get( + System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_Tasks_TaskCreationOptions_t /* System.Threading.Tasks.TaskCreationOptions */ +System_Threading_Tasks_TaskFactory_CreationOptions_Get( + System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Threading_Tasks_TaskContinuationOptions_t /* System.Threading.Tasks.TaskContinuationOptions */ +System_Threading_Tasks_TaskFactory_ContinuationOptions_Get( + System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Threading_Tasks_TaskFactory_TypeOf( + void +); + +void /* System.Void */ +System_Threading_Tasks_TaskFactory_Destroy( + System_Threading_Tasks_TaskFactory_t /* System.Threading.Tasks.TaskFactory */ self +); + +#pragma mark - END APIs of System.Threading.Tasks.TaskFactory + +#pragma mark - BEGIN APIs of System.Threading.Tasks.Task[] +#pragma mark - END APIs of System.Threading.Tasks.Task[] + + +#pragma mark - BEGIN APIs of System.Runtime.CompilerServices.TaskAwaiter +void /* System.Void */ +System_Runtime_CompilerServices_TaskAwaiter_OnCompleted( + System_Runtime_CompilerServices_TaskAwaiter_t /* System.Runtime.CompilerServices.TaskAwaiter */ self, + System_Action_t /* System.Action */ continuation, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_CompilerServices_TaskAwaiter_UnsafeOnCompleted( + System_Runtime_CompilerServices_TaskAwaiter_t /* System.Runtime.CompilerServices.TaskAwaiter */ self, + System_Action_t /* System.Action */ continuation, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_CompilerServices_TaskAwaiter_GetResult( + System_Runtime_CompilerServices_TaskAwaiter_t /* System.Runtime.CompilerServices.TaskAwaiter */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Runtime_CompilerServices_TaskAwaiter_IsCompleted_Get( + System_Runtime_CompilerServices_TaskAwaiter_t /* System.Runtime.CompilerServices.TaskAwaiter */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Runtime_CompilerServices_TaskAwaiter_t /* System.Runtime.CompilerServices.TaskAwaiter */ +System_Runtime_CompilerServices_TaskAwaiter_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_CompilerServices_TaskAwaiter_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_CompilerServices_TaskAwaiter_Destroy( + System_Runtime_CompilerServices_TaskAwaiter_t /* System.Runtime.CompilerServices.TaskAwaiter */ self +); + +#pragma mark - END APIs of System.Runtime.CompilerServices.TaskAwaiter + +#pragma mark - BEGIN APIs of System.Runtime.CompilerServices.ICriticalNotifyCompletion +void /* System.Void */ +System_Runtime_CompilerServices_ICriticalNotifyCompletion_UnsafeOnCompleted( + System_Runtime_CompilerServices_ICriticalNotifyCompletion_t /* System.Runtime.CompilerServices.ICriticalNotifyCompletion */ self, + System_Action_t /* System.Action */ continuation, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_CompilerServices_ICriticalNotifyCompletion_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_CompilerServices_ICriticalNotifyCompletion_Destroy( + System_Runtime_CompilerServices_ICriticalNotifyCompletion_t /* System.Runtime.CompilerServices.ICriticalNotifyCompletion */ self +); + +#pragma mark - END APIs of System.Runtime.CompilerServices.ICriticalNotifyCompletion + +#pragma mark - BEGIN APIs of System.Runtime.CompilerServices.INotifyCompletion +void /* System.Void */ +System_Runtime_CompilerServices_INotifyCompletion_OnCompleted( + System_Runtime_CompilerServices_INotifyCompletion_t /* System.Runtime.CompilerServices.INotifyCompletion */ self, + System_Action_t /* System.Action */ continuation, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_CompilerServices_INotifyCompletion_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_CompilerServices_INotifyCompletion_Destroy( + System_Runtime_CompilerServices_INotifyCompletion_t /* System.Runtime.CompilerServices.INotifyCompletion */ self +); + +#pragma mark - END APIs of System.Runtime.CompilerServices.INotifyCompletion + +#pragma mark - BEGIN APIs of System.Runtime.CompilerServices.ConfiguredTaskAwaitable +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_GetAwaiter( + System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable */ +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_Destroy( + System_Runtime_CompilerServices_ConfiguredTaskAwaitable_t /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable */ self +); + +#pragma mark - END APIs of System.Runtime.CompilerServices.ConfiguredTaskAwaitable + +#pragma mark - BEGIN APIs of System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter +void /* System.Void */ +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_OnCompleted( + System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ self, + System_Action_t /* System.Action */ continuation, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_UnsafeOnCompleted( + System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ self, + System_Action_t /* System.Action */ continuation, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_GetResult( + System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_IsCompleted_Get( + System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_Destroy( + System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter */ self +); + +#pragma mark - END APIs of System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter + +#pragma mark - BEGIN APIs of System.Runtime.CompilerServices.YieldAwaitable +System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ +System_Runtime_CompilerServices_YieldAwaitable_GetAwaiter( + System_Runtime_CompilerServices_YieldAwaitable_t /* System.Runtime.CompilerServices.YieldAwaitable */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_CompilerServices_YieldAwaitable_t /* System.Runtime.CompilerServices.YieldAwaitable */ +System_Runtime_CompilerServices_YieldAwaitable_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_CompilerServices_YieldAwaitable_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_CompilerServices_YieldAwaitable_Destroy( + System_Runtime_CompilerServices_YieldAwaitable_t /* System.Runtime.CompilerServices.YieldAwaitable */ self +); + +#pragma mark - END APIs of System.Runtime.CompilerServices.YieldAwaitable + +#pragma mark - BEGIN APIs of System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter +void /* System.Void */ +System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_OnCompleted( + System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ self, + System_Action_t /* System.Action */ continuation, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_UnsafeOnCompleted( + System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ self, + System_Action_t /* System.Action */ continuation, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_GetResult( + System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_IsCompleted_Get( + System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ +System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_Destroy( + System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter_t /* System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter */ self +); + +#pragma mark - END APIs of System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter + +#pragma mark - BEGIN APIs of System.TimeProvider +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_TimeProvider_GetUtcNow( + System_TimeProvider_t /* System.TimeProvider */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_TimeProvider_GetLocalNow( + System_TimeProvider_t /* System.TimeProvider */ self, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_TimeProvider_GetTimestamp( + System_TimeProvider_t /* System.TimeProvider */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeProvider_GetElapsedTime( + System_TimeProvider_t /* System.TimeProvider */ self, + int64_t /* System.Int64 */ startingTimestamp, + int64_t /* System.Int64 */ endingTimestamp, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeProvider_GetElapsedTime_1( + System_TimeProvider_t /* System.TimeProvider */ self, + int64_t /* System.Int64 */ startingTimestamp, + System_Exception_t* /* System.Exception */ outException +); + +System_Threading_ITimer_t /* System.Threading.ITimer */ +System_TimeProvider_CreateTimer( + System_TimeProvider_t /* System.TimeProvider */ self, + System_Threading_TimerCallback_t /* System.Threading.TimerCallback */ callback, + System_Object_t /* System.Object */ state, + System_TimeSpan_t /* System.TimeSpan */ dueTime, + System_TimeSpan_t /* System.TimeSpan */ period, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeProvider_t /* System.TimeProvider */ +System_TimeProvider_System_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeZoneInfo_t /* System.TimeZoneInfo */ +System_TimeProvider_LocalTimeZone_Get( + System_TimeProvider_t /* System.TimeProvider */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int64_t /* System.Int64 */ +System_TimeProvider_TimestampFrequency_Get( + System_TimeProvider_t /* System.TimeProvider */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_TimeProvider_TypeOf( + void +); + +void /* System.Void */ +System_TimeProvider_Destroy( + System_TimeProvider_t /* System.TimeProvider */ self +); + +#pragma mark - END APIs of System.TimeProvider + +#pragma mark - BEGIN APIs of System.DateTimeOffset +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_ToOffset( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_TimeSpan_t /* System.TimeSpan */ offset, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Add( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_TimeSpan_t /* System.TimeSpan */ timeSpan, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_AddDays( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + double /* System.Double */ days, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_AddHours( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + double /* System.Double */ hours, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_AddMilliseconds( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + double /* System.Double */ milliseconds, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_AddMicroseconds( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + double /* System.Double */ microseconds, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_AddMinutes( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + double /* System.Double */ minutes, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_AddMonths( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + int32_t /* System.Int32 */ months, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_AddSeconds( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + double /* System.Double */ seconds, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_AddTicks( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + int64_t /* System.Int64 */ ticks, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_AddYears( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + int32_t /* System.Int32 */ years, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_DateTimeOffset_Compare( + System_DateTimeOffset_t /* System.DateTimeOffset */ first, + System_DateTimeOffset_t /* System.DateTimeOffset */ second, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_DateTimeOffset_CompareTo( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_DateTimeOffset_t /* System.DateTimeOffset */ other, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTimeOffset_Equals( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTimeOffset_Equals_1( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_DateTimeOffset_t /* System.DateTimeOffset */ other, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTimeOffset_EqualsExact( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_DateTimeOffset_t /* System.DateTimeOffset */ other, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTimeOffset_Equals_2( + System_DateTimeOffset_t /* System.DateTimeOffset */ first, + System_DateTimeOffset_t /* System.DateTimeOffset */ second, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_FromFileTime( + int64_t /* System.Int64 */ fileTime, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_FromUnixTimeSeconds( + int64_t /* System.Int64 */ seconds, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_FromUnixTimeMilliseconds( + int64_t /* System.Int64 */ milliseconds, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_DateTimeOffset_GetHashCode( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Parse( + System_String_t /* System.String */ input, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Parse_1( + System_String_t /* System.String */ input, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Parse_2( + System_String_t /* System.String */ input, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ styles, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_ParseExact( + System_String_t /* System.String */ input, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_ParseExact_1( + System_String_t /* System.String */ input, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ styles, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_ParseExact_2( + System_String_t /* System.String */ input, + System_String_Array_t /* System.String[] */ formats, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ styles, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_DateTimeOffset_Subtract( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_DateTimeOffset_t /* System.DateTimeOffset */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Subtract_1( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_TimeSpan_t /* System.TimeSpan */ value, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_DateTimeOffset_ToFileTime( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_DateTimeOffset_ToUnixTimeSeconds( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_DateTimeOffset_ToUnixTimeMilliseconds( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_ToLocalTime( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateTimeOffset_ToString( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateTimeOffset_ToString_1( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_String_t /* System.String */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateTimeOffset_ToString_2( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_DateTimeOffset_ToString_3( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_ToUniversalTime( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTimeOffset_TryParse( + System_String_t /* System.String */ input, + System_DateTimeOffset_t* /* System.DateTimeOffset */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTimeOffset_TryParse_1( + System_String_t /* System.String */ input, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ styles, + System_DateTimeOffset_t* /* System.DateTimeOffset */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTimeOffset_TryParseExact( + System_String_t /* System.String */ input, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ styles, + System_DateTimeOffset_t* /* System.DateTimeOffset */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTimeOffset_TryParseExact_1( + System_String_t /* System.String */ input, + System_String_Array_t /* System.String[] */ formats, + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Globalization_DateTimeStyles_t /* System.Globalization.DateTimeStyles */ styles, + System_DateTimeOffset_t* /* System.DateTimeOffset */ result, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_DateTimeOffset_Deconstruct( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_DateOnly_t* /* System.DateOnly */ date, + System_TimeOnly_t* /* System.TimeOnly */ time, + System_TimeSpan_t* /* System.TimeSpan */ offset, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_DateTimeOffset_TryParse_2( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_DateTimeOffset_t* /* System.DateTimeOffset */ result, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Create( + int64_t /* System.Int64 */ ticks, + System_TimeSpan_t /* System.TimeSpan */ offset, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Create_1( + System_DateTime_t /* System.DateTime */ dateTime, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Create_2( + System_DateTime_t /* System.DateTime */ dateTime, + System_TimeSpan_t /* System.TimeSpan */ offset, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Create_3( + System_DateOnly_t /* System.DateOnly */ date, + System_TimeOnly_t /* System.TimeOnly */ time, + System_TimeSpan_t /* System.TimeSpan */ offset, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Create_4( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + System_TimeSpan_t /* System.TimeSpan */ offset, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Create_5( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + System_TimeSpan_t /* System.TimeSpan */ offset, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Create_6( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + System_Globalization_Calendar_t /* System.Globalization.Calendar */ calendar, + System_TimeSpan_t /* System.TimeSpan */ offset, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Create_7( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + int32_t /* System.Int32 */ microsecond, + System_TimeSpan_t /* System.TimeSpan */ offset, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Create_8( + int32_t /* System.Int32 */ year, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + int32_t /* System.Int32 */ hour, + int32_t /* System.Int32 */ minute, + int32_t /* System.Int32 */ second, + int32_t /* System.Int32 */ millisecond, + int32_t /* System.Int32 */ microsecond, + System_Globalization_Calendar_t /* System.Globalization.Calendar */ calendar, + System_TimeSpan_t /* System.TimeSpan */ offset, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_UtcNow_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_DateTime_t /* System.DateTime */ +System_DateTimeOffset_DateTime_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DateTime_t /* System.DateTime */ +System_DateTimeOffset_UtcDateTime_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DateTime_t /* System.DateTime */ +System_DateTimeOffset_LocalDateTime_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DateTime_t /* System.DateTime */ +System_DateTimeOffset_Date_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTimeOffset_Day_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DayOfWeek_t /* System.DayOfWeek */ +System_DateTimeOffset_DayOfWeek_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTimeOffset_DayOfYear_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTimeOffset_Hour_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTimeOffset_Millisecond_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTimeOffset_Microsecond_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTimeOffset_Nanosecond_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTimeOffset_Minute_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTimeOffset_Month_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeSpan_t /* System.TimeSpan */ +System_DateTimeOffset_Offset_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTimeOffset_TotalOffsetMinutes_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTimeOffset_Second_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int64_t /* System.Int64 */ +System_DateTimeOffset_Ticks_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int64_t /* System.Int64 */ +System_DateTimeOffset_UtcTicks_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeSpan_t /* System.TimeSpan */ +System_DateTimeOffset_TimeOfDay_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_DateTimeOffset_Year_Get( + System_DateTimeOffset_t /* System.DateTimeOffset */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Now_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_MinValue_Get( + void +); + + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_MaxValue_Get( + void +); + + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_UnixEpoch_Get( + void +); + + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_DateTimeOffset_Create_9( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_DateTimeOffset_TypeOf( + void +); + +void /* System.Void */ +System_DateTimeOffset_Destroy( + System_DateTimeOffset_t /* System.DateTimeOffset */ self +); + +#pragma mark - END APIs of System.DateTimeOffset + + +#pragma mark - BEGIN APIs of System.TimeZoneInfo +System_TimeSpan_Array_t /* System.TimeSpan[] */ +System_TimeZoneInfo_GetAmbiguousTimeOffsets( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_DateTimeOffset_t /* System.DateTimeOffset */ dateTimeOffset, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_Array_t /* System.TimeSpan[] */ +System_TimeZoneInfo_GetAmbiguousTimeOffsets_1( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_DateTime_t /* System.DateTime */ dateTime, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeZoneInfo_GetUtcOffset( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_DateTimeOffset_t /* System.DateTimeOffset */ dateTimeOffset, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeZoneInfo_GetUtcOffset_1( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_DateTime_t /* System.DateTime */ dateTime, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_IsAmbiguousTime( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_DateTimeOffset_t /* System.DateTimeOffset */ dateTimeOffset, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_IsAmbiguousTime_1( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_DateTime_t /* System.DateTime */ dateTime, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_IsDaylightSavingTime( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_DateTimeOffset_t /* System.DateTimeOffset */ dateTimeOffset, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_IsDaylightSavingTime_1( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_DateTime_t /* System.DateTime */ dateTime, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_IsInvalidTime( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_DateTime_t /* System.DateTime */ dateTime, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_TimeZoneInfo_ClearCachedData( + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId( + System_DateTimeOffset_t /* System.DateTimeOffset */ dateTimeOffset, + System_String_t /* System.String */ destinationTimeZoneId, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_1( + System_DateTime_t /* System.DateTime */ dateTime, + System_String_t /* System.String */ destinationTimeZoneId, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeZoneInfo_t /* System.TimeZoneInfo */ +System_TimeZoneInfo_FindSystemTimeZoneById( + System_String_t /* System.String */ id, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_TryFindSystemTimeZoneById( + System_String_t /* System.String */ id, + System_TimeZoneInfo_t* /* System.TimeZoneInfo */ timeZoneInfo, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_TimeZoneInfo_ConvertTimeBySystemTimeZoneId_2( + System_DateTime_t /* System.DateTime */ dateTime, + System_String_t /* System.String */ sourceTimeZoneId, + System_String_t /* System.String */ destinationTimeZoneId, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTimeOffset_t /* System.DateTimeOffset */ +System_TimeZoneInfo_ConvertTime_1( + System_DateTimeOffset_t /* System.DateTimeOffset */ dateTimeOffset, + System_TimeZoneInfo_t /* System.TimeZoneInfo */ destinationTimeZone, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_TimeZoneInfo_ConvertTime_2( + System_DateTime_t /* System.DateTime */ dateTime, + System_TimeZoneInfo_t /* System.TimeZoneInfo */ destinationTimeZone, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_TimeZoneInfo_ConvertTime_3( + System_DateTime_t /* System.DateTime */ dateTime, + System_TimeZoneInfo_t /* System.TimeZoneInfo */ sourceTimeZone, + System_TimeZoneInfo_t /* System.TimeZoneInfo */ destinationTimeZone, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_TimeZoneInfo_ConvertTimeFromUtc( + System_DateTime_t /* System.DateTime */ dateTime, + System_TimeZoneInfo_t /* System.TimeZoneInfo */ destinationTimeZone, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_TimeZoneInfo_ConvertTimeToUtc( + System_DateTime_t /* System.DateTime */ dateTime, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_TimeZoneInfo_ConvertTimeToUtc_1( + System_DateTime_t /* System.DateTime */ dateTime, + System_TimeZoneInfo_t /* System.TimeZoneInfo */ sourceTimeZone, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_Equals( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_TimeZoneInfo_t /* System.TimeZoneInfo */ other, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_Equals_1( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeZoneInfo_t /* System.TimeZoneInfo */ +System_TimeZoneInfo_FromSerializedString( + System_String_t /* System.String */ source, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_TimeZoneInfo_GetHashCode( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_HasSameRules( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_TimeZoneInfo_t /* System.TimeZoneInfo */ other, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_TimeZoneInfo_ToSerializedString( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_TimeZoneInfo_ToString( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeZoneInfo_t /* System.TimeZoneInfo */ +System_TimeZoneInfo_CreateCustomTimeZone( + System_String_t /* System.String */ id, + System_TimeSpan_t /* System.TimeSpan */ baseUtcOffset, + System_String_t /* System.String */ displayName, + System_String_t /* System.String */ standardDisplayName, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeZoneInfo_t /* System.TimeZoneInfo */ +System_TimeZoneInfo_CreateCustomTimeZone_1( + System_String_t /* System.String */ id, + System_TimeSpan_t /* System.TimeSpan */ baseUtcOffset, + System_String_t /* System.String */ displayName, + System_String_t /* System.String */ standardDisplayName, + System_String_t /* System.String */ daylightDisplayName, + System_TimeZoneInfo_AdjustmentRule_Array_t /* System.TimeZoneInfo.AdjustmentRule[] */ adjustmentRules, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeZoneInfo_t /* System.TimeZoneInfo */ +System_TimeZoneInfo_CreateCustomTimeZone_2( + System_String_t /* System.String */ id, + System_TimeSpan_t /* System.TimeSpan */ baseUtcOffset, + System_String_t /* System.String */ displayName, + System_String_t /* System.String */ standardDisplayName, + System_String_t /* System.String */ daylightDisplayName, + System_TimeZoneInfo_AdjustmentRule_Array_t /* System.TimeZoneInfo.AdjustmentRule[] */ adjustmentRules, + bool /* System.Boolean */ disableDaylightSavingTime, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_TryConvertIanaIdToWindowsId( + System_String_t /* System.String */ ianaId, + System_String_t* /* System.String */ windowsId, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_TryConvertWindowsIdToIanaId( + System_String_t /* System.String */ windowsId, + System_String_t* /* System.String */ ianaId, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_TryConvertWindowsIdToIanaId_1( + System_String_t /* System.String */ windowsId, + System_String_t /* System.String */ region, + System_String_t* /* System.String */ ianaId, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeZoneInfo_AdjustmentRule_Array_t /* System.TimeZoneInfo.AdjustmentRule[] */ +System_TimeZoneInfo_GetAdjustmentRules( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_TimeZoneInfo_Id_Get( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_TimeZoneInfo_HasIanaId_Get( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_TimeZoneInfo_DisplayName_Get( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_TimeZoneInfo_StandardName_Get( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_TimeZoneInfo_DaylightName_Get( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeZoneInfo_BaseUtcOffset_Get( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_TimeZoneInfo_SupportsDaylightSavingTime_Get( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeZoneInfo_t /* System.TimeZoneInfo */ +System_TimeZoneInfo_Local_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeZoneInfo_t /* System.TimeZoneInfo */ +System_TimeZoneInfo_Utc_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_TimeZoneInfo_TypeOf( + void +); + +void /* System.Void */ +System_TimeZoneInfo_Destroy( + System_TimeZoneInfo_t /* System.TimeZoneInfo */ self +); + +#pragma mark - END APIs of System.TimeZoneInfo + +#pragma mark - BEGIN APIs of System.TimeSpan[] +#pragma mark - END APIs of System.TimeSpan[] + + +#pragma mark - BEGIN APIs of System.TimeZoneInfo.AdjustmentRule[] +#pragma mark - END APIs of System.TimeZoneInfo.AdjustmentRule[] + +#pragma mark - BEGIN APIs of System.TimeZoneInfo.AdjustmentRule +bool /* System.Boolean */ +System_TimeZoneInfo_AdjustmentRule_Equals( + System_TimeZoneInfo_AdjustmentRule_t /* System.TimeZoneInfo.AdjustmentRule */ self, + System_TimeZoneInfo_AdjustmentRule_t /* System.TimeZoneInfo.AdjustmentRule */ other, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_AdjustmentRule_Equals_1( + System_TimeZoneInfo_AdjustmentRule_t /* System.TimeZoneInfo.AdjustmentRule */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_TimeZoneInfo_AdjustmentRule_GetHashCode( + System_TimeZoneInfo_AdjustmentRule_t /* System.TimeZoneInfo.AdjustmentRule */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeZoneInfo_AdjustmentRule_t /* System.TimeZoneInfo.AdjustmentRule */ +System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule( + System_DateTime_t /* System.DateTime */ dateStart, + System_DateTime_t /* System.DateTime */ dateEnd, + System_TimeSpan_t /* System.TimeSpan */ daylightDelta, + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ daylightTransitionStart, + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ daylightTransitionEnd, + System_TimeSpan_t /* System.TimeSpan */ baseUtcOffsetDelta, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeZoneInfo_AdjustmentRule_t /* System.TimeZoneInfo.AdjustmentRule */ +System_TimeZoneInfo_AdjustmentRule_CreateAdjustmentRule_1( + System_DateTime_t /* System.DateTime */ dateStart, + System_DateTime_t /* System.DateTime */ dateEnd, + System_TimeSpan_t /* System.TimeSpan */ daylightDelta, + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ daylightTransitionStart, + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ daylightTransitionEnd, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_TimeZoneInfo_AdjustmentRule_DateStart_Get( + System_TimeZoneInfo_AdjustmentRule_t /* System.TimeZoneInfo.AdjustmentRule */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DateTime_t /* System.DateTime */ +System_TimeZoneInfo_AdjustmentRule_DateEnd_Get( + System_TimeZoneInfo_AdjustmentRule_t /* System.TimeZoneInfo.AdjustmentRule */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeZoneInfo_AdjustmentRule_DaylightDelta_Get( + System_TimeZoneInfo_AdjustmentRule_t /* System.TimeZoneInfo.AdjustmentRule */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ +System_TimeZoneInfo_AdjustmentRule_DaylightTransitionStart_Get( + System_TimeZoneInfo_AdjustmentRule_t /* System.TimeZoneInfo.AdjustmentRule */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ +System_TimeZoneInfo_AdjustmentRule_DaylightTransitionEnd_Get( + System_TimeZoneInfo_AdjustmentRule_t /* System.TimeZoneInfo.AdjustmentRule */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeSpan_t /* System.TimeSpan */ +System_TimeZoneInfo_AdjustmentRule_BaseUtcOffsetDelta_Get( + System_TimeZoneInfo_AdjustmentRule_t /* System.TimeZoneInfo.AdjustmentRule */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_TimeZoneInfo_AdjustmentRule_TypeOf( + void +); + +void /* System.Void */ +System_TimeZoneInfo_AdjustmentRule_Destroy( + System_TimeZoneInfo_AdjustmentRule_t /* System.TimeZoneInfo.AdjustmentRule */ self +); + +#pragma mark - END APIs of System.TimeZoneInfo.AdjustmentRule + +#pragma mark - BEGIN APIs of System.TimeZoneInfo.TransitionTime +bool /* System.Boolean */ +System_TimeZoneInfo_TransitionTime_Equals( + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_TimeZoneInfo_TransitionTime_Equals_1( + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ self, + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ other, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_TimeZoneInfo_TransitionTime_GetHashCode( + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ +System_TimeZoneInfo_TransitionTime_CreateFixedDateRule( + System_DateTime_t /* System.DateTime */ timeOfDay, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ day, + System_Exception_t* /* System.Exception */ outException +); + +System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ +System_TimeZoneInfo_TransitionTime_CreateFloatingDateRule( + System_DateTime_t /* System.DateTime */ timeOfDay, + int32_t /* System.Int32 */ month, + int32_t /* System.Int32 */ week, + System_DayOfWeek_t /* System.DayOfWeek */ dayOfWeek, + System_Exception_t* /* System.Exception */ outException +); + +System_DateTime_t /* System.DateTime */ +System_TimeZoneInfo_TransitionTime_TimeOfDay_Get( + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeZoneInfo_TransitionTime_Month_Get( + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeZoneInfo_TransitionTime_Week_Get( + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_TimeZoneInfo_TransitionTime_Day_Get( + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_DayOfWeek_t /* System.DayOfWeek */ +System_TimeZoneInfo_TransitionTime_DayOfWeek_Get( + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_TimeZoneInfo_TransitionTime_IsFixedDateRule_Get( + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ +System_TimeZoneInfo_TransitionTime_Create_1( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_TimeZoneInfo_TransitionTime_TypeOf( + void +); + +void /* System.Void */ +System_TimeZoneInfo_TransitionTime_Destroy( + System_TimeZoneInfo_TransitionTime_t /* System.TimeZoneInfo.TransitionTime */ self +); + +#pragma mark - END APIs of System.TimeZoneInfo.TransitionTime + + +#pragma mark - BEGIN APIs of System.Threading.ITimer +bool /* System.Boolean */ +System_Threading_ITimer_Change( + System_Threading_ITimer_t /* System.Threading.ITimer */ self, + System_TimeSpan_t /* System.TimeSpan */ dueTime, + System_TimeSpan_t /* System.TimeSpan */ period, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Threading_ITimer_TypeOf( + void +); + +void /* System.Void */ +System_Threading_ITimer_Destroy( + System_Threading_ITimer_t /* System.Threading.ITimer */ self +); + +#pragma mark - END APIs of System.Threading.ITimer + +#pragma mark - BEGIN APIs of System.Runtime.CompilerServices.ValueTaskAwaiter +void /* System.Void */ +System_Runtime_CompilerServices_ValueTaskAwaiter_GetResult( + System_Runtime_CompilerServices_ValueTaskAwaiter_t /* System.Runtime.CompilerServices.ValueTaskAwaiter */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_CompilerServices_ValueTaskAwaiter_OnCompleted( + System_Runtime_CompilerServices_ValueTaskAwaiter_t /* System.Runtime.CompilerServices.ValueTaskAwaiter */ self, + System_Action_t /* System.Action */ continuation, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_CompilerServices_ValueTaskAwaiter_UnsafeOnCompleted( + System_Runtime_CompilerServices_ValueTaskAwaiter_t /* System.Runtime.CompilerServices.ValueTaskAwaiter */ self, + System_Action_t /* System.Action */ continuation, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Runtime_CompilerServices_ValueTaskAwaiter_IsCompleted_Get( + System_Runtime_CompilerServices_ValueTaskAwaiter_t /* System.Runtime.CompilerServices.ValueTaskAwaiter */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Runtime_CompilerServices_ValueTaskAwaiter_t /* System.Runtime.CompilerServices.ValueTaskAwaiter */ +System_Runtime_CompilerServices_ValueTaskAwaiter_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_CompilerServices_ValueTaskAwaiter_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_CompilerServices_ValueTaskAwaiter_Destroy( + System_Runtime_CompilerServices_ValueTaskAwaiter_t /* System.Runtime.CompilerServices.ValueTaskAwaiter */ self +); + +#pragma mark - END APIs of System.Runtime.CompilerServices.ValueTaskAwaiter + +#pragma mark - BEGIN APIs of System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_GetAwaiter( + System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable */ +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_Destroy( + System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_t /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable */ self +); + +#pragma mark - END APIs of System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable + +#pragma mark - BEGIN APIs of System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter +void /* System.Void */ +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_GetResult( + System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_OnCompleted( + System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ self, + System_Action_t /* System.Action */ continuation, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_UnsafeOnCompleted( + System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ self, + System_Action_t /* System.Action */ continuation, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_IsCompleted_Get( + System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_Destroy( + System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter_t /* System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter */ self +); + +#pragma mark - END APIs of System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter + +#pragma mark - BEGIN APIs of System.Threading.Tasks.Sources.IValueTaskSource +System_Threading_Tasks_Sources_ValueTaskSourceStatus_t /* System.Threading.Tasks.Sources.ValueTaskSourceStatus */ +System_Threading_Tasks_Sources_IValueTaskSource_GetStatus( + System_Threading_Tasks_Sources_IValueTaskSource_t /* System.Threading.Tasks.Sources.IValueTaskSource */ self, + int16_t /* System.Int16 */ token, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Threading_Tasks_Sources_IValueTaskSource_GetResult( + System_Threading_Tasks_Sources_IValueTaskSource_t /* System.Threading.Tasks.Sources.IValueTaskSource */ self, + int16_t /* System.Int16 */ token, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Threading_Tasks_Sources_IValueTaskSource_TypeOf( + void +); + +void /* System.Void */ +System_Threading_Tasks_Sources_IValueTaskSource_Destroy( + System_Threading_Tasks_Sources_IValueTaskSource_t /* System.Threading.Tasks.Sources.IValueTaskSource */ self +); + +#pragma mark - END APIs of System.Threading.Tasks.Sources.IValueTaskSource + +#pragma mark - BEGIN APIs of Microsoft.Win32.SafeHandles.SafeFileHandle +Microsoft_Win32_SafeHandles_SafeFileHandle_t /* Microsoft.Win32.SafeHandles.SafeFileHandle */ +Microsoft_Win32_SafeHandles_SafeFileHandle_Create( + long /* System.IntPtr */ preexistingHandle, + bool /* System.Boolean */ ownsHandle, + System_Exception_t* /* System.Exception */ outException +); + +Microsoft_Win32_SafeHandles_SafeFileHandle_t /* Microsoft.Win32.SafeHandles.SafeFileHandle */ +Microsoft_Win32_SafeHandles_SafeFileHandle_Create_1( + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +Microsoft_Win32_SafeHandles_SafeFileHandle_IsAsync_Get( + Microsoft_Win32_SafeHandles_SafeFileHandle_t /* Microsoft.Win32.SafeHandles.SafeFileHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +Microsoft_Win32_SafeHandles_SafeFileHandle_IsInvalid_Get( + Microsoft_Win32_SafeHandles_SafeFileHandle_t /* Microsoft.Win32.SafeHandles.SafeFileHandle */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +Microsoft_Win32_SafeHandles_SafeFileHandle_TypeOf( + void +); + +void /* System.Void */ +Microsoft_Win32_SafeHandles_SafeFileHandle_Destroy( + Microsoft_Win32_SafeHandles_SafeFileHandle_t /* Microsoft.Win32.SafeHandles.SafeFileHandle */ self +); + +#pragma mark - END APIs of Microsoft.Win32.SafeHandles.SafeFileHandle + +#pragma mark - BEGIN APIs of System.IO.FileStreamOptions +System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ +System_IO_FileStreamOptions_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_IO_FileMode_t /* System.IO.FileMode */ +System_IO_FileStreamOptions_Mode_Get( + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStreamOptions_Mode_Set( + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ self, + System_IO_FileMode_t /* System.IO.FileMode */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_IO_FileAccess_t /* System.IO.FileAccess */ +System_IO_FileStreamOptions_Access_Get( + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStreamOptions_Access_Set( + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ self, + System_IO_FileAccess_t /* System.IO.FileAccess */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_IO_FileShare_t /* System.IO.FileShare */ +System_IO_FileStreamOptions_Share_Get( + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStreamOptions_Share_Set( + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ self, + System_IO_FileShare_t /* System.IO.FileShare */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_IO_FileOptions_t /* System.IO.FileOptions */ +System_IO_FileStreamOptions_Options_Get( + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStreamOptions_Options_Set( + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ self, + System_IO_FileOptions_t /* System.IO.FileOptions */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int64_t /* System.Int64 */ +System_IO_FileStreamOptions_PreallocationSize_Get( + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStreamOptions_PreallocationSize_Set( + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ self, + int64_t /* System.Int64 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_IO_FileStreamOptions_BufferSize_Get( + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_IO_FileStreamOptions_BufferSize_Set( + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_IO_FileStreamOptions_TypeOf( + void +); + +void /* System.Void */ +System_IO_FileStreamOptions_Destroy( + System_IO_FileStreamOptions_t /* System.IO.FileStreamOptions */ self +); + +#pragma mark - END APIs of System.IO.FileStreamOptions + +#pragma mark - BEGIN APIs of System.Reflection.ManifestResourceInfo +System_Reflection_ManifestResourceInfo_t /* System.Reflection.ManifestResourceInfo */ +System_Reflection_ManifestResourceInfo_Create( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ containingAssembly, + System_String_t /* System.String */ containingFileName, + System_Reflection_ResourceLocation_t /* System.Reflection.ResourceLocation */ resourceLocation, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_ManifestResourceInfo_ReferencedAssembly_Get( + System_Reflection_ManifestResourceInfo_t /* System.Reflection.ManifestResourceInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_ManifestResourceInfo_FileName_Get( + System_Reflection_ManifestResourceInfo_t /* System.Reflection.ManifestResourceInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_ResourceLocation_t /* System.Reflection.ResourceLocation */ +System_Reflection_ManifestResourceInfo_ResourceLocation_Get( + System_Reflection_ManifestResourceInfo_t /* System.Reflection.ManifestResourceInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_ManifestResourceInfo_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_ManifestResourceInfo_Destroy( + System_Reflection_ManifestResourceInfo_t /* System.Reflection.ManifestResourceInfo */ self +); + +#pragma mark - END APIs of System.Reflection.ManifestResourceInfo + +#pragma mark - BEGIN APIs of System.Reflection.Module +void /* System.Void */ +System_Reflection_Module_GetPEKind( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Reflection_PortableExecutableKinds_t* /* System.Reflection.PortableExecutableKinds */ peKind, + System_Reflection_ImageFileMachine_t* /* System.Reflection.ImageFileMachine */ machine, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_Module_IsResource( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_Module_IsDefined( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_Array_t /* System.Object[] */ +System_Reflection_Module_GetCustomAttributes( + System_Reflection_Module_t /* System.Reflection.Module */ self, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_Array_t /* System.Object[] */ +System_Reflection_Module_GetCustomAttributes_1( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_Module_GetMethod( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_Module_GetMethod_1( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_String_t /* System.String */ name, + System_Type_Array_t /* System.Type[] */ types, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_Module_GetMethod_2( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Reflection_CallingConventions_t /* System.Reflection.CallingConventions */ callConvention, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_Array_t /* System.Reflection.MethodInfo[] */ +System_Reflection_Module_GetMethods( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_Array_t /* System.Reflection.MethodInfo[] */ +System_Reflection_Module_GetMethods_1( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingFlags, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ +System_Reflection_Module_GetField( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ +System_Reflection_Module_GetField_1( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_FieldInfo_Array_t /* System.Reflection.FieldInfo[] */ +System_Reflection_Module_GetFields( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_FieldInfo_Array_t /* System.Reflection.FieldInfo[] */ +System_Reflection_Module_GetFields_1( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingFlags, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Reflection_Module_GetTypes( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Reflection_Module_GetType_1( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_String_t /* System.String */ className, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Reflection_Module_GetType_2( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_String_t /* System.String */ className, + bool /* System.Boolean */ ignoreCase, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Reflection_Module_GetType_3( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_String_t /* System.String */ className, + bool /* System.Boolean */ throwOnError, + bool /* System.Boolean */ ignoreCase, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_Array_t /* System.Type[] */ +System_Reflection_Module_FindTypes( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Reflection_TypeFilter_t /* System.Reflection.TypeFilter */ filter, + System_Object_t /* System.Object */ filterCriteria, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ +System_Reflection_Module_ResolveField( + System_Reflection_Module_t /* System.Reflection.Module */ self, + int32_t /* System.Int32 */ metadataToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ +System_Reflection_Module_ResolveField_1( + System_Reflection_Module_t /* System.Reflection.Module */ self, + int32_t /* System.Int32 */ metadataToken, + System_Type_Array_t /* System.Type[] */ genericTypeArguments, + System_Type_Array_t /* System.Type[] */ genericMethodArguments, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ +System_Reflection_Module_ResolveMember( + System_Reflection_Module_t /* System.Reflection.Module */ self, + int32_t /* System.Int32 */ metadataToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ +System_Reflection_Module_ResolveMember_1( + System_Reflection_Module_t /* System.Reflection.Module */ self, + int32_t /* System.Int32 */ metadataToken, + System_Type_Array_t /* System.Type[] */ genericTypeArguments, + System_Type_Array_t /* System.Type[] */ genericMethodArguments, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ +System_Reflection_Module_ResolveMethod( + System_Reflection_Module_t /* System.Reflection.Module */ self, + int32_t /* System.Int32 */ metadataToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodBase_t /* System.Reflection.MethodBase */ +System_Reflection_Module_ResolveMethod_1( + System_Reflection_Module_t /* System.Reflection.Module */ self, + int32_t /* System.Int32 */ metadataToken, + System_Type_Array_t /* System.Type[] */ genericTypeArguments, + System_Type_Array_t /* System.Type[] */ genericMethodArguments, + System_Exception_t* /* System.Exception */ outException +); + +System_Byte_Array_t /* System.Byte[] */ +System_Reflection_Module_ResolveSignature( + System_Reflection_Module_t /* System.Reflection.Module */ self, + int32_t /* System.Int32 */ metadataToken, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Reflection_Module_ResolveString( + System_Reflection_Module_t /* System.Reflection.Module */ self, + int32_t /* System.Int32 */ metadataToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Reflection_Module_ResolveType( + System_Reflection_Module_t /* System.Reflection.Module */ self, + int32_t /* System.Int32 */ metadataToken, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Reflection_Module_ResolveType_1( + System_Reflection_Module_t /* System.Reflection.Module */ self, + int32_t /* System.Int32 */ metadataToken, + System_Type_Array_t /* System.Type[] */ genericTypeArguments, + System_Type_Array_t /* System.Type[] */ genericMethodArguments, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_Module_GetObjectData( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Runtime_Serialization_SerializationInfo_t /* System.Runtime.Serialization.SerializationInfo */ info, + System_Runtime_Serialization_StreamingContext_t /* System.Runtime.Serialization.StreamingContext */ context, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_Module_Equals( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Object_t /* System.Object */ o, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Reflection_Module_GetHashCode( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Reflection_Module_ToString( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_Reflection_Module_Assembly_Get( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_Module_FullyQualifiedName_Get( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_Module_Name_Get( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Reflection_Module_MDStreamVersion_Get( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Guid_t /* System.Guid */ +System_Reflection_Module_ModuleVersionId_Get( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_Module_ScopeName_Get( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_ModuleHandle_t /* System.ModuleHandle */ +System_Reflection_Module_ModuleHandle_Get( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Reflection_Module_MetadataToken_Get( + System_Reflection_Module_t /* System.Reflection.Module */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_TypeFilter_t /* System.Reflection.TypeFilter */ +System_Reflection_Module_FilterTypeName_Get( + void +); + + +System_Reflection_TypeFilter_t /* System.Reflection.TypeFilter */ +System_Reflection_Module_FilterTypeNameIgnoreCase_Get( + void +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_Module_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_Module_Destroy( + System_Reflection_Module_t /* System.Reflection.Module */ self +); + +#pragma mark - END APIs of System.Reflection.Module + +#pragma mark - BEGIN APIs of System.Guid +System_Guid_t /* System.Guid */ +System_Guid_Parse( + System_String_t /* System.String */ input, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Guid_TryParse( + System_String_t /* System.String */ input, + System_Guid_t* /* System.Guid */ result, + System_Exception_t* /* System.Exception */ outException +); + +System_Guid_t /* System.Guid */ +System_Guid_ParseExact( + System_String_t /* System.String */ input, + System_String_t /* System.String */ format, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Guid_TryParseExact( + System_String_t /* System.String */ input, + System_String_t /* System.String */ format, + System_Guid_t* /* System.Guid */ result, + System_Exception_t* /* System.Exception */ outException +); + +System_Byte_Array_t /* System.Byte[] */ +System_Guid_ToByteArray( + System_Guid_t /* System.Guid */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Byte_Array_t /* System.Byte[] */ +System_Guid_ToByteArray_1( + System_Guid_t /* System.Guid */ self, + bool /* System.Boolean */ bigEndian, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Guid_GetHashCode( + System_Guid_t /* System.Guid */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Guid_Equals( + System_Guid_t /* System.Guid */ self, + System_Object_t /* System.Object */ o, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Guid_Equals_1( + System_Guid_t /* System.Guid */ self, + System_Guid_t /* System.Guid */ g, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Guid_CompareTo( + System_Guid_t /* System.Guid */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Guid_CompareTo_1( + System_Guid_t /* System.Guid */ self, + System_Guid_t /* System.Guid */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Guid_ToString( + System_Guid_t /* System.Guid */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Guid_ToString_1( + System_Guid_t /* System.Guid */ self, + System_String_t /* System.String */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Guid_ToString_2( + System_Guid_t /* System.Guid */ self, + System_String_t /* System.String */ format, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_Guid_t /* System.Guid */ +System_Guid_Parse_1( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Guid_TryParse_1( + System_String_t /* System.String */ s, + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Guid_t* /* System.Guid */ result, + System_Exception_t* /* System.Exception */ outException +); + +System_Guid_t /* System.Guid */ +System_Guid_NewGuid( + System_Exception_t* /* System.Exception */ outException +); + +System_Guid_t /* System.Guid */ +System_Guid_Create( + System_Byte_Array_t /* System.Byte[] */ b, + System_Exception_t* /* System.Exception */ outException +); + +System_Guid_t /* System.Guid */ +System_Guid_Create_1( + uint32_t /* System.UInt32 */ a, + uint16_t /* System.UInt16 */ b, + uint16_t /* System.UInt16 */ c, + uint8_t /* System.Byte */ d, + uint8_t /* System.Byte */ e, + uint8_t /* System.Byte */ f, + uint8_t /* System.Byte */ g, + uint8_t /* System.Byte */ h, + uint8_t /* System.Byte */ i, + uint8_t /* System.Byte */ j, + uint8_t /* System.Byte */ k, + System_Exception_t* /* System.Exception */ outException +); + +System_Guid_t /* System.Guid */ +System_Guid_Create_2( + int32_t /* System.Int32 */ a, + int16_t /* System.Int16 */ b, + int16_t /* System.Int16 */ c, + System_Byte_Array_t /* System.Byte[] */ d, + System_Exception_t* /* System.Exception */ outException +); + +System_Guid_t /* System.Guid */ +System_Guid_Create_3( + int32_t /* System.Int32 */ a, + int16_t /* System.Int16 */ b, + int16_t /* System.Int16 */ c, + uint8_t /* System.Byte */ d, + uint8_t /* System.Byte */ e, + uint8_t /* System.Byte */ f, + uint8_t /* System.Byte */ g, + uint8_t /* System.Byte */ h, + uint8_t /* System.Byte */ i, + uint8_t /* System.Byte */ j, + uint8_t /* System.Byte */ k, + System_Exception_t* /* System.Exception */ outException +); + +System_Guid_t /* System.Guid */ +System_Guid_Create_4( + System_String_t /* System.String */ g, + System_Exception_t* /* System.Exception */ outException +); + +System_Guid_t /* System.Guid */ +System_Guid_Empty_Get( + void +); + + +System_Guid_t /* System.Guid */ +System_Guid_Create_5( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Guid_TypeOf( + void +); + +void /* System.Void */ +System_Guid_Destroy( + System_Guid_t /* System.Guid */ self +); + +#pragma mark - END APIs of System.Guid + + + + +#pragma mark - BEGIN APIs of System.ResolveEventArgs +System_ResolveEventArgs_t /* System.ResolveEventArgs */ +System_ResolveEventArgs_Create( + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_ResolveEventArgs_t /* System.ResolveEventArgs */ +System_ResolveEventArgs_Create_1( + System_String_t /* System.String */ name, + System_Reflection_Assembly_t /* System.Reflection.Assembly */ requestingAssembly, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_ResolveEventArgs_Name_Get( + System_ResolveEventArgs_t /* System.ResolveEventArgs */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_Assembly_t /* System.Reflection.Assembly */ +System_ResolveEventArgs_RequestingAssembly_Get( + System_ResolveEventArgs_t /* System.ResolveEventArgs */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_ResolveEventArgs_TypeOf( + void +); + +void /* System.Void */ +System_ResolveEventArgs_Destroy( + System_ResolveEventArgs_t /* System.ResolveEventArgs */ self +); + +#pragma mark - END APIs of System.ResolveEventArgs + +#pragma mark - BEGIN APIs of System.EventArgs +System_EventArgs_t /* System.EventArgs */ +System_EventArgs_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_EventArgs_t /* System.EventArgs */ +System_EventArgs_Empty_Get( + void +); + + +System_Type_t _Nonnull /* System.Type */ +System_EventArgs_TypeOf( + void +); + +void /* System.Void */ +System_EventArgs_Destroy( + System_EventArgs_t /* System.EventArgs */ self +); + +#pragma mark - END APIs of System.EventArgs + +#pragma mark - BEGIN APIs of System.Reflection.Module[] +#pragma mark - END APIs of System.Reflection.Module[] + + +#pragma mark - BEGIN APIs of System.Reflection.AssemblyName[] +#pragma mark - END APIs of System.Reflection.AssemblyName[] + + +#pragma mark - BEGIN APIs of System.IO.FileStream[] +#pragma mark - END APIs of System.IO.FileStream[] + + +#pragma mark - BEGIN APIs of System.Text.Rune +int32_t /* System.Int32 */ +System_Text_Rune_CompareTo( + System_Text_Rune_t /* System.Text.Rune */ self, + System_Text_Rune_t /* System.Text.Rune */ other, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_Equals( + System_Text_Rune_t /* System.Text.Rune */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_Equals_1( + System_Text_Rune_t /* System.Text.Rune */ self, + System_Text_Rune_t /* System.Text.Rune */ other, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Rune_GetHashCode( + System_Text_Rune_t /* System.Text.Rune */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Rune_t /* System.Text.Rune */ +System_Text_Rune_GetRuneAt( + System_String_t /* System.String */ input, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsValid( + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsValid_1( + uint32_t /* System.UInt32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Text_Rune_ToString( + System_Text_Rune_t /* System.Text.Rune */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_TryCreate( + wchar_t /* System.Char */ ch, + System_Text_Rune_t* /* System.Text.Rune */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_TryCreate_1( + wchar_t /* System.Char */ highSurrogate, + wchar_t /* System.Char */ lowSurrogate, + System_Text_Rune_t* /* System.Text.Rune */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_TryCreate_2( + int32_t /* System.Int32 */ value, + System_Text_Rune_t* /* System.Text.Rune */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_TryCreate_3( + uint32_t /* System.UInt32 */ value, + System_Text_Rune_t* /* System.Text.Rune */ result, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_TryGetRuneAt( + System_String_t /* System.String */ input, + int32_t /* System.Int32 */ index, + System_Text_Rune_t* /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +double /* System.Double */ +System_Text_Rune_GetNumericValue( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_UnicodeCategory_t /* System.Globalization.UnicodeCategory */ +System_Text_Rune_GetUnicodeCategory( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsControl( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsDigit( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsLetter( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsLetterOrDigit( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsLower( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsNumber( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsPunctuation( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsSeparator( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsSymbol( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsUpper( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsWhiteSpace( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Rune_t /* System.Text.Rune */ +System_Text_Rune_ToLower( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Rune_t /* System.Text.Rune */ +System_Text_Rune_ToLowerInvariant( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Rune_t /* System.Text.Rune */ +System_Text_Rune_ToUpper( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Rune_t /* System.Text.Rune */ +System_Text_Rune_ToUpperInvariant( + System_Text_Rune_t /* System.Text.Rune */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Rune_t /* System.Text.Rune */ +System_Text_Rune_Create( + wchar_t /* System.Char */ ch, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Rune_t /* System.Text.Rune */ +System_Text_Rune_Create_1( + wchar_t /* System.Char */ highSurrogate, + wchar_t /* System.Char */ lowSurrogate, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Rune_t /* System.Text.Rune */ +System_Text_Rune_Create_2( + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Rune_t /* System.Text.Rune */ +System_Text_Rune_Create_3( + uint32_t /* System.UInt32 */ value, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Rune_IsAscii_Get( + System_Text_Rune_t /* System.Text.Rune */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Text_Rune_IsBmp_Get( + System_Text_Rune_t /* System.Text.Rune */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Text_Rune_Plane_Get( + System_Text_Rune_t /* System.Text.Rune */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_Rune_t /* System.Text.Rune */ +System_Text_Rune_ReplacementChar_Get( + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Text_Rune_Utf16SequenceLength_Get( + System_Text_Rune_t /* System.Text.Rune */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Text_Rune_Utf8SequenceLength_Get( + System_Text_Rune_t /* System.Text.Rune */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Text_Rune_Value_Get( + System_Text_Rune_t /* System.Text.Rune */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_Rune_t /* System.Text.Rune */ +System_Text_Rune_Create_4( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Text_Rune_TypeOf( + void +); + +void /* System.Void */ +System_Text_Rune_Destroy( + System_Text_Rune_t /* System.Text.Rune */ self +); + +#pragma mark - END APIs of System.Text.Rune + + +#pragma mark - BEGIN APIs of System.Globalization.SortKey +int32_t /* System.Int32 */ +System_Globalization_SortKey_Compare( + System_Globalization_SortKey_t /* System.Globalization.SortKey */ sortkey1, + System_Globalization_SortKey_t /* System.Globalization.SortKey */ sortkey2, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_SortKey_Equals( + System_Globalization_SortKey_t /* System.Globalization.SortKey */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_SortKey_GetHashCode( + System_Globalization_SortKey_t /* System.Globalization.SortKey */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_SortKey_ToString( + System_Globalization_SortKey_t /* System.Globalization.SortKey */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_SortKey_OriginalString_Get( + System_Globalization_SortKey_t /* System.Globalization.SortKey */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Byte_Array_t /* System.Byte[] */ +System_Globalization_SortKey_KeyData_Get( + System_Globalization_SortKey_t /* System.Globalization.SortKey */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Globalization_SortKey_TypeOf( + void +); + +void /* System.Void */ +System_Globalization_SortKey_Destroy( + System_Globalization_SortKey_t /* System.Globalization.SortKey */ self +); + +#pragma mark - END APIs of System.Globalization.SortKey + +#pragma mark - BEGIN APIs of System.Globalization.SortVersion +bool /* System.Boolean */ +System_Globalization_SortVersion_Equals( + System_Globalization_SortVersion_t /* System.Globalization.SortVersion */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_SortVersion_Equals_1( + System_Globalization_SortVersion_t /* System.Globalization.SortVersion */ self, + System_Globalization_SortVersion_t /* System.Globalization.SortVersion */ other, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_SortVersion_GetHashCode( + System_Globalization_SortVersion_t /* System.Globalization.SortVersion */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_SortVersion_t /* System.Globalization.SortVersion */ +System_Globalization_SortVersion_Create( + int32_t /* System.Int32 */ fullVersion, + System_Guid_t /* System.Guid */ sortId, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_SortVersion_FullVersion_Get( + System_Globalization_SortVersion_t /* System.Globalization.SortVersion */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Guid_t /* System.Guid */ +System_Globalization_SortVersion_SortId_Get( + System_Globalization_SortVersion_t /* System.Globalization.SortVersion */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Globalization_SortVersion_TypeOf( + void +); + +void /* System.Void */ +System_Globalization_SortVersion_Destroy( + System_Globalization_SortVersion_t /* System.Globalization.SortVersion */ self +); + +#pragma mark - END APIs of System.Globalization.SortVersion + +#pragma mark - BEGIN APIs of System.Globalization.TextInfo +System_Object_t /* System.Object */ +System_Globalization_TextInfo_Clone( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ +System_Globalization_TextInfo_ReadOnly( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ textInfo, + System_Exception_t* /* System.Exception */ outException +); + +wchar_t /* System.Char */ +System_Globalization_TextInfo_ToLower( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + wchar_t /* System.Char */ c, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_TextInfo_ToLower_1( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_String_t /* System.String */ str, + System_Exception_t* /* System.Exception */ outException +); + +wchar_t /* System.Char */ +System_Globalization_TextInfo_ToUpper( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + wchar_t /* System.Char */ c, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_TextInfo_ToUpper_1( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_String_t /* System.String */ str, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Globalization_TextInfo_Equals( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_TextInfo_GetHashCode( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_TextInfo_ToString( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_TextInfo_ToTitleCase( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_String_t /* System.String */ str, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_TextInfo_ANSICodePage_Get( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_TextInfo_OEMCodePage_Get( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_TextInfo_MacCodePage_Get( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_TextInfo_EBCDICCodePage_Get( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_TextInfo_LCID_Get( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_TextInfo_CultureName_Get( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Globalization_TextInfo_IsReadOnly_Get( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_TextInfo_ListSeparator_Get( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_TextInfo_ListSeparator_Set( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Globalization_TextInfo_IsRightToLeft_Get( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Globalization_TextInfo_TypeOf( + void +); + +void /* System.Void */ +System_Globalization_TextInfo_Destroy( + System_Globalization_TextInfo_t /* System.Globalization.TextInfo */ self +); + +#pragma mark - END APIs of System.Globalization.TextInfo + +#pragma mark - BEGIN APIs of System.Globalization.NumberFormatInfo +System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ +System_Globalization_NumberFormatInfo_GetInstance( + System_IFormatProvider_t /* System.IFormatProvider */ formatProvider, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Globalization_NumberFormatInfo_Clone( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Globalization_NumberFormatInfo_GetFormat( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Type_t /* System.Type */ formatType, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ +System_Globalization_NumberFormatInfo_ReadOnly( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ nfi, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ +System_Globalization_NumberFormatInfo_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ +System_Globalization_NumberFormatInfo_InvariantInfo_Get( + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_CurrencyDecimalDigits_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_CurrencyDecimalSeparator_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Globalization_NumberFormatInfo_IsReadOnly_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Int32_Array_t /* System.Int32[] */ +System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_CurrencyGroupSizes_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Int32_Array_t /* System.Int32[] */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Int32_Array_t /* System.Int32[] */ +System_Globalization_NumberFormatInfo_NumberGroupSizes_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_NumberGroupSizes_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Int32_Array_t /* System.Int32[] */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Int32_Array_t /* System.Int32[] */ +System_Globalization_NumberFormatInfo_PercentGroupSizes_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_PercentGroupSizes_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Int32_Array_t /* System.Int32[] */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_CurrencyGroupSeparator_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_CurrencySymbol_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_CurrencySymbol_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ +System_Globalization_NumberFormatInfo_CurrentInfo_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_NaNSymbol_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_NaNSymbol_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_CurrencyNegativePattern_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_NumberFormatInfo_NumberNegativePattern_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_NumberNegativePattern_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_NumberFormatInfo_PercentPositivePattern_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_PercentPositivePattern_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_NumberFormatInfo_PercentNegativePattern_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_PercentNegativePattern_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_NegativeInfinitySymbol_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_NegativeSign_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_NegativeSign_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_NumberFormatInfo_NumberDecimalDigits_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_NumberDecimalDigits_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_NumberDecimalSeparator_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_NumberGroupSeparator_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_NumberGroupSeparator_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_CurrencyPositivePattern_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_PositiveInfinitySymbol_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_PositiveSign_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_PositiveSign_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Globalization_NumberFormatInfo_PercentDecimalDigits_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_PercentDecimalDigits_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + int32_t /* System.Int32 */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_PercentDecimalSeparator_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_PercentGroupSeparator_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_PercentGroupSeparator_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_PercentSymbol_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_PercentSymbol_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_NumberFormatInfo_PerMilleSymbol_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_PerMilleSymbol_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_Array_t /* System.String[] */ +System_Globalization_NumberFormatInfo_NativeDigits_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_NativeDigits_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_String_Array_t /* System.String[] */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_DigitShapes_t /* System.Globalization.DigitShapes */ +System_Globalization_NumberFormatInfo_DigitSubstitution_Get( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_DigitSubstitution_Set( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self, + System_Globalization_DigitShapes_t /* System.Globalization.DigitShapes */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Globalization_NumberFormatInfo_TypeOf( + void +); + +void /* System.Void */ +System_Globalization_NumberFormatInfo_Destroy( + System_Globalization_NumberFormatInfo_t /* System.Globalization.NumberFormatInfo */ self +); + +#pragma mark - END APIs of System.Globalization.NumberFormatInfo + +#pragma mark - BEGIN APIs of System.Globalization.DateTimeFormatInfo +System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ +System_Globalization_DateTimeFormatInfo_GetInstance( + System_IFormatProvider_t /* System.IFormatProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Globalization_DateTimeFormatInfo_GetFormat( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Type_t /* System.Type */ formatType, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Globalization_DateTimeFormatInfo_Clone( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Globalization_DateTimeFormatInfo_GetEra( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_t /* System.String */ eraName, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_GetEraName( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + int32_t /* System.Int32 */ era, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_GetAbbreviatedEraName( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + int32_t /* System.Int32 */ era, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_GetAbbreviatedDayName( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_DayOfWeek_t /* System.DayOfWeek */ dayofweek, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_GetShortestDayName( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_DayOfWeek_t /* System.DayOfWeek */ dayOfWeek, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_String_Array_t /* System.String[] */ +System_Globalization_DateTimeFormatInfo_GetAllDateTimePatterns_1( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + wchar_t /* System.Char */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_GetDayName( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_DayOfWeek_t /* System.DayOfWeek */ dayofweek, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_GetAbbreviatedMonthName( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + int32_t /* System.Int32 */ month, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_GetMonthName( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + int32_t /* System.Int32 */ month, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ +System_Globalization_DateTimeFormatInfo_ReadOnly( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ dtfi, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_SetAllDateTimePatterns( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_Array_t /* System.String[] */ patterns, + wchar_t /* System.Char */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ +System_Globalization_DateTimeFormatInfo_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ +System_Globalization_DateTimeFormatInfo_InvariantInfo_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ +System_Globalization_DateTimeFormatInfo_CurrentInfo_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_AMDesignator_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_AMDesignator_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_Calendar_t /* System.Globalization.Calendar */ +System_Globalization_DateTimeFormatInfo_Calendar_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_Calendar_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Globalization_Calendar_t /* System.Globalization.Calendar */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_DateSeparator_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_DateSeparator_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_DayOfWeek_t /* System.DayOfWeek */ +System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_FirstDayOfWeek_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_DayOfWeek_t /* System.DayOfWeek */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Globalization_CalendarWeekRule_t /* System.Globalization.CalendarWeekRule */ +System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_CalendarWeekRule_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Globalization_CalendarWeekRule_t /* System.Globalization.CalendarWeekRule */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_FullDateTimePattern_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_LongDatePattern_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_LongDatePattern_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_LongTimePattern_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_LongTimePattern_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_MonthDayPattern_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_MonthDayPattern_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_PMDesignator_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_PMDesignator_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_RFC1123Pattern_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_ShortDatePattern_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_ShortDatePattern_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_ShortTimePattern_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_ShortTimePattern_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_SortableDateTimePattern_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_TimeSeparator_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_TimeSeparator_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_UniversalSortableDateTimePattern_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_YearMonthPattern_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_YearMonthPattern_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_t /* System.String */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_Array_t /* System.String[] */ +System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_AbbreviatedDayNames_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_Array_t /* System.String[] */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_Array_t /* System.String[] */ +System_Globalization_DateTimeFormatInfo_ShortestDayNames_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_ShortestDayNames_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_Array_t /* System.String[] */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_Array_t /* System.String[] */ +System_Globalization_DateTimeFormatInfo_DayNames_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_DayNames_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_Array_t /* System.String[] */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_Array_t /* System.String[] */ +System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_AbbreviatedMonthNames_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_Array_t /* System.String[] */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_Array_t /* System.String[] */ +System_Globalization_DateTimeFormatInfo_MonthNames_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_MonthNames_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_Array_t /* System.String[] */ value, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Globalization_DateTimeFormatInfo_IsReadOnly_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Globalization_DateTimeFormatInfo_NativeCalendarName_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_Array_t /* System.String[] */ +System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_AbbreviatedMonthGenitiveNames_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_Array_t /* System.String[] */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_Array_t /* System.String[] */ +System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Get( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_MonthGenitiveNames_Set( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self, + System_String_Array_t /* System.String[] */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Globalization_DateTimeFormatInfo_TypeOf( + void +); + +void /* System.Void */ +System_Globalization_DateTimeFormatInfo_Destroy( + System_Globalization_DateTimeFormatInfo_t /* System.Globalization.DateTimeFormatInfo */ self +); + +#pragma mark - END APIs of System.Globalization.DateTimeFormatInfo + +#pragma mark - BEGIN APIs of System.Globalization.Calendar[] +#pragma mark - END APIs of System.Globalization.Calendar[] + + +#pragma mark - BEGIN APIs of System.Char[] +#pragma mark - END APIs of System.Char[] + +#pragma mark - BEGIN APIs of System.CharEnumerator +System_Object_t /* System.Object */ +System_CharEnumerator_Clone( + System_CharEnumerator_t /* System.CharEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_CharEnumerator_MoveNext( + System_CharEnumerator_t /* System.CharEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_CharEnumerator_Dispose( + System_CharEnumerator_t /* System.CharEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_CharEnumerator_Reset( + System_CharEnumerator_t /* System.CharEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + +wchar_t /* System.Char */ +System_CharEnumerator_Current_Get( + System_CharEnumerator_t /* System.CharEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_CharEnumerator_TypeOf( + void +); + +void /* System.Void */ +System_CharEnumerator_Destroy( + System_CharEnumerator_t /* System.CharEnumerator */ self +); + +#pragma mark - END APIs of System.CharEnumerator + +#pragma mark - BEGIN APIs of System.Text.StringRuneEnumerator +System_Text_StringRuneEnumerator_t /* System.Text.StringRuneEnumerator */ +System_Text_StringRuneEnumerator_GetEnumerator( + System_Text_StringRuneEnumerator_t /* System.Text.StringRuneEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_StringRuneEnumerator_MoveNext( + System_Text_StringRuneEnumerator_t /* System.Text.StringRuneEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Rune_t /* System.Text.Rune */ +System_Text_StringRuneEnumerator_Current_Get( + System_Text_StringRuneEnumerator_t /* System.Text.StringRuneEnumerator */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_StringRuneEnumerator_t /* System.Text.StringRuneEnumerator */ +System_Text_StringRuneEnumerator_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Text_StringRuneEnumerator_TypeOf( + void +); + +void /* System.Void */ +System_Text_StringRuneEnumerator_Destroy( + System_Text_StringRuneEnumerator_t /* System.Text.StringRuneEnumerator */ self +); + +#pragma mark - END APIs of System.Text.StringRuneEnumerator + +#pragma mark - BEGIN APIs of System.Text.CompositeFormat +System_Text_CompositeFormat_t /* System.Text.CompositeFormat */ +System_Text_CompositeFormat_Parse( + System_String_t /* System.String */ format, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Text_CompositeFormat_Format_Get( + System_Text_CompositeFormat_t /* System.Text.CompositeFormat */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Text_CompositeFormat_MinimumArgumentCount_Get( + System_Text_CompositeFormat_t /* System.Text.CompositeFormat */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Text_CompositeFormat_TypeOf( + void +); + +void /* System.Void */ +System_Text_CompositeFormat_Destroy( + System_Text_CompositeFormat_t /* System.Text.CompositeFormat */ self +); + +#pragma mark - END APIs of System.Text.CompositeFormat + +#pragma mark - BEGIN APIs of System.Text.Encoding +System_Byte_Array_t /* System.Byte[] */ +System_Text_Encoding_Convert( + System_Text_Encoding_t /* System.Text.Encoding */ srcEncoding, + System_Text_Encoding_t /* System.Text.Encoding */ dstEncoding, + System_Byte_Array_t /* System.Byte[] */ bytes, + System_Exception_t* /* System.Exception */ outException +); + +System_Byte_Array_t /* System.Byte[] */ +System_Text_Encoding_Convert_1( + System_Text_Encoding_t /* System.Text.Encoding */ srcEncoding, + System_Text_Encoding_t /* System.Text.Encoding */ dstEncoding, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Text_Encoding_RegisterProvider( + System_Text_EncodingProvider_t /* System.Text.EncodingProvider */ provider, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_Encoding_GetEncoding( + int32_t /* System.Int32 */ codepage, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_Encoding_GetEncoding_1( + int32_t /* System.Int32 */ codepage, + System_Text_EncoderFallback_t /* System.Text.EncoderFallback */ encoderFallback, + System_Text_DecoderFallback_t /* System.Text.DecoderFallback */ decoderFallback, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_Encoding_GetEncoding_2( + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_Encoding_GetEncoding_3( + System_String_t /* System.String */ name, + System_Text_EncoderFallback_t /* System.Text.EncoderFallback */ encoderFallback, + System_Text_DecoderFallback_t /* System.Text.DecoderFallback */ decoderFallback, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_EncodingInfo_Array_t /* System.Text.EncodingInfo[] */ +System_Text_Encoding_GetEncodings( + System_Exception_t* /* System.Exception */ outException +); + +System_Byte_Array_t /* System.Byte[] */ +System_Text_Encoding_GetPreamble( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Text_Encoding_Clone( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoding_GetByteCount( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Char_Array_t /* System.Char[] */ chars, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoding_GetByteCount_1( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoding_GetByteCount_2( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Char_Array_t /* System.Char[] */ chars, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoding_GetByteCount_3( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_String_t /* System.String */ s, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +System_Byte_Array_t /* System.Byte[] */ +System_Text_Encoding_GetBytes( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Char_Array_t /* System.Char[] */ chars, + System_Exception_t* /* System.Exception */ outException +); + +System_Byte_Array_t /* System.Byte[] */ +System_Text_Encoding_GetBytes_1( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Char_Array_t /* System.Char[] */ chars, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoding_GetBytes_2( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Char_Array_t /* System.Char[] */ chars, + int32_t /* System.Int32 */ charIndex, + int32_t /* System.Int32 */ charCount, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ byteIndex, + System_Exception_t* /* System.Exception */ outException +); + +System_Byte_Array_t /* System.Byte[] */ +System_Text_Encoding_GetBytes_3( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +System_Byte_Array_t /* System.Byte[] */ +System_Text_Encoding_GetBytes_4( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_String_t /* System.String */ s, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoding_GetBytes_5( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_String_t /* System.String */ s, + int32_t /* System.Int32 */ charIndex, + int32_t /* System.Int32 */ charCount, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ byteIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoding_GetCharCount( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Byte_Array_t /* System.Byte[] */ bytes, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoding_GetCharCount_1( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +System_Char_Array_t /* System.Char[] */ +System_Text_Encoding_GetChars( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Byte_Array_t /* System.Byte[] */ bytes, + System_Exception_t* /* System.Exception */ outException +); + +System_Char_Array_t /* System.Char[] */ +System_Text_Encoding_GetChars_1( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoding_GetChars_2( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ byteIndex, + int32_t /* System.Int32 */ byteCount, + System_Char_Array_t /* System.Char[] */ chars, + int32_t /* System.Int32 */ charIndex, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Encoding_IsAlwaysNormalized( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Encoding_IsAlwaysNormalized_1( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Text_NormalizationForm_t /* System.Text.NormalizationForm */ form, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Decoder_t /* System.Text.Decoder */ +System_Text_Encoding_GetDecoder( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Encoder_t /* System.Text.Encoder */ +System_Text_Encoding_GetEncoder( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoding_GetMaxByteCount( + System_Text_Encoding_t /* System.Text.Encoding */ self, + int32_t /* System.Int32 */ charCount, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoding_GetMaxCharCount( + System_Text_Encoding_t /* System.Text.Encoding */ self, + int32_t /* System.Int32 */ byteCount, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Text_Encoding_GetString( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Byte_Array_t /* System.Byte[] */ bytes, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Text_Encoding_GetString_1( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_Encoding_Equals( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoding_GetHashCode( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_IO_Stream_t /* System.IO.Stream */ +System_Text_Encoding_CreateTranscodingStream( + System_IO_Stream_t /* System.IO.Stream */ innerStream, + System_Text_Encoding_t /* System.Text.Encoding */ innerStreamEncoding, + System_Text_Encoding_t /* System.Text.Encoding */ outerStreamEncoding, + bool /* System.Boolean */ leaveOpen, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_Encoding_Default_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Text_Encoding_BodyName_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Text_Encoding_EncodingName_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Text_Encoding_HeaderName_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Text_Encoding_WebName_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Text_Encoding_WindowsCodePage_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Text_Encoding_IsBrowserDisplay_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Text_Encoding_IsBrowserSave_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Text_Encoding_IsMailNewsDisplay_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Text_Encoding_IsMailNewsSave_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Text_Encoding_IsSingleByte_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_EncoderFallback_t /* System.Text.EncoderFallback */ +System_Text_Encoding_EncoderFallback_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Text_Encoding_EncoderFallback_Set( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Text_EncoderFallback_t /* System.Text.EncoderFallback */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_DecoderFallback_t /* System.Text.DecoderFallback */ +System_Text_Encoding_DecoderFallback_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Text_Encoding_DecoderFallback_Set( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Text_DecoderFallback_t /* System.Text.DecoderFallback */ value, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Text_Encoding_IsReadOnly_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_Encoding_ASCII_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_Encoding_Latin1_Get( + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Text_Encoding_CodePage_Get( + System_Text_Encoding_t /* System.Text.Encoding */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_Encoding_Unicode_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_Encoding_BigEndianUnicode_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_Encoding_UTF7_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_Encoding_UTF8_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_Encoding_UTF32_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Text_Encoding_TypeOf( + void +); + +void /* System.Void */ +System_Text_Encoding_Destroy( + System_Text_Encoding_t /* System.Text.Encoding */ self +); + +#pragma mark - END APIs of System.Text.Encoding + +#pragma mark - BEGIN APIs of System.Text.EncodingProvider +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_EncodingProvider_GetEncoding( + System_Text_EncodingProvider_t /* System.Text.EncodingProvider */ self, + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_EncodingProvider_GetEncoding_1( + System_Text_EncodingProvider_t /* System.Text.EncodingProvider */ self, + int32_t /* System.Int32 */ codepage, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_EncodingProvider_GetEncoding_2( + System_Text_EncodingProvider_t /* System.Text.EncodingProvider */ self, + System_String_t /* System.String */ name, + System_Text_EncoderFallback_t /* System.Text.EncoderFallback */ encoderFallback, + System_Text_DecoderFallback_t /* System.Text.DecoderFallback */ decoderFallback, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_EncodingProvider_GetEncoding_3( + System_Text_EncodingProvider_t /* System.Text.EncodingProvider */ self, + int32_t /* System.Int32 */ codepage, + System_Text_EncoderFallback_t /* System.Text.EncoderFallback */ encoderFallback, + System_Text_DecoderFallback_t /* System.Text.DecoderFallback */ decoderFallback, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Text_EncodingProvider_TypeOf( + void +); + +void /* System.Void */ +System_Text_EncodingProvider_Destroy( + System_Text_EncodingProvider_t /* System.Text.EncodingProvider */ self +); + +#pragma mark - END APIs of System.Text.EncodingProvider + +#pragma mark - BEGIN APIs of System.Text.EncoderFallback +System_Text_EncoderFallbackBuffer_t /* System.Text.EncoderFallbackBuffer */ +System_Text_EncoderFallback_CreateFallbackBuffer( + System_Text_EncoderFallback_t /* System.Text.EncoderFallback */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_EncoderFallback_t /* System.Text.EncoderFallback */ +System_Text_EncoderFallback_ReplacementFallback_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_EncoderFallback_t /* System.Text.EncoderFallback */ +System_Text_EncoderFallback_ExceptionFallback_Get( + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Text_EncoderFallback_MaxCharCount_Get( + System_Text_EncoderFallback_t /* System.Text.EncoderFallback */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Text_EncoderFallback_TypeOf( + void +); + +void /* System.Void */ +System_Text_EncoderFallback_Destroy( + System_Text_EncoderFallback_t /* System.Text.EncoderFallback */ self +); + +#pragma mark - END APIs of System.Text.EncoderFallback + +#pragma mark - BEGIN APIs of System.Text.EncoderFallbackBuffer +bool /* System.Boolean */ +System_Text_EncoderFallbackBuffer_Fallback( + System_Text_EncoderFallbackBuffer_t /* System.Text.EncoderFallbackBuffer */ self, + wchar_t /* System.Char */ charUnknown, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_EncoderFallbackBuffer_Fallback_1( + System_Text_EncoderFallbackBuffer_t /* System.Text.EncoderFallbackBuffer */ self, + wchar_t /* System.Char */ charUnknownHigh, + wchar_t /* System.Char */ charUnknownLow, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +wchar_t /* System.Char */ +System_Text_EncoderFallbackBuffer_GetNextChar( + System_Text_EncoderFallbackBuffer_t /* System.Text.EncoderFallbackBuffer */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_EncoderFallbackBuffer_MovePrevious( + System_Text_EncoderFallbackBuffer_t /* System.Text.EncoderFallbackBuffer */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Text_EncoderFallbackBuffer_Reset( + System_Text_EncoderFallbackBuffer_t /* System.Text.EncoderFallbackBuffer */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_EncoderFallbackBuffer_Remaining_Get( + System_Text_EncoderFallbackBuffer_t /* System.Text.EncoderFallbackBuffer */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Text_EncoderFallbackBuffer_TypeOf( + void +); + +void /* System.Void */ +System_Text_EncoderFallbackBuffer_Destroy( + System_Text_EncoderFallbackBuffer_t /* System.Text.EncoderFallbackBuffer */ self +); + +#pragma mark - END APIs of System.Text.EncoderFallbackBuffer + +#pragma mark - BEGIN APIs of System.Text.DecoderFallback +System_Text_DecoderFallbackBuffer_t /* System.Text.DecoderFallbackBuffer */ +System_Text_DecoderFallback_CreateFallbackBuffer( + System_Text_DecoderFallback_t /* System.Text.DecoderFallback */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_DecoderFallback_t /* System.Text.DecoderFallback */ +System_Text_DecoderFallback_ReplacementFallback_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_DecoderFallback_t /* System.Text.DecoderFallback */ +System_Text_DecoderFallback_ExceptionFallback_Get( + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Text_DecoderFallback_MaxCharCount_Get( + System_Text_DecoderFallback_t /* System.Text.DecoderFallback */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Text_DecoderFallback_TypeOf( + void +); + +void /* System.Void */ +System_Text_DecoderFallback_Destroy( + System_Text_DecoderFallback_t /* System.Text.DecoderFallback */ self +); + +#pragma mark - END APIs of System.Text.DecoderFallback + +#pragma mark - BEGIN APIs of System.Text.DecoderFallbackBuffer +bool /* System.Boolean */ +System_Text_DecoderFallbackBuffer_Fallback( + System_Text_DecoderFallbackBuffer_t /* System.Text.DecoderFallbackBuffer */ self, + System_Byte_Array_t /* System.Byte[] */ bytesUnknown, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +wchar_t /* System.Char */ +System_Text_DecoderFallbackBuffer_GetNextChar( + System_Text_DecoderFallbackBuffer_t /* System.Text.DecoderFallbackBuffer */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_DecoderFallbackBuffer_MovePrevious( + System_Text_DecoderFallbackBuffer_t /* System.Text.DecoderFallbackBuffer */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Text_DecoderFallbackBuffer_Reset( + System_Text_DecoderFallbackBuffer_t /* System.Text.DecoderFallbackBuffer */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_DecoderFallbackBuffer_Remaining_Get( + System_Text_DecoderFallbackBuffer_t /* System.Text.DecoderFallbackBuffer */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Text_DecoderFallbackBuffer_TypeOf( + void +); + +void /* System.Void */ +System_Text_DecoderFallbackBuffer_Destroy( + System_Text_DecoderFallbackBuffer_t /* System.Text.DecoderFallbackBuffer */ self +); + +#pragma mark - END APIs of System.Text.DecoderFallbackBuffer + +#pragma mark - BEGIN APIs of System.Text.EncodingInfo[] +#pragma mark - END APIs of System.Text.EncodingInfo[] + +#pragma mark - BEGIN APIs of System.Text.EncodingInfo +System_Text_Encoding_t /* System.Text.Encoding */ +System_Text_EncodingInfo_GetEncoding( + System_Text_EncodingInfo_t /* System.Text.EncodingInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Text_EncodingInfo_Equals( + System_Text_EncodingInfo_t /* System.Text.EncodingInfo */ self, + System_Object_t /* System.Object */ value, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_EncodingInfo_GetHashCode( + System_Text_EncodingInfo_t /* System.Text.EncodingInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_EncodingInfo_t /* System.Text.EncodingInfo */ +System_Text_EncodingInfo_Create( + System_Text_EncodingProvider_t /* System.Text.EncodingProvider */ provider, + int32_t /* System.Int32 */ codePage, + System_String_t /* System.String */ name, + System_String_t /* System.String */ displayName, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_EncodingInfo_CodePage_Get( + System_Text_EncodingInfo_t /* System.Text.EncodingInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Text_EncodingInfo_Name_Get( + System_Text_EncodingInfo_t /* System.Text.EncodingInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Text_EncodingInfo_DisplayName_Get( + System_Text_EncodingInfo_t /* System.Text.EncodingInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Text_EncodingInfo_TypeOf( + void +); + +void /* System.Void */ +System_Text_EncodingInfo_Destroy( + System_Text_EncodingInfo_t /* System.Text.EncodingInfo */ self +); + +#pragma mark - END APIs of System.Text.EncodingInfo + + +#pragma mark - BEGIN APIs of System.Text.Decoder +void /* System.Void */ +System_Text_Decoder_Reset( + System_Text_Decoder_t /* System.Text.Decoder */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Decoder_GetCharCount( + System_Text_Decoder_t /* System.Text.Decoder */ self, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ count, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Decoder_GetCharCount_1( + System_Text_Decoder_t /* System.Text.Decoder */ self, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ count, + bool /* System.Boolean */ flush, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Decoder_GetChars( + System_Text_Decoder_t /* System.Text.Decoder */ self, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ byteIndex, + int32_t /* System.Int32 */ byteCount, + System_Char_Array_t /* System.Char[] */ chars, + int32_t /* System.Int32 */ charIndex, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Decoder_GetChars_1( + System_Text_Decoder_t /* System.Text.Decoder */ self, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ byteIndex, + int32_t /* System.Int32 */ byteCount, + System_Char_Array_t /* System.Char[] */ chars, + int32_t /* System.Int32 */ charIndex, + bool /* System.Boolean */ flush, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Text_Decoder_Convert( + System_Text_Decoder_t /* System.Text.Decoder */ self, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ byteIndex, + int32_t /* System.Int32 */ byteCount, + System_Char_Array_t /* System.Char[] */ chars, + int32_t /* System.Int32 */ charIndex, + int32_t /* System.Int32 */ charCount, + bool /* System.Boolean */ flush, + int32_t* /* System.Int32 */ bytesUsed, + int32_t* /* System.Int32 */ charsUsed, + bool* /* System.Boolean */ completed, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_DecoderFallback_t /* System.Text.DecoderFallback */ +System_Text_Decoder_Fallback_Get( + System_Text_Decoder_t /* System.Text.Decoder */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Text_Decoder_Fallback_Set( + System_Text_Decoder_t /* System.Text.Decoder */ self, + System_Text_DecoderFallback_t /* System.Text.DecoderFallback */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_DecoderFallbackBuffer_t /* System.Text.DecoderFallbackBuffer */ +System_Text_Decoder_FallbackBuffer_Get( + System_Text_Decoder_t /* System.Text.Decoder */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Text_Decoder_TypeOf( + void +); + +void /* System.Void */ +System_Text_Decoder_Destroy( + System_Text_Decoder_t /* System.Text.Decoder */ self +); + +#pragma mark - END APIs of System.Text.Decoder + +#pragma mark - BEGIN APIs of System.Text.Encoder +void /* System.Void */ +System_Text_Encoder_Reset( + System_Text_Encoder_t /* System.Text.Encoder */ self, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoder_GetByteCount( + System_Text_Encoder_t /* System.Text.Encoder */ self, + System_Char_Array_t /* System.Char[] */ chars, + int32_t /* System.Int32 */ index, + int32_t /* System.Int32 */ count, + bool /* System.Boolean */ flush, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Text_Encoder_GetBytes( + System_Text_Encoder_t /* System.Text.Encoder */ self, + System_Char_Array_t /* System.Char[] */ chars, + int32_t /* System.Int32 */ charIndex, + int32_t /* System.Int32 */ charCount, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ byteIndex, + bool /* System.Boolean */ flush, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Text_Encoder_Convert( + System_Text_Encoder_t /* System.Text.Encoder */ self, + System_Char_Array_t /* System.Char[] */ chars, + int32_t /* System.Int32 */ charIndex, + int32_t /* System.Int32 */ charCount, + System_Byte_Array_t /* System.Byte[] */ bytes, + int32_t /* System.Int32 */ byteIndex, + int32_t /* System.Int32 */ byteCount, + bool /* System.Boolean */ flush, + int32_t* /* System.Int32 */ charsUsed, + int32_t* /* System.Int32 */ bytesUsed, + bool* /* System.Boolean */ completed, + System_Exception_t* /* System.Exception */ outException +); + +System_Text_EncoderFallback_t /* System.Text.EncoderFallback */ +System_Text_Encoder_Fallback_Get( + System_Text_Encoder_t /* System.Text.Encoder */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Text_Encoder_Fallback_Set( + System_Text_Encoder_t /* System.Text.Encoder */ self, + System_Text_EncoderFallback_t /* System.Text.EncoderFallback */ value, + System_Exception_t* /* System.Exception */ outException +); + + +System_Text_EncoderFallbackBuffer_t /* System.Text.EncoderFallbackBuffer */ +System_Text_Encoder_FallbackBuffer_Get( + System_Text_Encoder_t /* System.Text.Encoder */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Text_Encoder_TypeOf( + void +); + +void /* System.Void */ +System_Text_Encoder_Destroy( + System_Text_Encoder_t /* System.Text.Encoder */ self +); + +#pragma mark - END APIs of System.Text.Encoder + +#pragma mark - BEGIN APIs of TEnum[] +#pragma mark - END APIs of TEnum[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + + +#pragma mark - BEGIN APIs of System.Int64[] +#pragma mark - END APIs of System.Int64[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of TOutput[] +#pragma mark - END APIs of TOutput[] + +#pragma mark - BEGIN APIs of TInput[] +#pragma mark - END APIs of TInput[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of TKey[] +#pragma mark - END APIs of TKey[] + +#pragma mark - BEGIN APIs of TValue[] +#pragma mark - END APIs of TValue[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of TKey[] +#pragma mark - END APIs of TKey[] + +#pragma mark - BEGIN APIs of TValue[] +#pragma mark - END APIs of TValue[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of TKey[] +#pragma mark - END APIs of TKey[] + +#pragma mark - BEGIN APIs of TValue[] +#pragma mark - END APIs of TValue[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of TKey[] +#pragma mark - END APIs of TKey[] + +#pragma mark - BEGIN APIs of TValue[] +#pragma mark - END APIs of TValue[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of System.Reflection.IReflect +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_IReflect_GetMethod( + System_Reflection_IReflect_t /* System.Reflection.IReflect */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_IReflect_GetMethod_1( + System_Reflection_IReflect_t /* System.Reflection.IReflect */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_Array_t /* System.Reflection.MethodInfo[] */ +System_Reflection_IReflect_GetMethods( + System_Reflection_IReflect_t /* System.Reflection.IReflect */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_FieldInfo_t /* System.Reflection.FieldInfo */ +System_Reflection_IReflect_GetField( + System_Reflection_IReflect_t /* System.Reflection.IReflect */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_FieldInfo_Array_t /* System.Reflection.FieldInfo[] */ +System_Reflection_IReflect_GetFields( + System_Reflection_IReflect_t /* System.Reflection.IReflect */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ +System_Reflection_IReflect_GetProperty( + System_Reflection_IReflect_t /* System.Reflection.IReflect */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_PropertyInfo_t /* System.Reflection.PropertyInfo */ +System_Reflection_IReflect_GetProperty_1( + System_Reflection_IReflect_t /* System.Reflection.IReflect */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Type_t /* System.Type */ returnType, + System_Type_Array_t /* System.Type[] */ types, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_PropertyInfo_Array_t /* System.Reflection.PropertyInfo[] */ +System_Reflection_IReflect_GetProperties( + System_Reflection_IReflect_t /* System.Reflection.IReflect */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberInfo_Array_t /* System.Reflection.MemberInfo[] */ +System_Reflection_IReflect_GetMember( + System_Reflection_IReflect_t /* System.Reflection.IReflect */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberInfo_Array_t /* System.Reflection.MemberInfo[] */ +System_Reflection_IReflect_GetMembers( + System_Reflection_IReflect_t /* System.Reflection.IReflect */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ bindingAttr, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_IReflect_InvokeMember( + System_Reflection_IReflect_t /* System.Reflection.IReflect */ self, + System_String_t /* System.String */ name, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ invokeAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Object_t /* System.Object */ target, + System_Object_Array_t /* System.Object[] */ args, + System_Reflection_ParameterModifier_Array_t /* System.Reflection.ParameterModifier[] */ modifiers, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_String_Array_t /* System.String[] */ namedParameters, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Reflection_IReflect_UnderlyingSystemType_Get( + System_Reflection_IReflect_t /* System.Reflection.IReflect */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_IReflect_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_IReflect_Destroy( + System_Reflection_IReflect_t /* System.Reflection.IReflect */ self +); + +#pragma mark - END APIs of System.Reflection.IReflect + +#pragma mark - BEGIN APIs of System.Reflection.MemberInfo[] +#pragma mark - END APIs of System.Reflection.MemberInfo[] + + +#pragma mark - BEGIN APIs of System.Runtime.InteropServices.StructLayoutAttribute +System_Runtime_InteropServices_StructLayoutAttribute_t /* System.Runtime.InteropServices.StructLayoutAttribute */ +System_Runtime_InteropServices_StructLayoutAttribute_Create( + System_Runtime_InteropServices_LayoutKind_t /* System.Runtime.InteropServices.LayoutKind */ layoutKind, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_InteropServices_StructLayoutAttribute_t /* System.Runtime.InteropServices.StructLayoutAttribute */ +System_Runtime_InteropServices_StructLayoutAttribute_Create_1( + int16_t /* System.Int16 */ layoutKind, + System_Exception_t* /* System.Exception */ outException +); + +System_Runtime_InteropServices_LayoutKind_t /* System.Runtime.InteropServices.LayoutKind */ +System_Runtime_InteropServices_StructLayoutAttribute_Value_Get( + System_Runtime_InteropServices_StructLayoutAttribute_t /* System.Runtime.InteropServices.StructLayoutAttribute */ self, + System_Exception_t* /* System.Exception */ outException +); + + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_StructLayoutAttribute_Pack_Get( + System_Runtime_InteropServices_StructLayoutAttribute_t /* System.Runtime.InteropServices.StructLayoutAttribute */ self +); + +void /* System.Void */ +System_Runtime_InteropServices_StructLayoutAttribute_Pack_Set( + System_Runtime_InteropServices_StructLayoutAttribute_t /* System.Runtime.InteropServices.StructLayoutAttribute */ self, + int32_t /* System.Int32 */ value +); + + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_StructLayoutAttribute_Size_Get( + System_Runtime_InteropServices_StructLayoutAttribute_t /* System.Runtime.InteropServices.StructLayoutAttribute */ self +); + +void /* System.Void */ +System_Runtime_InteropServices_StructLayoutAttribute_Size_Set( + System_Runtime_InteropServices_StructLayoutAttribute_t /* System.Runtime.InteropServices.StructLayoutAttribute */ self, + int32_t /* System.Int32 */ value +); + + +System_Runtime_InteropServices_CharSet_t /* System.Runtime.InteropServices.CharSet */ +System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Get( + System_Runtime_InteropServices_StructLayoutAttribute_t /* System.Runtime.InteropServices.StructLayoutAttribute */ self +); + +void /* System.Void */ +System_Runtime_InteropServices_StructLayoutAttribute_CharSet_Set( + System_Runtime_InteropServices_StructLayoutAttribute_t /* System.Runtime.InteropServices.StructLayoutAttribute */ self, + System_Runtime_InteropServices_CharSet_t /* System.Runtime.InteropServices.CharSet */ value +); + + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_InteropServices_StructLayoutAttribute_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_InteropServices_StructLayoutAttribute_Destroy( + System_Runtime_InteropServices_StructLayoutAttribute_t /* System.Runtime.InteropServices.StructLayoutAttribute */ self +); + +#pragma mark - END APIs of System.Runtime.InteropServices.StructLayoutAttribute + +#pragma mark - BEGIN APIs of System.Attribute +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ element, + System_Type_t /* System.Type */ attributeType, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_1( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ element, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_2( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ element, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_3( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ element, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Attribute_IsDefined( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ element, + System_Type_t /* System.Type */ attributeType, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Attribute_IsDefined_1( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ element, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_t /* System.Attribute */ +System_Attribute_GetCustomAttribute_1( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ element, + System_Type_t /* System.Type */ attributeType, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_t /* System.Attribute */ +System_Attribute_GetCustomAttribute_2( + System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ element, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_4( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ element, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_5( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ element, + System_Type_t /* System.Type */ attributeType, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_6( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ element, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_7( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ element, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Attribute_IsDefined_2( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ element, + System_Type_t /* System.Type */ attributeType, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Attribute_IsDefined_3( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ element, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_t /* System.Attribute */ +System_Attribute_GetCustomAttribute_3( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ element, + System_Type_t /* System.Type */ attributeType, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_t /* System.Attribute */ +System_Attribute_GetCustomAttribute_4( + System_Reflection_ParameterInfo_t /* System.Reflection.ParameterInfo */ element, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_8( + System_Reflection_Module_t /* System.Reflection.Module */ element, + System_Type_t /* System.Type */ attributeType, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_9( + System_Reflection_Module_t /* System.Reflection.Module */ element, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_10( + System_Reflection_Module_t /* System.Reflection.Module */ element, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_11( + System_Reflection_Module_t /* System.Reflection.Module */ element, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Attribute_IsDefined_4( + System_Reflection_Module_t /* System.Reflection.Module */ element, + System_Type_t /* System.Type */ attributeType, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Attribute_IsDefined_5( + System_Reflection_Module_t /* System.Reflection.Module */ element, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_t /* System.Attribute */ +System_Attribute_GetCustomAttribute_5( + System_Reflection_Module_t /* System.Reflection.Module */ element, + System_Type_t /* System.Type */ attributeType, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_t /* System.Attribute */ +System_Attribute_GetCustomAttribute_6( + System_Reflection_Module_t /* System.Reflection.Module */ element, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_12( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ element, + System_Type_t /* System.Type */ attributeType, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_13( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ element, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_14( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ element, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_Array_t /* System.Attribute[] */ +System_Attribute_GetCustomAttributes_15( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ element, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Attribute_IsDefined_6( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ element, + System_Type_t /* System.Type */ attributeType, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Attribute_IsDefined_7( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ element, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_t /* System.Attribute */ +System_Attribute_GetCustomAttribute_7( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ element, + System_Type_t /* System.Type */ attributeType, + System_Exception_t* /* System.Exception */ outException +); + +System_Attribute_t /* System.Attribute */ +System_Attribute_GetCustomAttribute_8( + System_Reflection_Assembly_t /* System.Reflection.Assembly */ element, + System_Type_t /* System.Type */ attributeType, + bool /* System.Boolean */ inherit, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Attribute_Equals( + System_Attribute_t /* System.Attribute */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Attribute_GetHashCode( + System_Attribute_t /* System.Attribute */ self, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Attribute_Match( + System_Attribute_t /* System.Attribute */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Attribute_IsDefaultAttribute( + System_Attribute_t /* System.Attribute */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Attribute_TypeId_Get( + System_Attribute_t /* System.Attribute */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Attribute_TypeOf( + void +); + +void /* System.Void */ +System_Attribute_Destroy( + System_Attribute_t /* System.Attribute */ self +); + +#pragma mark - END APIs of System.Attribute + +#pragma mark - BEGIN APIs of System.Attribute[] +#pragma mark - END APIs of System.Attribute[] + + +#pragma mark - BEGIN APIs of System.Reflection.ConstructorInfo +System_Object_t /* System.Object */ +System_Reflection_ConstructorInfo_Invoke( + System_Reflection_ConstructorInfo_t /* System.Reflection.ConstructorInfo */ self, + System_Object_Array_t /* System.Object[] */ parameters, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Reflection_ConstructorInfo_Invoke_1( + System_Reflection_ConstructorInfo_t /* System.Reflection.ConstructorInfo */ self, + System_Reflection_BindingFlags_t /* System.Reflection.BindingFlags */ invokeAttr, + System_Reflection_Binder_t /* System.Reflection.Binder */ binder, + System_Object_Array_t /* System.Object[] */ parameters, + System_Globalization_CultureInfo_t /* System.Globalization.CultureInfo */ culture, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_ConstructorInfo_Equals( + System_Reflection_ConstructorInfo_t /* System.Reflection.ConstructorInfo */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Reflection_ConstructorInfo_GetHashCode( + System_Reflection_ConstructorInfo_t /* System.Reflection.ConstructorInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberTypes_t /* System.Reflection.MemberTypes */ +System_Reflection_ConstructorInfo_MemberType_Get( + System_Reflection_ConstructorInfo_t /* System.Reflection.ConstructorInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_Reflection_ConstructorInfo_ConstructorName_Get( + void +); + + +System_String_t /* System.String */ +System_Reflection_ConstructorInfo_TypeConstructorName_Get( + void +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_ConstructorInfo_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_ConstructorInfo_Destroy( + System_Reflection_ConstructorInfo_t /* System.Reflection.ConstructorInfo */ self +); + +#pragma mark - END APIs of System.Reflection.ConstructorInfo + +#pragma mark - BEGIN APIs of System.Reflection.ConstructorInfo[] +#pragma mark - END APIs of System.Reflection.ConstructorInfo[] + + +#pragma mark - BEGIN APIs of System.Reflection.EventInfo +System_Reflection_MethodInfo_Array_t /* System.Reflection.MethodInfo[] */ +System_Reflection_EventInfo_GetOtherMethods( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_Array_t /* System.Reflection.MethodInfo[] */ +System_Reflection_EventInfo_GetOtherMethods_1( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + bool /* System.Boolean */ nonPublic, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_EventInfo_GetAddMethod( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_EventInfo_GetRemoveMethod( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_EventInfo_GetRaiseMethod( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_EventInfo_GetAddMethod_1( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + bool /* System.Boolean */ nonPublic, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_EventInfo_GetRemoveMethod_1( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + bool /* System.Boolean */ nonPublic, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_EventInfo_GetRaiseMethod_1( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + bool /* System.Boolean */ nonPublic, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_EventInfo_AddEventHandler( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Object_t /* System.Object */ target, + System_Delegate_t /* System.Delegate */ handler, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Reflection_EventInfo_RemoveEventHandler( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Object_t /* System.Object */ target, + System_Delegate_t /* System.Delegate */ handler, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Reflection_EventInfo_Equals( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Object_t /* System.Object */ obj, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Reflection_EventInfo_GetHashCode( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Reflection_MemberTypes_t /* System.Reflection.MemberTypes */ +System_Reflection_EventInfo_MemberType_Get( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_EventAttributes_t /* System.Reflection.EventAttributes */ +System_Reflection_EventInfo_Attributes_Get( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_EventInfo_IsSpecialName_Get( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_EventInfo_AddMethod_Get( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_EventInfo_RemoveMethod_Get( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ +System_Reflection_EventInfo_RaiseMethod_Get( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +bool /* System.Boolean */ +System_Reflection_EventInfo_IsMulticast_Get( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t /* System.Type */ +System_Reflection_EventInfo_EventHandlerType_Get( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_EventInfo_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_EventInfo_Destroy( + System_Reflection_EventInfo_t /* System.Reflection.EventInfo */ self +); + +#pragma mark - END APIs of System.Reflection.EventInfo + +#pragma mark - BEGIN APIs of System.Reflection.EventInfo[] +#pragma mark - END APIs of System.Reflection.EventInfo[] + + +#pragma mark - BEGIN APIs of System.Reflection.InterfaceMapping +System_Type_t /* System.Type */ +System_Reflection_InterfaceMapping_TargetType_Get( + System_Reflection_InterfaceMapping_t /* System.Reflection.InterfaceMapping */ self +); + +void /* System.Void */ +System_Reflection_InterfaceMapping_TargetType_Set( + System_Reflection_InterfaceMapping_t /* System.Reflection.InterfaceMapping */ self, + System_Type_t /* System.Type */ value +); + + +System_Type_t /* System.Type */ +System_Reflection_InterfaceMapping_InterfaceType_Get( + System_Reflection_InterfaceMapping_t /* System.Reflection.InterfaceMapping */ self +); + +void /* System.Void */ +System_Reflection_InterfaceMapping_InterfaceType_Set( + System_Reflection_InterfaceMapping_t /* System.Reflection.InterfaceMapping */ self, + System_Type_t /* System.Type */ value +); + + +System_Reflection_MethodInfo_Array_t /* System.Reflection.MethodInfo[] */ +System_Reflection_InterfaceMapping_TargetMethods_Get( + System_Reflection_InterfaceMapping_t /* System.Reflection.InterfaceMapping */ self +); + +void /* System.Void */ +System_Reflection_InterfaceMapping_TargetMethods_Set( + System_Reflection_InterfaceMapping_t /* System.Reflection.InterfaceMapping */ self, + System_Reflection_MethodInfo_Array_t /* System.Reflection.MethodInfo[] */ value +); + + +System_Reflection_MethodInfo_Array_t /* System.Reflection.MethodInfo[] */ +System_Reflection_InterfaceMapping_InterfaceMethods_Get( + System_Reflection_InterfaceMapping_t /* System.Reflection.InterfaceMapping */ self +); + +void /* System.Void */ +System_Reflection_InterfaceMapping_InterfaceMethods_Set( + System_Reflection_InterfaceMapping_t /* System.Reflection.InterfaceMapping */ self, + System_Reflection_MethodInfo_Array_t /* System.Reflection.MethodInfo[] */ value +); + + +System_Reflection_InterfaceMapping_t /* System.Reflection.InterfaceMapping */ +System_Reflection_InterfaceMapping_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_InterfaceMapping_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_InterfaceMapping_Destroy( + System_Reflection_InterfaceMapping_t /* System.Reflection.InterfaceMapping */ self +); + +#pragma mark - END APIs of System.Reflection.InterfaceMapping + +#pragma mark - BEGIN APIs of System.Runtime.InteropServices.Marshal +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_OffsetOf( + System_Type_t /* System.Type */ t, + System_String_t /* System.String */ fieldName, + System_Exception_t* /* System.Exception */ outException +); + +uint8_t /* System.Byte */ +System_Runtime_InteropServices_Marshal_ReadByte( + System_Object_t /* System.Object */ ptr, + int32_t /* System.Int32 */ ofs, + System_Exception_t* /* System.Exception */ outException +); + +int16_t /* System.Int16 */ +System_Runtime_InteropServices_Marshal_ReadInt16( + System_Object_t /* System.Object */ ptr, + int32_t /* System.Int32 */ ofs, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_ReadInt32( + System_Object_t /* System.Object */ ptr, + int32_t /* System.Int32 */ ofs, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_Runtime_InteropServices_Marshal_ReadInt64( + System_Object_t* /* System.Object */ ptr, + int32_t /* System.Int32 */ ofs, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_WriteByte( + System_Object_t /* System.Object */ ptr, + int32_t /* System.Int32 */ ofs, + uint8_t /* System.Byte */ val, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_WriteInt32( + System_Object_t /* System.Object */ ptr, + int32_t /* System.Int32 */ ofs, + int32_t /* System.Int32 */ val, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_WriteInt64( + System_Object_t /* System.Object */ ptr, + int32_t /* System.Int32 */ ofs, + int64_t /* System.Int64 */ val, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_GetLastPInvokeError( + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_SetLastPInvokeError( + int32_t /* System.Int32 */ error, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_GetExceptionPointers( + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_GetExceptionCode( + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_StructureToPtr( + System_Object_t /* System.Object */ structure, + long /* System.IntPtr */ ptr, + bool /* System.Boolean */ fDeleteOld, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_DestroyStructure( + long /* System.IntPtr */ ptr, + System_Type_t /* System.Type */ structuretype, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_AllocHGlobal( + int32_t /* System.Int32 */ cb, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_InteropServices_Marshal_PtrToStringAnsi( + long /* System.IntPtr */ ptr, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_InteropServices_Marshal_PtrToStringAnsi_1( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ len, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_InteropServices_Marshal_PtrToStringUni( + long /* System.IntPtr */ ptr, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_InteropServices_Marshal_PtrToStringUni_1( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ len, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_InteropServices_Marshal_PtrToStringUTF8( + long /* System.IntPtr */ ptr, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_InteropServices_Marshal_PtrToStringUTF8_1( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ byteLen, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_SizeOf( + System_Object_t /* System.Object */ structure, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_SizeOf_1( + System_Type_t /* System.Type */ t, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_SizeOf_A1( + System_Type_t /* System.Type */ T, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_QueryInterface( + long /* System.IntPtr */ pUnk, + System_Guid_t* /* System.Guid */ iid, + long* /* System.IntPtr */ ppv, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_AddRef( + long /* System.IntPtr */ pUnk, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_Release( + long /* System.IntPtr */ pUnk, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement( + System_Array_t /* System.Array */ arr, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_UnsafeAddrOfPinnedArrayElement_A1( + System_Type_t /* System.Type */ T, + System_Array_t /* System.Array */ arr, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_OffsetOf_A1( + System_Type_t /* System.Type */ T, + System_String_t /* System.String */ fieldName, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy( + System_Int32_Array_t /* System.Int32[] */ source, + int32_t /* System.Int32 */ startIndex, + long /* System.IntPtr */ destination, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_1( + System_Char_Array_t /* System.Char[] */ source, + int32_t /* System.Int32 */ startIndex, + long /* System.IntPtr */ destination, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_2( + System_Int16_Array_t /* System.Int16[] */ source, + int32_t /* System.Int32 */ startIndex, + long /* System.IntPtr */ destination, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_3( + System_Int64_Array_t /* System.Int64[] */ source, + int32_t /* System.Int32 */ startIndex, + long /* System.IntPtr */ destination, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_4( + System_Single_Array_t /* System.Single[] */ source, + int32_t /* System.Int32 */ startIndex, + long /* System.IntPtr */ destination, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_5( + System_Double_Array_t /* System.Double[] */ source, + int32_t /* System.Int32 */ startIndex, + long /* System.IntPtr */ destination, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_6( + System_Byte_Array_t /* System.Byte[] */ source, + int32_t /* System.Int32 */ startIndex, + long /* System.IntPtr */ destination, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_7( + System_IntPtr_Array_t /* System.IntPtr[] */ source, + int32_t /* System.Int32 */ startIndex, + long /* System.IntPtr */ destination, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_8( + long /* System.IntPtr */ source, + System_Int32_Array_t /* System.Int32[] */ destination, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_9( + long /* System.IntPtr */ source, + System_Char_Array_t /* System.Char[] */ destination, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_10( + long /* System.IntPtr */ source, + System_Int16_Array_t /* System.Int16[] */ destination, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_11( + long /* System.IntPtr */ source, + System_Int64_Array_t /* System.Int64[] */ destination, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_12( + long /* System.IntPtr */ source, + System_Single_Array_t /* System.Single[] */ destination, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_13( + long /* System.IntPtr */ source, + System_Double_Array_t /* System.Double[] */ destination, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_14( + long /* System.IntPtr */ source, + System_Byte_Array_t /* System.Byte[] */ destination, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Copy_15( + long /* System.IntPtr */ source, + System_IntPtr_Array_t /* System.IntPtr[] */ destination, + int32_t /* System.Int32 */ startIndex, + int32_t /* System.Int32 */ length, + System_Exception_t* /* System.Exception */ outException +); + +uint8_t /* System.Byte */ +System_Runtime_InteropServices_Marshal_ReadByte_1( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ ofs, + System_Exception_t* /* System.Exception */ outException +); + +uint8_t /* System.Byte */ +System_Runtime_InteropServices_Marshal_ReadByte_2( + long /* System.IntPtr */ ptr, + System_Exception_t* /* System.Exception */ outException +); + +int16_t /* System.Int16 */ +System_Runtime_InteropServices_Marshal_ReadInt16_1( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ ofs, + System_Exception_t* /* System.Exception */ outException +); + +int16_t /* System.Int16 */ +System_Runtime_InteropServices_Marshal_ReadInt16_2( + long /* System.IntPtr */ ptr, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_ReadInt32_1( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ ofs, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_ReadInt32_2( + long /* System.IntPtr */ ptr, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_ReadIntPtr( + System_Object_t /* System.Object */ ptr, + int32_t /* System.Int32 */ ofs, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_ReadIntPtr_1( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ ofs, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_ReadIntPtr_2( + long /* System.IntPtr */ ptr, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_Runtime_InteropServices_Marshal_ReadInt64_1( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ ofs, + System_Exception_t* /* System.Exception */ outException +); + +int64_t /* System.Int64 */ +System_Runtime_InteropServices_Marshal_ReadInt64_2( + long /* System.IntPtr */ ptr, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_WriteByte_1( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ ofs, + uint8_t /* System.Byte */ val, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_WriteByte_2( + long /* System.IntPtr */ ptr, + uint8_t /* System.Byte */ val, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_WriteInt32_1( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ ofs, + int32_t /* System.Int32 */ val, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_WriteInt32_2( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ val, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_WriteIntPtr( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ ofs, + long /* System.IntPtr */ val, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_WriteIntPtr_1( + System_Object_t /* System.Object */ ptr, + int32_t /* System.Int32 */ ofs, + long /* System.IntPtr */ val, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_WriteIntPtr_2( + long /* System.IntPtr */ ptr, + long /* System.IntPtr */ val, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_WriteInt64_1( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ ofs, + int64_t /* System.Int64 */ val, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_WriteInt64_2( + long /* System.IntPtr */ ptr, + int64_t /* System.Int64 */ val, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Prelink( + System_Reflection_MethodInfo_t /* System.Reflection.MethodInfo */ m, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_PrelinkAll( + System_Type_t /* System.Type */ c, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Runtime_InteropServices_Marshal_PtrToStructure( + long /* System.IntPtr */ ptr, + System_Type_t /* System.Type */ structureType, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_PtrToStructure_1( + long /* System.IntPtr */ ptr, + System_Object_t /* System.Object */ structure, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_DestroyStructure_A1( + System_Type_t /* System.Type */ T, + long /* System.IntPtr */ ptr, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_GetHINSTANCE( + System_Reflection_Module_t /* System.Reflection.Module */ m, + System_Exception_t* /* System.Exception */ outException +); + +System_Exception_t /* System.Exception */ +System_Runtime_InteropServices_Marshal_GetExceptionForHR( + int32_t /* System.Int32 */ errorCode, + System_Exception_t* /* System.Exception */ outException +); + +System_Exception_t /* System.Exception */ +System_Runtime_InteropServices_Marshal_GetExceptionForHR_1( + int32_t /* System.Int32 */ errorCode, + long /* System.IntPtr */ errorInfo, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_ThrowExceptionForHR( + int32_t /* System.Int32 */ errorCode, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_ThrowExceptionForHR_1( + int32_t /* System.Int32 */ errorCode, + long /* System.IntPtr */ errorInfo, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_SecureStringToBSTR( + System_Security_SecureString_t /* System.Security.SecureString */ s, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemAnsi( + System_Security_SecureString_t /* System.Security.SecureString */ s, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_SecureStringToCoTaskMemUnicode( + System_Security_SecureString_t /* System.Security.SecureString */ s, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocAnsi( + System_Security_SecureString_t /* System.Security.SecureString */ s, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_SecureStringToGlobalAllocUnicode( + System_Security_SecureString_t /* System.Security.SecureString */ s, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi( + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_StringToHGlobalUni( + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_StringToCoTaskMemUni( + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_StringToCoTaskMemUTF8( + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_StringToCoTaskMemAnsi( + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +System_Guid_t /* System.Guid */ +System_Runtime_InteropServices_Marshal_GenerateGuidForType( + System_Type_t /* System.Type */ type, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_InteropServices_Marshal_GenerateProgIdForType( + System_Type_t /* System.Type */ type, + System_Exception_t* /* System.Exception */ outException +); + +System_Delegate_t /* System.Delegate */ +System_Runtime_InteropServices_Marshal_GetDelegateForFunctionPointer( + long /* System.IntPtr */ ptr, + System_Type_t /* System.Type */ t, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_GetFunctionPointerForDelegate( + System_Delegate_t /* System.Delegate */ d, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_GetHRForLastWin32Error( + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_ZeroFreeBSTR( + long /* System.IntPtr */ s, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemAnsi( + long /* System.IntPtr */ s, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUnicode( + long /* System.IntPtr */ s, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_ZeroFreeCoTaskMemUTF8( + long /* System.IntPtr */ s, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocAnsi( + long /* System.IntPtr */ s, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_ZeroFreeGlobalAllocUnicode( + long /* System.IntPtr */ s, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_StringToBSTR( + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_InteropServices_Marshal_PtrToStringBSTR( + long /* System.IntPtr */ ptr, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t /* System.Type */ +System_Runtime_InteropServices_Marshal_GetTypeFromCLSID( + System_Guid_t /* System.Guid */ clsid, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_InitHandle( + System_Runtime_InteropServices_SafeHandle_t /* System.Runtime.InteropServices.SafeHandle */ safeHandle, + long /* System.IntPtr */ handle, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_GetLastWin32Error( + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_InteropServices_Marshal_GetLastPInvokeErrorMessage( + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_GetHRForException( + System_Exception_t /* System.Exception */ e, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Runtime_InteropServices_Marshal_AreComObjectsAvailableForCleanup( + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_CreateAggregatedObject( + long /* System.IntPtr */ pOuter, + System_Object_t /* System.Object */ o, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Runtime_InteropServices_Marshal_BindToMoniker( + System_String_t /* System.String */ monikerName, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_CleanupUnusedObjectsInCurrentContext( + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Runtime_InteropServices_Marshal_CreateWrapperOfType( + System_Object_t /* System.Object */ o, + System_Type_t /* System.Type */ t, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_ChangeWrapperHandleStrength( + System_Object_t /* System.Object */ otp, + bool /* System.Boolean */ fIsWeak, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_FinalReleaseComObject( + System_Object_t /* System.Object */ o, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_GetComInterfaceForObject( + System_Object_t /* System.Object */ o, + System_Type_t /* System.Type */ T, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_GetComInterfaceForObject_1( + System_Object_t /* System.Object */ o, + System_Type_t /* System.Type */ T, + System_Runtime_InteropServices_CustomQueryInterfaceMode_t /* System.Runtime.InteropServices.CustomQueryInterfaceMode */ mode, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Runtime_InteropServices_Marshal_GetComObjectData( + System_Object_t /* System.Object */ obj, + System_Object_t /* System.Object */ key, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_GetIDispatchForObject( + System_Object_t /* System.Object */ o, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_GetIUnknownForObject( + System_Object_t /* System.Object */ o, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_GetNativeVariantForObject( + System_Object_t /* System.Object */ obj, + long /* System.IntPtr */ pDstNativeVariant, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Runtime_InteropServices_Marshal_GetTypedObjectForIUnknown( + long /* System.IntPtr */ pUnk, + System_Type_t /* System.Type */ t, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Runtime_InteropServices_Marshal_GetObjectForIUnknown( + long /* System.IntPtr */ pUnk, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Runtime_InteropServices_Marshal_GetObjectForNativeVariant( + long /* System.IntPtr */ pSrcNativeVariant, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_Array_t /* System.Object[] */ +System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants( + long /* System.IntPtr */ aSrcNativeVariant, + int32_t /* System.Int32 */ cVars, + System_Exception_t* /* System.Exception */ outException +); + +System_Array_t /* System.Array */ +System_Runtime_InteropServices_Marshal_GetObjectsForNativeVariants_A1( + System_Type_t /* System.Type */ T, + long /* System.IntPtr */ aSrcNativeVariant, + int32_t /* System.Int32 */ cVars, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_GetStartComSlot( + System_Type_t /* System.Type */ t, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_GetEndComSlot( + System_Type_t /* System.Type */ t, + System_Exception_t* /* System.Exception */ outException +); + +System_Object_t /* System.Object */ +System_Runtime_InteropServices_Marshal_GetUniqueObjectForIUnknown( + long /* System.IntPtr */ unknown, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Runtime_InteropServices_Marshal_IsComObject( + System_Object_t /* System.Object */ o, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Runtime_InteropServices_Marshal_IsTypeVisibleFromCom( + System_Type_t /* System.Type */ t, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_ReleaseComObject( + System_Object_t /* System.Object */ o, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Runtime_InteropServices_Marshal_SetComObjectData( + System_Object_t /* System.Object */ obj, + System_Object_t /* System.Object */ key, + System_Object_t /* System.Object */ data, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_InteropServices_Marshal_PtrToStringAuto( + long /* System.IntPtr */ ptr, + int32_t /* System.Int32 */ len, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_InteropServices_Marshal_PtrToStringAuto_1( + long /* System.IntPtr */ ptr, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_StringToHGlobalAuto( + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_StringToCoTaskMemAuto( + System_String_t /* System.String */ s, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_AllocHGlobal_1( + long /* System.IntPtr */ cb, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_FreeHGlobal( + long /* System.IntPtr */ hglobal, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_ReAllocHGlobal( + long /* System.IntPtr */ pv, + long /* System.IntPtr */ cb, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_AllocCoTaskMem( + int32_t /* System.Int32 */ cb, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_FreeCoTaskMem( + long /* System.IntPtr */ ptr, + System_Exception_t* /* System.Exception */ outException +); + +long /* System.IntPtr */ +System_Runtime_InteropServices_Marshal_ReAllocCoTaskMem( + long /* System.IntPtr */ pv, + int32_t /* System.Int32 */ cb, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_FreeBSTR( + long /* System.IntPtr */ ptr, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_GetLastSystemError( + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_SetLastSystemError( + int32_t /* System.Int32 */ error, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_Runtime_InteropServices_Marshal_GetPInvokeErrorMessage( + int32_t /* System.Int32 */ error, + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_SystemDefaultCharSize_Get( + void +); + + +int32_t /* System.Int32 */ +System_Runtime_InteropServices_Marshal_SystemMaxDBCSCharSize_Get( + void +); + + +System_Type_t _Nonnull /* System.Type */ +System_Runtime_InteropServices_Marshal_TypeOf( + void +); + +void /* System.Void */ +System_Runtime_InteropServices_Marshal_Destroy_1( + System_Runtime_InteropServices_Marshal_t /* System.Runtime.InteropServices.Marshal */ self +); + +#pragma mark - END APIs of System.Runtime.InteropServices.Marshal + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of System.Int16[] +#pragma mark - END APIs of System.Int16[] + +#pragma mark - BEGIN APIs of System.Single[] +#pragma mark - END APIs of System.Single[] + +#pragma mark - BEGIN APIs of System.Double[] +#pragma mark - END APIs of System.Double[] + +#pragma mark - BEGIN APIs of System.IntPtr[] +#pragma mark - END APIs of System.IntPtr[] + +#pragma mark - BEGIN APIs of System.Security.SecureString +void /* System.Void */ +System_Security_SecureString_AppendChar( + System_Security_SecureString_t /* System.Security.SecureString */ self, + wchar_t /* System.Char */ c, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Security_SecureString_Clear( + System_Security_SecureString_t /* System.Security.SecureString */ self, + System_Exception_t* /* System.Exception */ outException +); + +System_Security_SecureString_t /* System.Security.SecureString */ +System_Security_SecureString_Copy( + System_Security_SecureString_t /* System.Security.SecureString */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Security_SecureString_Dispose( + System_Security_SecureString_t /* System.Security.SecureString */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Security_SecureString_InsertAt( + System_Security_SecureString_t /* System.Security.SecureString */ self, + int32_t /* System.Int32 */ index, + wchar_t /* System.Char */ c, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_Security_SecureString_IsReadOnly( + System_Security_SecureString_t /* System.Security.SecureString */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Security_SecureString_MakeReadOnly( + System_Security_SecureString_t /* System.Security.SecureString */ self, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Security_SecureString_RemoveAt( + System_Security_SecureString_t /* System.Security.SecureString */ self, + int32_t /* System.Int32 */ index, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_Security_SecureString_SetAt( + System_Security_SecureString_t /* System.Security.SecureString */ self, + int32_t /* System.Int32 */ index, + wchar_t /* System.Char */ c, + System_Exception_t* /* System.Exception */ outException +); + +System_Security_SecureString_t /* System.Security.SecureString */ +System_Security_SecureString_Create( + System_Exception_t* /* System.Exception */ outException +); + +int32_t /* System.Int32 */ +System_Security_SecureString_Length_Get( + System_Security_SecureString_t /* System.Security.SecureString */ self, + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_Security_SecureString_TypeOf( + void +); + +void /* System.Void */ +System_Security_SecureString_Destroy( + System_Security_SecureString_t /* System.Security.SecureString */ self +); + +#pragma mark - END APIs of System.Security.SecureString + +#pragma mark - BEGIN APIs of T[] +#pragma mark - END APIs of T[] + +#pragma mark - BEGIN APIs of System.NullReferenceException +System_NullReferenceException_t /* System.NullReferenceException */ +System_NullReferenceException_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_NullReferenceException_t /* System.NullReferenceException */ +System_NullReferenceException_Create_1( + System_String_t /* System.String */ message, + System_Exception_t* /* System.Exception */ outException +); + +System_NullReferenceException_t /* System.NullReferenceException */ +System_NullReferenceException_Create_2( + System_String_t /* System.String */ message, + System_Exception_t /* System.Exception */ innerException, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_NullReferenceException_TypeOf( + void +); + +void /* System.Void */ +System_NullReferenceException_Destroy( + System_NullReferenceException_t /* System.NullReferenceException */ self +); + +#pragma mark - END APIs of System.NullReferenceException + +#pragma mark - BEGIN APIs of System.SystemException +System_SystemException_t /* System.SystemException */ +System_SystemException_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_SystemException_t /* System.SystemException */ +System_SystemException_Create_1( + System_String_t /* System.String */ message, + System_Exception_t* /* System.Exception */ outException +); + +System_SystemException_t /* System.SystemException */ +System_SystemException_Create_2( + System_String_t /* System.String */ message, + System_Exception_t /* System.Exception */ innerException, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_SystemException_TypeOf( + void +); + +void /* System.Void */ +System_SystemException_Destroy( + System_SystemException_t /* System.SystemException */ self +); + +#pragma mark - END APIs of System.SystemException + +#pragma mark - BEGIN APIs of System.PlatformNotSupportedException +System_PlatformNotSupportedException_t /* System.PlatformNotSupportedException */ +System_PlatformNotSupportedException_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_PlatformNotSupportedException_t /* System.PlatformNotSupportedException */ +System_PlatformNotSupportedException_Create_1( + System_String_t /* System.String */ message, + System_Exception_t* /* System.Exception */ outException +); + +System_PlatformNotSupportedException_t /* System.PlatformNotSupportedException */ +System_PlatformNotSupportedException_Create_2( + System_String_t /* System.String */ message, + System_Exception_t /* System.Exception */ inner, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_PlatformNotSupportedException_TypeOf( + void +); + +void /* System.Void */ +System_PlatformNotSupportedException_Destroy( + System_PlatformNotSupportedException_t /* System.PlatformNotSupportedException */ self +); + +#pragma mark - END APIs of System.PlatformNotSupportedException + +#pragma mark - BEGIN APIs of System.NotSupportedException +System_NotSupportedException_t /* System.NotSupportedException */ +System_NotSupportedException_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_NotSupportedException_t /* System.NotSupportedException */ +System_NotSupportedException_Create_1( + System_String_t /* System.String */ message, + System_Exception_t* /* System.Exception */ outException +); + +System_NotSupportedException_t /* System.NotSupportedException */ +System_NotSupportedException_Create_2( + System_String_t /* System.String */ message, + System_Exception_t /* System.Exception */ innerException, + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +System_NotSupportedException_TypeOf( + void +); + +void /* System.Void */ +System_NotSupportedException_Destroy( + System_NotSupportedException_t /* System.NotSupportedException */ self +); + +#pragma mark - END APIs of System.NotSupportedException + +#pragma mark - BEGIN APIs of System.UIntPtr +System_Type_t _Nonnull /* System.Type */ +System_UIntPtr_TypeOf( + void +); + +#pragma mark - END APIs of System.UIntPtr + + +#pragma mark - BEGIN APIs of System.AppContext +System_Object_t /* System.Object */ +System_AppContext_GetData( + System_String_t /* System.String */ name, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_AppContext_SetData( + System_String_t /* System.String */ name, + System_Object_t /* System.Object */ data, + System_Exception_t* /* System.Exception */ outException +); + +bool /* System.Boolean */ +System_AppContext_TryGetSwitch( + System_String_t /* System.String */ switchName, + bool* /* System.Boolean */ isEnabled, + System_Exception_t* /* System.Exception */ outException +); + +void /* System.Void */ +System_AppContext_SetSwitch( + System_String_t /* System.String */ switchName, + bool /* System.Boolean */ isEnabled, + System_Exception_t* /* System.Exception */ outException +); + +System_String_t /* System.String */ +System_AppContext_BaseDirectory_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_String_t /* System.String */ +System_AppContext_TargetFrameworkName_Get( + System_Exception_t* /* System.Exception */ outException +); + + +System_Type_t _Nonnull /* System.Type */ +System_AppContext_TypeOf( + void +); + +void /* System.Void */ +System_AppContext_Destroy( + System_AppContext_t /* System.AppContext */ self +); + +#pragma mark - END APIs of System.AppContext + +#pragma mark - BEGIN APIs of MyLib.Hello +int32_t /* System.Int32 */ +MyLib_Hello_Sum( + MyLib_Hello_t /* MyLib.Hello */ self, + int32_t /* System.Int32 */ a, + int32_t /* System.Int32 */ b, + System_Exception_t* /* System.Exception */ outException +); + +MyLib_Hello_t /* MyLib.Hello */ +MyLib_Hello_Create( + System_Exception_t* /* System.Exception */ outException +); + +System_Type_t _Nonnull /* System.Type */ +MyLib_Hello_TypeOf( + void +); + +void /* System.Void */ +MyLib_Hello_Destroy( + MyLib_Hello_t /* MyLib.Hello */ self +); + +#pragma mark - END APIs of MyLib.Hello + +#pragma mark - BEGIN APIs of System.Action +System_Action_t /* System.Action */ +System_Action_Create( + const void* context, + System_Action_CFunction_t function, + System_Action_CDestructorFunction_t destructorFunction +); + +void +System_Action_Invoke( + System_Action_t /* System.Action */ self, System_Exception_t* /* System.Exception */ outException +); + +const void* +System_Action_Context_Get( + System_Action_t /* System.Action */ self +); + +System_Action_CFunction_t +System_Action_CFunction_Get( + System_Action_t /* System.Action */ self +); + +System_Action_CDestructorFunction_t +System_Action_CDestructorFunction_Get( + System_Action_t /* System.Action */ self +); + +System_Type_t _Nonnull /* System.Type */ +System_Action_TypeOf( + void +); + +void /* System.Void */ +System_Action_Destroy( + System_Action_t /* System.Action */ self +); + +#pragma mark - END APIs of System.Action + +#pragma mark - BEGIN APIs of System.MulticastDelegate +System_MulticastDelegate_t /* System.MulticastDelegate */ +System_MulticastDelegate_Create( + const void* context, + System_MulticastDelegate_CFunction_t function, + System_MulticastDelegate_CDestructorFunction_t destructorFunction +); + +void +System_MulticastDelegate_Invoke( + System_MulticastDelegate_t /* System.MulticastDelegate */ self, System_Exception_t* /* System.Exception */ outException +); + +const void* +System_MulticastDelegate_Context_Get( + System_MulticastDelegate_t /* System.MulticastDelegate */ self +); + +System_MulticastDelegate_CFunction_t +System_MulticastDelegate_CFunction_Get( + System_MulticastDelegate_t /* System.MulticastDelegate */ self +); + +System_MulticastDelegate_CDestructorFunction_t +System_MulticastDelegate_CDestructorFunction_Get( + System_MulticastDelegate_t /* System.MulticastDelegate */ self +); + +System_Type_t _Nonnull /* System.Type */ +System_MulticastDelegate_TypeOf( + void +); + +void /* System.Void */ +System_MulticastDelegate_Destroy( + System_MulticastDelegate_t /* System.MulticastDelegate */ self +); + +#pragma mark - END APIs of System.MulticastDelegate + +#pragma mark - BEGIN APIs of System.Delegate +System_Delegate_t /* System.Delegate */ +System_Delegate_Create( + const void* context, + System_Delegate_CFunction_t function, + System_Delegate_CDestructorFunction_t destructorFunction +); + +void +System_Delegate_Invoke( + System_Delegate_t /* System.Delegate */ self, System_Exception_t* /* System.Exception */ outException +); + +const void* +System_Delegate_Context_Get( + System_Delegate_t /* System.Delegate */ self +); + +System_Delegate_CFunction_t +System_Delegate_CFunction_Get( + System_Delegate_t /* System.Delegate */ self +); + +System_Delegate_CDestructorFunction_t +System_Delegate_CDestructorFunction_Get( + System_Delegate_t /* System.Delegate */ self +); + +System_Type_t _Nonnull /* System.Type */ +System_Delegate_TypeOf( + void +); + +void /* System.Void */ +System_Delegate_Destroy( + System_Delegate_t /* System.Delegate */ self +); + +#pragma mark - END APIs of System.Delegate + +#pragma mark - BEGIN APIs of System.Threading.TimerCallback +System_Threading_TimerCallback_t /* System.Threading.TimerCallback */ +System_Threading_TimerCallback_Create( + const void* context, + System_Threading_TimerCallback_CFunction_t function, + System_Threading_TimerCallback_CDestructorFunction_t destructorFunction +); + +void +System_Threading_TimerCallback_Invoke( + System_Threading_TimerCallback_t /* System.Threading.TimerCallback */ self, System_Object_t /* System.Object */ state, System_Exception_t* /* System.Exception */ outException +); + +const void* +System_Threading_TimerCallback_Context_Get( + System_Threading_TimerCallback_t /* System.Threading.TimerCallback */ self +); + +System_Threading_TimerCallback_CFunction_t +System_Threading_TimerCallback_CFunction_Get( + System_Threading_TimerCallback_t /* System.Threading.TimerCallback */ self +); + +System_Threading_TimerCallback_CDestructorFunction_t +System_Threading_TimerCallback_CDestructorFunction_Get( + System_Threading_TimerCallback_t /* System.Threading.TimerCallback */ self +); + +System_Type_t _Nonnull /* System.Type */ +System_Threading_TimerCallback_TypeOf( + void +); + +void /* System.Void */ +System_Threading_TimerCallback_Destroy( + System_Threading_TimerCallback_t /* System.Threading.TimerCallback */ self +); + +#pragma mark - END APIs of System.Threading.TimerCallback + +#pragma mark - BEGIN APIs of System.AsyncCallback +System_AsyncCallback_t /* System.AsyncCallback */ +System_AsyncCallback_Create( + const void* context, + System_AsyncCallback_CFunction_t function, + System_AsyncCallback_CDestructorFunction_t destructorFunction +); + +void +System_AsyncCallback_Invoke( + System_AsyncCallback_t /* System.AsyncCallback */ self, System_IAsyncResult_t /* System.IAsyncResult */ ar, System_Exception_t* /* System.Exception */ outException +); + +const void* +System_AsyncCallback_Context_Get( + System_AsyncCallback_t /* System.AsyncCallback */ self +); + +System_AsyncCallback_CFunction_t +System_AsyncCallback_CFunction_Get( + System_AsyncCallback_t /* System.AsyncCallback */ self +); + +System_AsyncCallback_CDestructorFunction_t +System_AsyncCallback_CDestructorFunction_Get( + System_AsyncCallback_t /* System.AsyncCallback */ self +); + +System_Type_t _Nonnull /* System.Type */ +System_AsyncCallback_TypeOf( + void +); + +void /* System.Void */ +System_AsyncCallback_Destroy( + System_AsyncCallback_t /* System.AsyncCallback */ self +); + +#pragma mark - END APIs of System.AsyncCallback + +#pragma mark - BEGIN APIs of System.Reflection.ModuleResolveEventHandler +System_Reflection_ModuleResolveEventHandler_t /* System.Reflection.ModuleResolveEventHandler */ +System_Reflection_ModuleResolveEventHandler_Create( + const void* context, + System_Reflection_ModuleResolveEventHandler_CFunction_t function, + System_Reflection_ModuleResolveEventHandler_CDestructorFunction_t destructorFunction +); + +System_Reflection_Module_t +System_Reflection_ModuleResolveEventHandler_Invoke( + System_Reflection_ModuleResolveEventHandler_t /* System.Reflection.ModuleResolveEventHandler */ self, System_Object_t /* System.Object */ sender, + System_ResolveEventArgs_t /* System.ResolveEventArgs */ e, System_Exception_t* /* System.Exception */ outException +); + +const void* +System_Reflection_ModuleResolveEventHandler_Context_Get( + System_Reflection_ModuleResolveEventHandler_t /* System.Reflection.ModuleResolveEventHandler */ self +); + +System_Reflection_ModuleResolveEventHandler_CFunction_t +System_Reflection_ModuleResolveEventHandler_CFunction_Get( + System_Reflection_ModuleResolveEventHandler_t /* System.Reflection.ModuleResolveEventHandler */ self +); + +System_Reflection_ModuleResolveEventHandler_CDestructorFunction_t +System_Reflection_ModuleResolveEventHandler_CDestructorFunction_Get( + System_Reflection_ModuleResolveEventHandler_t /* System.Reflection.ModuleResolveEventHandler */ self +); + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_ModuleResolveEventHandler_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_ModuleResolveEventHandler_Destroy( + System_Reflection_ModuleResolveEventHandler_t /* System.Reflection.ModuleResolveEventHandler */ self +); + +#pragma mark - END APIs of System.Reflection.ModuleResolveEventHandler + +#pragma mark - BEGIN APIs of System.Reflection.TypeFilter +System_Reflection_TypeFilter_t /* System.Reflection.TypeFilter */ +System_Reflection_TypeFilter_Create( + const void* context, + System_Reflection_TypeFilter_CFunction_t function, + System_Reflection_TypeFilter_CDestructorFunction_t destructorFunction +); + +bool +System_Reflection_TypeFilter_Invoke( + System_Reflection_TypeFilter_t /* System.Reflection.TypeFilter */ self, System_Type_t /* System.Type */ m, + System_Object_t /* System.Object */ filterCriteria, System_Exception_t* /* System.Exception */ outException +); + +const void* +System_Reflection_TypeFilter_Context_Get( + System_Reflection_TypeFilter_t /* System.Reflection.TypeFilter */ self +); + +System_Reflection_TypeFilter_CFunction_t +System_Reflection_TypeFilter_CFunction_Get( + System_Reflection_TypeFilter_t /* System.Reflection.TypeFilter */ self +); + +System_Reflection_TypeFilter_CDestructorFunction_t +System_Reflection_TypeFilter_CDestructorFunction_Get( + System_Reflection_TypeFilter_t /* System.Reflection.TypeFilter */ self +); + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_TypeFilter_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_TypeFilter_Destroy( + System_Reflection_TypeFilter_t /* System.Reflection.TypeFilter */ self +); + +#pragma mark - END APIs of System.Reflection.TypeFilter + +#pragma mark - BEGIN APIs of System.Reflection.MemberFilter +System_Reflection_MemberFilter_t /* System.Reflection.MemberFilter */ +System_Reflection_MemberFilter_Create( + const void* context, + System_Reflection_MemberFilter_CFunction_t function, + System_Reflection_MemberFilter_CDestructorFunction_t destructorFunction +); + +bool +System_Reflection_MemberFilter_Invoke( + System_Reflection_MemberFilter_t /* System.Reflection.MemberFilter */ self, System_Reflection_MemberInfo_t /* System.Reflection.MemberInfo */ m, + System_Object_t /* System.Object */ filterCriteria, System_Exception_t* /* System.Exception */ outException +); + +const void* +System_Reflection_MemberFilter_Context_Get( + System_Reflection_MemberFilter_t /* System.Reflection.MemberFilter */ self +); + +System_Reflection_MemberFilter_CFunction_t +System_Reflection_MemberFilter_CFunction_Get( + System_Reflection_MemberFilter_t /* System.Reflection.MemberFilter */ self +); + +System_Reflection_MemberFilter_CDestructorFunction_t +System_Reflection_MemberFilter_CDestructorFunction_Get( + System_Reflection_MemberFilter_t /* System.Reflection.MemberFilter */ self +); + +System_Type_t _Nonnull /* System.Type */ +System_Reflection_MemberFilter_TypeOf( + void +); + +void /* System.Void */ +System_Reflection_MemberFilter_Destroy( + System_Reflection_MemberFilter_t /* System.Reflection.MemberFilter */ self +); + +#pragma mark - END APIs of System.Reflection.MemberFilter + + +#pragma mark - END APIs + +#pragma mark - BEGIN Utils +_Nonnull CString +DNStringToC(_Nonnull System_String_t systemString); + +_Nonnull System_String_t +DNStringFromC(_Nonnull CString cString); + +_Nullable System_Object_t +DNObjectCastTo(_Nonnull System_Object_t object, _Nonnull System_Type_t type, _Nullable System_Exception_t* outException); + +_Nullable System_Object_t +DNObjectCastAs(_Nonnull System_Object_t object, _Nonnull System_Type_t type); + +bool +DNObjectIs(_Nonnull System_Object_t object, _Nonnull System_Type_t type); + +bool +DNObjectCastToBool(_Nonnull System_Object_t object, _Nullable System_Exception_t* outException); + +_Nonnull System_Object_t +DNObjectFromBool(bool value); + +float +DNObjectCastToFloat(_Nonnull System_Object_t object, _Nullable System_Exception_t* outException); + +_Nonnull System_Object_t +DNObjectFromFloat(float value); + +double +DNObjectCastToDouble(_Nonnull System_Object_t object, _Nullable System_Exception_t* outException); + +_Nonnull System_Object_t +DNObjectFromDouble(double value); + +int8_t +DNObjectCastToInt8(_Nonnull System_Object_t object, _Nullable System_Exception_t* outException); + +_Nonnull System_Object_t +DNObjectFromInt8(int8_t number); + +uint8_t +DNObjectCastToUInt8(_Nonnull System_Object_t object, _Nullable System_Exception_t* outException); + +_Nonnull System_Object_t +DNObjectFromUInt8(uint8_t number); + +int16_t +DNObjectCastToInt16(_Nonnull System_Object_t object, _Nullable System_Exception_t* outException); + +_Nonnull System_Object_t +DNObjectFromInt16(int16_t number); + +uint16_t +DNObjectCastToUInt16(_Nonnull System_Object_t object, _Nullable System_Exception_t* outException); + +_Nonnull System_Object_t +DNObjectFromUInt16(uint16_t number); + +int32_t +DNObjectCastToInt32(_Nonnull System_Object_t object, _Nullable System_Exception_t* outException); + +_Nonnull System_Object_t +DNObjectFromInt32(int32_t number); + +uint32_t +DNObjectCastToUInt32(_Nonnull System_Object_t object, _Nullable System_Exception_t* outException); + +_Nonnull System_Object_t +DNObjectFromUInt32(uint32_t number); + +int64_t +DNObjectCastToInt64(_Nonnull System_Object_t object, _Nullable System_Exception_t* outException); + +_Nonnull System_Object_t +DNObjectFromInt64(int64_t number); + +uint64_t +DNObjectCastToUInt64(_Nonnull System_Object_t object, _Nullable System_Exception_t* outException); + +_Nonnull System_Object_t +DNObjectFromUInt64(uint64_t number); + +#pragma mark - END Utils + +#pragma mark - BEGIN Footer +#pragma clang diagnostic pop + +#endif /* TypeDefinitions_h */ + +#pragma mark - END Footer + diff --git a/MyLib.Generated/MyLib.Generated.csproj b/MyLib.Generated/MyLib.Generated.csproj new file mode 100644 index 0000000..7b2bab1 --- /dev/null +++ b/MyLib.Generated/MyLib.Generated.csproj @@ -0,0 +1,80 @@ + + + + net8.0 + enable + true + true + Library + Shared + true + Link + true + true + + + + + $(RuntimeIdentifier.ToLower().StartsWith('android')) + $(RuntimeIdentifier.ToLower().StartsWith('linux-bionic')) + $([MSBuild]::IsOSPlatform('Windows')) + $([MSBuild]::IsOSPlatform('Linux')) + $([MSBuild]::IsOSPlatform('OSX')) + + + + true + false + true + false + true + Speed + true + + + + + + ./android_fake_clang.cmd + ./android_fake_clang.sh + ./android_fake_clang.command + windows-x86_64 + linux-x86_64 + darwin-x86_64 + $(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(NdkHost)/bin/llvm-objcopy + $(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(NdkHost)/sysroot + + 's/global: _init; _fini;/global: /g;' + + + + + + + + + + + + + + + + + + + + + + @(ExportsLines) + + + + + + + + + + + diff --git a/MyLib.Generated/android_fake_clang.cmd b/MyLib.Generated/android_fake_clang.cmd new file mode 100755 index 0000000..52ccb40 --- /dev/null +++ b/MyLib.Generated/android_fake_clang.cmd @@ -0,0 +1,9 @@ +@ECHO OFF +SETLOCAL ENABLEDELAYEDEXPANSION + +SET "rawArgs=%*" +IF NOT DEFINED RealCppCompilerAndLinker ( + SET "RealCppCompilerAndLinker=%ANDROID_NDK_ROOT%\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe" +) + +"%RealCppCompilerAndLinker%" !rawArgs! diff --git a/MyLib.Generated/android_fake_clang.command b/MyLib.Generated/android_fake_clang.command new file mode 100755 index 0000000..74f423b --- /dev/null +++ b/MyLib.Generated/android_fake_clang.command @@ -0,0 +1,6 @@ +#!/bin/bash +rawArgs="$@" +if [[ -z "${RealCppCompilerAndLinker}" ]]; then + RealCppCompilerAndLinker=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang +fi +$RealCppCompilerAndLinker $rawArgs diff --git a/MyLib.Generated/android_fake_clang.sh b/MyLib.Generated/android_fake_clang.sh new file mode 100755 index 0000000..07346ff --- /dev/null +++ b/MyLib.Generated/android_fake_clang.sh @@ -0,0 +1,6 @@ +#!/bin/bash +rawArgs="$@" +if [[ -z "${RealCppCompilerAndLinker}" ]]; then + RealCppCompilerAndLinker=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/clang +fi +$RealCppCompilerAndLinker $rawArgs \ No newline at end of file diff --git a/MyLib.Generated/build-android-arm64.sh b/MyLib.Generated/build-android-arm64.sh new file mode 100755 index 0000000..34f7059 --- /dev/null +++ b/MyLib.Generated/build-android-arm64.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +dotnet publish -r linux-bionic-arm64 -p:DisableUnsupportedError=true -p:PublishAotUsingRuntimePack=true -p:RemoveSections=true diff --git a/MyLib.Generated/build-android-x64.sh b/MyLib.Generated/build-android-x64.sh new file mode 100755 index 0000000..8250d62 --- /dev/null +++ b/MyLib.Generated/build-android-x64.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +dotnet publish -r linux-bionic-x64 -p:DisableUnsupportedError=true -p:PublishAotUsingRuntimePack=true -p:RemoveSections=true diff --git a/MyLib.Managed/Hello.cs b/MyLib.Managed/Hello.cs new file mode 100644 index 0000000..41ee1d3 --- /dev/null +++ b/MyLib.Managed/Hello.cs @@ -0,0 +1,9 @@ +namespace MyLib; + +public class Hello +{ + public int Sum(int a, int b) + { + return a + b; + } +} diff --git a/MyLib.Managed/MyLib.Managed.csproj b/MyLib.Managed/MyLib.Managed.csproj new file mode 100644 index 0000000..bb23fb7 --- /dev/null +++ b/MyLib.Managed/MyLib.Managed.csproj @@ -0,0 +1,9 @@ + + + + net8.0 + enable + enable + + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..de341de --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# CSharp to Flutter + +## Quick start + +Simply run the build script + +```bash +./build.sh +``` + +## What is this? + +This script: +- Run `dotnet publish` on the CoreRT managed library to get intermediate dlls +- Run `beyondnetgen` to generate the C header file and the *unmanaged* csharp code +- Run `dotnet publish` on the *unmanaged* csharp code for the target platforms. +- Copy the header file and the libs to the flutter project +- Run `ffigen` to generate the dart bindings against the header file diff --git a/beyondnetgen.config.json b/beyondnetgen.config.json new file mode 100644 index 0000000..70e8549 --- /dev/null +++ b/beyondnetgen.config.json @@ -0,0 +1,9 @@ +{ + "AssemblyPath": "MyLib.Managed/bin/Release/net8.0/MyLib.Managed.dll", + "CSharpUnmanagedOutputPath": "MyLib.Generated/Hello.cs", + "COutputPath": "MyLib.Generated/Hello.h", + "IncludedTypeNames": [ + "System.Guid", + "System.DateTime" + ] +} diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..0d012be --- /dev/null +++ b/build.sh @@ -0,0 +1,49 @@ +#!/usr/bin/env sh + +# get script directory +script_dir="$(cd "$(dirname "$0")" && pwd)" + +# change working directory to script directory +cd $script_dir + +# clean previous build +rm -rf ./MyLib.Managed/bin +rm -rf ./MyLib.Managed/obj +rm -rf ./MyLib.Generated/bin +rm -rf ./MyLib.Generated/obj + +# set up log file +log_file="$script_dir/build.log" + +rm -f $log_file + +cd ./MyLib.Managed +dotnet publish >> $log_file 2>&1 + +cd ../ +beyondnetgen beyondnetgen.config.json >> $log_file 2>&1 + +cd ./MyLib.Generated + +./build-android-arm64.sh >> $log_file 2>&1 + +# Create the directory if it doesn't exist +mkdir -p ../flutter_example/android/app/src/main/jniLibs/arm64-v8a + +# Copy the generated library to the Android project +cp ./bin/Release/net8.0/linux-bionic-arm64/native/MyLib.Generated.so \ + ../flutter_example/android/app/src/main/jniLibs/arm64-v8a/libMyLib.so + +./build-android-x64.sh >> $log_file 2>&1 + +# Create the directory if it doesn't exist +mkdir -p ../flutter_example/android/app/src/main/jniLibs/x86_64 + +# Copy the generated library to the Android project +cp ./bin/Release/net8.0/linux-bionic-x64/native/MyLib.Generated.so \ + ../flutter_example/android/app/src/main/jniLibs/x86_64/libMyLib.so + +cp Hello.h ../flutter_example/Hello.h + +cd ../flutter_example +dart run ffigen --config ffigen.yaml diff --git a/flutter_example/.gitignore b/flutter_example/.gitignore new file mode 100644 index 0000000..4303870 --- /dev/null +++ b/flutter_example/.gitignore @@ -0,0 +1,47 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ +migrate_working_dir/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ + +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +**/doc/api/ +**/ios/Flutter/.last_build_id +.dart_tool/ +.flutter-plugins +.flutter-plugins-dependencies +.packages +.pub-cache/ +.pub/ +/build/ + +# Symbolication related +app.*.symbols + +# Obfuscation related +app.*.map.json + +# Android Studio will place build artifacts here +/android/app/debug +/android/app/profile +/android/app/release + +Hello.h +/android/app/src/main/jniLibs/* diff --git a/flutter_example/.metadata b/flutter_example/.metadata new file mode 100644 index 0000000..1b7e17a --- /dev/null +++ b/flutter_example/.metadata @@ -0,0 +1,36 @@ +# This file tracks properties of this Flutter project. +# Used by Flutter tool to assess capabilities and perform upgrades etc. +# +# This file should be version controlled and should not be manually edited. + +version: + revision: "d211f42860350d914a5ad8102f9ec32764dc6d06" + channel: "stable" + +project_type: app + +# Tracks metadata for the flutter migrate command +migration: + platforms: + - platform: root + create_revision: d211f42860350d914a5ad8102f9ec32764dc6d06 + base_revision: d211f42860350d914a5ad8102f9ec32764dc6d06 + - platform: android + create_revision: d211f42860350d914a5ad8102f9ec32764dc6d06 + base_revision: d211f42860350d914a5ad8102f9ec32764dc6d06 + - platform: ios + create_revision: d211f42860350d914a5ad8102f9ec32764dc6d06 + base_revision: d211f42860350d914a5ad8102f9ec32764dc6d06 + - platform: macos + create_revision: d211f42860350d914a5ad8102f9ec32764dc6d06 + base_revision: d211f42860350d914a5ad8102f9ec32764dc6d06 + + # User provided section + + # List of Local paths (relative to this file) that should be + # ignored by the migrate tool. + # + # Files that are not part of the templates will be ignored by default. + unmanaged_files: + - 'lib/main.dart' + - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/flutter_example/README.md b/flutter_example/README.md new file mode 100644 index 0000000..a8add9f --- /dev/null +++ b/flutter_example/README.md @@ -0,0 +1,16 @@ +# flutter_example + +A new Flutter project. + +## Getting Started + +This project is a starting point for a Flutter application. + +A few resources to get you started if this is your first Flutter project: + +- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) +- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) + +For help getting started with Flutter development, view the +[online documentation](https://docs.flutter.dev/), which offers tutorials, +samples, guidance on mobile development, and a full API reference. diff --git a/flutter_example/analysis_options.yaml b/flutter_example/analysis_options.yaml new file mode 100644 index 0000000..1873c90 --- /dev/null +++ b/flutter_example/analysis_options.yaml @@ -0,0 +1,32 @@ +# This file configures the analyzer, which statically analyzes Dart code to +# check for errors, warnings, and lints. +# +# The issues identified by the analyzer are surfaced in the UI of Dart-enabled +# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be +# invoked from the command line by running `flutter analyze`. + +# The following line activates a set of recommended lints for Flutter apps, +# packages, and plugins designed to encourage good coding practices. +include: package:flutter_lints/flutter.yaml + +analyzer: + exclude: + - "lib/generated_bindings.dart" + +linter: + # The lint rules applied to this project can be customized in the + # section below to disable rules from the `package:flutter_lints/flutter.yaml` + # included above or to enable additional rules. A list of all available lints + # and their documentation is published at https://dart.dev/lints. + # + # Instead of disabling a lint rule for the entire project in the + # section below, it can also be suppressed for a single line of code + # or a specific dart file by using the `// ignore: name_of_lint` and + # `// ignore_for_file: name_of_lint` syntax on the line or in the file + # producing the lint. + rules: + # avoid_print: false # Uncomment to disable the `avoid_print` rule + # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule + +# Additional information about this file can be found at +# https://dart.dev/guides/language/analysis-options diff --git a/flutter_example/android/.gitignore b/flutter_example/android/.gitignore new file mode 100644 index 0000000..6f56801 --- /dev/null +++ b/flutter_example/android/.gitignore @@ -0,0 +1,13 @@ +gradle-wrapper.jar +/.gradle +/captures/ +/gradlew +/gradlew.bat +/local.properties +GeneratedPluginRegistrant.java + +# Remember to never publicly share your keystore. +# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +key.properties +**/*.keystore +**/*.jks diff --git a/flutter_example/android/app/build.gradle b/flutter_example/android/app/build.gradle new file mode 100644 index 0000000..6d38851 --- /dev/null +++ b/flutter_example/android/app/build.gradle @@ -0,0 +1,67 @@ +plugins { + id "com.android.application" + id "kotlin-android" + id "dev.flutter.flutter-gradle-plugin" +} + +def localProperties = new Properties() +def localPropertiesFile = rootProject.file('local.properties') +if (localPropertiesFile.exists()) { + localPropertiesFile.withReader('UTF-8') { reader -> + localProperties.load(reader) + } +} + +def flutterVersionCode = localProperties.getProperty('flutter.versionCode') +if (flutterVersionCode == null) { + flutterVersionCode = '1' +} + +def flutterVersionName = localProperties.getProperty('flutter.versionName') +if (flutterVersionName == null) { + flutterVersionName = '1.0' +} + +android { + namespace "com.example.flutter_example" + compileSdkVersion flutter.compileSdkVersion + ndkVersion flutter.ndkVersion + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + + kotlinOptions { + jvmTarget = '1.8' + } + + sourceSets { + main.java.srcDirs += 'src/main/kotlin' + } + + defaultConfig { + // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). + applicationId "com.example.flutter_example" + // You can update the following values to match your application needs. + // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. + minSdkVersion flutter.minSdkVersion + targetSdkVersion flutter.targetSdkVersion + versionCode flutterVersionCode.toInteger() + versionName flutterVersionName + } + + buildTypes { + release { + // TODO: Add your own signing config for the release build. + // Signing with the debug keys for now, so `flutter run --release` works. + signingConfig signingConfigs.debug + } + } +} + +flutter { + source '../..' +} + +dependencies {} diff --git a/flutter_example/android/app/src/main/AndroidManifest.xml b/flutter_example/android/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..25226f6 --- /dev/null +++ b/flutter_example/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + diff --git a/flutter_example/android/app/src/main/kotlin/com/example/flutter_example/MainActivity.kt b/flutter_example/android/app/src/main/kotlin/com/example/flutter_example/MainActivity.kt new file mode 100644 index 0000000..70ea101 --- /dev/null +++ b/flutter_example/android/app/src/main/kotlin/com/example/flutter_example/MainActivity.kt @@ -0,0 +1,6 @@ +package com.example.flutter_example + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity: FlutterActivity() { +} diff --git a/flutter_example/android/app/src/main/res/drawable-v21/launch_background.xml b/flutter_example/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100644 index 0000000..f74085f --- /dev/null +++ b/flutter_example/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/flutter_example/android/app/src/main/res/drawable/launch_background.xml b/flutter_example/android/app/src/main/res/drawable/launch_background.xml new file mode 100644 index 0000000..304732f --- /dev/null +++ b/flutter_example/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/flutter_example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/flutter_example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..db77bb4b7b0906d62b1847e87f15cdcacf6a4f29 GIT binary patch literal 544 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY3?!3`olAj~WQl7;NpOBzNqJ&XDuZK6ep0G} zXKrG8YEWuoN@d~6R2!h8bpbvhu0Wd6uZuB!w&u2PAxD2eNXD>P5D~Wn-+_Wa#27Xc zC?Zj|6r#X(-D3u$NCt}(Ms06KgJ4FxJVv{GM)!I~&n8Bnc94O7-Hd)cjDZswgC;Qs zO=b+9!WcT8F?0rF7!Uys2bs@gozCP?z~o%U|N3vA*22NaGQG zlg@K`O_XuxvZ&Ks^m&R!`&1=spLvfx7oGDKDwpwW`#iqdw@AL`7MR}m`rwr|mZgU`8P7SBkL78fFf!WnuYWm$5Z0 zNXhDbCv&49sM544K|?c)WrFfiZvCi9h0O)B3Pgg&ebxsLQ05GG~ AQ2+n{ literal 0 HcmV?d00001 diff --git a/flutter_example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/flutter_example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..17987b79bb8a35cc66c3c1fd44f5a5526c1b78be GIT binary patch literal 442 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA3?vioaBc-sk|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5Xx&nMcT!A!W`0S9QKQy;}1Cl^CgaH=;G9cpY;r$Q>i*pfB zP2drbID<_#qf;rPZx^FqH)F_D#*k@@q03KywUtLX8Ua?`H+NMzkczFPK3lFz@i_kW%1NOn0|D2I9n9wzH8m|-tHjsw|9>@K=iMBhxvkv6m8Y-l zytQ?X=U+MF$@3 zt`~i=@j|6y)RWMK--}M|=T`o&^Ni>IoWKHEbBXz7?A@mgWoL>!*SXo`SZH-*HSdS+ yn*9;$7;m`l>wYBC5bq;=U}IMqLzqbYCidGC!)_gkIk_C@Uy!y&wkt5C($~2D>~)O*cj@FGjOCM)M>_ixfudOh)?xMu#Fs z#}Y=@YDTwOM)x{K_j*Q;dPdJ?Mz0n|pLRx{4n|)f>SXlmV)XB04CrSJn#dS5nK2lM zrZ9#~WelCp7&e13Y$jvaEXHskn$2V!!DN-nWS__6T*l;H&Fopn?A6HZ-6WRLFP=R` zqG+CE#d4|IbyAI+rJJ`&x9*T`+a=p|0O(+s{UBcyZdkhj=yS1>AirP+0R;mf2uMgM zC}@~JfByORAh4SyRgi&!(cja>F(l*O+nd+@4m$|6K6KDn_&uvCpV23&>G9HJp{xgg zoq1^2_p9@|WEo z*X_Uko@K)qYYv~>43eQGMdbiGbo>E~Q& zrYBH{QP^@Sti!`2)uG{irBBq@y*$B zi#&(U-*=fp74j)RyIw49+0MRPMRU)+a2r*PJ$L5roHt2$UjExCTZSbq%V!HeS7J$N zdG@vOZB4v_lF7Plrx+hxo7(fCV&}fHq)$ literal 0 HcmV?d00001 diff --git a/flutter_example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/flutter_example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..d5f1c8d34e7a88e3f88bea192c3a370d44689c3c GIT binary patch literal 1031 zcmeAS@N?(olHy`uVBq!ia0vp^6F``Q8Ax83A=Cw=BuiW)N`mv#O3D+9QW+dm@{>{( zJaZG%Q-e|yQz{EjrrIztFa`(sgt!6~Yi|1%a`XoT0ojZ}lNrNjb9xjc(B0U1_% zz5^97Xt*%oq$rQy4?0GKNfJ44uvxI)gC`h-NZ|&0-7(qS@?b!5r36oQ}zyZrNO3 zMO=Or+<~>+A&uN&E!^Sl+>xE!QC-|oJv`ApDhqC^EWD|@=#J`=d#Xzxs4ah}w&Jnc z$|q_opQ^2TrnVZ0o~wh<3t%W&flvYGe#$xqda2bR_R zvPYgMcHgjZ5nSA^lJr%;<&0do;O^tDDh~=pIxA#coaCY>&N%M2^tq^U%3DB@ynvKo}b?yu-bFc-u0JHzced$sg7S3zqI(2 z#Km{dPr7I=pQ5>FuK#)QwK?Y`E`B?nP+}U)I#c1+FM*1kNvWG|a(TpksZQ3B@sD~b zpQ2)*V*TdwjFOtHvV|;OsiDqHi=6%)o4b!)x$)%9pGTsE z-JL={-Ffv+T87W(Xpooq<`r*VzWQcgBN$$`u}f>-ZQI1BB8ykN*=e4rIsJx9>z}*o zo~|9I;xof literal 0 HcmV?d00001 diff --git a/flutter_example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/flutter_example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..4d6372eebdb28e45604e46eeda8dd24651419bc0 GIT binary patch literal 1443 zcmb`G{WsKk6vsdJTdFg%tJav9_E4vzrOaqkWF|A724Nly!y+?N9`YV6wZ}5(X(D_N(?!*n3`|_r0Hc?=PQw&*vnU?QTFY zB_MsH|!j$PP;I}?dppoE_gA(4uc!jV&0!l7_;&p2^pxNo>PEcNJv za5_RT$o2Mf!<+r?&EbHH6nMoTsDOa;mN(wv8RNsHpG)`^ymG-S5By8=l9iVXzN_eG%Xg2@Xeq76tTZ*dGh~Lo9vl;Zfs+W#BydUw zCkZ$o1LqWQO$FC9aKlLl*7x9^0q%0}$OMlp@Kk_jHXOjofdePND+j!A{q!8~Jn+s3 z?~~w@4?egS02}8NuulUA=L~QQfm;MzCGd)XhiftT;+zFO&JVyp2mBww?;QByS_1w! zrQlx%{^cMj0|Bo1FjwY@Q8?Hx0cIPF*@-ZRFpPc#bBw{5@tD(5%sClzIfl8WU~V#u zm5Q;_F!wa$BSpqhN>W@2De?TKWR*!ujY;Yylk_X5#~V!L*Gw~;$%4Q8~Mad z@`-kG?yb$a9cHIApZDVZ^U6Xkp<*4rU82O7%}0jjHlK{id@?-wpN*fCHXyXh(bLt* zPc}H-x0e4E&nQ>y%B-(EL=9}RyC%MyX=upHuFhAk&MLbsF0LP-q`XnH78@fT+pKPW zu72MW`|?8ht^tz$iC}ZwLp4tB;Q49K!QCF3@!iB1qOI=?w z7In!}F~ij(18UYUjnbmC!qKhPo%24?8U1x{7o(+?^Zu0Hx81|FuS?bJ0jgBhEMzf< zCgUq7r2OCB(`XkKcN-TL>u5y#dD6D!)5W?`O5)V^>jb)P)GBdy%t$uUMpf$SNV31$ zb||OojAbvMP?T@$h_ZiFLFVHDmbyMhJF|-_)HX3%m=CDI+ID$0^C>kzxprBW)hw(v zr!Gmda);ICoQyhV_oP5+C%?jcG8v+D@9f?Dk*!BxY}dazmrT@64UrP3hlslANK)bq z$67n83eh}OeW&SV@HG95P|bjfqJ7gw$e+`Hxo!4cx`jdK1bJ>YDSpGKLPZ^1cv$ek zIB?0S<#tX?SJCLWdMd{-ME?$hc7A$zBOdIJ)4!KcAwb=VMov)nK;9z>x~rfT1>dS+ zZ6#`2v@`jgbqq)P22H)Tx2CpmM^o1$B+xT6`(v%5xJ(?j#>Q$+rx_R|7TzDZe{J6q zG1*EcU%tE?!kO%^M;3aM6JN*LAKUVb^xz8-Pxo#jR5(-KBeLJvA@-gxNHx0M-ZJLl z;#JwQoh~9V?`UVo#}{6ka@II>++D@%KqGpMdlQ}?9E*wFcf5(#XQnP$Dk5~%iX^>f z%$y;?M0BLp{O3a(-4A?ewryHrrD%cx#Q^%KY1H zNre$ve+vceSLZcNY4U(RBX&)oZn*Py()h)XkE?PL$!bNb{N5FVI2Y%LKEm%yvpyTP z(1P?z~7YxD~Rf<(a@_y` literal 0 HcmV?d00001 diff --git a/flutter_example/android/app/src/main/res/values-night/styles.xml b/flutter_example/android/app/src/main/res/values-night/styles.xml new file mode 100644 index 0000000..06952be --- /dev/null +++ b/flutter_example/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/flutter_example/android/app/src/main/res/values/styles.xml b/flutter_example/android/app/src/main/res/values/styles.xml new file mode 100644 index 0000000..cb1ef88 --- /dev/null +++ b/flutter_example/android/app/src/main/res/values/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/flutter_example/android/app/src/profile/AndroidManifest.xml b/flutter_example/android/app/src/profile/AndroidManifest.xml new file mode 100644 index 0000000..399f698 --- /dev/null +++ b/flutter_example/android/app/src/profile/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/flutter_example/android/build.gradle b/flutter_example/android/build.gradle new file mode 100644 index 0000000..f7eb7f6 --- /dev/null +++ b/flutter_example/android/build.gradle @@ -0,0 +1,31 @@ +buildscript { + ext.kotlin_version = '1.7.10' + repositories { + google() + mavenCentral() + } + + dependencies { + classpath 'com.android.tools.build:gradle:7.3.0' + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + } +} + +allprojects { + repositories { + google() + mavenCentral() + } +} + +rootProject.buildDir = '../build' +subprojects { + project.buildDir = "${rootProject.buildDir}/${project.name}" +} +subprojects { + project.evaluationDependsOn(':app') +} + +tasks.register("clean", Delete) { + delete rootProject.buildDir +} diff --git a/flutter_example/android/gradle.properties b/flutter_example/android/gradle.properties new file mode 100644 index 0000000..94adc3a --- /dev/null +++ b/flutter_example/android/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx1536M +android.useAndroidX=true +android.enableJetifier=true diff --git a/flutter_example/android/gradle/wrapper/gradle-wrapper.properties b/flutter_example/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..3c472b9 --- /dev/null +++ b/flutter_example/android/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip diff --git a/flutter_example/android/settings.gradle b/flutter_example/android/settings.gradle new file mode 100644 index 0000000..55c4ca8 --- /dev/null +++ b/flutter_example/android/settings.gradle @@ -0,0 +1,20 @@ +pluginManagement { + def flutterSdkPath = { + def properties = new Properties() + file("local.properties").withInputStream { properties.load(it) } + def flutterSdkPath = properties.getProperty("flutter.sdk") + assert flutterSdkPath != null, "flutter.sdk not set in local.properties" + return flutterSdkPath + } + settings.ext.flutterSdkPath = flutterSdkPath() + + includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle") + + plugins { + id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false + } +} + +include ":app" + +apply from: "${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle/app_plugin_loader.gradle" diff --git a/flutter_example/ffigen.yaml b/flutter_example/ffigen.yaml new file mode 100644 index 0000000..056707b --- /dev/null +++ b/flutter_example/ffigen.yaml @@ -0,0 +1,4 @@ +output: 'lib/generated_bindings.dart' +headers: + entry-points: + - 'Hello.h' diff --git a/flutter_example/ios/.gitignore b/flutter_example/ios/.gitignore new file mode 100644 index 0000000..7a7f987 --- /dev/null +++ b/flutter_example/ios/.gitignore @@ -0,0 +1,34 @@ +**/dgph +*.mode1v3 +*.mode2v3 +*.moved-aside +*.pbxuser +*.perspectivev3 +**/*sync/ +.sconsign.dblite +.tags* +**/.vagrant/ +**/DerivedData/ +Icon? +**/Pods/ +**/.symlinks/ +profile +xcuserdata +**/.generated/ +Flutter/App.framework +Flutter/Flutter.framework +Flutter/Flutter.podspec +Flutter/Generated.xcconfig +Flutter/ephemeral/ +Flutter/app.flx +Flutter/app.zip +Flutter/flutter_assets/ +Flutter/flutter_export_environment.sh +ServiceDefinitions.json +Runner/GeneratedPluginRegistrant.* + +# Exceptions to above rules. +!default.mode1v3 +!default.mode2v3 +!default.pbxuser +!default.perspectivev3 diff --git a/flutter_example/ios/Flutter/AppFrameworkInfo.plist b/flutter_example/ios/Flutter/AppFrameworkInfo.plist new file mode 100644 index 0000000..9625e10 --- /dev/null +++ b/flutter_example/ios/Flutter/AppFrameworkInfo.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + App + CFBundleIdentifier + io.flutter.flutter.app + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + App + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + MinimumOSVersion + 11.0 + + diff --git a/flutter_example/ios/Flutter/Debug.xcconfig b/flutter_example/ios/Flutter/Debug.xcconfig new file mode 100644 index 0000000..592ceee --- /dev/null +++ b/flutter_example/ios/Flutter/Debug.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/flutter_example/ios/Flutter/Release.xcconfig b/flutter_example/ios/Flutter/Release.xcconfig new file mode 100644 index 0000000..592ceee --- /dev/null +++ b/flutter_example/ios/Flutter/Release.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/flutter_example/ios/Runner.xcodeproj/project.pbxproj b/flutter_example/ios/Runner.xcodeproj/project.pbxproj new file mode 100644 index 0000000..37fa5f2 --- /dev/null +++ b/flutter_example/ios/Runner.xcodeproj/project.pbxproj @@ -0,0 +1,614 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 54; + objects = { + +/* Begin PBXBuildFile section */ + 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; + 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; + 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; + 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; + 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; + 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 97C146E61CF9000F007C117D /* Project object */; + proxyType = 1; + remoteGlobalIDString = 97C146ED1CF9000F007C117D; + remoteInfo = Runner; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 9705A1C41CF9048500538489 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; + 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; + 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; + 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; + 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; + 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; + 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 97C146EB1CF9000F007C117D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 9740EEB11CF90186004384FC /* Flutter */ = { + isa = PBXGroup; + children = ( + 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, + 9740EEB21CF90195004384FC /* Debug.xcconfig */, + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, + 9740EEB31CF90195004384FC /* Generated.xcconfig */, + ); + name = Flutter; + sourceTree = ""; + }; + 331C8082294A63A400263BE5 /* RunnerTests */ = { + isa = PBXGroup; + children = ( + 331C807B294A618700263BE5 /* RunnerTests.swift */, + ); + path = RunnerTests; + sourceTree = ""; + }; + 97C146E51CF9000F007C117D = { + isa = PBXGroup; + children = ( + 9740EEB11CF90186004384FC /* Flutter */, + 97C146F01CF9000F007C117D /* Runner */, + 97C146EF1CF9000F007C117D /* Products */, + 331C8082294A63A400263BE5 /* RunnerTests */, + ); + sourceTree = ""; + }; + 97C146EF1CF9000F007C117D /* Products */ = { + isa = PBXGroup; + children = ( + 97C146EE1CF9000F007C117D /* Runner.app */, + 331C8081294A63A400263BE5 /* RunnerTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 97C146F01CF9000F007C117D /* Runner */ = { + isa = PBXGroup; + children = ( + 97C146FA1CF9000F007C117D /* Main.storyboard */, + 97C146FD1CF9000F007C117D /* Assets.xcassets */, + 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, + 97C147021CF9000F007C117D /* Info.plist */, + 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, + 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, + ); + path = Runner; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 331C8080294A63A400263BE5 /* RunnerTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; + buildPhases = ( + 331C807D294A63A400263BE5 /* Sources */, + 331C807E294A63A400263BE5 /* Frameworks */, + 331C807F294A63A400263BE5 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 331C8086294A63A400263BE5 /* PBXTargetDependency */, + ); + name = RunnerTests; + productName = RunnerTests; + productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 97C146ED1CF9000F007C117D /* Runner */ = { + isa = PBXNativeTarget; + buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; + buildPhases = ( + 9740EEB61CF901F6004384FC /* Run Script */, + 97C146EA1CF9000F007C117D /* Sources */, + 97C146EB1CF9000F007C117D /* Frameworks */, + 97C146EC1CF9000F007C117D /* Resources */, + 9705A1C41CF9048500538489 /* Embed Frameworks */, + 3B06AD1E1E4923F5004D2608 /* Thin Binary */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Runner; + productName = Runner; + productReference = 97C146EE1CF9000F007C117D /* Runner.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 97C146E61CF9000F007C117D /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = YES; + LastUpgradeCheck = 1430; + ORGANIZATIONNAME = ""; + TargetAttributes = { + 331C8080294A63A400263BE5 = { + CreatedOnToolsVersion = 14.0; + TestTargetID = 97C146ED1CF9000F007C117D; + }; + 97C146ED1CF9000F007C117D = { + CreatedOnToolsVersion = 7.3.1; + LastSwiftMigration = 1100; + }; + }; + }; + buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 97C146E51CF9000F007C117D; + productRefGroup = 97C146EF1CF9000F007C117D /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 97C146ED1CF9000F007C117D /* Runner */, + 331C8080294A63A400263BE5 /* RunnerTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 331C807F294A63A400263BE5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 97C146EC1CF9000F007C117D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, + 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, + 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, + 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", + ); + name = "Thin Binary"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; + }; + 9740EEB61CF901F6004384FC /* Run Script */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Run Script"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 331C807D294A63A400263BE5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 97C146EA1CF9000F007C117D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, + 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 97C146ED1CF9000F007C117D /* Runner */; + targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 97C146FA1CF9000F007C117D /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 97C146FB1CF9000F007C117D /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 97C147001CF9000F007C117D /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 249021D3217E4FDB00AE95B9 /* Profile */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Profile; + }; + 249021D4217E4FDB00AE95B9 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterExample; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Profile; + }; + 331C8088294A63A400263BE5 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = AE0B7B92F70575B8D7E0D07E /* Pods-RunnerTests.debug.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterExample.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; + }; + name = Debug; + }; + 331C8089294A63A400263BE5 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 89B67EB44CE7B6631473024E /* Pods-RunnerTests.release.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterExample.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; + }; + name = Release; + }; + 331C808A294A63A400263BE5 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 640959BDD8F10B91D80A66BE /* Pods-RunnerTests.profile.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterExample.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; + }; + name = Profile; + }; + 97C147031CF9000F007C117D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 97C147041CF9000F007C117D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 97C147061CF9000F007C117D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterExample; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + 97C147071CF9000F007C117D /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterExample; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 331C8088294A63A400263BE5 /* Debug */, + 331C8089294A63A400263BE5 /* Release */, + 331C808A294A63A400263BE5 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 97C147031CF9000F007C117D /* Debug */, + 97C147041CF9000F007C117D /* Release */, + 249021D3217E4FDB00AE95B9 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 97C147061CF9000F007C117D /* Debug */, + 97C147071CF9000F007C117D /* Release */, + 249021D4217E4FDB00AE95B9 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 97C146E61CF9000F007C117D /* Project object */; +} diff --git a/flutter_example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/flutter_example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/flutter_example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/flutter_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/flutter_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/flutter_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/flutter_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/flutter_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..f9b0d7c --- /dev/null +++ b/flutter_example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/flutter_example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/flutter_example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 0000000..87131a0 --- /dev/null +++ b/flutter_example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/flutter_example/ios/Runner.xcworkspace/contents.xcworkspacedata b/flutter_example/ios/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..1d526a1 --- /dev/null +++ b/flutter_example/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/flutter_example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/flutter_example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/flutter_example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/flutter_example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/flutter_example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..f9b0d7c --- /dev/null +++ b/flutter_example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/flutter_example/ios/Runner/AppDelegate.swift b/flutter_example/ios/Runner/AppDelegate.swift new file mode 100644 index 0000000..70693e4 --- /dev/null +++ b/flutter_example/ios/Runner/AppDelegate.swift @@ -0,0 +1,13 @@ +import UIKit +import Flutter + +@UIApplicationMain +@objc class AppDelegate: FlutterAppDelegate { + override func application( + _ application: UIApplication, + didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? + ) -> Bool { + GeneratedPluginRegistrant.register(with: self) + return super.application(application, didFinishLaunchingWithOptions: launchOptions) + } +} diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..d36b1fa --- /dev/null +++ b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,122 @@ +{ + "images" : [ + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "Icon-App-20x20@2x.png", + "scale" : "2x" + }, + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "Icon-App-20x20@3x.png", + "scale" : "3x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "Icon-App-29x29@1x.png", + "scale" : "1x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "Icon-App-29x29@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "Icon-App-29x29@3x.png", + "scale" : "3x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "Icon-App-40x40@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "Icon-App-40x40@3x.png", + "scale" : "3x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "Icon-App-60x60@2x.png", + "scale" : "2x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "Icon-App-60x60@3x.png", + "scale" : "3x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "Icon-App-20x20@1x.png", + "scale" : "1x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "Icon-App-20x20@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "Icon-App-29x29@1x.png", + "scale" : "1x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "Icon-App-29x29@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "Icon-App-40x40@1x.png", + "scale" : "1x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "Icon-App-40x40@2x.png", + "scale" : "2x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "Icon-App-76x76@1x.png", + "scale" : "1x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "Icon-App-76x76@2x.png", + "scale" : "2x" + }, + { + "size" : "83.5x83.5", + "idiom" : "ipad", + "filename" : "Icon-App-83.5x83.5@2x.png", + "scale" : "2x" + }, + { + "size" : "1024x1024", + "idiom" : "ios-marketing", + "filename" : "Icon-App-1024x1024@1x.png", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png new file mode 100644 index 0000000000000000000000000000000000000000..dc9ada4725e9b0ddb1deab583e5b5102493aa332 GIT binary patch literal 10932 zcmeHN2~<R zh`|8`A_PQ1nSu(UMFx?8j8PC!!VDphaL#`F42fd#7Vlc`zIE4n%Y~eiz4y1j|NDpi z?<@|pSJ-HM`qifhf@m%MamgwK83`XpBA<+azdF#2QsT{X@z0A9Bq>~TVErigKH1~P zRX-!h-f0NJ4Mh++{D}J+K>~~rq}d%o%+4dogzXp7RxX4C>Km5XEI|PAFDmo;DFm6G zzjVoB`@qW98Yl0Kvc-9w09^PrsobmG*Eju^=3f?0o-t$U)TL1B3;sZ^!++3&bGZ!o-*6w?;oOhf z=A+Qb$scV5!RbG+&2S}BQ6YH!FKb0``VVX~T$dzzeSZ$&9=X$3)_7Z{SspSYJ!lGE z7yig_41zpQ)%5dr4ff0rh$@ky3-JLRk&DK)NEIHecf9c*?Z1bUB4%pZjQ7hD!A0r-@NF(^WKdr(LXj|=UE7?gBYGgGQV zidf2`ZT@pzXf7}!NH4q(0IMcxsUGDih(0{kRSez&z?CFA0RVXsVFw3^u=^KMtt95q z43q$b*6#uQDLoiCAF_{RFc{!H^moH_cmll#Fc^KXi{9GDl{>%+3qyfOE5;Zq|6#Hb zp^#1G+z^AXfRKaa9HK;%b3Ux~U@q?xg<2DXP%6k!3E)PA<#4$ui8eDy5|9hA5&{?v z(-;*1%(1~-NTQ`Is1_MGdQ{+i*ccd96ab$R$T3=% zw_KuNF@vI!A>>Y_2pl9L{9h1-C6H8<)J4gKI6{WzGBi<@u3P6hNsXG=bRq5c+z;Gc3VUCe;LIIFDmQAGy+=mRyF++u=drBWV8-^>0yE9N&*05XHZpPlE zxu@?8(ZNy7rm?|<+UNe0Vs6&o?l`Pt>P&WaL~M&#Eh%`rg@Mbb)J&@DA-wheQ>hRV z<(XhigZAT z>=M;URcdCaiO3d^?H<^EiEMDV+7HsTiOhoaMX%P65E<(5xMPJKxf!0u>U~uVqnPN7T!X!o@_gs3Ct1 zlZ_$5QXP4{Aj645wG_SNT&6m|O6~Tsl$q?nK*)(`{J4b=(yb^nOATtF1_aS978$x3 zx>Q@s4i3~IT*+l{@dx~Hst21fR*+5}S1@cf>&8*uLw-0^zK(+OpW?cS-YG1QBZ5q! zgTAgivzoF#`cSz&HL>Ti!!v#?36I1*l^mkrx7Y|K6L#n!-~5=d3;K<;Zqi|gpNUn_ z_^GaQDEQ*jfzh;`j&KXb66fWEk1K7vxQIMQ_#Wu_%3 z4Oeb7FJ`8I>Px;^S?)}2+4D_83gHEq>8qSQY0PVP?o)zAv3K~;R$fnwTmI-=ZLK`= zTm+0h*e+Yfr(IlH3i7gUclNH^!MU>id$Jw>O?2i0Cila#v|twub21@e{S2v}8Z13( zNDrTXZVgris|qYm<0NU(tAPouG!QF4ZNpZPkX~{tVf8xY690JqY1NVdiTtW+NqyRP zZ&;T0ikb8V{wxmFhlLTQ&?OP7 z;(z*<+?J2~z*6asSe7h`$8~Se(@t(#%?BGLVs$p``;CyvcT?7Y!{tIPva$LxCQ&4W z6v#F*);|RXvI%qnoOY&i4S*EL&h%hP3O zLsrFZhv&Hu5tF$Lx!8(hs&?!Kx5&L(fdu}UI5d*wn~A`nPUhG&Rv z2#ixiJdhSF-K2tpVL=)5UkXRuPAFrEW}7mW=uAmtVQ&pGE-&az6@#-(Te^n*lrH^m@X-ftVcwO_#7{WI)5v(?>uC9GG{lcGXYJ~Q8q zbMFl7;t+kV;|;KkBW2!P_o%Czhw&Q(nXlxK9ak&6r5t_KH8#1Mr-*0}2h8R9XNkr zto5-b7P_auqTJb(TJlmJ9xreA=6d=d)CVbYP-r4$hDn5|TIhB>SReMfh&OVLkMk-T zYf%$taLF0OqYF?V{+6Xkn>iX@TuqQ?&cN6UjC9YF&%q{Ut3zv{U2)~$>-3;Dp)*(? zg*$mu8^i=-e#acaj*T$pNowo{xiGEk$%DusaQiS!KjJH96XZ-hXv+jk%ard#fu=@Q z$AM)YWvE^{%tDfK%nD49=PI|wYu}lYVbB#a7wtN^Nml@CE@{Gv7+jo{_V?I*jkdLD zJE|jfdrmVbkfS>rN*+`#l%ZUi5_bMS<>=MBDNlpiSb_tAF|Zy`K7kcp@|d?yaTmB^ zo?(vg;B$vxS|SszusORgDg-*Uitzdi{dUV+glA~R8V(?`3GZIl^egW{a919!j#>f` znL1o_^-b`}xnU0+~KIFLQ)$Q6#ym%)(GYC`^XM*{g zv3AM5$+TtDRs%`2TyR^$(hqE7Y1b&`Jd6dS6B#hDVbJlUXcG3y*439D8MrK!2D~6gn>UD4Imctb z+IvAt0iaW73Iq$K?4}H`7wq6YkTMm`tcktXgK0lKPmh=>h+l}Y+pDtvHnG>uqBA)l zAH6BV4F}v$(o$8Gfo*PB>IuaY1*^*`OTx4|hM8jZ?B6HY;F6p4{`OcZZ(us-RVwDx zUzJrCQlp@mz1ZFiSZ*$yX3c_#h9J;yBE$2g%xjmGF4ca z&yL`nGVs!Zxsh^j6i%$a*I3ZD2SoNT`{D%mU=LKaEwbN(_J5%i-6Va?@*>=3(dQy` zOv%$_9lcy9+(t>qohkuU4r_P=R^6ME+wFu&LA9tw9RA?azGhjrVJKy&8=*qZT5Dr8g--d+S8zAyJ$1HlW3Olryt`yE zFIph~Z6oF&o64rw{>lgZISC6p^CBer9C5G6yq%?8tC+)7*d+ib^?fU!JRFxynRLEZ zj;?PwtS}Ao#9whV@KEmwQgM0TVP{hs>dg(1*DiMUOKHdQGIqa0`yZnHk9mtbPfoLx zo;^V6pKUJ!5#n`w2D&381#5#_t}AlTGEgDz$^;u;-vxDN?^#5!zN9ngytY@oTv!nc zp1Xn8uR$1Z;7vY`-<*?DfPHB;x|GUi_fI9@I9SVRv1)qETbNU_8{5U|(>Du84qP#7 z*l9Y$SgA&wGbj>R1YeT9vYjZuC@|{rajTL0f%N@>3$DFU=`lSPl=Iv;EjuGjBa$Gw zHD-;%YOE@<-!7-Mn`0WuO3oWuL6tB2cpPw~Nvuj|KM@))ixuDK`9;jGMe2d)7gHin zS<>k@!x;!TJEc#HdL#RF(`|4W+H88d4V%zlh(7#{q2d0OQX9*FW^`^_<3r$kabWAB z$9BONo5}*(%kx zOXi-yM_cmB3>inPpI~)duvZykJ@^^aWzQ=eQ&STUa}2uT@lV&WoRzkUoE`rR0)`=l zFT%f|LA9fCw>`enm$p7W^E@U7RNBtsh{_-7vVz3DtB*y#*~(L9+x9*wn8VjWw|Q~q zKFsj1Yl>;}%MG3=PY`$g$_mnyhuV&~O~u~)968$0b2!Jkd;2MtAP#ZDYw9hmK_+M$ zb3pxyYC&|CuAbtiG8HZjj?MZJBFbt`ryf+c1dXFuC z0*ZQhBzNBd*}s6K_G}(|Z_9NDV162#y%WSNe|FTDDhx)K!c(mMJh@h87@8(^YdK$&d*^WQe8Z53 z(|@MRJ$Lk-&ii74MPIs80WsOFZ(NX23oR-?As+*aq6b?~62@fSVmM-_*cb1RzZ)`5$agEiL`-E9s7{GM2?(KNPgK1(+c*|-FKoy}X(D_b#etO|YR z(BGZ)0Ntfv-7R4GHoXp?l5g#*={S1{u-QzxCGng*oWr~@X-5f~RA14b8~B+pLKvr4 zfgL|7I>jlak9>D4=(i(cqYf7#318!OSR=^`xxvI!bBlS??`xxWeg?+|>MxaIdH1U~#1tHu zB{QMR?EGRmQ_l4p6YXJ{o(hh-7Tdm>TAX380TZZZyVkqHNzjUn*_|cb?T? zt;d2s-?B#Mc>T-gvBmQZx(y_cfkXZO~{N zT6rP7SD6g~n9QJ)8F*8uHxTLCAZ{l1Y&?6v)BOJZ)=R-pY=Y=&1}jE7fQ>USS}xP#exo57uND0i*rEk@$;nLvRB@u~s^dwRf?G?_enN@$t* zbL%JO=rV(3Ju8#GqUpeE3l_Wu1lN9Y{D4uaUe`g>zlj$1ER$6S6@{m1!~V|bYkhZA z%CvrDRTkHuajMU8;&RZ&itnC~iYLW4DVkP<$}>#&(`UO>!n)Po;Mt(SY8Yb`AS9lt znbX^i?Oe9r_o=?})IHKHoQGKXsps_SE{hwrg?6dMI|^+$CeC&z@*LuF+P`7LfZ*yr+KN8B4{Nzv<`A(wyR@!|gw{zB6Ha ziwPAYh)oJ(nlqSknu(8g9N&1hu0$vFK$W#mp%>X~AU1ay+EKWcFdif{% z#4!4aoVVJ;ULmkQf!ke2}3hqxLK>eq|-d7Ly7-J9zMpT`?dxo6HdfJA|t)?qPEVBDv z{y_b?4^|YA4%WW0VZd8C(ZgQzRI5(I^)=Ub`Y#MHc@nv0w-DaJAqsbEHDWG8Ia6ju zo-iyr*sq((gEwCC&^TYBWt4_@|81?=B-?#P6NMff(*^re zYqvDuO`K@`mjm_Jd;mW_tP`3$cS?R$jR1ZN09$YO%_iBqh5ftzSpMQQtxKFU=FYmP zeY^jph+g<4>YO;U^O>-NFLn~-RqlHvnZl2yd2A{Yc1G@Ga$d+Q&(f^tnPf+Z7serIU};17+2DU_f4Z z@GaPFut27d?!YiD+QP@)T=77cR9~MK@bd~pY%X(h%L={{OIb8IQmf-!xmZkm8A0Ga zQSWONI17_ru5wpHg3jI@i9D+_Y|pCqVuHJNdHUauTD=R$JcD2K_liQisqG$(sm=k9;L* z!L?*4B~ql7uioSX$zWJ?;q-SWXRFhz2Jt4%fOHA=Bwf|RzhwqdXGr78y$J)LR7&3T zE1WWz*>GPWKZ0%|@%6=fyx)5rzUpI;bCj>3RKzNG_1w$fIFCZ&UR0(7S?g}`&Pg$M zf`SLsz8wK82Vyj7;RyKmY{a8G{2BHG%w!^T|Njr!h9TO2LaP^_f22Q1=l$QiU84ao zHe_#{S6;qrC6w~7{y(hs-?-j?lbOfgH^E=XcSgnwW*eEz{_Z<_xN#0001NP)t-s|Ns9~ z#rXRE|M&d=0au&!`~QyF`q}dRnBDt}*!qXo`c{v z{Djr|@Adh0(D_%#_&mM$D6{kE_x{oE{l@J5@%H*?%=t~i_`ufYOPkAEn!pfkr2$fs z652Tz0001XNklqeeKN4RM4i{jKqmiC$?+xN>3Apn^ z0QfuZLym_5b<*QdmkHjHlj811{If)dl(Z2K0A+ekGtrFJb?g|wt#k#pV-#A~bK=OT ts8>{%cPtyC${m|1#B1A6#u!Q;umknL1chzTM$P~L002ovPDHLkV1lTfnu!1a literal 0 HcmV?d00001 diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..797d452e458972bab9d994556c8305db4c827017 GIT binary patch literal 406 zcmV;H0crk;P))>cdjpWt&rLJgVp-t?DREyuq1A%0Z4)6_WsQ7{nzjN zo!X zGXV)2i3kcZIL~_j>uIKPK_zib+3T+Nt3Mb&Br)s)UIaA}@p{wDda>7=Q|mGRp7pqY zkJ!7E{MNz$9nOwoVqpFb)}$IP24Wn2JJ=Cw(!`OXJBr45rP>>AQr$6c7slJWvbpNW z@KTwna6d?PP>hvXCcp=4F;=GR@R4E7{4VU^0p4F>v^#A|>07*qoM6N<$f*5nx ACIA2c literal 0 HcmV?d00001 diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..6ed2d933e1120817fe9182483a228007b18ab6ae GIT binary patch literal 450 zcmV;z0X_bSP)iGWQ_5NJQ_~rNh*z)}eT%KUb z`7gNk0#AwF^#0T0?hIa^`~Ck;!}#m+_uT050aTR(J!bU#|IzRL%^UsMS#KsYnTF*!YeDOytlP4VhV?b} z%rz_<=#CPc)tU1MZTq~*2=8~iZ!lSa<{9b@2Jl;?IEV8)=fG217*|@)CCYgFze-x? zIFODUIA>nWKpE+bn~n7;-89sa>#DR>TSlqWk*!2hSN6D~Qb#VqbP~4Fk&m`@1$JGr zXPIdeRE&b2Thd#{MtDK$px*d3-Wx``>!oimf%|A-&-q*6KAH)e$3|6JV%HX{Hig)k suLT-RhftRq8b9;(V=235Wa|I=027H2wCDra;{X5v07*qoM6N<$f;9x^2LJ#7 literal 0 HcmV?d00001 diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png new file mode 100644 index 0000000000000000000000000000000000000000..4cd7b0099ca80c806f8fe495613e8d6c69460d76 GIT binary patch literal 282 zcmV+#0p(^bcu7P-R4C8Q z&e;xxFbF_Vrezo%_kH*OKhshZ6BFpG-Y1e10`QXJKbND7AMQ&cMj60B5TNObaZxYybcN07*qoM6N<$g3m;S%K!iX literal 0 HcmV?d00001 diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..fe730945a01f64a61e2235dbe3f45b08f7729182 GIT binary patch literal 462 zcmV;<0WtoGP)-}iV`2<;=$?g5M=KQbZ{F&YRNy7Nn@%_*5{gvDM0aKI4?ESmw z{NnZg)A0R`+4?NF_RZexyVB&^^ZvN!{I28tr{Vje;QNTz`dG&Jz0~Ek&f2;*Z7>B|cg}xYpxEFY+0YrKLF;^Q+-HreN0P{&i zK~zY`?b7ECf-n?@;d<&orQ*Q7KoR%4|C>{W^h6@&01>0SKS`dn{Q}GT%Qj_{PLZ_& zs`MFI#j-(>?bvdZ!8^xTwlY{qA)T4QLbY@j(!YJ7aXJervHy6HaG_2SB`6CC{He}f zHVw(fJWApwPq!6VY7r1w-Fs)@ox~N+q|w~e;JI~C4Vf^@d>Wvj=fl`^u9x9wd9 zR%3*Q+)t%S!MU_`id^@&Y{y7-r98lZX0?YrHlfmwb?#}^1b{8g&KzmkE(L>Z&)179 zp<)v6Y}pRl100G2FL_t(o!|l{-Q-VMg#&MKg7c{O0 z2wJImOS3Gy*Z2Qifdv~JYOp;v+U)a|nLoc7hNH;I$;lzDt$}rkaFw1mYK5_0Q(Sut zvbEloxON7$+HSOgC9Z8ltuC&0OSF!-mXv5caV>#bc3@hBPX@I$58-z}(ZZE!t-aOG zpjNkbau@>yEzH(5Yj4kZiMH32XI!4~gVXNnjAvRx;Sdg^`>2DpUEwoMhTs_st8pKG z(%SHyHdU&v%f36~uERh!bd`!T2dw;z6PrOTQ7Vt*#9F2uHlUVnb#ev_o^fh}Dzmq} zWtlk35}k=?xj28uO|5>>$yXadTUE@@IPpgH`gJ~Ro4>jd1IF|(+IX>8M4Ps{PNvmI zNj4D+XgN83gPt_Gm}`Ybv{;+&yu-C(Grdiahmo~BjG-l&mWM+{e5M1sm&=xduwgM9 z`8OEh`=F3r`^E{n_;%9weN{cf2%7=VzC@cYj+lg>+3|D|_1C@{hcU(DyQG_BvBWe? zvTv``=%b1zrol#=R`JB)>cdjpWt&rLJgVp-t?DREyuq1A%0Z4)6_WsQ7{nzjN zo!X zGXV)2i3kcZIL~_j>uIKPK_zib+3T+Nt3Mb&Br)s)UIaA}@p{wDda>7=Q|mGRp7pqY zkJ!7E{MNz$9nOwoVqpFb)}$IP24Wn2JJ=Cw(!`OXJBr45rP>>AQr$6c7slJWvbpNW z@KTwna6d?PP>hvXCcp=4F;=GR@R4E7{4VU^0p4F>v^#A|>07*qoM6N<$f*5nx ACIA2c literal 0 HcmV?d00001 diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..502f463a9bc882b461c96aadf492d1729e49e725 GIT binary patch literal 586 zcmV-Q0=4~#P)+}#`wDE{8-2Mebf5<{{PqV{TgVcv*r8?UZ3{-|G?_}T*&y;@cqf{ z{Q*~+qr%%p!1pS*_Uicl#q9lc(D`!D`LN62sNwq{oYw(Wmhk)k<@f$!$@ng~_5)Ru z0Z)trIA5^j{DIW^c+vT2%lW+2<(RtE2wR;4O@)Tm`Xr*?A(qYoM}7i5Yxw>D(&6ou zxz!_Xr~yNF+waPe00049Nkl*;a!v6h%{rlvIH#gW3s8p;bFr=l}mRqpW2h zw=OA%hdyL~z+UHOzl0eKhEr$YYOL-c-%Y<)=j?(bzDweB7{b+%_ypvm_cG{SvM=DK zhv{K@m>#Bw>2W$eUI#iU)Wdgs8Y3U+A$Gd&{+j)d)BmGKx+43U_!tik_YlN)>$7G! zhkE!s;%oku3;IwG3U^2kw?z+HM)jB{@zFhK8P#KMSytSthr+4!c(5c%+^UBn`0X*2 zy3(k600_CSZj?O$Qu%&$;|TGUJrptR(HzyIx>5E(2r{eA(<6t3e3I0B)7d6s7?Z5J zZ!rtKvA{MiEBm&KFtoifx>5P^Z=vl)95XJn()aS5%ad(s?4-=Tkis9IGu{`Fy8r+H07*qoM6N<$f20Z)wqMt%V?S?~D#06};F zA3KcL`Wb+>5ObvgQIG&ig8(;V04hz?@cqy3{mSh8o!|U|)cI!1_+!fWH@o*8vh^CU z^ws0;(c$gI+2~q^tO#GDHf@=;DncUw00J^eL_t(&-tE|HQ`%4vfZ;WsBqu-$0nu1R zq^Vj;p$clf^?twn|KHO+IGt^q#a3X?w9dXC@*yxhv&l}F322(8Y1&=P&I}~G@#h6; z1CV9ecD9ZEe87{{NtI*)_aJ<`kJa z?5=RBtFF50s;jQLFil-`)m2wrb=6h(&brpj%nG_U&ut~$?8Rokzxi8zJoWr#2dto5 zOX_URcc<1`Iky+jc;A%Vzx}1QU{2$|cKPom2Vf1{8m`vja4{F>HS?^Nc^rp}xo+Nh zxd}eOm`fm3@MQC1< zIk&aCjb~Yh%5+Yq0`)D;q{#-Uqlv*o+Oor zE!I71Z@ASH3grl8&P^L0WpavHoP|UX4e?!igT`4?AZk$hu*@%6WJ;zDOGlw7kj@ zY5!B-0ft0f?Lgb>C;$Ke07*qoM6N<$f~t1N9smFU literal 0 HcmV?d00001 diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..0ec303439225b78712f49115768196d8d76f6790 GIT binary patch literal 862 zcmV-k1EKthP)20Z)wqMt%V?S?~D#06};F zA3KcL`Wb+>5ObvgQIG&ig8(;V04hz?@cqy3{mSh8o!|U|)cI!1_+!fWH@o*8vh^CU z^ws0;(c$gI+2~q^tO#GDHf@=;DncUw00J^eL_t(&-tE|HQ`%4vfZ;WsBqu-$0nu1R zq^Vj;p$clf^?twn|KHO+IGt^q#a3X?w9dXC@*yxhv&l}F322(8Y1&=P&I}~G@#h6; z1CV9ecD9ZEe87{{NtI*)_aJ<`kJa z?5=RBtFF50s;jQLFil-`)m2wrb=6h(&brpj%nG_U&ut~$?8Rokzxi8zJoWr#2dto5 zOX_URcc<1`Iky+jc;A%Vzx}1QU{2$|cKPom2Vf1{8m`vja4{F>HS?^Nc^rp}xo+Nh zxd}eOm`fm3@MQC1< zIk&aCjb~Yh%5+Yq0`)D;q{#-Uqlv*o+Oor zE!I71Z@ASH3grl8&P^L0WpavHoP|UX4e?!igT`4?AZk$hu*@%6WJ;zDOGlw7kj@ zY5!B-0ft0f?Lgb>C;$Ke07*qoM6N<$f~t1N9smFU literal 0 HcmV?d00001 diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..e9f5fea27c705180eb716271f41b582e76dcbd90 GIT binary patch literal 1674 zcmV;526g#~P){YQnis^a@{&-nmRmq)<&%Mztj67_#M}W?l>kYSliK<%xAp;0j{!}J0!o7b zE>q9${Lb$D&h7k=+4=!ek^n+`0zq>LL1O?lVyea53S5x`Nqqo2YyeuIrQrJj9XjOp z{;T5qbj3}&1vg1VK~#9!?b~^C5-}JC@Pyrv-6dSEqJqT}#j9#dJ@GzT@B8}x zU&J@bBI>f6w6en+CeI)3^kC*U?}X%OD8$Fd$H&LV$H&LV$H&LV#|K5~mLYf|VqzOc zkc7qL~0sOYuM{tG`rYEDV{DWY`Z8&)kW*hc2VkBuY+^Yx&92j&StN}Wp=LD zxoGxXw6f&8sB^u})h@b@z0RBeD`K7RMR9deyL(ZJu#39Z>rT)^>v}Khq8U-IbIvT> z?4pV9qGj=2)TNH3d)=De<+^w;>S7m_eFKTvzeaBeir45xY!^m!FmxnljbSS_3o=g( z->^wC9%qkR{kbGnW8MfFew_o9h3(r55Is`L$8KI@d+*%{=Nx+FXJ98L0PjFIu;rGnnfY zn1R5Qnp<{Jq0M1vX=X&F8gtLmcWv$1*M@4ZfF^9``()#hGTeKeP`1!iED ztNE(TN}M5}3Bbc*d=FIv`DNv&@|C6yYj{sSqUj5oo$#*0$7pu|Dd2TLI>t5%I zIa4Dvr(iayb+5x=j*Vum9&irk)xV1`t509lnPO0%skL8_1c#Xbamh(2@f?4yUI zhhuT5<#8RJhGz4%b$`PJwKPAudsm|at?u;*hGgnA zU1;9gnxVBC)wA(BsB`AW54N{|qmikJR*%x0c`{LGsSfa|NK61pYH(r-UQ4_JXd!Rsz)=k zL{GMc5{h138)fF5CzHEDM>+FqY)$pdN3}Ml+riTgJOLN0F*Vh?{9ESR{SVVg>*>=# zix;VJHPtvFFCRY$Ks*F;VX~%*r9F)W`PmPE9F!(&s#x07n2<}?S{(ygpXgX-&B&OM zONY&BRQ(#%0%jeQs?oJ4P!p*R98>qCy5p8w>_gpuh39NcOlp)(wOoz0sY-Qz55eB~ z7OC-fKBaD1sE3$l-6QgBJO!n?QOTza`!S_YK z_v-lm^7{VO^8Q@M_^8F)09Ki6%=s?2_5eupee(w1FB%aqSweusQ-T+CH0Xt{` zFjMvW{@C&TB)k25()nh~_yJ9coBRL(0oO@HK~z}7?bm5j;y@69;bvlHb2tf!$ReA~x{22wTq550 z?f?Hnw(;m3ip30;QzdV~7pi!wyMYhDtXW#cO7T>|f=bdFhu+F!zMZ2UFj;GUKX7tI z;hv3{q~!*pMj75WP_c}>6)IWvg5_yyg<9Op()eD1hWC19M@?_9_MHec{Z8n3FaF{8 z;u`Mw0ly(uE>*CgQYv{be6ab2LWhlaH1^iLIM{olnag$78^Fd}%dR7;JECQ+hmk|o z!u2&!3MqPfP5ChDSkFSH8F2WVOEf0(E_M(JL17G}Y+fg0_IuW%WQ zG(mG&u?|->YSdk0;8rc{yw2@2Z&GA}z{Wb91Ooz9VhA{b2DYE7RmG zjL}?eq#iX%3#k;JWMx_{^2nNax`xPhByFiDX+a7uTGU|otOvIAUy|dEKkXOm-`aWS z27pUzD{a)Ct<6p{{3)+lq@i`t@%>-wT4r?*S}k)58e09WZYP0{{R3FC5Sl00039P)t-s|Ns9~ z#rP?<_5oL$Q^olD{r_0T`27C={r>*`|Nj71npVa5OTzc(_WfbW_({R{p56NV{r*M2 z_xt?)2V0#0NsfV0u>{42ctGP(8vQj-Btk1n|O0ZD=YLwd&R{Ko41Gr9H= zY@z@@bOAMB5Ltl$E>bJJ{>JP30ZxkmI%?eW{k`b?Wy<&gOo;dS`~CR$Vwb@XWtR|N zi~t=w02?-0&j0TD{>bb6sNwsK*!p?V`RMQUl(*DVjk-9Cx+-z1KXab|Ka2oXhX5f% z`$|e!000AhNklrxs)5QTeTVRiEmz~MKK1WAjCw(c-JK6eox;2O)?`? zTG`AHia671e^vgmp!llKp|=5sVHk#C7=~epA~VAf-~%aPC=%Qw01h8mnSZ|p?hz91 z7p83F3%LVu9;S$tSI$C^%^yud1dfTM_6p2|+5Ejp$bd`GDvbR|xit>i!ZD&F>@CJrPmu*UjD&?DfZs=$@e3FQA(vNiU+$A*%a} z?`XcG2jDxJ_ZQ#Md`H{4Lpf6QBDp81_KWZ6Tk#yCy1)32zO#3<7>b`eT7UyYH1eGz z;O(rH$=QR*L%%ZcBpc=eGua?N55nD^K(8<#gl2+pN_j~b2MHs4#mcLmv%DkspS-3< zpI1F=^9siI0s-;IN_IrA;5xm~3?3!StX}pUv0vkxMaqm+zxrg7X7(I&*N~&dEd0kD z-FRV|g=|QuUsuh>-xCI}vD2imzYIOIdcCVV=$Bz@*u0+Bs<|L^)32nN*=wu3n%Ynw z@1|eLG>!8ruU1pFXUfb`j>(=Gy~?Rn4QJ-c3%3T|(Frd!bI`9u&zAnyFYTqlG#&J7 zAkD(jpw|oZLNiA>;>hgp1KX7-wxC~31II47gc zHcehD6Uxlf%+M^^uN5Wc*G%^;>D5qT{>=uxUhX%WJu^Z*(_Wq9y}npFO{Hhb>s6<9 zNi0pHXWFaVZnb)1+RS&F)xOv6&aeILcI)`k#0YE+?e)5&#r7J#c`3Z7x!LpTc01dx zrdC3{Z;joZ^KN&))zB_i)I9fWedoN>Zl-6_Iz+^G&*ak2jpF07*qoM6N<$f;w%0(f|Me literal 0 HcmV?d00001 diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..0467bf12aa4d28f374bb26596605a46dcbb3e7c8 GIT binary patch literal 1418 zcmV;51$Fv~P)q zKfU)WzW*n(@|xWGCA9ScMt*e9`2kdxPQ&&>|-UCa7_51w+ zLUsW@ZzZSW0y$)Hp~e9%PvP|a03ks1`~K?q{u;6NC8*{AOqIUq{CL&;p56Lf$oQGq z^={4hPQv)y=I|4n+?>7Fim=dxt1 z2H+Dm+1+fh+IF>G0SjJMkQQre1x4|G*Z==(Ot&kCnUrL4I(rf(ucITwmuHf^hXiJT zkdTm&kdTm&kdTm&kdP`esgWG0BcWCVkVZ&2dUwN`cgM8QJb`Z7Z~e<&Yj2(}>Tmf` zm1{eLgw!b{bXkjWbF%dTkTZEJWyWOb##Lfw4EK2}<0d6%>AGS{po>WCOy&f$Tay_> z?NBlkpo@s-O;0V%Y_Xa-G#_O08q5LR*~F%&)}{}r&L%Sbs8AS4t7Y0NEx*{soY=0MZExqA5XHQkqi#4gW3 zqODM^iyZl;dvf)-bOXtOru(s)Uc7~BFx{w-FK;2{`VA?(g&@3z&bfLFyctOH!cVsF z7IL=fo-qBndRUm;kAdXR4e6>k-z|21AaN%ubeVrHl*<|s&Ax@W-t?LR(P-24A5=>a z*R9#QvjzF8n%@1Nw@?CG@6(%>+-0ASK~jEmCV|&a*7-GKT72W<(TbSjf)&Eme6nGE z>Gkj4Sq&2e+-G%|+NM8OOm5zVl9{Z8Dd8A5z3y8mZ=4Bv4%>as_{9cN#bm~;h>62( zdqY93Zy}v&c4n($Vv!UybR8ocs7#zbfX1IY-*w~)p}XyZ-SFC~4w>BvMVr`dFbelV{lLL0bx7@*ZZdebr3`sP;? zVImji)kG)(6Juv0lz@q`F!k1FE;CQ(D0iG$wchPbKZQELlsZ#~rt8#90Y_Xh&3U-< z{s<&cCV_1`^TD^ia9!*mQDq& zn2{r`j};V|uV%_wsP!zB?m%;FeaRe+X47K0e+KE!8C{gAWF8)lCd1u1%~|M!XNRvw zvtqy3iz0WSpWdhn6$hP8PaRBmp)q`#PCA`Vd#Tc$@f1tAcM>f_I@bC)hkI9|o(Iqv zo}Piadq!j76}004RBio<`)70k^`K1NK)q>w?p^C6J2ZC!+UppiK6&y3Kmbv&O!oYF z34$0Z;QO!JOY#!`qyGH<3Pd}Pt@q*A0V=3SVtWKRR8d8Z&@)3qLPA19LPA19LPEUC YUoZo%k(ykuW&i*H07*qoM6N<$f+CH{y8r+H literal 0 HcmV?d00001 diff --git a/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json new file mode 100644 index 0000000..0bedcf2 --- /dev/null +++ b/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "LaunchImage.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "LaunchImage@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "LaunchImage@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png new file mode 100644 index 0000000000000000000000000000000000000000..9da19eacad3b03bb08bbddbbf4ac48dd78b3d838 GIT binary patch literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v literal 0 HcmV?d00001 diff --git a/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..9da19eacad3b03bb08bbddbbf4ac48dd78b3d838 GIT binary patch literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v literal 0 HcmV?d00001 diff --git a/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..9da19eacad3b03bb08bbddbbf4ac48dd78b3d838 GIT binary patch literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v literal 0 HcmV?d00001 diff --git a/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md new file mode 100644 index 0000000..89c2725 --- /dev/null +++ b/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md @@ -0,0 +1,5 @@ +# Launch Screen Assets + +You can customize the launch screen with your own desired assets by replacing the image files in this directory. + +You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. \ No newline at end of file diff --git a/flutter_example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/flutter_example/ios/Runner/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..f2e259c --- /dev/null +++ b/flutter_example/ios/Runner/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/flutter_example/ios/Runner/Base.lproj/Main.storyboard b/flutter_example/ios/Runner/Base.lproj/Main.storyboard new file mode 100644 index 0000000..f3c2851 --- /dev/null +++ b/flutter_example/ios/Runner/Base.lproj/Main.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/flutter_example/ios/Runner/Info.plist b/flutter_example/ios/Runner/Info.plist new file mode 100644 index 0000000..fbdbb09 --- /dev/null +++ b/flutter_example/ios/Runner/Info.plist @@ -0,0 +1,49 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Flutter Example + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + flutter_example + CFBundlePackageType + APPL + CFBundleShortVersionString + $(FLUTTER_BUILD_NAME) + CFBundleSignature + ???? + CFBundleVersion + $(FLUTTER_BUILD_NUMBER) + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + CADisableMinimumFrameDurationOnPhone + + UIApplicationSupportsIndirectInputEvents + + + diff --git a/flutter_example/ios/Runner/Runner-Bridging-Header.h b/flutter_example/ios/Runner/Runner-Bridging-Header.h new file mode 100644 index 0000000..308a2a5 --- /dev/null +++ b/flutter_example/ios/Runner/Runner-Bridging-Header.h @@ -0,0 +1 @@ +#import "GeneratedPluginRegistrant.h" diff --git a/flutter_example/ios/RunnerTests/RunnerTests.swift b/flutter_example/ios/RunnerTests/RunnerTests.swift new file mode 100644 index 0000000..86a7c3b --- /dev/null +++ b/flutter_example/ios/RunnerTests/RunnerTests.swift @@ -0,0 +1,12 @@ +import Flutter +import UIKit +import XCTest + +class RunnerTests: XCTestCase { + + func testExample() { + // If you add code to the Runner application, consider adding tests here. + // See https://developer.apple.com/documentation/xctest for more information about using XCTest. + } + +} diff --git a/flutter_example/lib/bindings.dart b/flutter_example/lib/bindings.dart new file mode 100644 index 0000000..06ef731 --- /dev/null +++ b/flutter_example/lib/bindings.dart @@ -0,0 +1,43 @@ +import 'dart:ffi'; +import 'dart:io'; + +import 'package:ffi/ffi.dart'; +import 'package:flutter_example/generated_bindings.dart'; + +class Bindings { + static Bindings? _instance; + + final NativeLibrary library; + + Bindings._(NativeLibrary lib) : library = lib; + + /// Load from lib + static Bindings init(String libName) { + /// The dynamic library in which the symbols for [NativeAddBindings] can be found. + final DynamicLibrary dylib = () { + if (Platform.isMacOS || Platform.isIOS) { + return DynamicLibrary.open('$libName.framework/$libName'); + } + if (Platform.isAndroid || Platform.isLinux) { + return DynamicLibrary.open('lib$libName.so'); + } + if (Platform.isWindows) { + return DynamicLibrary.open('$libName.dll'); + } + throw UnsupportedError('Unknown platform: ${Platform.operatingSystem}'); + }.call(); + + /// The bindings to the native functions in [_dylib]. + return _instance ??= Bindings._(NativeLibrary(dylib)); + } + + static Bindings get instance => _instance!; + + static int sum(int a, int b) { + final hello = instance.library.MyLib_Hello_Create(nullptr); + + final result = instance.library.MyLib_Hello_Sum(hello, a, b, nullptr); + + return result; + } +} diff --git a/flutter_example/lib/generated_bindings.dart b/flutter_example/lib/generated_bindings.dart new file mode 100644 index 0000000..864ae8a --- /dev/null +++ b/flutter_example/lib/generated_bindings.dart @@ -0,0 +1,69111 @@ +// 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; diff --git a/flutter_example/lib/main.dart b/flutter_example/lib/main.dart new file mode 100644 index 0000000..38c0e02 --- /dev/null +++ b/flutter_example/lib/main.dart @@ -0,0 +1,65 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_example/bindings.dart'; + +void main() { + WidgetsFlutterBinding.ensureInitialized(); + + Bindings.init('MyLib'); + + runApp(const MyApp()); +} + +class MyApp extends StatelessWidget { + const MyApp({super.key}); + + @override + Widget build(BuildContext context) { + return MaterialApp( + title: 'Flutter Demo', + theme: ThemeData( + colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), + useMaterial3: true, + ), + home: const MyHomePage(title: 'Flutter Demo Home Page'), + ); + } +} + +class MyHomePage extends StatefulWidget { + const MyHomePage({super.key, required this.title}); + + final String title; + + @override + State createState() => _MyHomePageState(); +} + +class _MyHomePageState extends State { + int _sum = -1; + + @override + void initState() { + super.initState(); + _sum = Bindings.sum(1, 2); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + backgroundColor: Theme.of(context).colorScheme.inversePrimary, + title: Text(widget.title), + ), + body: Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Text( + 'From CSharp sum(1,2): $_sum', + ), + ], + ), + ), + ); + } +} diff --git a/flutter_example/macos/.gitignore b/flutter_example/macos/.gitignore new file mode 100644 index 0000000..746adbb --- /dev/null +++ b/flutter_example/macos/.gitignore @@ -0,0 +1,7 @@ +# Flutter-related +**/Flutter/ephemeral/ +**/Pods/ + +# Xcode-related +**/dgph +**/xcuserdata/ diff --git a/flutter_example/macos/Flutter/Flutter-Debug.xcconfig b/flutter_example/macos/Flutter/Flutter-Debug.xcconfig new file mode 100644 index 0000000..c2efd0b --- /dev/null +++ b/flutter_example/macos/Flutter/Flutter-Debug.xcconfig @@ -0,0 +1 @@ +#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/flutter_example/macos/Flutter/Flutter-Release.xcconfig b/flutter_example/macos/Flutter/Flutter-Release.xcconfig new file mode 100644 index 0000000..c2efd0b --- /dev/null +++ b/flutter_example/macos/Flutter/Flutter-Release.xcconfig @@ -0,0 +1 @@ +#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/flutter_example/macos/Flutter/GeneratedPluginRegistrant.swift b/flutter_example/macos/Flutter/GeneratedPluginRegistrant.swift new file mode 100644 index 0000000..cccf817 --- /dev/null +++ b/flutter_example/macos/Flutter/GeneratedPluginRegistrant.swift @@ -0,0 +1,10 @@ +// +// Generated file. Do not edit. +// + +import FlutterMacOS +import Foundation + + +func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { +} diff --git a/flutter_example/macos/Runner.xcodeproj/project.pbxproj b/flutter_example/macos/Runner.xcodeproj/project.pbxproj new file mode 100644 index 0000000..af12877 --- /dev/null +++ b/flutter_example/macos/Runner.xcodeproj/project.pbxproj @@ -0,0 +1,695 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 54; + objects = { + +/* Begin PBXAggregateTarget section */ + 33CC111A2044C6BA0003C045 /* Flutter Assemble */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */; + buildPhases = ( + 33CC111E2044C6BF0003C045 /* ShellScript */, + ); + dependencies = ( + ); + name = "Flutter Assemble"; + productName = FLX; + }; +/* End PBXAggregateTarget section */ + +/* Begin PBXBuildFile section */ + 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C80D7294CF71000263BE5 /* RunnerTests.swift */; }; + 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; }; + 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; }; + 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; }; + 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; }; + 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 33CC10E52044A3C60003C045 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 33CC10EC2044A3C60003C045; + remoteInfo = Runner; + }; + 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 33CC10E52044A3C60003C045 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 33CC111A2044C6BA0003C045; + remoteInfo = FLX; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 33CC110E2044A8840003C045 /* Bundle Framework */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + ); + name = "Bundle Framework"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; + 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; }; + 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; }; + 33CC10ED2044A3C60003C045 /* flutter_example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "flutter_example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; }; + 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; + 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; }; + 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; }; + 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; }; + 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; }; + 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; }; + 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; }; + 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; }; + 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; }; + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; }; + 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 331C80D2294CF70F00263BE5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 33CC10EA2044A3C60003C045 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 331C80D6294CF71000263BE5 /* RunnerTests */ = { + isa = PBXGroup; + children = ( + 331C80D7294CF71000263BE5 /* RunnerTests.swift */, + ); + path = RunnerTests; + sourceTree = ""; + }; + 33BA886A226E78AF003329D5 /* Configs */ = { + isa = PBXGroup; + children = ( + 33E5194F232828860026EE4D /* AppInfo.xcconfig */, + 9740EEB21CF90195004384FC /* Debug.xcconfig */, + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, + 333000ED22D3DE5D00554162 /* Warnings.xcconfig */, + ); + path = Configs; + sourceTree = ""; + }; + 33CC10E42044A3C60003C045 = { + isa = PBXGroup; + children = ( + 33FAB671232836740065AC1E /* Runner */, + 33CEB47122A05771004F2AC0 /* Flutter */, + 331C80D6294CF71000263BE5 /* RunnerTests */, + 33CC10EE2044A3C60003C045 /* Products */, + D73912EC22F37F3D000D13A0 /* Frameworks */, + ); + sourceTree = ""; + }; + 33CC10EE2044A3C60003C045 /* Products */ = { + isa = PBXGroup; + children = ( + 33CC10ED2044A3C60003C045 /* flutter_example.app */, + 331C80D5294CF71000263BE5 /* RunnerTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 33CC11242044D66E0003C045 /* Resources */ = { + isa = PBXGroup; + children = ( + 33CC10F22044A3C60003C045 /* Assets.xcassets */, + 33CC10F42044A3C60003C045 /* MainMenu.xib */, + 33CC10F72044A3C60003C045 /* Info.plist */, + ); + name = Resources; + path = ..; + sourceTree = ""; + }; + 33CEB47122A05771004F2AC0 /* Flutter */ = { + isa = PBXGroup; + children = ( + 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */, + 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */, + 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */, + 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */, + ); + path = Flutter; + sourceTree = ""; + }; + 33FAB671232836740065AC1E /* Runner */ = { + isa = PBXGroup; + children = ( + 33CC10F02044A3C60003C045 /* AppDelegate.swift */, + 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */, + 33E51913231747F40026EE4D /* DebugProfile.entitlements */, + 33E51914231749380026EE4D /* Release.entitlements */, + 33CC11242044D66E0003C045 /* Resources */, + 33BA886A226E78AF003329D5 /* Configs */, + ); + path = Runner; + sourceTree = ""; + }; + D73912EC22F37F3D000D13A0 /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 331C80D4294CF70F00263BE5 /* RunnerTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; + buildPhases = ( + 331C80D1294CF70F00263BE5 /* Sources */, + 331C80D2294CF70F00263BE5 /* Frameworks */, + 331C80D3294CF70F00263BE5 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 331C80DA294CF71000263BE5 /* PBXTargetDependency */, + ); + name = RunnerTests; + productName = RunnerTests; + productReference = 331C80D5294CF71000263BE5 /* RunnerTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 33CC10EC2044A3C60003C045 /* Runner */ = { + isa = PBXNativeTarget; + buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */; + buildPhases = ( + 33CC10E92044A3C60003C045 /* Sources */, + 33CC10EA2044A3C60003C045 /* Frameworks */, + 33CC10EB2044A3C60003C045 /* Resources */, + 33CC110E2044A8840003C045 /* Bundle Framework */, + 3399D490228B24CF009A79C7 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + 33CC11202044C79F0003C045 /* PBXTargetDependency */, + ); + name = Runner; + productName = Runner; + productReference = 33CC10ED2044A3C60003C045 /* flutter_example.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 33CC10E52044A3C60003C045 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0920; + LastUpgradeCheck = 1430; + ORGANIZATIONNAME = ""; + TargetAttributes = { + 331C80D4294CF70F00263BE5 = { + CreatedOnToolsVersion = 14.0; + TestTargetID = 33CC10EC2044A3C60003C045; + }; + 33CC10EC2044A3C60003C045 = { + CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1100; + ProvisioningStyle = Automatic; + SystemCapabilities = { + com.apple.Sandbox = { + enabled = 1; + }; + }; + }; + 33CC111A2044C6BA0003C045 = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Manual; + }; + }; + }; + buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 33CC10E42044A3C60003C045; + productRefGroup = 33CC10EE2044A3C60003C045 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 33CC10EC2044A3C60003C045 /* Runner */, + 331C80D4294CF70F00263BE5 /* RunnerTests */, + 33CC111A2044C6BA0003C045 /* Flutter Assemble */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 331C80D3294CF70F00263BE5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 33CC10EB2044A3C60003C045 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */, + 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 3399D490228B24CF009A79C7 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n"; + }; + 33CC111E2044C6BF0003C045 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + Flutter/ephemeral/FlutterInputs.xcfilelist, + ); + inputPaths = ( + Flutter/ephemeral/tripwire, + ); + outputFileListPaths = ( + Flutter/ephemeral/FlutterOutputs.xcfilelist, + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 331C80D1294CF70F00263BE5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 33CC10E92044A3C60003C045 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */, + 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */, + 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 331C80DA294CF71000263BE5 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 33CC10EC2044A3C60003C045 /* Runner */; + targetProxy = 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */; + }; + 33CC11202044C79F0003C045 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */; + targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 33CC10F42044A3C60003C045 /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 33CC10F52044A3C60003C045 /* Base */, + ); + name = MainMenu.xib; + path = Runner; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 331C80DB294CF71000263BE5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterExample.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/flutter_example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/flutter_example"; + }; + name = Debug; + }; + 331C80DC294CF71000263BE5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterExample.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/flutter_example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/flutter_example"; + }; + name = Release; + }; + 331C80DD294CF71000263BE5 /* Profile */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterExample.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/flutter_example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/flutter_example"; + }; + name = Profile; + }; + 338D0CE9231458BD00FA5F75 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.14; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + }; + name = Profile; + }; + 338D0CEA231458BD00FA5F75 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_VERSION = 5.0; + }; + name = Profile; + }; + 338D0CEB231458BD00FA5F75 /* Profile */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Manual; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Profile; + }; + 33CC10F92044A3C60003C045 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.14; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 33CC10FA2044A3C60003C045 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.14; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + }; + name = Release; + }; + 33CC10FC2044A3C60003C045 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + 33CC10FD2044A3C60003C045 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; + 33CC111C2044C6BA0003C045 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Manual; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 33CC111D2044C6BA0003C045 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 331C80DB294CF71000263BE5 /* Debug */, + 331C80DC294CF71000263BE5 /* Release */, + 331C80DD294CF71000263BE5 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 33CC10F92044A3C60003C045 /* Debug */, + 33CC10FA2044A3C60003C045 /* Release */, + 338D0CE9231458BD00FA5F75 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 33CC10FC2044A3C60003C045 /* Debug */, + 33CC10FD2044A3C60003C045 /* Release */, + 338D0CEA231458BD00FA5F75 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 33CC111C2044C6BA0003C045 /* Debug */, + 33CC111D2044C6BA0003C045 /* Release */, + 338D0CEB231458BD00FA5F75 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 33CC10E52044A3C60003C045 /* Project object */; +} diff --git a/flutter_example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/flutter_example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/flutter_example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/flutter_example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/flutter_example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 0000000..20078db --- /dev/null +++ b/flutter_example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/flutter_example/macos/Runner.xcworkspace/contents.xcworkspacedata b/flutter_example/macos/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..1d526a1 --- /dev/null +++ b/flutter_example/macos/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/flutter_example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/flutter_example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/flutter_example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/flutter_example/macos/Runner/AppDelegate.swift b/flutter_example/macos/Runner/AppDelegate.swift new file mode 100644 index 0000000..d53ef64 --- /dev/null +++ b/flutter_example/macos/Runner/AppDelegate.swift @@ -0,0 +1,9 @@ +import Cocoa +import FlutterMacOS + +@NSApplicationMain +class AppDelegate: FlutterAppDelegate { + override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { + return true + } +} diff --git a/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..a2ec33f --- /dev/null +++ b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,68 @@ +{ + "images" : [ + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "app_icon_16.png", + "scale" : "1x" + }, + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "app_icon_32.png", + "scale" : "2x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "app_icon_32.png", + "scale" : "1x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "app_icon_64.png", + "scale" : "2x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "app_icon_128.png", + "scale" : "1x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "app_icon_256.png", + "scale" : "2x" + }, + { + "size" : "256x256", + "idiom" : "mac", + "filename" : "app_icon_256.png", + "scale" : "1x" + }, + { + "size" : "256x256", + "idiom" : "mac", + "filename" : "app_icon_512.png", + "scale" : "2x" + }, + { + "size" : "512x512", + "idiom" : "mac", + "filename" : "app_icon_512.png", + "scale" : "1x" + }, + { + "size" : "512x512", + "idiom" : "mac", + "filename" : "app_icon_1024.png", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png new file mode 100644 index 0000000000000000000000000000000000000000..82b6f9d9a33e198f5747104729e1fcef999772a5 GIT binary patch literal 102994 zcmeEugo5nb1G~3xi~y`}h6XHx5j$(L*3|5S2UfkG$|UCNI>}4f?MfqZ+HW-sRW5RKHEm z^unW*Xx{AH_X3Xdvb%C(Bh6POqg==@d9j=5*}oEny_IS;M3==J`P0R!eD6s~N<36C z*%-OGYqd0AdWClO!Z!}Y1@@RkfeiQ$Ib_ z&fk%T;K9h`{`cX3Hu#?({4WgtmkR!u3ICS~|NqH^fdNz>51-9)OF{|bRLy*RBv#&1 z3Oi_gk=Y5;>`KbHf~w!`u}!&O%ou*Jzf|Sf?J&*f*K8cftMOKswn6|nb1*|!;qSrlw= zr-@X;zGRKs&T$y8ENnFU@_Z~puu(4~Ir)>rbYp{zxcF*!EPS6{(&J}qYpWeqrPWW< zfaApz%<-=KqxrqLLFeV3w0-a0rEaz9&vv^0ZfU%gt9xJ8?=byvNSb%3hF^X_n7`(fMA;C&~( zM$cQvQ|g9X)1AqFvbp^B{JEX$o;4iPi?+v(!wYrN{L}l%e#5y{j+1NMiT-8=2VrCP zmFX9=IZyAYA5c2!QO96Ea-6;v6*$#ZKM-`%JCJtrA3d~6h{u+5oaTaGE)q2b+HvdZ zvHlY&9H&QJ5|uG@wDt1h99>DdHy5hsx)bN`&G@BpxAHh$17yWDyw_jQhhjSqZ=e_k z_|r3=_|`q~uA47y;hv=6-o6z~)gO}ZM9AqDJsR$KCHKH;QIULT)(d;oKTSPDJ}Jx~G#w-(^r<{GcBC*~4bNjfwHBumoPbU}M)O za6Hc2ik)2w37Yyg!YiMq<>Aov?F2l}wTe+>h^YXcK=aesey^i)QC_p~S zp%-lS5%)I29WfywP(r4@UZ@XmTkqo51zV$|U|~Lcap##PBJ}w2b4*kt7x6`agP34^ z5fzu_8rrH+)2u*CPcr6I`gL^cI`R2WUkLDE5*PX)eJU@H3HL$~o_y8oMRoQ0WF9w| z6^HZDKKRDG2g;r8Z4bn+iJNFV(CG;K-j2>aj229gl_C6n12Jh$$h!}KVhn>*f>KcH z;^8s3t(ccVZ5<{>ZJK@Z`hn_jL{bP8Yn(XkwfRm?GlEHy=T($8Z1Mq**IM`zxN9>-yXTjfB18m_$E^JEaYn>pj`V?n#Xu;Z}#$- zw0Vw;T*&9TK$tKI7nBk9NkHzL++dZ^;<|F6KBYh2+XP-b;u`Wy{~79b%IBZa3h*3^ zF&BKfQ@Ej{7ku_#W#mNJEYYp=)bRMUXhLy2+SPMfGn;oBsiG_6KNL8{p1DjuB$UZB zA)a~BkL)7?LJXlCc}bB~j9>4s7tlnRHC5|wnycQPF_jLl!Avs2C3^lWOlHH&v`nGd zf&U!fn!JcZWha`Pl-B3XEe;(ks^`=Z5R zWyQR0u|do2`K3ec=YmWGt5Bwbu|uBW;6D8}J3{Uep7_>L6b4%(d=V4m#(I=gkn4HT zYni3cnn>@F@Wr<hFAY3Y~dW+3bte;70;G?kTn4Aw5nZ^s5|47 z4$rCHCW%9qa4)4vE%^QPMGf!ET!^LutY$G zqdT(ub5T5b+wi+OrV}z3msoy<4)`IPdHsHJggmog0K*pFYMhH!oZcgc5a)WmL?;TPSrerTVPp<#s+imF3v#!FuBNNa`#6 z!GdTCF|IIpz#(eV^mrYKThA4Bnv&vQet@%v9kuRu3EHx1-2-it@E`%9#u`)HRN#M? z7aJ{wzKczn#w^`OZ>Jb898^Xxq)0zd{3Tu7+{-sge-rQ z&0PME&wIo6W&@F|%Z8@@N3)@a_ntJ#+g{pUP7i?~3FirqU`rdf8joMG^ld?(9b7Iv z>TJgBg#)(FcW)h!_if#cWBh}f+V08GKyg|$P#KTS&%=!+0a%}O${0$i)kn9@G!}En zv)_>s?glPiLbbx)xk(lD-QbY(OP3;MSXM5E*P&_`Zks2@46n|-h$Y2L7B)iH{GAAq19h5-y0q>d^oy^y+soJu9lXxAe%jcm?=pDLFEG2kla40e!5a}mpe zdL=WlZ=@U6{>g%5a+y-lx)01V-x;wh%F{=qy#XFEAqcd+m}_!lQ)-9iiOL%&G??t| z?&NSdaLqdPdbQs%y0?uIIHY7rw1EDxtQ=DU!i{)Dkn~c$LG5{rAUYM1j5*G@oVn9~ zizz{XH(nbw%f|wI=4rw^6mNIahQpB)OQy10^}ACdLPFc2@ldVi|v@1nWLND?)53O5|fg`RZW&XpF&s3@c-R?aad!$WoH6u0B|}zt)L($E^@U- zO#^fxu9}Zw7Xl~nG1FVM6DZSR0*t!4IyUeTrnp@?)Z)*!fhd3)&s(O+3D^#m#bAem zpf#*aiG_0S^ofpm@9O7j`VfLU0+{$x!u^}3!zp=XST0N@DZTp!7LEVJgqB1g{psNr za0uVmh3_9qah14@M_pi~vAZ#jc*&aSm$hCNDsuQ-zPe&*Ii#2=2gP+DP4=DY z_Y0lUsyE6yaV9)K)!oI6+*4|spx2at*30CAx~6-5kfJzQ`fN8$!lz%hz^J6GY?mVH zbYR^JZ(Pmj6@vy-&!`$5soyy-NqB^8cCT40&R@|6s@m+ZxPs=Bu77-+Os7+bsz4nA3DrJ8#{f98ZMaj-+BD;M+Jk?pgFcZIb}m9N z{ct9T)Kye&2>l^39O4Q2@b%sY?u#&O9PO4@t0c$NUXG}(DZJ<;_oe2~e==3Z1+`Zo zFrS3ns-c}ZognVBHbg#e+1JhC(Yq7==rSJQ8J~}%94(O#_-zJKwnBXihl#hUd9B_>+T& z7eHHPRC?5ONaUiCF7w|{J`bCWS7Q&xw-Sa={j-f)n5+I=9s;E#fBQB$`DDh<^mGiF zu-m_k+)dkBvBO(VMe2O4r^sf3;sk9K!xgXJU>|t9Vm8Ty;fl5pZzw z9j|}ZD}6}t;20^qrS?YVPuPRS<39d^y0#O1o_1P{tN0?OX!lc-ICcHI@2#$cY}_CY zev|xdFcRTQ_H)1fJ7S0*SpPs8e{d+9lR~IZ^~dKx!oxz?=Dp!fD`H=LH{EeC8C&z-zK$e=!5z8NL=4zx2{hl<5z*hEmO=b-7(k5H`bA~5gT30Sjy`@-_C zKM}^so9Ti1B;DovHByJkTK87cfbF16sk-G>`Q4-txyMkyQS$d}??|Aytz^;0GxvOs zPgH>h>K+`!HABVT{sYgzy3CF5ftv6hI-NRfgu613d|d1cg^jh+SK7WHWaDX~hlIJ3 z>%WxKT0|Db1N-a4r1oPKtF--^YbP=8Nw5CNt_ZnR{N(PXI>Cm$eqi@_IRmJ9#)~ZHK_UQ8mi}w^`+4$OihUGVz!kW^qxnCFo)-RIDbA&k-Y=+*xYv5y4^VQ9S)4W5Pe?_RjAX6lS6Nz#!Hry=+PKx2|o_H_3M`}Dq{Bl_PbP(qel~P@=m}VGW*pK96 zI@fVag{DZHi}>3}<(Hv<7cVfWiaVLWr@WWxk5}GDEbB<+Aj;(c>;p1qmyAIj+R!`@#jf$ zy4`q23L-72Zs4j?W+9lQD;CYIULt%;O3jPWg2a%Zs!5OW>5h1y{Qof!p&QxNt5=T( zd5fy&7=hyq;J8%86YBOdc$BbIFxJx>dUyTh`L z-oKa=OhRK9UPVRWS`o2x53bAv+py)o)kNL6 z9W1Dlk-g6Ht@-Z^#6%`9S9`909^EMj?9R^4IxssCY-hYzei^TLq7Cj>z$AJyaU5=z zl!xiWvz0U8kY$etrcp8mL;sYqGZD!Hs-U2N{A|^oEKA482v1T%cs%G@X9M?%lX)p$ zZoC7iYTPe8yxY0Jne|s)fCRe1mU=Vb1J_&WcIyP|x4$;VSVNC`M+e#oOA`#h>pyU6 z?7FeVpk`Hsu`~T3i<_4<5fu?RkhM;@LjKo6nX>pa%8dSdgPO9~Jze;5r>Tb1Xqh5q z&SEdTXevV@PT~!O6z|oypTk7Qq+BNF5IQ(8s18c=^0@sc8Gi|3e>VKCsaZ?6=rrck zl@oF5Bd0zH?@15PxSJIRroK4Wa?1o;An;p0#%ZJ^tI=(>AJ2OY0GP$E_3(+Zz4$AQ zW)QWl<4toIJ5TeF&gNXs>_rl}glkeG#GYbHHOv-G!%dJNoIKxn)FK$5&2Zv*AFic! z@2?sY&I*PSfZ8bU#c9fdIJQa_cQijnj39-+hS@+~e*5W3bj%A}%p9N@>*tCGOk+cF zlcSzI6j%Q|2e>QG3A<86w?cx6sBtLNWF6_YR?~C)IC6_10SNoZUHrCpp6f^*+*b8` zlx4ToZZuI0XW1W)24)92S)y0QZa);^NRTX6@gh8@P?^=#2dV9s4)Q@K+gnc{6|C}& zDLHr7nDOLrsH)L@Zy{C_2UrYdZ4V{|{c8&dRG;wY`u>w%$*p>PO_}3`Y21pk?8Wtq zGwIXTulf7AO2FkPyyh2TZXM1DJv>hI`}x`OzQI*MBc#=}jaua&czSkI2!s^rOci|V zFkp*Vbiz5vWa9HPFXMi=BV&n3?1?%8#1jq?p^3wAL`jgcF)7F4l<(H^!i=l-(OTDE zxf2p71^WRIExLf?ig0FRO$h~aA23s#L zuZPLkm>mDwBeIu*C7@n@_$oSDmdWY7*wI%aL73t~`Yu7YwE-hxAATmOi0dmB9|D5a zLsR7OQcA0`vN9m0L|5?qZ|jU+cx3_-K2!K$zDbJ$UinQy<9nd5ImWW5n^&=Gg>Gsh zY0u?m1e^c~Ug39M{{5q2L~ROq#c{eG8Oy#5h_q=#AJj2Yops|1C^nv0D1=fBOdfAG z%>=vl*+_w`&M7{qE#$xJJp_t>bSh7Mpc(RAvli9kk3{KgG5K@a-Ue{IbU{`umXrR3ra5Y7xiX42+Q%N&-0#`ae_ z#$Y6Wa++OPEDw@96Zz##PFo9sADepQe|hUy!Zzc2C(L`k9&=a8XFr+!hIS>D2{pdGP1SzwyaGLiH3j--P>U#TWw90t8{8Bt%m7Upspl#=*hS zhy|(XL6HOqBW}Og^tLX7 z+`b^L{O&oqjwbxDDTg2B;Yh2(fW>%S5Pg8^u1p*EFb z`(fbUM0`afawYt%VBfD&b3MNJ39~Ldc@SAuzsMiN%E}5{uUUBc7hc1IUE~t-Y9h@e7PC|sv$xGx=hZiMXNJxz5V(np%6u{n24iWX#!8t#>Ob$in<>dw96H)oGdTHnU zSM+BPss*5)Wz@+FkooMxxXZP1{2Nz7a6BB~-A_(c&OiM)UUNoa@J8FGxtr$)`9;|O z(Q?lq1Q+!E`}d?KemgC!{nB1JJ!B>6J@XGQp9NeQvtbM2n7F%v|IS=XWPVZY(>oq$ zf=}8O_x`KOxZoGnp=y24x}k6?gl_0dTF!M!T`={`Ii{GnT1jrG9gPh)R=RZG8lIR| z{ZJ6`x8n|y+lZuy${fuEDTAf`OP!tGySLXD}ATJO5UoZv|Xo3%7O~L63+kw}v)Ci=&tWx3bQJfL@5O18CbPlkR^IcKA zy1=^Vl-K-QBP?9^R`@;czcUw;Enbbyk@vJQB>BZ4?;DM%BUf^eZE+sOy>a){qCY6Y znYy;KGpch-zf=5|p#SoAV+ie8M5(Xg-{FoLx-wZC9IutT!(9rJ8}=!$!h%!J+vE2e z(sURwqCC35v?1>C1L)swfA^sr16{yj7-zbT6Rf26-JoEt%U?+|rQ zeBuGohE?@*!zR9)1P|3>KmJSgK*fOt>N>j}LJB`>o(G#Dduvx7@DY7};W7K;Yj|8O zGF<+gTuoIKe7Rf+LQG3-V1L^|E;F*}bQ-{kuHq}| ze_NwA7~US19sAZ)@a`g*zkl*ykv2v3tPrb4Og2#?k6Lc7@1I~+ew48N&03hW^1Cx+ zfk5Lr4-n=#HYg<7ka5i>2A@ZeJ60gl)IDX!!p zzfXZQ?GrT>JEKl7$SH!otzK6=0dIlqN)c23YLB&Krf9v-{@V8p+-e2`ujFR!^M%*; ze_7(Jh$QgoqwB!HbX=S+^wqO15O_TQ0-qX8f-|&SOuo3ZE{{9Jw5{}>MhY}|GBhO& zv48s_B=9aYQfa;d>~1Z$y^oUUaDer>7ve5+Gf?rIG4GZ!hRKERlRNgg_C{W_!3tsI2TWbX8f~MY)1Q`6Wj&JJ~*;ay_0@e zzx+mE-pu8{cEcVfBqsnm=jFU?H}xj@%CAx#NO>3 z_re3Rq%d1Y7VkKy{=S73&p;4^Praw6Y59VCP6M?!Kt7{v#DG#tz?E)`K95gH_mEvb z%$<~_mQ$ad?~&T=O0i0?`YSp?E3Dj?V>n+uTRHAXn`l!pH9Mr}^D1d@mkf+;(tV45 zH_yfs^kOGLXlN*0GU;O&{=awxd?&`{JPRr$z<1HcAO2K`K}92$wC}ky&>;L?#!(`w z68avZGvb728!vgw>;8Z8I@mLtI`?^u6R>sK4E7%=y)jpmE$fH!Dj*~(dy~-2A5Cm{ zl{1AZw`jaDmfvaB?jvKwz!GC}@-Dz|bFm1OaPw(ia#?>vF7Y5oh{NVbyD~cHB1KFn z9C@f~X*Wk3>sQH9#D~rLPslAd26@AzMh=_NkH_yTNXx6-AdbAb z{Ul89YPHslD?xAGzOlQ*aMYUl6#efCT~WI zOvyiewT=~l1W(_2cEd(8rDywOwjM-7P9!8GCL-1<9KXXO=6%!9=W++*l1L~gRSxLVd8K=A7&t52ql=J&BMQu{fa6y zXO_e>d?4X)xp2V8e3xIQGbq@+vo#&n>-_WreTTW0Yr?|YRPP43cDYACMQ(3t6(?_k zfgDOAU^-pew_f5U#WxRXB30wcfDS3;k~t@b@w^GG&<5n$Ku?tT(%bQH(@UHQGN)N|nfC~7?(etU`}XB)$>KY;s=bYGY#kD%i9fz= z2nN9l?UPMKYwn9bX*^xX8Y@%LNPFU>s#Ea1DaP%bSioqRWi9JS28suTdJycYQ+tW7 zrQ@@=13`HS*dVKaVgcem-45+buD{B;mUbY$YYULhxK)T{S?EB<8^YTP$}DA{(&)@S zS#<8S96y9K2!lG^VW-+CkfXJIH;Vo6wh)N}!08bM$I7KEW{F6tqEQ?H@(U zAqfi%KCe}2NUXALo;UN&k$rU0BLNC$24T_mcNY(a@lxR`kqNQ0z%8m>`&1ro40HX} z{{3YQ;2F9JnVTvDY<4)x+88i@MtXE6TBd7POk&QfKU-F&*C`isS(T_Q@}K)=zW#K@ zbXpcAkTT-T5k}Wj$dMZl7=GvlcCMt}U`#Oon1QdPq%>9J$rKTY8#OmlnNWBYwafhx zqFnym@okL#Xw>4SeRFejBnZzY$jbO)e^&&sHBgMP%Ygfi!9_3hp17=AwLBNFTimf0 zw6BHNXw19Jg_Ud6`5n#gMpqe%9!QB^_7wAYv8nrW94A{*t8XZu0UT&`ZHfkd(F{Px zD&NbRJP#RX<=+sEeGs2`9_*J2OlECpR;4uJie-d__m*(aaGE}HIo+3P{my@;a~9Y$ zHBXVJ83#&@o6{M+pE9^lI<4meLLFN_3rwgR4IRyp)~OF0n+#ORrcJ2_On9-78bWbG zuCO0esc*n1X3@p1?lN{qWS?l7J$^jbpeel{w~51*0CM+q9@9X=>%MF(ce~om(}?td zjkUmdUR@LOn-~6LX#=@a%rvj&>DFEoQscOvvC@&ZB5jVZ-;XzAshwx$;Qf@U41W=q zOSSjQGQV8Qi3*4DngNMIM&Cxm7z*-K`~Bl(TcEUxjQ1c=?)?wF8W1g;bAR%sM#LK( z_Op?=P%)Z+J!>vpN`By0$?B~Out%P}kCriDq@}In&fa_ZyKV+nLM0E?hfxuu%ciUz z>yAk}OydbWNl7{)#112j&qmw;*Uj&B;>|;Qwfc?5wIYIHH}s6Mve@5c5r+y)jK9i( z_}@uC(98g)==AGkVN?4>o@w=7x9qhW^ zB(b5%%4cHSV?3M?k&^py)j*LK16T^Ef4tb05-h-tyrjt$5!oo4spEfXFK7r_Gfv7#x$bsR7T zs;dqxzUg9v&GjsQGKTP*=B(;)be2aN+6>IUz+Hhw-n>^|`^xu*xvjGPaDoFh2W4-n z@Wji{5Y$m>@Vt7TE_QVQN4*vcfWv5VY-dT0SV=l=8LAEq1go*f zkjukaDV=3kMAX6GAf0QOQHwP^{Z^=#Lc)sh`QB)Ftl&31jABvq?8!3bt7#8vxB z53M{4{GR4Hl~;W3r}PgXSNOt477cO62Yj(HcK&30zsmWpvAplCtpp&mC{`2Ue*Bwu zF&UX1;w%`Bs1u%RtGPFl=&sHu@Q1nT`z={;5^c^^S~^?2-?<|F9RT*KQmfgF!7=wD@hytxbD;=9L6PZrK*1<4HMObNWehA62DtTy)q5H|57 z9dePuC!1;0MMRRl!S@VJ8qG=v^~aEU+}2Qx``h1LII!y{crP2ky*R;Cb;g|r<#ryo zju#s4dE?5CTIZKc*O4^3qWflsQ(voX>(*_JP7>Q&$%zCAIBTtKC^JUi@&l6u&t0hXMXjz_y!;r@?k|OU9aD%938^TZ>V? zqJmom_6dz4DBb4Cgs_Ef@}F%+cRCR%UMa9pi<-KHN;t#O@cA%(LO1Rb=h?5jiTs93 zPLR78p+3t>z4|j=<>2i4b`ketv}9Ax#B0)hn7@bFl;rDfP8p7u9XcEb!5*PLKB(s7wQC2kzI^@ae)|DhNDmSy1bOLid%iIap@24A(q2XI!z_hkl-$1T10 z+KKugG4-}@u8(P^S3PW4x>an;XWEF-R^gB{`t8EiP{ZtAzoZ!JRuMRS__-Gg#Qa3{<;l__CgsF+nfmFNi}p z>rV!Y6B@cC>1up)KvaEQiAvQF!D>GCb+WZsGHjDeWFz?WVAHP65aIA8u6j6H35XNYlyy8>;cWe3ekr};b;$9)0G`zsc9LNsQ&D?hvuHRpBxH)r-1t9|Stc*u<}Ol&2N+wPMom}d15_TA=Aprp zjN-X3*Af$7cDWMWp##kOH|t;c2Pa9Ml4-)o~+7P;&q8teF-l}(Jt zTGKOQqJTeT!L4d}Qw~O0aanA$Vn9Rocp-MO4l*HK)t%hcp@3k0%&_*wwpKD6ThM)R z8k}&7?)YS1ZYKMiy?mn>VXiuzX7$Ixf7EW8+C4K^)m&eLYl%#T=MC;YPvD&w#$MMf zQ=>`@rh&&r!@X&v%ZlLF42L_c=5dSU^uymKVB>5O?AouR3vGv@ei%Z|GX5v1GK2R* zi!!}?+-8>J$JH^fPu@)E6(}9$d&9-j51T^n-e0Ze%Q^)lxuex$IL^XJ&K2oi`wG}QVGk2a7vC4X?+o^z zsCK*7`EUfSuQA*K@Plsi;)2GrayQOG9OYF82Hc@6aNN5ulqs1Of-(iZQdBI^U5of^ zZg2g=Xtad7$hfYu6l~KDQ}EU;oIj(3nO#u9PDz=eO3(iax7OCmgT2p_7&^3q zg7aQ;Vpng*)kb6=sd5?%j5Dm|HczSChMo8HHq_L8R;BR5<~DVyU$8*Tk5}g0eW5x7 z%d)JFZ{(Y<#OTKLBA1fwLM*fH7Q~7Sc2Ne;mVWqt-*o<;| z^1@vo_KTYaMnO$7fbLL+qh#R$9bvnpJ$RAqG+z8h|} z3F5iwG*(sCn9Qbyg@t0&G}3fE0jGq3J!JmG2K&$urx^$z95) z7h?;4vE4W=v)uZ*Eg3M^6f~|0&T)2D;f+L_?M*21-I1pnK(pT$5l#QNlT`SidYw~o z{`)G)Asv#cue)Ax1RNWiRUQ(tQ(bzd-f2U4xlJK+)ZWBxdq#fp=A>+Qc%-tl(c)`t z$e2Ng;Rjvnbu7((;v4LF9Y1?0el9hi!g>G{^37{ z`^s-03Z5jlnD%#Mix19zkU_OS|86^_x4<0(*YbPN}mi-$L?Z4K(M|2&VV*n*ZYN_UqI?eKZi3!b)i z%n3dzUPMc-dc|q}TzvPy!VqsEWCZL(-eURDRG4+;Eu!LugSSI4Fq$Ji$Dp08`pfP_C5Yx~`YKcywlMG;$F z)R5!kVml_Wv6MSpeXjG#g?kJ0t_MEgbXlUN3k|JJ%N>|2xn8yN>>4qxh!?dGI}s|Y zDTKd^JCrRSN+%w%D_uf=Tj6wIV$c*g8D96jb^Kc#>5Fe-XxKC@!pIJw0^zu;`_yeb zhUEm-G*C=F+jW%cP(**b61fTmPn2WllBr4SWNdKe*P8VabZsh0-R|?DO=0x`4_QY) zR7sthW^*BofW7{Sak&S1JdiG?e=SfL24Y#w_)xrBVhGB-13q$>mFU|wd9Xqe-o3{6 zSn@@1@&^)M$rxb>UmFuC+pkio#T;mSnroMVZJ%nZ!uImi?%KsIX#@JU2VY(`kGb1A z7+1MEG)wd@)m^R|a2rXeviv$!emwcY(O|M*xV!9%tBzarBOG<4%gI9SW;Um_gth4=gznYzOFd)y8e+3APCkL)i-OI`;@7-mCJgE`js(M} z;~ZcW{{FMVVO)W>VZ}ILouF#lWGb%Couu}TI4kubUUclW@jEn6B_^v!Ym*(T*4HF9 zWhNKi8%sS~viSdBtnrq!-Dc5(G^XmR>DFx8jhWvR%*8!m*b*R8e1+`7{%FACAK`7 zzdy8TmBh?FVZ0vtw6npnWwM~XjF2fNvV#ZlGG z?FxHkXHN>JqrBYoPo$)zNC7|XrQfcqmEXWud~{j?La6@kbHG@W{xsa~l1=%eLly8B z4gCIH05&Y;6O2uFSopNqP|<$ml$N40^ikxw0`o<~ywS1(qKqQN!@?Ykl|bE4M?P+e zo$^Vs_+x)iuw?^>>`$&lOQOUkZ5>+OLnRA)FqgpDjW&q*WAe(_mAT6IKS9;iZBl8M z<@=Y%zcQUaSBdrs27bVK`c$)h6A1GYPS$y(FLRD5Yl8E3j0KyH08#8qLrsc_qlws; znMV%Zq8k+&T2kf%6ZO^2=AE9>?a587g%-={X}IS~P*I(NeCF9_9&`)|ok0iiIun zo+^odT0&Z4k;rn7I1v87=z!zKU(%gfB$(1mrRYeO$sbqM22Kq68z9wgdg8HBxp>_< zn9o%`f?sVO=IN#5jSX&CGODWlZfQ9A)njK2O{JutYwRZ?n0G_p&*uwpE`Md$iQxrd zoQfF^b8Ou)+3BO_3_K5y*~?<(BF@1l+@?Z6;^;U>qlB)cdro;rxOS1M{Az$s^9o5sXDCg8yD<=(pKI*0e zLk>@lo#&s0)^*Q+G)g}C0IErqfa9VbL*Qe=OT@&+N8m|GJF7jd83vY#SsuEv2s{Q> z>IpoubNs>D_5?|kXGAPgF@mb_9<%hjU;S0C8idI)a=F#lPLuQJ^7OnjJlH_Sks9JD zMl1td%YsWq3YWhc;E$H1<0P$YbSTqs`JKY%(}svsifz|h8BHguL82dBl+z0^YvWk8 zGy;7Z0v5_FJ2A$P0wIr)lD?cPR%cz>kde!=W%Ta^ih+Dh4UKdf7ip?rBz@%y2&>`6 zM#q{JXvW9ZlaSk1oD!n}kSmcDa2v6T^Y-dy+#fW^y>eS8_%<7tWXUp8U@s$^{JFfKMjDAvR z$YmVB;n3ofl!ro9RNT!TpQpcycXCR}$9k5>IPWDXEenQ58os?_weccrT+Bh5sLoiH zZ_7~%t(vT)ZTEO= zb0}@KaD{&IyK_sd8b$`Qz3%UA`nSo zn``!BdCeN!#^G;lK@G2ron*0jQhbdw)%m$2;}le@z~PSLnU-z@tL)^(p%P>OO^*Ff zNRR9oQ`W+x^+EU+3BpluwK77|B3=8QyT|$V;02bn_LF&3LhLA<#}{{)jE)}CiW%VEU~9)SW+=F%7U-iYlQ&q!#N zwI2{(h|Pi&<8_fqvT*}FLN^0CxN}#|3I9G_xmVg$gbn2ZdhbmGk7Q5Q2Tm*ox8NMo zv`iaZW|ZEOMyQga5fts?&T-eCCC9pS0mj7v0SDkD=*^MxurP@89v&Z#3q{FM!a_nr zb?KzMv`BBFOew>4!ft@A&(v-kWXny-j#egKef|#!+3>26Qq0 zv!~8ev4G`7Qk>V1TaMT-&ziqoY3IJp8_S*%^1j73D|=9&;tDZH^!LYFMmME4*Wj(S zRt~Q{aLb_O;wi4u&=}OYuj}Lw*j$@z*3>4&W{)O-oi@9NqdoU!=U%d|se&h?^$Ip# z)BY+(1+cwJz!yy4%l(aLC;T!~Ci>yAtXJb~b*yr&v7f{YCU8P|N1v~H`xmGsG)g)y z4%mv=cPd`s7a*#OR7f0lpD$ueP>w8qXj0J&*7xX+U!uat5QNk>zwU$0acn5p=$88L=jn_QCSYkTV;1~(yUem#0gB`FeqY98sf=>^@ z_MCdvylv~WL%y_%y_FE1)j;{Szj1+K7Lr_y=V+U zk6Tr;>XEqlEom~QGL!a+wOf(@ZWoxE<$^qHYl*H1a~kk^BLPn785%nQb$o;Cuz0h& za9LMx^bKEbPS%e8NM33Jr|1T|ELC(iE!FUci38xW_Y7kdHid#2ie+XZhP;2!Z;ZAM zB_cXKm)VrPK!SK|PY00Phwrpd+x0_Aa;}cDQvWKrwnQrqz##_gvHX2ja?#_{f#;bz`i>C^^ zTLDy;6@HZ~XQi7rph!mz9k!m;KchA)uMd`RK4WLK7)5Rl48m#l>b(#`WPsl<0j z-sFkSF6>Nk|LKnHtZ`W_NnxZP62&w)S(aBmmjMDKzF%G;3Y?FUbo?>b5;0j8Lhtc4 zr*8d5Y9>g@FFZaViw7c16VsHcy0u7M%6>cG1=s=Dtx?xMJSKIu9b6GU8$uSzf43Y3 zYq|U+IWfH;SM~*N1v`KJo!|yfLxTFS?oHsr3qvzeVndVV^%BWmW6re_S!2;g<|Oao z+N`m#*i!)R%i1~NO-xo{qpwL0ZrL7hli;S z3L0lQ_z}z`fdK39Mg~Zd*%mBdD;&5EXa~@H(!###L`ycr7gW`f)KRuqyHL3|uyy3h zSS^td#E&Knc$?dXs*{EnPYOp^-vjAc-h4z#XkbG&REC7;0>z^^Z}i8MxGKerEY z>l?(wReOlXEsNE5!DO&ZWyxY)gG#FSZs%fXuzA~XIAPVp-%yb2XLSV{1nH6{)5opg z(dZKckn}Q4Li-e=eUDs1Psg~5zdn1>ql(*(nn6)iD*OcVkwmKL(A{fix(JhcVB&}V zVt*Xb!{gzvV}dc446>(D=SzfCu7KB`oMjv6kPzSv&B>>HLSJP|wN`H;>oRw*tl#N) z*zZ-xwM7D*AIsBfgqOjY1Mp9aq$kRa^dZU_xw~KxP;|q(m+@e+YSn~`wEJzM|Ippb zzb@%;hB7iH4op9SqmX?j!KP2chsb79(mFossBO-Zj8~L}9L%R%Bw<`^X>hjkCY5SG z7lY!8I2mB#z)1o;*3U$G)3o0A&{0}#B;(zPd2`OF`Gt~8;0Re8nIseU z_yzlf$l+*-wT~_-cYk$^wTJ@~7i@u(CZs9FVkJCru<*yK8&>g+t*!JqCN6RH%8S-P zxH8+Cy#W?!;r?cLMC(^BtAt#xPNnwboI*xWw#T|IW^@3|q&QYY6Ehxoh@^URylR|T zne-Y6ugE^7p5bkRDWIh)?JH5V^ub82l-LuVjDr7UT^g`q4dB&mBFRWGL_C?hoeL(% zo}ocH5t7|1Mda}T!^{Qt9vmA2ep4)dQSZO>?Eq8}qRp&ZJ?-`Tnw+MG(eDswP(L*X3ahC2Ad0_wD^ff9hfzb%Jd`IXx5 zae@NMzBXJDwJS?7_%!TB^E$N8pvhOHDK$7YiOelTY`6KX8hK6YyT$tk*adwN>s^Kp zwM3wGVPhwKU*Yq-*BCs}l`l#Tej(NQ>jg*S0TN%D+GcF<14Ms6J`*yMY;W<-mMN&-K>((+P}+t+#0KPGrzjP zJ~)=Bcz%-K!L5ozIWqO(LM)l_9lVOc4*S65&DKM#TqsiWNG{(EZQw!bc>qLW`=>p-gVJ;T~aN2D_- z{>SZC=_F+%hNmH6ub%Ykih0&YWB!%sd%W5 zHC2%QMP~xJgt4>%bU>%6&uaDtSD?;Usm}ari0^fcMhi_)JZgb1g5j zFl4`FQ*%ROfYI}e7RIq^&^a>jZF23{WB`T>+VIxj%~A-|m=J7Va9FxXV^%UwccSZd zuWINc-g|d6G5;95*%{e;9S(=%yngpfy+7ao|M7S|Jb0-4+^_q-uIqVS&ufU880UDH*>(c)#lt2j zzvIEN>>$Y(PeALC-D?5JfH_j+O-KWGR)TKunsRYKLgk7eu4C{iF^hqSz-bx5^{z0h ze2+u>Iq0J4?)jIo)}V!!m)%)B;a;UfoJ>VRQ*22+ncpe9f4L``?v9PH&;5j{WF?S_C>Lq>nkChZB zjF8(*v0c(lU^ZI-)_uGZnnVRosrO4`YinzI-RSS-YwjYh3M`ch#(QMNw*)~Et7Qpy z{d<3$4FUAKILq9cCZpjvKG#yD%-juhMj>7xIO&;c>_7qJ%Ae8Z^m)g!taK#YOW3B0 zKKSMOd?~G4h}lrZbtPk)n*iOC1~mDhASGZ@N{G|dF|Q^@1ljhe=>;wusA&NvY*w%~ zl+R6B^1yZiF)YN>0ms%}qz-^U-HVyiN3R9k1q4)XgDj#qY4CE0)52%evvrrOc898^ z*^)XFR?W%g0@?|6Mxo1ZBp%(XNv_RD-<#b^?-Fs+NL^EUW=iV|+Vy*F%;rBz~pN7%-698U-VMfGEVnmEz7fL1p)-5sLT zL;Iz>FCLM$p$c}g^tbkGK1G$IALq1Gd|We@&TtW!?4C7x4l*=4oF&&sr0Hu`x<5!m zhX&&Iyjr?AkNXU_5P_b^Q3U9sy#f6ZF@2C96$>1k*E-E%DjwvA{VL0PdU~suN~DZo zm{T!>sRdp`Ldpp9olrH@(J$QyGq!?#o1bUo=XP2OEuT3`XzI>s^0P{manUaE4pI%! zclQq;lbT;nx7v3tR9U)G39h?ryrxzd0xq4KX7nO?piJZbzT_CU&O=T(Vt;>jm?MgC z2vUL#*`UcMsx%w#vvjdamHhmN!(y-hr~byCA-*iCD};#l+bq;gkwQ0oN=AyOf@8ow>Pj<*A~2*dyjK}eYdN);%!t1 z6Y=|cuEv-|5BhA?n2Db@4s%y~(%Wse4&JXw=HiO48%c6LB~Z0SL1(k^9y?ax%oj~l zf7(`iAYLdPRq*ztFC z7VtAb@s{as%&Y;&WnyYl+6Wm$ru*u!MKIg_@01od-iQft0rMjIj8e7P9eKvFnx_X5 zd%pDg-|8<>T2Jdqw>AII+fe?CgP+fL(m0&U??QL8YzSjV{SFi^vW~;wN@or_(q<0Y zRt~L}#JRcHOvm$CB)T1;;7U>m%)QYBLTR)KTARw%zoDxgssu5#v{UEVIa<>{8dtkm zXgbCGp$tfue+}#SD-PgiNT{Zu^YA9;4BnM(wZ9-biRo_7pN}=aaimjYgC=;9@g%6< zxol5sT_$<8{LiJ6{l1+sV)Z_QdbsfEAEMw!5*zz6)Yop?T0DMtR_~wfta)E6_G@k# zZRP11D}$ir<`IQ`<(kGfAS?O-DzCyuzBq6dxGTNNTK?r^?zT30mLY!kQ=o~Hv*k^w zvq!LBjW=zzIi%UF@?!g9vt1CqdwV(-2LYy2=E@Z?B}JDyVkluHtzGsWuI1W5svX~K z&?UJ45$R7g>&}SFnLnmw09R2tUgmr_w6mM9C}8GvQX>nL&5R#xBqnp~Se(I>R42`T zqZe9p6G(VzNB3QD><8+y%{e%6)sZDRXTR|MI zM#eZmao-~_`N|>Yf;a;7yvd_auTG#B?Vz5D1AHx=zpVUFe7*hME z+>KH5h1In8hsVhrstc>y0Q!FHR)hzgl+*Q&5hU9BVJlNGRkXiS&06eOBV^dz3;4d5 zeYX%$62dNOprZV$px~#h1RH?_E%oD6y;J;pF%~y8M)8pQ0olYKj6 zE+hd|7oY3ot=j9ZZ))^CCPADL6Jw%)F@A{*coMApcA$7fZ{T@3;WOQ352F~q6`Mgi z$RI6$8)a`Aaxy<8Bc;{wlDA%*%(msBh*xy$L-cBJvQ8hj#FCyT^%+Phw1~PaqyDou^JR0rxDkSrmAdjeYDFDZ`E z)G3>XtpaSPDlydd$RGHg;#4|4{aP5c_Om z2u5xgnhnA)K%8iU==}AxPxZCYC)lyOlj9as#`5hZ=<6<&DB%i_XCnt5=pjh?iusH$ z>)E`@HNZcAG&RW3Ys@`Ci{;8PNzE-ZsPw$~Wa!cP$ye+X6;9ceE}ah+3VY7Mx}#0x zbqYa}eO*FceiY2jNS&2cH9Y}(;U<^^cWC5Ob&)dZedvZA9HewU3R;gRQ)}hUdf+~Q zS_^4ds*W1T#bxS?%RH&<739q*n<6o|mV;*|1s>ly-Biu<2*{!!0#{_234&9byvn0* z5=>{95Zfb{(?h_Jk#ocR$FZ78O*UTOxld~0UF!kyGM|nH%B*qf)Jy}N!uT9NGeM19 z-@=&Y0yGGo_dw!FD>juk%P$6$qJkj}TwLBoefi;N-$9LAeV|)|-ET&culW9Sb_pc_ zp{cXI0>I0Jm_i$nSvGnYeLSSj{ccVS2wyL&0x~&5v;3Itc82 z5lIAkfn~wcY-bQB$G!ufWt%qO;P%&2B_R5UKwYxMemIaFm)qF1rA zc>gEihb=jBtsXCi0T%J37s&kt*3$s7|6)L(%UiY)6axuk{6RWIS8^+u;)6!R?Sgap z9|6<0bx~AgVi|*;zL@2x>Pbt2Bz*uv4x-`{F)XatTs`S>unZ#P^ZiyjpfL_q2z^fqgR-fbOcG=Y$q>ozkw1T6dH8-)&ww+z?E0 zR|rV(9bi6zpX3Ub>PrPK!{X>e$C66qCXAeFm)Y+lX8n2Olt7PNs*1^si)j!QmFV#t z0P2fyf$N^!dyTot&`Ew5{i5u<8D`8U`qs(KqaWq5iOF3x2!-z65-|HsyYz(MAKZ?< zCpQR;E)wn%s|&q(LVm0Ab>gdmCFJeKwVTnv@Js%!At;I=A>h=l=p^&<4;Boc{$@h< z38v`3&2wJtka@M}GS%9!+SpJ}sdtoYzMevVbnH+d_eMxN@~~ zZq@k)7V5f8u!yAX2qF3qjS7g%n$JuGrMhQF!&S^7(%Y{rP*w2FWj(v_J{+Hg*}wdWOd~pHQ19&n3RWeljK9W%sz&Y3Tm3 zR`>6YR54%qBHGa)2xbs`9cs_EsNHxsfraEgZ)?vrtooeA0sPKJK7an){ngtV@{SBa zkO6ORr1_Xqp+`a0e}sC*_y(|RKS13ikmHp3C^XkE@&wjbGWrt^INg^9lDz#B;bHiW zkK4{|cg08b!yHFSgPca5)vF&gqCgeu+c82%&FeM^Bb}GUxLy-zo)}N;#U?sJ2?G2BNe*9u_7kE5JeY!it=f`A_4gV3} z`M!HXZy#gN-wS!HvHRqpCHUmjiM;rVvpkC!voImG%OFVN3k(QG@X%e``VJSJ@Z7tb z*Onlf>z^D+&$0!4`IE$;2-NSO9HQWd+UFW(r;4hh;(j^p4H-~6OE!HQp^96v?{9Zt z;@!ZcccV%C2s6FMP#qvo4kG6C04A>XILt>JW}%0oE&HM5f6 zYLD!;My>CW+j<~=Wzev{aYtx2ZNw|ptTFV(4;9`6Tmbz6K1)fv4qPXa2mtoPt&c?P zhmO+*o8uP3ykL6E$il00@TDf6tOW7fmo?Oz_6GU^+5J=c22bWyuH#aNj!tT-^IHrJ zu{aqTYw@q;&$xDE*_kl50Jb*dp`(-^p={z}`rqECTi~3 z>0~A7L6X)=L5p#~$V}gxazgGT7$3`?a)zen>?TvAuQ+KAIAJ-s_v}O6@`h9n-sZk> z`3{IJeb2qu9w=P*@q>iC`5wea`KxCxrx{>(4{5P+!cPg|pn~;n@DiZ0Y>;k5mnKeS z!LIfT4{Lgd=MeysR5YiQKCeNhUQ;Os1kAymg6R!u?j%LF z4orCszIq_n52ulpes{(QN|zirdtBsc{9^Z72Ycb2ht?G^opkT_#|4$wa9`)8k3ilU z%ntAi`nakS1r10;#k^{-ZGOD&Z2|k=p40hRh5D7(&JG#Cty|ECOvwsSHkkSa)36$4 z?;v#%@D(=Raw(HP5s>#4Bm?f~n1@ebH}2tv#7-0l-i^H#H{PC|F@xeNS+Yw{F-&wH z07)bj8MaE6`|6NoqKM~`4%X> zKFl&7g1$Z3HB>lxn$J`P`6GSb6CE6_^NA1V%=*`5O!zP$a7Vq)IwJAki~XBLf=4TF zPYSL}>4nOGZ`fyHChq)jy-f{PKFp6$plHB2=;|>%Z^%)ecVue(*mf>EH_uO^+_zm? zJATFa9SF~tFwR#&0xO{LLf~@}s_xvCPU8TwIJgBs%FFzjm`u?1699RTui;O$rrR{# z1^MqMl5&6)G%@_k*$U5Kxq84!AdtbZ!@8FslBML}<`(Jr zenXrC6bFJP=R^FMBg7P?Pww-!a%G@kJH_zezKvuWU0>m1uyy}#Vf<$>u?Vzo3}@O% z1JR`B?~Tx2)Oa|{DQ_)y9=oY%haj!80GNHw3~qazgU-{|q+Bl~H94J!a%8UR?XsZ@ z0*ZyQugyru`V9b(0OrJOKISfi89bSVR zQy<+i_1XY}4>|D%X_`IKZUPz6=TDb)t1mC9eg(Z=tv zq@|r37AQM6A%H%GaH3szv1L^ku~H%5_V*fv$UvHl*yN4iaqWa69T2G8J2f3kxc7UE zOia@p0YNu_q-IbT%RwOi*|V|&)e5B-u>4=&n@`|WzH}BK4?33IPpXJg%`b=dr_`hU z8JibW_3&#uIN_#D&hX<)x(__jUT&lIH$!txEC@cXv$7yB&Rgu){M`9a`*PH} zRcU)pMWI2O?x;?hzR{WdzKt^;_pVGJAKKd)F$h;q=Vw$MP1XSd<;Mu;EU5ffyKIg+ z&n-Nb?h-ERN7(fix`htopPIba?0Gd^y(4EHvfF_KU<4RpN0PgVxt%7Yo99X*Pe|zR z?ytK&5qaZ$0KSS$3ZNS$$k}y(2(rCl=cuYZg{9L?KVgs~{?5adxS))Upm?LDo||`H zV)$`FF3icFmxcQshXX*1k*w3O+NjBR-AuE70=UYM*7>t|I-oix=bzDwp2*RoIwBp@r&vZukG; zyi-2zdyWJ3+E?{%?>e2Ivk`fAn&Ho(KhGSVE4C-zxM-!j01b~mTr>J|5={PrZHOgO zw@ND3=z(J7D>&C7aw{zT>GHhL2BmUX0GLt^=31RRPSnjoUO9LYzh_yegyPoAKhAQE z>#~O27dR4&LdQiak6={9_{LN}Z>;kyVYKH^d^*!`JVSXJlx#&r4>VnP$zb{XoTb=> zZsLvh>keP3fkLTIDdpf-@(ADfq4=@X=&n>dyU0%dwD{zsjCWc;r`-e~X$Q3NTz_TJ zOXG|LMQQIjGXY3o5tBm9>k6y<6XNO<=9H@IXF;63rzsC=-VuS*$E{|L_i;lZmHOD< zY92;>4spdeRn4L6pY4oUKZG<~+8U-q7ZvNOtW0i*6Q?H`9#U3M*k#4J;ek(MwF02x zUo1wgq9o6XG#W^mxl>pAD)Ll-V5BNsdVQ&+QS0+K+?H-gIBJ-ccB1=M_hxB6qcf`C zJ?!q!J4`kLhAMry4&a_0}up{CFevcjBl|N(uDM^N5#@&-nQt2>z*U}eJGi}m5f}l|IRVj-Q;a>wcLpK5RRWJ> zysdd$)Nv0tS?b~bw1=gvz3L_ZAIdDDPj)y|bp1;LE`!av!rODs-tlc}J#?erTgXRX z$@ph%*~_wr^bQYHM7<7=Q=45v|Hk7T=mDpW@OwRy3A_v`ou@JX5h!VI*e((v*5Aq3 zVYfB4<&^Dq5%^?~)NcojqK`(VXP$`#w+&VhQOn%;4pCkz;NEH6-FPHTQ+7I&JE1+Ozq-g43AEZV>ceQ^9PCx zZG@OlEF~!Lq@5dttlr%+gNjRyMwJdJU(6W_KpuVnd{3Yle(-p#6erIRc${l&qx$HA z89&sp=rT7MJ=DuTL1<5{)wtUfpPA|Gr6Q2T*=%2RFm@jyo@`@^*{5{lFPgv>84|pv z%y{|cVNz&`9C*cUely>-PRL)lHVErAKPO!NQ3<&l5(>Vp(MuJnrOf^4qpIa!o3D7( z1bjn#Vv$#or|s7Hct5D@%;@48mM%ISY7>7@ft8f?q~{s)@BqGiupoK1BAg?PyaDQ1 z`YT8{0Vz{zBwJ={I4)#ny{RP{K1dqzAaQN_aaFC%Z>OZ|^VhhautjDavGtsQwx@WH zr|1UKk^+X~S*RjCY_HN!=Jx>b6J8`Q(l4y|mc<6jnkHVng^Wk(A13-;AhawATsmmE#H%|8h}f1frs2x@Fwa_|ea+$tdG2Pz{7 z!ox^w^>^Cv4e{Xo7EQ7bxCe8U+LZG<_e$RnR?p3t?s^1Mb!ieB z#@45r*PTc_yjh#P=O8Zogo+>1#|a2nJvhOjIqKK1U&6P)O%5s~M;99O<|Y9zomWTL z666lK^QW`)cXV_^Y05yQZH3IRCW%25BHAM$c0>w`x!jh^15Zp6xYb!LoQ zr+RukTw0X2mxN%K0%=8|JHiaA3pg5+GMfze%9o5^#upx0M?G9$+P^DTx7~qq9$Qoi zV$o)yy zuUq>3c{_q+HA5OhdN*@*RkxRuD>Bi{Ttv_hyaaB;XhB%mJ2Cb{yL;{Zu@l{N?!GKE7es6_9J{9 zO(tmc0ra2;@oC%SS-8|D=omQ$-Dj>S)Utkthh{ovD3I%k}HoranSepC_yco2Q8 zY{tAuPIhD{X`KbhQIr%!t+GeH%L%q&p z3P%<-S0YY2Emjc~Gb?!su85}h_qdu5XN2XJUM}X1k^!GbwuUPT(b$Ez#LkG6KEWQB z7R&IF4srHe$g2R-SB;inW9T{@+W+~wi7VQd?}7||zi!&V^~o0kM^aby7YE_-B63^d zf_uo8#&C77HBautt_YH%v6!Q>H?}(0@4pv>cM6_7dHJ)5JdyV0Phi!)vz}dv{*n;t zf(+#Hdr=f8DbJqbMez)(n>@QT+amJ7g&w6vZ-vG^H1v~aZqG~u!1D(O+jVAG0EQ*aIsr*bsBdbD`)i^FNJ z&B@yxqPFCRGT#}@dmu-{0vp47xk(`xNM6E=7QZ5{tg6}#zFrd8Pb_bFg7XP{FsYP8 zbvWqG6#jfg*4gvY9!gJxJ3l2UjP}+#QMB(*(?Y&Q4PO`EknE&Cb~Yb@lCbk;-KY)n zzbjS~W5KZ3FV%y>S#$9Sqi$FIBCw`GfPDP|G=|y32VV-g@a1D&@%_oAbB@cAUx#aZ zlAPTJ{iz#Qda8(aNZE&0q+8r3&z_Ln)b=5a%U|OEcc3h1f&8?{b8ErEbilrun}mh3 z$1o^$-XzIiH|iGoJA`w`o|?w3m*NX|sd$`Mt+f*!hyJvQ2fS*&!SYn^On-M|pHGlu z4SC5bM7f6BAkUhGuN*w`97LLkbCx=p@K5RL2p>YpDtf{WTD|d3ucb6iVZ-*DRtoEA zCC5(x)&e=giR_id>5bE^l%Mxx>0@FskpCD4oq@%-Fg$8IcdRwkfn;DsjoX(v;mt3d z_4Mnf#Ft4x!bY!7Hz?RRMq9;5FzugD(sbt4up~6j?-or+ch~y_PqrM2hhTToJjR_~ z)E1idgt7EW>G*9%Q^K;o_#uFjX!V2pwfpgi>}J&p_^QlZki!@#dkvR`p?bckC`J*g z=%3PkFT3HAX2Q+dShHUbb1?ZcK8U7oaufLTCB#1W{=~k0Jabgv>q|H+GU=f-y|{p4 zwN|AE+YbCgx=7vlXE?@gkXW9PaqbO#GB=4$o0FkNT#EI?aLVd2(qnPK$Yh%YD%v(mdwn}bgsxyIBI^)tY?&G zi^2JfClZ@4b{xFjyTY?D61w@*ez2@5rWLpG#34id?>>oPg{`4F-l`7Lg@D@Hc}On} zx%BO4MsLYosLGACJ-d?ifZ35r^t*}wde>AAWO*J-X%jvD+gL9`u`r=kP zyeJ%FqqKfz8e_3K(M1RmB?gIYi{W7Z<THP2ihue0mbpu5n(x_l|e1tw(q!#m5lmef6ktqIb${ zV+ee#XRU}_dDDUiV@opHZ@EbQ<9qIZJMDsZDkW0^t3#j`S)G#>N^ZBs8k+FJhAfu< z%u!$%dyP3*_+jUvCf-%{x#MyDAK?#iPfE<(@Q0H7;a125eD%I(+!x1f;Sy`e<9>nm zQH4czZDQmW7^n>jL)@P@aAuAF$;I7JZE5a8~AJI5CNDqyf$gjloKR7C?OPt9yeH}n5 zNF8Vhmd%1O>T4EZD&0%Dt7YWNImmEV{7QF(dy!>q5k>Kh&Xy8hcBMUvVV~Xn8O&%{ z&q=JCYw#KlwM8%cu-rNadu(P~i3bM<_a{3!J*;vZhR6dln6#eW0^0kN)Vv3!bqM`w z{@j*eyzz=743dgFPY`Cx3|>ata;;_hQ3RJd+kU}~p~aphRx`03B>g4*~f%hUV+#D9rYRbsGD?jkB^$3XcgB|3N1L& zrmk9&Dg450mAd=Q_p?gIy5Zx7vRL?*rpNq76_rysFo)z)tp0B;7lSb9G5wX1vC9Lc z5Q8tb-alolVNWFsxO_=12o}X(>@Mwz1mkYh1##(qQwN=7VKz?61kay8A9(94Ky(4V zq6qd2+4a20Z0QRrmp6C?4;%U?@MatfXnkj&U6bP_&2Ny}BF%4{QhNx*Tabik9Y-~Z z@0WV6XD}aI(%pN}oW$X~Qo_R#+1$@J8(31?zM`#e`#(0f<-AZ^={^NgH#lc?oi(Mu zMk|#KR^Q;V@?&(sh5)D;-fu)rx%gXZ1&5)MR+Mhssy+W>V%S|PRNyTAd}74<(#J>H zR(1BfM%eIv0+ngHH6(i`?-%_4!6PpK*0X)79SX0X$`lv_q>9(E2kkkP;?c@rW2E^Q zs<;`9dg|lDMNECFrD3jTM^Mn-C$44}9d9Kc z#>*k&e#25;D^%82^1d@Yt{Y91MbEu0C}-;HR4+IaCeZ`l?)Q8M2~&E^FvJ?EBJJ(% zz1>tCW-E~FB}DI}z#+fUo+=kQME^=eH>^%V8w)dh*ugPFdhMUi3R2Cg}Zak4!k_8YW(JcR-)hY8C zXja}R7@%Q0&IzQTk@M|)2ViZDNCDRLNI)*lH%SDa^2TG4;%jE4n`8`aQAA$0SPH2@ z)2eWZuP26+uGq+m8F0fZn)X^|bNe z#f{qYZS!(CdBdM$N2(JH_a^b#R2=>yVf%JI_ieRFB{w&|o9txwMrVxv+n78*aXFGb z>Rkj2yq-ED<)A46T9CL^$iPynv`FoEhUM10@J+UZ@+*@_gyboQ>HY9CiwTUo7OM=w zd~$N)1@6U8H#Zu(wGLa_(Esx%h@*pmm5Y9OX@CY`3kPYPQx@z8yAgtm(+agDU%4?c zy8pR4SYbu8vY?JX6HgVq7|f=?w(%`m-C+a@E{euXo>XrGmkmFGzktI*rj*8D z)O|CHKXEzH{~iS+6)%ybRD|JRQ6j<+u_+=SgnJP%K+4$st+~XCVcAjI9e5`RYq$n{ zzy!X9Nv7>T4}}BZpSj9G9|(4ei-}Du<_IZw+CB`?fd$w^;=j8?vlp(#JOWiHaXJjB0Q00RHJ@sG6N#y^H7t^&V} z;VrDI4?75G$q5W9mV=J2iP24NHJy&d|HWHva>FaS#3AO?+ohh1__FMx;?`f{HG3v0 ztiO^Wanb>U4m9eLhoc_2B(ca@YdnHMB*~aYO+AE(&qh@?WukLbf_y z>*3?Xt-lxr?#}y%kTv+l8;!q?Hq8XSU+1E8x~o@9$)zO2z9K#(t`vPDri`mKhv|sh z{KREcy`#pnV>cTT7dm7M9B@9qJRt3lfo(C`CNkIq@>|2<(yn!AmVN?ST zbX_`JjtWa3&N*U{K7FYX8})*D#2@KBae` zhKS~s!r%SrXdhCsv~sF}7?ocyS?afya6%rDBu6g^b2j#TOGp^1zrMR}|70Z>CeYq- z1o|-=FBKlu{@;pm@QQJ_^!&hzi;0Z_Ho){x3O1KQ#TYk=rAt9`YKC0Y^}8GWIN{QW znYJyVTrmNvl!L=YS1G8BAxGmMUPi+Q7yb0XfG`l+L1NQVSbe^BICYrD;^(rke{jWCEZOtVv3xFze!=Z&(7}!)EcN;v0Dbit?RJ6bOr;N$ z=nk8}H<kCEE+IK3z<+3mkn4q!O7TMWpKShWWWM)X*)m6k%3luF6c>zOsFccvfLWf zH+mNkh!H@vR#~oe=ek}W3!71z$Dlj0c(%S|sJr>rvw!x;oCek+8f8s!U{DmfHcNpO z9>(IKOMfJwv?ey`V2ysSx2Npeh_x#bMh)Ngdj$al;5~R7Ac5R2?*f{hI|?{*$0qU- zY$6}ME%OGh^zA^z9zJUs-?a4ni8cw_{cYED*8x{bWg!Fn9)n;E9@B+t;#k}-2_j@# zg#b%R(5_SJAOtfgFCBZc`n<&z6)%nOIu@*yo!a% zpLg#36KBN$01W{b;qWN`Tp(T#jh%;Zp_zpS64lvBVY2B#UK)p`B4Oo)IO3Z&D6<3S zfF?ZdeNEnzE{}#gyuv)>;z6V{!#bx)` zY;hL*f(WVD*D9A4$WbRKF2vf;MoZVdhfWbWhr{+Db5@M^A4wrFReuWWimA4qp`GgoL2`W4WPUL5A=y3Y3P z%G?8lLUhqo@wJW8VDT`j&%YY7xh51NpVYlsrk_i4J|pLO(}(b8_>%U2M`$iVRDc-n zQiOdJbroQ%*vhN{!{pL~N|cfGooK_jTJCA3g_qs4c#6a&_{&$OoSQr_+-O^mKP=Fu zGObEx`7Qyu{nHTGNj(XSX*NPtAILL(0%8Jh)dQh+rtra({;{W2=f4W?Qr3qHi*G6B zOEj7%nw^sPy^@05$lOCjAI)?%B%&#cZ~nC|=g1r!9W@C8T0iUc%T*ne z)&u$n>Ue3FN|hv+VtA+WW)odO-sdtDcHfJ7s&|YCPfWaVHpTGN46V7Lx@feE#Od%0XwiZy40plD%{xl+K04*se zw@X4&*si2Z_0+FU&1AstR)7!Th(fdaOlsWh`d!y=+3m!QC$Zlkg8gnz!}_B7`+wSz z&kD?6{zPnE3uo~Tv8mLP%RaNt2hcCJBq=0T>%MW~Q@Tpt2pPP1?KcywH>in5@ zx+5;xu-ltFfo5vLU;2>r$-KCHjwGR&1XZ0YNyrXXAUK!FLM_7mV&^;;X^*YH(FLRr z`0Jjg7wiq2bisa`CG%o9i)o1`uG?oFjU_Zrv1S^ipz$G-lc^X@~6*)#%nn+RbgksJfl{w=k31(q>7a!PCMp5YY{+Neh~mo zG-3dd!0cy`F!nWR?=9f_KP$X?Lz&cLGm_ohy-|u!VhS1HG~e7~xKpYOh=GmiiU;nu zrZ5tWfan3kp-q_vO)}vY6a$19Q6UL0r znJ+iSHN-&w@vDEZ0V%~?(XBr|jz&vrBNLOngULxtH(Rp&U*rMY42n;05F11xh?k;n_DX2$4|vWIkXnbwfC z=ReH=(O~a;VEgVO?>qsP*#eOC9Y<_9Yt<6X}X{PyF7UXIA$f)>NR5P&4G_Ygq(9TwwQH*P>Rq>3T4I+t2X(b5ogXBAfNf!xiF#Gilm zp2h{&D4k!SkKz-SBa%F-ZoVN$7GX2o=(>vkE^j)BDSGXw?^%RS9F)d_4}PN+6MlI8*Uk7a28CZ)Gp*EK)`n5i z){aq=0SFSO-;sw$nAvJU-$S-cW?RSc7kjEBvWDr1zxb1J7i;!i+3PQwb=)www?7TZ zE~~u)vO>#55eLZW;)F(f0KFf8@$p)~llV{nO7K_Nq-+S^h%QV_CnXLi)p*Pq&`s!d zK2msiR;Hk_rO8`kqe_jfTmmv|$MMo0ll}mI)PO4!ikVd(ZThhi&4ZwK?tD-}noj}v zBJ?jH-%VS|=t)HuTk?J1XaDUjd_5p1kPZi6y#F6$lLeRQbj4hsr=hX z4tXkX2d5DeLMcAYTeYm|u(XvG5JpW}hcOs4#s8g#ihK%@hVz|kL=nfiBqJ{*E*WhC zht3mi$P3a(O5JiDq$Syu9p^HY&9~<#H89D8 zJm84@%TaL_BZ+qy8+T3_pG7Q%z80hnjN;j>S=&WZWF48PDD%55lVuC0%#r5(+S;WH zS7!HEzmn~)Ih`gE`faPRjPe^t%g=F ztpGVW=Cj5ZkpghCf~`ar0+j@A=?3(j@7*pq?|9)n*B4EQTA1xj<+|(Y72?m7F%&&& zdO44owDBPT(8~RO=dT-K4#Ja@^4_0v$O3kn73p6$s?mCmVDUZ+Xl@QcpR6R3B$=am z%>`r9r2Z79Q#RNK?>~lwk^nQlR=Hr-ji$Ss3ltbmB)x@0{VzHL-rxVO(++@Yr@Iu2 zTEX)_9sVM>cX$|xuqz~Y8F-(n;KLAfi*63M7mh&gsPR>N0pd9h!0bm%nA?Lr zS#iEmG|wQd^BSDMk0k?G>S-uE$vtKEF8Dq}%vLD07zK4RLoS?%F1^oZZI$0W->7Z# z?v&|a`u#UD=_>i~`kzBGaPj!mYX5g?3RC4$5EV*j0sV)>H#+$G6!ci=6`)85LWR=FCp-NUff`;2zG9nU6F~ z;3ZyE*>*LvUgae+uMf}aV}V*?DCM>{o31+Sx~6+sz;TI(VmIpDrN3z+BUj`oGGgLP z>h9~MP}Pw#YwzfGP8wSkz`V#}--6}7S9yZvb{;SX?6PM_KuYpbi~*=teZr-ga2QqIz{QrEyZ@>eN*qmy;N@FCBbRNEeeoTmQyrX;+ zCkaJ&vOIbc^2BD6_H+Mrcl?Nt7O{xz9R_L0ZPV_u!sz+TKbXmhK)0QWoe-_HwtKJ@@7=L+ z+K8hhf=4vbdg3GqGN<;v-SMIzvX=Z`WUa_91Yf89^#`G(f-Eq>odB^p-Eqx}ENk#&MxJ+%~Ad2-*`1LNT>2INPw?*V3&kE;tt?rQyBw? zI+xJD04GTz1$7~KMnfpkPRW>f%n|0YCML@ODe`10;^DXX-|Hb*IE%_Vi#Pn9@#ufA z_8NY*1U%VseqYrSm?%>F@`laz+f?+2cIE4Jg6 z_VTcx|DSEA`g!R%RS$2dSRM|9VQClsW-G<~=j5T`pTbu-x6O`R z98b;}`rPM(2={YiytrqX+uh65f?%XiPp`;4CcMT*E*dQJ+if9^D>c_Dk8A(cE<#r=&!& z_`Z01=&MEE+2@yr!|#El=yM}v>i=?w^2E_FLPy(*4A9XmCNy>cBWdx3U>1RylsItO z4V8T$z3W-qqq*H`@}lYpfh=>C!tieKhoMGUi)EpWDr;yIL&fy};Y&l|)f^QE*k~4C zH>y`Iu%#S)z)YUqWO%el*Z)ME#p{1_8-^~6UF;kBTW zMQ!eXQuzkR#}j{qb(y9^Y!X7&T}}-4$%4w@w=;w+>Z%uifR9OoQ>P?0d9xpcwa>7kTv2U zT-F?3`Q`7xOR!gS@j>7In>_h){j#@@(ynYh;nB~}+N6qO(JO1xA z@59Pxc#&I~I64slNR?#hB-4XE>EFU@lUB*D)tu%uEa))B#eJ@ZOX0hIulfnDQz-y8 z`CX@(O%_VC{Ogh&ot``jlDL%R!f>-8yq~oLGxBO?+tQb5%k@a9zTs!+=NOwSVH-cR zqFo^jHeXDA_!rx$NzdP;>{-j5w3QUrR<;}=u2|FBJ;D#v{SK@Z6mjeV7_kFmWt95$ zeGaF{IU?U>?W`jzrG_9=9}yN*LKyzz))PLE+)_jc#4Rd$yFGol;NIk(qO1$5VXR)+ zxF7%f4=Q!NzR>DVXUB&nUT&>Nyf+5QRF+Z`X-bB*7=`|Go5D1&h~ zflKLw??kpiRm0h3|1GvySC2^#kcFz^5{79KKlq@`(leBa=_4CgV9sSHr{RIJ^KwR_ zY??M}-x^=MD+9`v@I3jue=OCn0kxno#6i>b(XKk_XTp_LpI}X*UA<#* zsgvq@yKTe_dTh>q1aeae@8yur08S(Q^8kXkP_ty48V$pX#y9)FQa~E7P7}GP_CbCm zc2dQxTeW(-~Y6}im24*XOC8ySfH*HMEnW3 z4CXp8iK(Nk<^D$g0kUW`8PXn2kdcDk-H@P0?G8?|YVlIFb?a>QunCx%B9TzsqQQ~HD!UO7zq^V!v9jho_FUob&Hxi ztU1nNOK)a!gkb-K4V^QVX05*>-^i|{b`hhvQLyj`E1vAnj0fbqqO%r z6Q;X1x0dL~GqMv%8QindZ4CZ%7pYQW~ z9)I*#Gjref-q(4Z*E#1c&rE0-_(4;_M(V7rgH_7H;ps1s%GBmU z{4a|X##j#XUF2n({v?ZUUAP5k>+)^F)7n-npbV3jAlY8V3*W=fwroDS$c&r$>8aH` zH+irV{RG3^F3oW2&E%5hXgMH9>$WlqX76Cm+iFmFC-DToTa`AcuN9S!SB+BT-IA#3P)JW1m~Cuwjs`Ep(wDXE4oYmt*aU z!Naz^lM}B)JFp7ejro7MU9#cI>wUoi{lylR2~s)3M!6a=_W~ITXCPd@U9W)qA5(mdOf zd3PntGPJyRX<9cgX?(9~TZB5FdEHW~gkJXY51}?s4ZT_VEdwOwD{T2E-B>oC8|_ZwsPNj=-q(-kwy%xX2K0~H z{*+W`-)V`7@c#Iuaef=?RR2O&x>W0A^xSwh5MsjTz(DVG-EoD@asu<>72A_h<39_# zawWVU<9t{r*e^u-5Q#SUI6dV#p$NYEGyiowT>>d*or=Ps!H$-3={bB|An$GPkP5F1 zTnu=ktmF|6E*>ZQvk^~DX(k!N`tiLut*?3FZhs$NUEa4ccDw66-~P;x+0b|<!ZN7Z%A`>2tN#CdoG>((QR~IV_Gj^Yh%!HdA~4C3jOXaqb6Ou z21T~Wmi9F6(_K0@KR@JDTh3-4mv2=T7&ML<+$4;b9SAtv*Uu`0>;VVZHB{4?aIl3J zL(rMfk?1V@l)fy{J5DhVlj&cWKJCcrpOAad(7mC6#%|Sn$VwMjtx6RDx1zbQ|Ngg8N&B56DGhu;dYg$Z{=YmCNn+?ceDclp65c_RnKs4*vefnhudSlrCy6-96vSB4_sFAj# zftzECwmNEOtED^NUt{ZDjT7^g>k1w<=af>+0)%NA;IPq6qx&ya7+QAu=pk8t>KTm` zEBj9J*2t|-(h)xc>Us*jHs)w9qmA>8@u21UqzKk*Ei#0kCeW6o z-2Q+Tvt25IUkb}-_LgD1_FUJ!U8@8OC^9(~Kd*0#zr*8IQkD)6Keb(XFai5*DYf~` z@U?-{)9X&BTf!^&@^rjmvea#9OE~m(D>qfM?CFT9Q4RxqhO0sA7S)=--^*Q=kNh7Y zq%2mu_d_#23d`+v`Ol263CZ<;D%D8Njj6L4T`S*^{!lPL@pXSm>2;~Da- zBX97TS{}exvSva@J5FJVCM$j4WDQuME`vTw>PWS0!;J7R+Kq zVUy6%#n5f7EV(}J#FhDpts;>=d6ow!yhJj8j>MJ@Wr_?x30buuutIG97L1A*QFT$c ziC5rBS;#qj=~yP-yWm-p(?llTwDuhS^f&<(9vA9@UhMH2-Fe_YAG$NvK6X{!mvPK~ zuEA&PA}meylmaIbbJXDOzuIn8cJNCV{tUA<$Vb?57JyAM`*GpEfMmFq>)6$E(9e1@W`l|R%-&}38#bl~levA#fx2wiBk^)mPj?<=S&|gv zQO)4*91$n08@W%2b|QxEiO0KxABAZC{^4BX^6r>Jm?{!`ZId9jjz<%pl(G5l));*`UU3KfnuXSDj2aP>{ zRIB$9pm7lj3*Xg)c1eG!cb+XGt&#?7yJ@C)(Ik)^OZ5><4u$VLCqZ#q2NMCt5 z6$|VN(RWM;5!JV?-h<JkEZ(SZF zC(6J+>A6Am9H7OlOFq6S62-2&z^Np=#xXsOq0WUKr zY_+Ob|CQd1*!Hirj5rn*=_bM5_zKmq6lG zn*&_=x%?ATxZ8ZTzd%biKY_qyNC#ZQ1vX+vc48N>aJXEjs{Y*3Op`Q7-oz8jyAh>d zNt_qvn`>q9aO~7xm{z`ree%lJ3YHCyC`q`-jUVCn*&NIml!uuMNm|~u3#AV?6kC+B z?qrT?xu2^mobSlzb&m(8jttB^je0mx;TT8}`_w(F11IKz83NLj@OmYDpCU^u?fD{) z&=$ptwVw#uohPb2_PrFX;X^I=MVXPDpqTuYhRa>f-=wy$y3)40-;#EUDYB1~V9t%$ z^^<7Zbs0{eB93Pcy)96%XsAi2^k`Gmnypd-&x4v9rAq<>a(pG|J#+Q>E$FvMLmy7T z5_06W=*ASUyPRfgCeiPIe{b47Hjqpb`9Xyl@$6*ntH@SV^bgH&Fk3L9L=6VQb)Uqa z33u#>ecDo&bK(h1WqSH)b_Th#Tvk&%$NXC@_pg5f-Ma#7q;&0QgtsFO~`V&{1b zbSP*X)jgLtd@9XdZ#2_BX4{X~pS8okF7c1xUhEV9>PZco>W-qz7YMD`+kCGULdK|^ zE7VwQ-at{%&fv`a+b&h`TjzxsyQX05UB~a0cuU-}{*%jR48J+yGWyl3Kdz5}U>;lE zgkba*yI5>xqIPz*Y!-P$#_mhHB!0Fpnv{$k-$xxjLAc`XdmHd1k$V@2QlblfJPrly z*~-4HVCq+?9vha>&I6aRGyq2VUon^L1a)g`-Xm*@bl2|hi2b|UmVYW|b+Gy?!aS-p z86a}Jep6Mf>>}n^*Oca@Xz}kxh)Y&pX$^CFAmi#$YVf57X^}uQD!IQSN&int=D> zJ>_|au3Be?hmPKK)1^JQ(O29eTf`>-x^jF2xYK6j_9d_qFkWHIan5=7EmDvZoQWz5 zZGb<{szHc9Nf@om)K_<=FuLR<&?5RKo3LONFQZ@?dyjemAe4$yDrnD zglU#XYo6|~L+YpF#?deK6S{8A*Ou;9G`cdC4S0U74EW18bc5~4>)<*}?Z!1Y)j;Ot zosEP!pc$O^wud(={WG%hY07IE^SwS-fGbvpP?;l8>H$;}urY2JF$u#$q}E*ZG%fR# z`p{xslcvG)kBS~B*^z6zVT@e}imYcz_8PRzM4GS52#ms5Jg9z~ME+uke`(Tq1w3_6 zxUa{HerS7!Wq&y(<9yyN@P^PrQT+6ij_qW3^Q)I53iIFCJE?MVyGLID!f?QHUi1tq z0)RNIMGO$2>S%3MlBc09l!6_(ECxXTU>$KjWdZX^3R~@3!SB zah5Za2$63;#y!Y}(wg1#shMePQTzfQfXyJ-Tf`R05KYcyvo8UW9-IWGWnzxR6Vj8_la;*-z5vWuwUe7@sKr#Tr51d z2PWn5h@|?QU3>k=s{pZ9+(}oye zc*95N_iLmtmu}H-t$smi49Y&ovX}@mKYt2*?C-i3Lh4*#q5YDg1Mh`j9ovRDf9&& zp_UMQh`|pC!|=}1uWoMK5RAjdTg3pXPCsYmRkWW}^m&)u-*c_st~gcss(`haA)xVw zAf=;s>$`Gq_`A}^MjY_BnCjktBNHY1*gzh(i0BFZ{Vg^F?Pbf`8_clvdZ)5(J4EWzAP}Ba5zX=S(2{gDugTQ3`%!q`h7kYSnwC`zEWeuFlODKiityMaM9u{Z%E@@y1jmZA#ⅅ8MglG&ER{i5lN315cO?EdHNLrg? zgxkP+ytd)OMWe7QvTf8yj4;V=?m172!BEt@6*TPUT4m3)yir}esnIodFGatGnsSfJ z**;;yw=1VCb2J|A7cBz-F5QFOQh2JDQFLarE>;4ZMzQ$s^)fOscIVv2-o{?ct3~Zv zy{0zU>3`+-PluS|ADraI9n~=3#Tvfx{pDr^5i$^-h5tL*CV@AeQFLxv4Y<$xI{9y< zZ}li*WIQ+XS!IK;?IVD0)C?pNBA(DMxqozMy1L#j+ba1Cd+2w&{^d-OEWSSHmNH>9 z%1Ldo(}5*>a8rjQF&@%Ka`-M|HM+m<^E#bJtVg&YM}uMb7UVJ|OVQI-zt-*BqQ zG&mq`Bn7EY;;+b%Obs9i{gC^%>kUz`{Qnc=ps7ra_UxEP$!?f&|5fHnU(rr?7?)D z$3m9e{&;Zu6yfa1ixTr;80IP7KLgkKCbgv1%f_weZK6b7tY+AS%fyjf6dR(wQa9TD zYG9`#!N4DqpMim|{uViKVf0B+Vmsr7p)Y+;*T~-2HFr!IOedrpiXXz+BDppd5BTf3 ztsg4U?0wR?9@~`iV*nwGmtYFGnq`X< zf?G%=o!t50?gk^qN#J(~!sxi=_yeg?Vio04*w<2iBT+NYX>V#CFuQGLsX^u8dPIkP zPraQK?ro`rqA4t7yUbGYk;pw6Z})Bv=!l-a5^R5Ra^TjoXI?=Qdup)rtyhwo<(c9_ zF>6P%-6Aqxb8gf?wY1z!4*hagIch)&A4treifFk=E9v@kRXyMm?V*~^LEu%Y%0u(| z52VvVF?P^D<|fG)_au(!iqo~1<5eF$Sc5?)*$4P3MAlSircZ|F+9T66-$)0VUD6>e zl2zlSl_QQ?>ULUA~H?QbWazYeh61%B!!u;c(cs`;J|l z=7?q+vo^T#kzddr>C;VZ5h*;De8^F2y{iA#9|(|5@zYh4^FZ-3r)xej=GghMN3K2Y z=(xE`TM%V8UHc4`6Cdhz4%i0OY^%DSguLUXQ?Y3LP+5x3jyN)-UDVhEC}AI5wImt; zHY|*=UW}^bS3va-@L$-fJz2P2LbCl)XybkY)p%2MjPJd-FzkdyWW~NBC@NlPJkz{v z+6k6#nif`E>>KCGaP34oY*c#nBFm#G8a0^px1S6mm6Cs+d}E8{J;DX=NEHb|{fZm0 z@Ors@ebTgbf^Jg&DzVS|h&Or)56$+;%&sh0)`&6VkS@QxQ=#6WxF5g+FWSr7Lp9uF zV#rc`yLe?f*u6oZoi3WpOkKFf^>lHb2GC6t!)dyGaQbK7&BNZ7oyP)hUX1Y(LdW-I z6LI2$i%+g!zsjT(5l}5ROLb)8`9kkldbklcq6tfLSrAyh#s(C1U2Sz9`h3#T9eX#Hryi1AU^!uv*&6I~qdM_B7-@`~8#O^jN&t7+S zTKI6;T$1@`Kky-;;$rU1*TdY;cUyg$JXalGc&3-Rh zJ&7kx=}~4lEx*%NUJA??g8eIeavDIDC7hTvojgRIT$=MlpU}ff0BTTTvjsZ0=wR)8 z?{xmc((XLburb0!&SA&fc%%46KU0e&QkA%_?9ZrZU%9Wt{*5DCUbqIBR%T#Ksp?)3 z%qL(XlnM!>F!=q@jE>x_P?EU=J!{G!BQq3k#mvFR%lJO2EU2M8egD?0r!2s*lL2Y} zdrmy`XvEarM&qTUz4c@>Zn}39Xi2h?n#)r3C4wosel_RUiL8$t;FSuga{9}-%FuOU z!R9L$Q!njtyY!^070-)|#E8My)w*~4k#hi%Y77)c5zfs6o(0zaj~nla0Vt&7bUqfD zrZmH~A50GOvk73qiyfXX6R9x3Qh)K=>#g^^D65<$5wbZjtrtWxfG4w1f<2CzsKj@e zvdsQ$$f6N=-%GJk~N7G(+-29R)Cbz8SIn_u|(VYVSAnlWZhPp8z6qm5=hvS$Y zULkbE?8HQ}vkwD!V*wW7BDBOGc|75qLVkyIWo~3<#nAT6?H_YSsvS+%l_X$}aUj7o z>A9&3f2i-`__#MiM#|ORNbK!HZ|N&jKNL<-pFkqAwuMJi=(jlv5zAN6EW`ex#;d^Z z<;gldpFcVD&mpfJ1d7><79BnCn~z8U*4qo0-{i@1$CCaw+<$T{29l1S2A|8n9ccx0!1Pyf;)aGWQ15lwEEyU35_Y zQS8y~9j9ZiByE-#BV7eknm>ba75<_d1^*% zB_xp#q`bpV1f9o6C(vbhN((A-K+f#~3EJtjWVhRm+g$1$f2scX!eZkfa%EIZd2ZVG z6sbBo@~`iwZQC4rH9w84rlHjd!|fHc9~12Il&?-FldyN50A`jzt~?_4`OWmc$qkgI zD_@7^L@cwg4WdL(sWrBYmkH;OjZGE^0*^iWZM3HBfYNw(hxh5>k@MH>AerLNqUg*Og9LiYmTgPw zX9IiqU)s?_obULF(#f~YeK#6P>;21x+cJ$KTL}|$xeG?i`zO;dAk0{Uj6GhT-p-=f zP2NJUcRJ{fZy=bbsN1Jk3q}(!&|Fkt_~GYdcBd7^JIt)Q!!7L8`3@so@|GM9b(D$+ zlD&69JhPnT>;xlr(W#x`JJvf*DPX(4^OQ%1{t@)Lkw5nc5zLVmRt|s+v zn(25v*1Z(c8RP@=3l_c6j{{=M$=*aO^ zPMUbbEKO7m2Q$4Xn>GIdwm#P_P4`or_w0+J+joK&qIP#uEiCo&RdOaP_7Z;PvfMh@ zsXUTn>ppdoEINmmq5T1BO&57*?QNLolW-8iz-jv7VAIgoV&o<<-vbD)--SD%FFOLd z>T$u+V>)4Dl6?A24xd1vgm}MovrQjf-@YH7cIk6tP^eq-xYFymnoSxcw}{lsbCP1g zE_sX|c_nq(+INR3iq+Oj^TwkjhbdOo}FmpPS2*#NGxNgl98|H0M*lu)Cu0TrA|*t=i`KIqoUl(Q7jN zb6!H-rO*!&_>-t)vG5jG>WR6z#O9O&IvA-4ho9g;as~hSnt!oF5 z6w(4pxz|WpO?HO<>sC_OB4MW)l`-E9DZJ$!=ytzO}fWXwnP>`8yWm5tYw`b1KDdg zp@oD;g===H+sj+^v6DCpEu7R?fh7>@pz>f74V5&#PvBN+95?28`mIdGR@f*L@j2%% z%;Rz5R>l#1U zYCS_5_)zUjgq#0SdO#)xEfYJ)JrHLXfe8^GK3F*CA(Y)jsSPJ{j&Ae!SeWN%Ev727 zxdd3Y0n^OBOtBSKdglEBL)i5=NdKfqK=1n~6LX`ja;#Tr!II$AAH{Z#sp%`rwNGT5 zvHT%(LJB+kD{5N}7c_Rk6}@tikIeq%@MqxX%$P!(238YD(H<_d;xxo*oMiv^1io>g zt5z&6`}cjci90q2r0hutQXr!UA~|4e*u=k81D(Cp7n{4LVCa+u0%-8Uha+sqI#Om~ z!&)KN(#Zone^~&@Ja{|l?X64Dxk)q>tLRv{=0|t$`Kdaj z#{AJr>{_BtpS|XEgTVJ4WMvBRk-(mk@ZYGdY1VwI z81;z(MBGV|2j*Cj%dvl8?b2{{B#e0B7&7wfv+>g`R2^Ai5C_WUx|CnTrHm+RFGXrt zs<~zBtk@?Niu%|o6IEL+y60Q>zJlv``ePCa07C%*O~lj?74|}&A0!uA)3V7ST8b_- z6CBP1;x+S@xTzgOY2#s%@=bhZ@i@BwmS)neQG&=9KUtRf^K=MvjC5JnqLqykCE_P0 zjf#V4SdH2#%2EuDb!>FLHK7j;nd6VLW|$3gJuegpEl3DZ`BpJU$<}}A(rW?<6OB@9 zKP9G3An?T5BztrLdlximA;{>Tr7GAeSU=^<*y;%RHj+7;v+tonyh(8d;Izn}2{oz& zW)fsZ9gHYpI?B|uekS3zHUue3mI zb7?0+&Zm>Kq(F>~%VYEn)0b32I3~O^?Wx-HI|Zu?1-OA2yfyJ;gWygLOeU;)vRm3u z5J4vDIQYztnEm=QauX2(WJO{yzI0HUFl+oO&isMf!Yh2pu@p}65)|0EdWRbg(@J6qo5_Els>#|_2a1p0&y&UP z8x#Z69q=d663NPPi>DHx3|QhJl5Ka$Cfqbvl*oRLYYXiH>g8*vriy!0XgmT~&jh3l z+!|~l=oCj<*PD>1EY*#+^a{rVk3T(66rJ^DxGt|~XTNnJf$vix1v1qdYu+d@Jn~bh z!7`a`y+IEcS#O*fSzA;I`e_T~XYzpW7alC%&?1nr);tSkNwO&J`JnX+7X1Q8fRh_d zx%)Xh_YjI3hwTCmGUeq_Z@H#ovkk_b(`osa$`aNmt`9A#t&<^jvuf z1E1DrW(%7PpAOQGwURz@luEW9-)L!`Jy*aC*4mcD?Si~mb=3Kn#M#1il9%`C0wkZ` zbpJ-qEPaOE5Y5iv_z%Wr{y4jh#U+o^KtP{pPCq-Qf&!=Uu)cEE(Iu9`uT#oHwHj+w z_R=kr7vmr~{^5sxXkj|WzNhAlXkW^oB4V)BZ{({~4ylOcM#O>DR)ZhD;RWwmf|(}y zDn)>%iwCE=*82>zP0db>I4jN#uxcYWod+<;#RtdMGPDpQW;riE;3cu``1toL|FaWa zK)MVA%ogXt3q55(Q&q+sjOG`?h=UJE9P;8i#gI*#f}@JbV(DuGEkee;La*9{p&Z?;~lE!&-kUFCtoDHY*MS zzj+S$L9+aTs(F^4ufZe6>SBg;m@>0&+kEZMFmD*~p~sx?rx=!>Ge;KYw<33y#*&77 zFZI`YE(Iz?+tH;Fq;y=MaSqT{Ayh*HFv0(z{_?Q+7@nE%p?S8%X6c!+y;!0NLXwJV8Co_}R3*7>n+oMsQpv8}8ZS-P@(Rg|gmxZHzf=nMOUAAY}AZGfWVzZjE@4$=7xkIrs8BE%606aVU%kxz_04ipig51k& z(>c9rJL2q%xvU%Zj#GR9C9)HLCR;#zQBB@x;e_9$ayn(JmSg_*0G?+wOF?&iu@}S{ zt$;TPf*Lj$3=d<}Q3o!Hq@3~lFxoiCyeEt}o3fihIn{x2s1)e2@3##&GYDq~YO|!q zUs0P-zy)+ohl-VQ`bhvUpC{-d$lkpML_M%Kl6@#_@A}w{jWCDsPa#cSbWA#C4Sf|*C*&Z{ zz?hOU7Cc`?>H$WGqITA2P~fYudnQHxB8^;0ZFKC;19F#~n_2P@{cE{Czq-#K5L_8| zc3aOEwq4%zL5>YU_mc9fc-p~{fBTWUkxTiZvxt9FOqC{s#TBp(#dWc+{Ee{dZ#B!g zHnaOJ8;KO1G;QU2ciodE+#Z$Wuz*Hc6NRO!AUMi|gov=>=cwcZeL&`>Jfn!35hV1J z;B2@0!bIR853w%T*m6)gQ?DPnQ)o6EtKaN3L;o?*q<83d&lG&U=A|6hcT?f0)4h6{ zGIZ0|!}-?*n{zr}-}cC}qWxEN%g60+{my)o^57{QEn(tSrmD7o)|r0+HVpQPopFu; z0<S}pW8W2vXzSxEqGD+qePj^x?R$e2LO&*ewsLo{+_Z)Wl|Z1K47j zsKoNRlX)h2z^ls_>IZ0!2X5t&irUs%RAO$Dr>0o$-D+$!Kb9puSgpoWza1jnX6(eG zTg-U z6|kf1atI!_>#@|=d01Ro@Rg)BD?mY3XBsG7U9%lmq>4;Gf&2k3_oyEOdEN&X6Hl5K zCz^hyt67G;IE&@w1n~%ji_{sob_ssP#Ke|qd!Xx?J&+|2K=^`WfwZ-zt|sklFouxC zXZeDgluD2a?Zd3e{MtE$gQfAY9eO@KLX;@8N`(?1-m`?AWp!a8bA%UN>QTntIcJX zvbY+C-GD&F?>E?jo$xhyKa@ps9$Dnwq>&)GB=W~2V3m)k;GNR$JoPRk%#f3#hgVdZ zhW3?cSQ*((Fog26jiEeNvum-6ID-fbfJ?q1ZU#)dgnJ^FCm`+sdP?g;d4VD$3XKx{ zs|Y4ePJp|93fpu)RL+#lIN9Ormd;<_5|oN!k5CENnpO>{60X;DN>vgHCX$QZYtgrj z*1{bEA1LKi8#U%oa!4W-4G+458~`5O4S1&tuyv>%H9DjLip7cC~RRS@HvdJ<|c z$TxEL=)r)XTfTgVxaG!gtZhLL`$#=gz1X=j|I@n~eHDUCW39r=o_ml@B z0cDx$5;3OA2l)&41kiKY^z7sO_U%1=)Ka4gV(P#(<^ z_zhThw=}tRG|2|1m4EP|p{Swfq#eNzDdi&QcVWwP+7920UQB*DpO0(tZHvLVMIGJl zdZ5;2J%a!N1lzxFwAkq05DPUg2*6SxcLRsSNI6dLiK0&JRuYAqwL}Z!YVJ$?mdnDF z82)J_t=jbY&le6Hq$Qs}@AOZGpB1}$Ah#i;&SzD1QQNwi6&1ddUf7UG0*@kX?E zDCbHypPZ9+H~KnDwBeOXZ-W-Y80wpoGB*A) z_;26Z`#s0tKrf~QBi2rl2=>;CS1w)rcD3-sB!8NI*1iQo59PJ>OLnqeV4iK7`RBi^ zFW{*6;nlD&cSunmU3v4JKj|K4xeN(q>H%;SsY8yDdw5BJ75q8>Ov)&D5OPZ`XiRHl z;)mAA0Woy6f!xCK(9H2rq?qzp83liZAIpBPl-dQ&$2=&H?Im~%g;vnIw1I+8q|kr! z36&^9}CMmR(U2rf|j12oG=vb%Ypsq8u9Kq}U*ANX*)9uK}fAi8;V_7Z;0_4*iydDxN-? zv?qJ=T*{MzL~-xUv{_Kh_q9#F{8gPV!yPUUS8pEq*=}2-#1d=sC_|U-rX~F0 zBLawgCWy#?#ax{~DAnDvh^`}wyUO`ioMK~jgh%L7^}#h?beSyvQ_g>+`2`}`-1h7# zg*?qJdm=53hwN8~B=^|LPmYtOVrQ(W{sNm4uofq=4P@dUA%$onWbw_m-KWia&n9iv zi)!9#OJ#^}eg8tE{wSb9(c0D^PS1 z9EBS5*ypSiVRS_G0v?$hyoZOS7hFWlp4qbYkf9Y&{%OzhsIdHskLptn96@k6@^K@U zszd8POehITDK+AyW#JKpnWY;ju#MC$JjB1Y*~(E6N%{p#kO+bVxG3X<34n3fW=k{A zCZt|KP%x^GQ9%mU)KE0{LA=vaZvRQbxSlK~eAkwWo2Z<{j5eS5NVTMe`m%re8%~7K zZLtU&b~YDN%~uA9wPf>x2=PI=MA6_oVe>Ek$s5&&Z=8vvF5EODP4Av(b|dlNgF1O8 zy83W0WRdzjz2iNA~t1piEqlyU&`$yZtqR`6X_PmuP>W+D|8iH;FQ zN{JuU#Tz9mV=4R_IewROL1|mK^`lLat#LcIBfggzM(iO$pQT*-c_ z94^LUWw#5B9~sp2W1p`c)Y(xfR<{O^9n4E6vDDw{#-R4UMBKo{>Hqlqn*a9rl_>+0 zS5MwJC~nCC`1X%VCyWFsiDX;bfAJQAUkU#105f_s5U-8rqO}n8fA1{b>Fr6Q|Ea(V z5B11Lo^ooWF?`^{-U#?iatokWI-e$632frzY?Yzzx(xJc@LFM4A~-eg!u|tl{)8Nx ztZLXsSC*68g%9TFu(f&J9nmc^9hgyy#uUOMJFCaifSaDcyQ&6=8e9=t zIFEAQ{EK{|73{($!a4=!wj4ABcQrUQp#+gGM?wEUp(w@+Fzi{!lt}|3`PM%&d-seeR zB$}BrFGD3R10CE>Hsb>;PrP}pd` zaY4}6+Wu(`#uAV+E5SV7VIT7ES#b(U0%%DgN1}USJH>)mm;CHPv>}B18&0F~Kj@1= z&^Jyo+z-E)GRT4U*7$8wJO1OibWg0Jw>C$%Ge|=YwV@Y1(4fR>cV#6aGtRoF@I`*w_V4;)V231NzNqb6g@jdpjmjv*<2j02yU$F8ZS$fTvCC`%|Yn#x< zXUnP&b!GLpOY-TY3d?<-Hhxom_LM9`JC9LEX2{t1P-Nj%nG+0Vq)vQwvO^}coPH-> zAo8w#s>Je^Yy*#PlK=XDxpVS~pFe-j#jN-(As&LRewOf(kN-aKF(H+s*{*!0xrlZw zchJu@XAvQWX7DI1E8?F}Wc8m46eT+C<0eXVB+Z^(g=Kl@FG-cn@u$suj)1V2(KNg_ zh29ws6&6(q~+sOAoHY^o86A<#n*?Pg2)cK$+y;cY$hJLq4)4V84=j+3ShSr##Tk5kgmxB zkW+8A1GtceEx~^Ebhwm36U?oA)h)!mt=eg0QE$D1QsLNZ_T3NH?=B&0j~#298!6iv zhc0|-{46*3`Rx&nKSXnf1&w-Rs>#PGAGuY@cBTU-j|Fxbn3z49S#6KBaP^Lx*AOXxIibr z!1ysMi(&kr!1wwQB5w`BDH2~>T4bI`T1}A2RM0zd7ikC&kuBRsB`Z2@J!Udm{AmSN zrr0k6_qCZL**=)xRW`MFu(OY=OT;3G8eF~ z2mmkXZ9X(sjuKmq+_<=LSjphB$~R1o^Yb=rO!j!(4ErIox^x55o{pXSE9X$!76^*$ zoKhlAX6y%n^U=C~@!vIlEgXQGD@>oOU=_(aXF-Sjas*$AKESfRzxQ8#3yOj|y0OCU z>6Z-0%LCcjla&7I+CXm&caKp@@jQ!5M`(_{CL=@4#JJ}cHeZw>^b6fpv269LSV?gV5Q{kk?4;;y9RIsy5vk%DIRiL(9xe1aA@4!VX zDh2}xgUd5X?6nji%&7-%QuyKSYA-Z{PwJijUQ}In+EJl|x@dF1P<5bPa5W3&&?^h$ zZCo8LepKo0a(Fsln*cHL;D(gu9MMkoiM0*n31u)jHqX5x^F95tnI&^}^yKx3YwEm@ zo8?EZ710ykx@19{=yz5IXb8w4yjdveWb{IVL6Z(Cs>!a_0X^1E27o!4e&b43+J*u2Gb(59k2uK0goLwhO{ujLS ziI9LA9`&x~Y$6JNX!aEXR``}LUI}Gr#=<^wBHmg%v<)zRWDVtq)kT$-P7iU1R)2XZ zi~bYhV@EZ`@prgK(cs{>2jn$pxg$<|KjJ7%26Km>%KcXh^bU@y@V_Lf@=j1x%R4{v zOcQn{I}!2W<~08FOVnoV>zOTH=+>v9!jFo|q)ucqIe!N4{U5_G`>>*sVD{8I~4FqyU8imZ**-Gy`~Xd z4w35GMf%7^i65HdX{Iz|f2Kg193#KhPIeR)-=eYx3Z!%RM=JjwLrdk^B#6rg!ym2w zPbFqYyO4>W_Z6PonAwiu7?!h=x%sR-T+_*xZOGh2wWhWr%}%2^$$ zQvACIB~pi=m|`hXIMvoq`TOCx=J_D2>pi6$NPy3&8#vy|oX)=kM0Z}$BR$r0G}MzOk-OqG+VmZtOZoj6x4(tLh|5h) zBv64Y{DPHsy&_H(5_l(&Y}FhVvr9m_*_Q~Zy-}V9+VmGnvndEjYW4qt4K~N&Y&6g| zfpz*V=A#^mVmuOAz)(KVI<%v5NY0%Goy!{9&o41upsPWk(yFuRP|A4q6NMnX%V~MT zi_Rb-Bno2kI+j0Cw`@ydy{e%ARS#Z%b6I%_yfo_ZKXr4BLVoHzBKJ^ZG z-2>2IzU)55@9C|?_P$ew^-7zEiAKG1XAi{!3h%1m#9s%^pGy6S9wKFYY4<$djeoJP z{GI}Vd%idY$4_fh(7NXm7#;cC!DS&-{tGr!Qze{^%bUx2jgG@-kMta^q-EwrKB}d8 z{%FT>rFk_bzW<{lc%eYlrsiYTZXGgzD1&lmRyp+c1O=0=zAX=KV62bx-a~JP{cPF4 zU$-XT#(9&T>l@bMu3nSr{)%-5lV+0t&bxip4DVJ~vlL$J2P6X~ zd{FS8vm{Lhrieul*7&(AgPuXhjpGila%6_?-+k#b)cdk#M1jB*nE>G6NGOr+Ek{`= z9b%S1`$`=g0CC$>0$Db;l_szReLYVmce*(()9%Zz1`*fNXhI*oRlerWHarD(v^W^c zuc1Vuw6Gbp7ZsoRH>QGt#&lv;5G~Ovt$%7VFd*-rN2>UjbOWBFGNGO`bru7CFB4tn zL`^?69Lj_g_TA&`9`dSI8s|)K|QM0 zybvV7!>xDY|6c6y;Q}qs`){1+WQu_5Dgd8Qe|q}}bxjH+joQQtqs1IVZn6{e7T{ia zF|=^xa%eWO%(x<7j*QZbcU_;aVaVP!arexOLOtoSNt*hvsRL%}%)jPetSich(`b-^ zMZ$PM9%s@%*jPVz0Z^W*cK_>G4f}+eEVX`HOaHg#!B`<4v;x}zDLMR*M27`kNfp!! zOfdt(>k-g>7jf^{Se@3$8<+;R*cYtw+wD_Z8Pl~!JDCUEPq{Ea*!J9`%ihyNJZ30i zmfve}S5<$Uso}_?SuI$ks|{-ddGLu9WR9`^9)Kdi@Vs;x#SY-xp}wHPU0|vEA7234 z@BN1z7OF=OOQtPF$4twn3!HTVlUVD_)ubMM7PEPoiC6lQgL2q9PK4~e8v-OuH%lie z?NgBLkIdPMG$QBq(>r^AOHB`|*1#*!2Z? zuU8H|FD`OBRu^(R?Z-Vhr0j;FLpS~a34KREnd}B=EYHS*>Hm+f%tgJt!4J8Q`qn^4 z9F=tO#JRJ}tzA`vx$nZ)O%wC?Uiv0+_nz}5Lj4ki*&=K&*#U`=rv z`Q@Q{+IhAj@6lrNK2B=8Yln!O2%zomfRehFT~;!O@(@Xy|1Jlw*uOB-M$#6K^)QBm z_7%#QVUDPwnW{iOV-grMQQU|3{=BQMh}c5(yMGdoQf*)k9-B zMQ(^GdJh+y)>qJprknS!%WxqM>HlHOP#7UVdy>%PW$!l72J`n-p7j(DBKoGxXWh(Y z>BFDZl|7knU_jg_SSbvFk8)39%2)Hu5W0}HKlh>EaqvFoXI&56Yy)3) zQkE4X^P0QnPn?iUUVHJZXzPp`s5uv?pG{K9IgGoHvcmlBxubi|iF7n{)mhenIcxGs zgr0OpQy#Y#u=5lOyiECfE_Sn?Fj1LyoRKcbTgX{p<T*v!CGkPc)pcA2D=4Ekp0Gb*wpy7S88C%Ywsbr?MI(3UdsCM?XJ1X%*hNjB)XqZ*W(qDdtSb z<3XN74ARXL3=c^bfW~F%NM^5*Zx92>Wq`&M625p~j$8mYwLbk%Kf)jbn#<2z$%vP5 zy#b>-tF-S2_AB4;R^K&^-1LJrUmi@9rB^FLF)-k&YHK8P+k@RCJ1qSTZ@=kHxA3l$ zmK_ZG)l6(nmCR1a8|;QF-B5e_ELnjJ1$m-;4UXX?WytF_wz7#&AjwZYTMVieLbq@R z3t-q|G4^BB#EpNu4uyfDebB+-uu_$9>y-dzB30Y9F=R zrW-Heqnj*InPTWHgR9v^R7~hokldh&h8=HDhMW(EFfim1*{)5Lc1-+eBVkK-2!u=N zuZKABgJs3I--NbjE;>Undg6uK`^U>AQ6V zhc!RhYgvrmeGNsftr+(C<_MtuV$`5RZTf#5r=DR?gWG->#})#=(td%C3`oO+2B7im zUqY}&a_QNTn?s+?=mNXiREN%x_=(H)L|DtYPY>SR3pQfBOel7G_jR_{!9`dSj8Up-`JgcB;=Oor)U=_EVjF3C5{Sqh8cq=~bRjoBpoc$kJCgtTyZGSpQ4= zYi$6b$-dGmuTDF&@amhV?cU05g(AZV&v2$4m&j_~GZk;&keSO(@LRESRZ&p`dV*6w z2$em~p*8yM6j;SYorw`M5K2mluJq7P5Yn$VtZj8DEs2Zk=O@4T&Q}>~f31Z{uk}`E z{Dp{KObh1kk~~MfLUod72{Pk6G@T$_0_N??lOrdR=Z;VV#m0l)&@hz{Z?)@sgImi-&i1@95g53rON83v!yVPDHRU*Mzc4yZ(-Fr z{8{WXmIJf7jeswk$;6s~Qac6QyM3W&`}m#gRt=rr95A+Ad&wSAgvXZ|F))rBJVJ5W1CsjN`QaOzct2ocq#0!v zmj#075)C!3oS>&N;aHS@<+c>RHL)8j^p)k(8#7$LEx!1g_1^02!4_qA=;uhKW=+ix zGX%+vBMiRiF^^jm{mdO(?GdWJ#unO#_F^7mhT8)s(z_WlwFyJ#Xh)k5+RG2f;LC*K**1dr`#}~6A=0B=I&V;%zDA1)d@G!X#Rng)7G*2k8Kg447r0ox> z5NK`d(H-afBwo9feDOUi>;BbPsu!2|=@g=3j*PY}@YrOb+SX6?#Yb2xaaK!?>SX1J z_!VsB`2n1=wwSftkydm!39|-1?c%Epx?TO<(#GO~I&{f4+)XwRk<7RQ1~5>QcKH|D z?!}j1ueO0Lk;FZ{k4FA_(S`Ot0w~tl&m0duID*f6RY#bkw||o;kZ# zISYNTb|{~|X$m$Q-Jv#uxyw)eM0gIv`V#wOAp&Vv@>X4_tSZ&L#juM@$S9 zx_X_tLh<_^-F;LAQ09s@sPb%PMTrcw*HUV0P=RYSlM&AXEOI&&R&YCm_S<7DRBx^L zA^R^iwW+LMk(r*$Pq-fKU5X@=mQ=`ErO30H@@&qqnI7zJcrbSh+H<V ze&7Uli0xj@WrW#&-9%*FP~kPYF_YYM_hs5~|ExMynQ%qvq`leRB6W0yhC@pCb8>_P zlf=F~WMv_u*-DV=UaVu#2rlzK{q8D95VwZrfV?gj@rSNWXFvktUq)V5+YrlxwX302ae(;aG4e>L-M@3J+-f3IT{b9l!kg*2M zC1+ND9}6m^()LE87Mt+^Q|)!y#suc&v26C=0W88%a{?)E8Yvo@kM&KNMaOst#|-_CbUTm}WS@-c>nRb;&z^ zYr)+IE$1=jov(CZ%3uR+`~NI>1&Gs6W(jaamjcN$a`2!*nO}l|b%?)Q%%UWzw>A`C zR@px(P*7j$TK?jbv*%x)e^|jcLsv}aF(Z0=7(%Oa7+1wY>{B>d+i&ZA$}k(qgZPZY z;VkW~8eWnU&HPIAbco?&tc2O1$6=7n{u|^Y*nXoac{o1W-6aXfy~KlNbJfLoq~6;+ zDYmnv--Fhqrl+UV#k@_(1=gWNtqhyVKN=9CZ-{Ohi>e=~bm4IKbhM%%W zW8oXE!rGpV7Wt(_^4nndH1_imheaWzDi|I})9ZVZ9>pN+P%dVc5wG`Ze*4`@rjn1^ z`ln(;vPBHQUb}y8S>=8q__r7g+=z$>!pReVB0@XKchAvyGjLQs-u>+w%`frV4FeIG zj=7n~hGrwx*&5aHy(7X$bDZ7YhcP%(*>G^lAYMK;qG~V8Jz@b7oNg;IA1z$9@TbzW z;@I51@Ekef#qbxnG$Y8Z%bm~ibZ=4#%yKr%#b)CDrfKN`ujIY?tA4h9)i~dZ4E;ZM znvb$n2)zn$Wx&zlW%mJZDh28ox$@%`w3i7YFepXUChw}$UXKI=-TM51`M#FH=tdr*mQ!c=aB1296Lu>iTTKZWss0f z5~ihdImPN$aTle_AdbYC^31}_^EK|9R&l#%3hbx;8vJ+Gp^tm{9JDILu*1PW!rh^Dn9p<)h#Sl4kKM%nm<+!ESSk* zC;lLNT$fgr-!+{aBsSx$41b}yy6o>r3F#1&iv3cfY2N<+`0qJ+>=&Qxs}JOEkD?^l-F5i`t5+zNuvJf z3Fh4$mNqiFXL-aq4U4K@Ae$fq-TDT`rvrx;gqx96w^*@s=mcthCaIyPe(w)6kI{EqV10tcShHU9eeAPs)s?6#vrq}>y3FeTJu$Udha+z zs7}rmA@yR(L&>35sNjQqrw}o^)UitMU!5g6nnG)(tgst!^`FKJEzI1(d@j_w@;^hr zgYxlIRYjho4U$bhczfq&YySCqCE(5_d>l(4tk1v9!V7PB%Vx{QO=G2NC@c1%3rEzw zN<6i?h;CJX>h)kn49Sr)g#Em6km6ESP`1qc5C3ZHizN>r>V-fSS=X1nT{+Thh@kC! z(H=PlqDt7V6gOYezXUK-dretz!1?IUD6&eL2b!4=9h+HUO&DYZKMM>|YhlEEg?q?S z^XT4$2Fd|zT=x3U#L1|F;-#`to-Y6hiYkWdO=rRC)meY72pIfl`3zEGDU8($iWR^K zI$nq80aSJII<;#W5Pj>^_T&013BJ*O89Uoq z5>;Paa^E}xar^r=!pexg&OTM8wluk4R~Ru=)Hgk`Y#i_$jk{jc8hx}?(dW*X!l4vs z6_%$s#duJJFmaFc-5#>v6Yea=I~)s_pXGS>Tkz?s+WS}>Qp<9MappMLXpkXpSM~SmH6u)`Z5>o02kJs;w@KhdiZ3}29y*xr|6tMo zBHzGic+b+dTd!xOJ;p{Rguh^corJ;K?R6daayQKm+0rf7|AXg0qs!R9eS7t4{G=fs z1$=?kK1Ih=gEkI>@jgXDWHZt*C7FUEWs|u^pE3Z``^K|1KEC^sbN*4nQUfRc_AyE0 zn)?RrGjgPkzfE~_s!rDB!fDsV+*|kEX4+DyS#8%!cshn;s8svwBXSsDGX2ZRa0={* z=`p1F{zD17*Rk>Uk_cw3t5j=9-d6$}MoM~z{v{t^M!g75-+o8_XkP@CZWUQ2z!^26 zCNOu~hgrrK)y>bgqb{`Q_1^zrG4;cGarP!nb4E~(ZKWc`LVeEq;IewVneLp^ZU2+% z95PgN*M5v7Q;ZlGvM#`&u2NdHm%&gZ{bZM5wBCp&?HeZhwU87wyT_z!n4z+1?=RvXZ^72d*%+R1s1$KbAFtR|= zw;MEq=O7pMIKpFwKH6$OOszJAf<_Z<1)36cB>D>|Z6$gJL~jH`n3MMou$#Si%rDAu z4pSkJspG|^CJ86vg6kkfXsA_`8@8iOryOe!Qhn8SV6}mPlof3=WJRVqAr_b;e->`Z zMR(p|K|$L0^6;u~USxg#B6-ZNc%E1dv*^P=|2k*^NOBni#G%9Y?##{=)8KZwh85OL zSBG9|gb|hdmY^gn(ziY&O5#@I?W)W;361Yb^VQNpz0A7&^(7HRAsUvw#)fvhocvja zLxV65J0_$>&cVRctJFsn^qLos^tG`+B0_gQ{NeOwKt-!C^gGFufdtPT*Vi>l#X1|V z2XxsAcixN)Ekq=a##_^=k_^BFH5_zpvPDRP>u6+3$}i&b zy0@FdzAHw?i9OqnlTts_w5D@Nd#eM)KKEuN#m{|AJyscxa}(eA?z4&4yvXo{OBS65 z-?gW;<+;+ntM}U_yTmHm6*2zj0Imj<&ZgE9Wj|gfsXhrVH-c0p$7HXnR8bxDYOi z=_r3FA~u`L&2;Vir8}P3)k|@c?sK1U@&iWo{HEXcoy>6wQSuJ+b4l%aTBuigs&k@Y<2c=S3Ef?p zH>ki4yDuXdo_eu>X1{E$g(Q-u#zVXN^&%70guoizo7x(kQ0OZ}H$O9UB}(FaX8Ct1 zFpx~}EbHf2r6V;x=@8GH$C2|6*?K~?LrtMYd^bw*WYXhA z_))@RMH;nZedW3+qfWbv<|_#BYOxX^rhbN+!za)|!|8K*LRs(R$O*2SDM{g9k7e{u zN4VIdi}e#0&h?sBxu$>Yy%)j(k1V2fuhp8r!}gfF@b;F?U`6}YnnMh1&sSU&lR^?# zu!61+lGsuFEfDraX3+$QZibCbKzc{75G^T7@WZSQ)j5898G1AOXB*H*TSd`f<`IK# zm1%&t?i|2Z-a&r!pJehzg@!awNp)R)aa?q_SqGrxE5u+T#f?K2;GAHV?O&>!W@Q*k)7=g2vDW+7K zbyY9i{|nOF*SbMYoRQSAbSH2y$bE5(@d6xKxcF#@TE~X#3o=;`0sc!RupdRmQsML? z&>SCwS{FOpSr+@6Uuz3m`hj}(^g`Jz|6?({!%WVJn$H|ugxW+x-GEA?J&U^ugj3Nb z;65~)W<}iH2PJ@st8LtLfSOLXYgj=9<;?ih7rq$bXW9J#!B8!Wu6#U`A$wlcoC*&` z_9Js~7%m79#+edeT&P`@_Ng@e&5J+pqpx%31tAF71)pcz~-yJ>P5yX(nuM4;bUHDa8E(~~l{j~JeCGkX>nHJDpgSf&bTHEf)qw8{Q~CBPEVen|MW2P3vmf`8X9-g|>>ddp zcgfjbl~(?3Wa*NzQH>4nsM$3}Ul>pX1xC0oF3TZXe7=V!9!n?WgvH|R zpbruczmB%z=zkZ>=1R|gXwGThLELqD5KCUhtiRGT*JwKIvzbzV%ZU!e!VcNHSSX3> zObH|oohc8nvQZ2}q??C}@>!fe3gH+HF@4(qWqi>;ag~md#D;cl8&gQb^?2a@5cikT z=7r78@&5gV3Ggc9f=<<8v~yz`NcEGvbX1V_`IL(&+Z>LB zM~$ok2qXzod@1$TEl*U~H$V5g$er{Uj^($sWb7Nr{gsIbE(`$LRGECTOraXiU%=uq z0zvpi1S%)RxTjzoVcR4#10)fs()4Mtsa@e?9j)Bk!LsYyXIZga2q7d%`vQE!V@<1Y zmkpH3LeXJNO9f7l>F84g;huc=4nk(UnU}RLZmYk2TtB#lv34K(?8~gyx-mN%g=U44 zOPdr_!j-;IEbe|l9-buuKEy^Q9MLjSKG$S6dz)!U_32{1)N}L)3+COmlg=nY1@od$ zJ<0z-B%sisAR1yh>z-RfQQb6M4i-d#vxvb~f69M{JLPZv1JSCh1$gQ*LxOF-tH9!k zbQ0ZW)S7)qCSF|=2`q_A3}OHBNBueZwTTz^ar~gz#2KA74&&D)KHt~m4F_nK<^*7_ z!!pN@xiGkq%>1N(rNxw$zu-=1t*IpAy$ z4~dD0w%9;E?(greVWZ3(o9ux`elM>Rek#0 zO=#-(4p5B+wFzlEU7^k{3EdL6sIp|K*>xrriI`}E8ze|z-$YpN`^_teL_7P`%e>IN z7tNiH619P+0Q1hBR|W#POOta)1|LkIRtgz zMJ9VOxXN#o)mlXS=u%`Q>~PBuKEmOWsIuQRp{y%!ty{fEyL0gV)$LQeL#pqX3L@SR zJ2Gb^E9+KVd?;joVOXlGie3?z6>(>u(i!(qGz(W( ze~^xj&IRF<98ypEis{Y_FoHn%C0bW(XeF#Lj=2WUEBqKNPPFppEH?_a3}-h906X}C zSYKcZFU`Om5YlWhh@ogzCn3NvuM~F9jOX|xe-X*!YL+#ceh_tJoHXz`aTnvSrOAZ| zOtdGz?QdT!oAJr3(XL2G(p%2X4{xEohU&vd_zQ(U%ihHOlKPWnb$&YYhx48?|R++>`5?sxvM?!;ru|9 zZ#nwuTK^S%ce<+ggdJBE&fRrXN7O!{nu`%q`M{2Ef_+IRad2cf01P9pST9AOK>y75c!9}~)Et^6$`&Nm{wzWcm4c0j9DF!xJTpGrMp3esI4D_iiDe`sswXSu{dQZE_`^A11 z?Z@Hw=65mVu^%X`>;$mciK}XiZ{xw7I_!t)S00^JuxdCXhIRO~S*lPS(S^je`DH4E zxbKNs8RL`N?gCQ@YSOU=>0FE#Ku#DRO7JA&fu-X8b;3!^#{=7`WsDXUxfUsE(FKSQ z&=N`A7IwLq%+vt(F;z+T=uZNl=@K4|E%p{p^o5(BGjsE|WOR`%8+XgGW8xJTFJc4L zVY#L`OdnSM{HyS$fX1)3_JuNNH1aDsDqi>CzCT5=kY5zV<~29bX)c^I8R5n&ymHkx zj(QC4t#mDK;2xi8O%V;C{HqDQeM64=b4@sa*N_K0a&ro4+8LY6cFHz< ze|!g}zF|tDrP=`+U7KwKl20gdW1%!iN>1=uxA|NZJ2peruBOj?RBPb~8G;s6xIi6- z?_odhafsxoxiBf zwZZ)c*)FLc0#wE~bXw0TPBYl+h9hs|DYr_B4LR_YL@S1hQs=p zNEh%_fUvWZCbJtaF#kP5=(O#{8|g&Kmz1&8{@Lufw^DhtvKx955~aqxi2C=)Z-!Kd z+m-u+#^U4(HYn6a1w652kO0bYBt&goyx(n?MR^kI+{Q?0Y{G~W2) z0dS3fuJ?SU(6ZDp=kUley%PK}K_;YQyK|U|?7t9SHiyIfpT4a_kUVIhH4PSaj@3mo z`z}|mHhx1Pq?@(3vTBb5HTXuFAzFZEt0D-fw_kd=XvwIUh3VXTm{wbDA~cESd5cI1 zd>6=&AvG3yu+)`9oxmfrDQ(1fzv(_0l?bp{a364dXLRRBI8kBv!KsL;brY)#E3`o{ z3TlWUsS0{Voci?6MejccG9x_KiqN>So*1{25r6BSl9jUyR}1TgXBLL7Pr6Wv~Nu47;fbiU7TbL}>qmtl36YSZ() zVf@nqW(As~#`@bIC+AxSw!O5Pocf&rYaCFm?Jd?XR)p#@{!|5^Ws@wd855)mI^8y{ zws+VvGXW6%xoj@JkGb=~%oJ~7m6+uhOv?bH+jJJ~eFgp+}~*^C+3>R-MY!IZQoabCh( zN(T+z@Oyc^C)WqQESmh{d!!T8zS(!wX=R#hEKxMXy(eg zZ+Cwm1a%?;RH$h2_ws|nRjn8ZY!>3gn+6Ep4xT|AeFox7!rac2Lw?jsz}JqPE?5JG zok0}q1P;cuzs%Yrze|&d$oTr<`Lx{fbq2OV=!3v-ODq(n?|WxuhtmwJBIoW^^FB+D z-?Ok9HBKc5@)L(W&vmI{prL?4^OE9TR)bELS=<>*w%&aKjzi*@;5#P3moG@dm{Eke zhE#Is;&=o|{2GWai}7LYEI+gmc^Kj4K7w7n)+9godg?yB2?xs}pF1<*!Sv?D~Uvbkgs9xx9s#6zBv9l@ox>d#H6eqw^KZO;Vg}h!q zI33^$4}yF*q+q{DsJsa(SsV!YQ#zi^IF9MQV6i{SiN4dWWCi%YQ+hNc1r!^+<(YnB zG62-D`M3w3Q2;@X{S`n`{QO>migDpz0FK`->sYDOESs6u>-~<}_XN_6><2g7U#XC{ z$#Ig;n{_yEMnlvx-lP*;ts#DHV0r8j518>~33?Ak#jocW>uk>6V||p7{4rov#RS9c zdPD6r`qF1om9r!zS4Jk1>7fn#GCnmD=JIt1Na`X)=*LP7R!3XATgk`;&U*P<(0d z9p<0T&eYqQ9jot39FxpfuPSPYlfQ$s-*;+c1KL+cHIVcG5`H~^Ryu1Hk7%Nf$TCwR!SzG31@NHpm`mcp8v!wyWM49TjTxASJ-8JP*MTHLC}hF==PUOh8kaaXeGFGd<|e29vSDaS ztPeu&zv0^wN}Hahi`$pcDs~FVt2F;K!q}q*Y@{7i#stWfU`u2La4aerBKhV`^zG~j zJWvtZpcHIP7x*tfLSQcng6D(`HVp4=LWp_0Xt=2wEHjK)!DSz_Z?5J@>awRyk?azj zU-kdSs~cp))*pfJ_q7u`IsCq8F|OShB~D56S(Mwwlt?{yURE7#eI&WcpVq(@9Fd~g zeUiD!a4w51Nj(YzLnau+O3MDub|?loF0=<#jLztAM>PruE7yNDD0L}y=Ayuc?^?Ni zf~%GK=iEhn2}xKp7GonJx!JpDmDsco$|$XtRdUDwbM9$9s7x9-of2nKNj~?b@UOKz z9{`=Irz^ba-c&1vSQxSh;I2`cKc8-4)aCy%#bam;3_8vSJ-jw`_}lyukEC~z00EbC zI*dU3F21A)dSZr{qA5QF+{a%D`h#?8o%M?)*hWxuqnQD(TpcmfNq&UN$BmB)0!r8) zxno@Q?$_D&*4(rW6b+?-Y^5|*P`DHmJ%pI<6*yP)o}2^?>d7P#bd2j=vvx2mfLW@R zQLD`%buR*}nzNYNf%68w-D$7%v|=bXg1mYrdZy~}(@RRZ-U+Gx=nmCjVxr5Ag# zLw3R29-MHJl|`mRxj#sv@EfyR#-q>BE-XFEENbV$#dWM?!VjU8~kKZsd@G=HPrI{HiqN&j<92*-3$^M*;n@rG*i! zvi#?j;lc5w>@+r!6*CVUrN9as=S3?(ZBT979$5R#ZpPm?2VjIyQcEFp9orGR>f;G? zK<~FiYY6ow-&}|v7k?+03TC++so$)2~rN``u z>N%j$AbNQLX_!evzG8abf=15260vIXdz7K^a$YS)iw{@x5<|Rr#ii|ov=LJ{eu>dZYe_ip$ZuzvRu1dpjQK1BvP zH~m#t=2_wy>9+YkdNF-z` zQ*#7=^r%R*pIi2AI`>n9>(QJVE1k8?Ilav<)NUjW^O$}^yZZ{_Uwn!4Fq1`aslX;Y zj`XDIm`E1sz|wShA=?a@ZGKDSMU#Z3$E!1nZ)g^Eg3ZDoSN6@RXrGVCHvMIauS7d> zuJltXf9)LdTWdF!n%-iA9b#2$W#i??K)zYho^((ZqluvhAr@{H{diy0%@-~VW zKYC|2Ma)2^=skdLT@ZVqJfiCDqS@~qIGexL(BKy6Aw9ch0hoHN&E+m3*uka9+AIh3gTWdSe~W({-&^oFw`!j7$DcsF$7`pO?kRMK<9h=SV?cmyJIe`$4|zoI(6u9#qY9zM?#zNe^!Dl2>Z^dH`>`wSY# ztU;V*+g0R0DH6EnJA$U{QL&T~&s{`smeC2I-5mzv=v$l@iF;yN0hMibU=CG^e>J;+9k`Si9PzLaj$>}QKI6lWmO_o+_( zmhxA*0|-Na`+*J1qEMIXZf9rb#;pcOw>EDeDjb!|GumQ2!1ac;YqU|X;F@l1_lemzTN0J|U zFJF(kO21aHg)*KfuKT=BA{VDkOvlx(b{f|A9D69_BHUm#S$F>~`Mt@GesjLp3;reY zP~q>6Tt;`XkjqV?i7lqPbWGh`y<7dq<}pDHl-dDA4QG6`QDq)+vq_&HfW!}P6Cp4d zt>Qnli5ri*I1ILEOGD~3Y!@2^Jmcy1xDXmKolC?at}_6;neEfca0rLHT}NLpoUYh` zDbCtfZnYN&>}m-(F{5d1=)bBuZ?OcP`GmsQV@kn%JMJUIep`Avon#8=ATpEo-@hg& z12f-)R=HCD%pUjvbWa|P!}u)=wInpZG*LHKrZDMeC>Qils^IyY)x;kDRs4c3!DDOG zAptSsf#1X>kSli|Qka@S)6O4un-2aKL?bcV;$*>KSxHovjrfZ^-+c#>;(42yj71K| zzRyFiLrwv$rPcNA{mtv=o(*JDA0kS93>OE0D{KMJzLk$cc_5dCLWnJcFJd6_>BpE< z?aW9;^!;arQcIjloW&YL+~MkNO&a>N=pmhg>{SM<@`a&VeUA`ay*P@R$_+WS2%r?_ zs&Z%c`>ie+%!I=Lz>$9$7a`-`hoc&*dl60^whsaQ;~9~@JYn1Oc_bmgVVyAzUOYgZ z#j{`#D_YZ)(wa5;qzR#zo4a|-ANJjBB90r4Iun3*BkMxw_Ti>SjhktsmR|BPCLt>9 zZ_3eQjweI*-8+HNt)$9^s|+10w@sU!PY{`#BnF!ULS=#{k0Zr5`yOS?p8PfWbKT`6 z@T+PeRJ4`fj5t8bMs)0>o9|C>mBTlfQ*nFG#Rri-Q7}E}+eaz`LmO!`Y_pHkoAruu z`&!5VNnA3IG$}Pz)V&pt&AF!$E{J-;or3vWv3&Sl&9KzG+ae73Zf}=aP*SCI1{?0T z9SAC)W(?DSKOkcmW$(K5Bl?c@(5#>J#j@eq#ctX~$TIjkl>Wrfv%Ey+bl1Z-v?NxJ zwZ9!ae-MsHPUx&_W22?9$mCE%&~lzVG?hDXM%~gXGk+Q!Jf0BspkMWxy;^!n<6JIrSYjv z6F%~$8)0^qbUho9Sdf97b_n({$;|XH9-RHrohHuPcro@03KEPFejN&q?&nJFoIQY; zSI#uL6>2^^yOR!51OLO65xGas55dPG;3=uQ35ZYW04#+~byXQf^7Vq`G z zKpxF`G*X(YOz2^@7i#D+s-~A1E;3&x%%qL5hkiy^JhYjJ74{hvVmAx*6BH`M`!qGC zO9pjEsR)A-n1`6KLACSL%FS_Kcm+?4*z-V?WAZPs?RkzoijIr~I+oh1^~T`q^dCFvG$Gbd8AnTYBjLKYUmayaQz#S1le7Q^Hyr#;X&h*1wDpm+gZC!rSKom zq|+o&UGpeXtlQ1;?@JukKG!8PGS1Io0z6O}ZeL&DsON^I0K+>Mxv#ohK+;ByAZ`Eb z2orY{j0Pa3edA(#-pJA0AaJ6h& z81Gl(pd#j~mrizktoid14K5ig7u8FvZmLLP%l@dl05IprCyqDB?mA2fc*6UB+49lb zZ8`V9epdo=OeZoiY%zw-w`8DNwTORV_>>3T{r)1-YsGSo0E2s>tix9OBqKFBjg#}G z`pgkCblKMYs!Z)r^(qT_c+}gLhR|gnq!1~Qr|~kt&2@_yswx{i$KEn`8J1W8BGljl zr@GEG#W(s#AKKyuqLp+cl1C}7%`m#-!$15XF{M(M*-fD%+i#mFbP35jlgN3{8#A-dmj&OQtG)!031jTwGMal=&YtPfq2AUWekP9J-JT(p099!L`+yen$ zVH1?kRrhV7(mGKkm_jPP_U@Xd;x=ppk}4WY0Rbr> z0MJM_;$GGxL*P68y%KBqHntF{>X&<{aeI4m6+{TQ%~Zp}v%Pujr)zg5mV;cFKqeA- zQm5`#Sd{B6Rc*4PS-rO(vf>YEdXmOK?>K@`L5}|9q}#t_IE%g+U<-1qw3mr5&v;2A zCQ}BEn9_u;;>n5N#dP0RhCF-_UplC+U(i~Zjh>U5+b8%@p3HK(R*IMQwE!uritb}< zF)AK2?+0@-aE3LYkg`B*&N&m~JWB9>(Z>`aqRwgioU)0w{U1K4?>-#i|ZfhNa9hV)2)(%ch zJMH1twoeZWwkE@I!dz$ma+;9GeACv>Ncupl@+gBSeU_uzfj!$+h&@EACkZG_vwLGA z(?^;rcJu1$5H~xI@6lHIYC-$+b&hF1p`AoAOKqw{t0Fu#X`OGt$)7Q!nmJ=&)xjq@ zHoxT4pcYKSPT5(4yzIuQ^S*N2NJpR4v0?rB-^JuaXNLis?E(l>Jo8mUw(gsFLLOy? zEszHWGaCn|lw$LSwoj{G7Uq(zK0W^VVWu#ms8BMRlF2z%-g`fOXmndgC(na8fc)s` zz$GAoxP+l|+T_S4$r1sLwkV77ew1Gug*`|HiE*?FGLm1q; z^p0A0eqqbmk3?|!CB9DBN1Zof6d7+ zJSn!`VD~tVaqy<*Mw^8dM5v3Bvj2VdVFb=)U3L2eDM3@>n(P z?Rr_=I17+r4fE{>1LBQG0&o97nef67n-aNnVP<{dd6*B!Q344 zZbsAof&jw+;CLeK2d87t9s~YZ5?6Qwf&{NPEBN+)LbjOcZRXNcR&h)x`TtdpI+b!>$E~h0o1L*2OddpR9!Gw~-E^Cj(7i69S<66ak$)AYMv|xG+;uR(`;h zGIV3}?+Qxdjz)s;s}jHY{JPmeo@-tN$H@hxaV@)}K?y~ts~E6H(F|SlsN5oH8g7*h zGiC!8c1doE3U|D}Vul1yPmXuCk*hmyU4MG2ml#V0+(G5I+`L_=3cD$%$I=@*8m-LU-!fn&-sZO1%ls63+w}AiAK`Jv z>`q~ztr&&(gCkFpci+*1Ekdv*MhBCzGfPBj9dM|YEjZk(tWBuz4?MGeq+*)t>Q=z6UXF_w z{QDUT4^JQ8J%hW;d2xGB>Fl4Y-bRT!ttP2GE5jYoI1e(eVK0&V5W+>zludt=nf|UN zi1IV;MK$Fy%$yw<oGeW?JIGjmfGLH$Y;l|T0p1V!N*Jvu zHSAG0WpwPip0vm7%VRq8$2O2>P5b!WBfTz*6dZ4Wd6O9Y(8A;nOuG((y?F`ac_u2( z#~17CoTK)1G<~~Z4jXlout{e&nZbDHyHf(=a?OtaJ(2Q(!g#)Ugw-QQ?A?mN#yN%T zBtJ`sA6Lpg`k>Pi8a7GssiY$eG0Be8LCoQL{GDqi-;j0pLmT!Z)szldvbN7GVcu*S zzb1rEq|M)1qa7rM*I8!<#w7FnQ?{v^? z0`MlS3+`#ZB5$DT4+`7e-Hlp_2G0`*F@STbRJ|!tk3cC~1T%NR-p4s=sTT+RqsMjF zyrp-Jv?CD4Y3N&Zb1gr=%`MFR8;|r)uxQ6*X{OpEhQ~+tu}^n8Wijiy`pSMw0uKNi zSNX^Z1y;WirM0o_x%zft0U2GcLm_2BS`b{Z>g|9VOVr%QF*R?pTpiJsEbj4jLVAyd zTA;x15=f~b0^(e*Vo;Tn;WTJSxpI9LmL($Lxob<^S!k7mGhnnVNnAC*g!$ms0#Q|q zs=25I0<>fUw_&+KU`}5P9wlmjRWdMYh%Np6n?AAHQ;JzG?s(Z9UR`pNh79Nzk~DF+ zX~jy>>f-2bl?drlM8 z3NfIQnrT@pLmv+QA6efWPv!sqe;mh3_RcOj5>Ya;4hhN13dtx*_TJ-=kX_kZQDkPz zIw}#e_dK%au@1*L&iUP^cfH?zf1iK)tHv=t|>-9mMT!;;Vg|svSzWkN7q#t$c4N$Q;tl3EYwef_4q>GO<#I89VhY;`X*hz$n*GZ%f+;uViG z?uLlxD1OIeid}0r9%Ssoc7@vJjZIsZlU9zvYpjhYiOrzD5sq3OC zpf-X;Nb!DLpxqX^zDIK%=46-Z3%i-bac`RIBS5*wcw5Pu>G|kF>TQP$dGRYh#1hwD z{|cbbTOKL>Gb1-;X6?vWLC+KJ_^Ij?KzJ7eZ?^8XNgoYU9^z&>d zsIjX*uOK`#Wu!`>L@y!=XpQcW+mBaRjm|XrB@etLdr}Ob57e7EkE;7a*t7=M#XFL6 za;KHHk-rBNTjp-gS^;ehKNv>K>+_jPQ45J%4><1HyKJ?;T9#~k_23?xD}B&@Wp{%H z($hU+nWR?g!9dsJkgVz(J_Yrdns+m~9V_gQ7Sb`&F4wZZ!k}##j$>O{4{?avCbCZfyW zO$)m7LE=P?$CXHDU_RUD+sYwT;nKI7 zSs_XTv!BuxpJ!7(b~uYfsgzt~mj5(vf2r~`LHwpePs!o2A3zEr@#sxo8HEe8>V||d zBiz0@e&6}p*}!6jsm}I0bN9Mc2(c#jg@;Nu6!Kv&4&P8-UcQ-00WJIO%4OuUn;^jU z;I3r=T3KQtiMQ7&x32eVtB`mCe)9ws^7u%2P`B%Xc}=Qc&O^{FmS^{~Rho}^s`B+H z=1_T);9LRK?{$Vx22!5m)Er8aoPOA8&{7fyt`t@~Vw%gtx~+g3qs8LFR%(2Uny28A6dFYnNQgcUa>Sq=%alFh&8#@1o_qgwve* zVFimnUtL{4aHP6s?FB%bu2SP=e*VGqXC8iuZ-JOc{5%Lx0g|VvyWkdh&FD^Gkc!0N zhoolXvp6GC8wj?Y+V;r*EN+<1ac`-+!8Mqb@Nz)=OqV?4gxhR^t7*+^+AfxxVt(n{ z+fkk|-xSGqmkZa@Q%`;;r`-Z|? z0fR6b@l%pTwK*@xY+(MwBUwf^z+F*~piC64BWTrz}-HS1-XF-IA%?Zs_#F8 zcmUuEZ6Of>YIJOe$&{V;3vIBw7|jSGPeS6cvTMdj96Y~pI-z7InGW;(DhFqaiTTO9@KWvQi9__j0btLZ9 zAa~-Po%^sDFfme4@Yiq}r`BgnYK2eTwCjg9_zC4V{{&_GTm-!qHGVR6JXDjw;}GzF z6lXA{xo1+tQM{9vwb1&sRXPdGDHbEMbnwh}t+%tvcw5p4J4r#hEpDl=A{;Mjc%0)T zsG}v<$^HhdcE)5IJ^iBWK{7?Zn)vb%c!5eIj4 zbT}CGO*u)Od@^LuIC@_2{=AP2-O99NglFudj{!T}0e8wtTQcB@F9QW6$J!0Ye`T+U zXDx84b$!hD#4YzSyZLy~!IIZuFa3%eU zG4eg5?}sZ6Yj29P^-PcXG*8%VzLL$0!oL?c(!oQ+G!kORsa+lsf5YER>PX83R4LgF zgPNQJ#Bo#)MXU%J9k?RWD;c>|as5b5p>xAwau=X5XbERX`_ZHB8_XSNDe`s?n(e>) zGF$G%n6o+W{6A-@4hsIK0*J%jpB#Y*G^B48eQD(CDZR5oBl-P=)r7fH^PLf?!aK6V zwkIM35?l*I6p@;^H}JIDNs-fF*IFN?k?kj(M)QKM%%?dSkf1d$Nly2z(>)oq8z}0H zH?Qa{x&36#W@y04!9zx@x7un@ob$&)V8#f~0n1|jF0kFs4aZ{ND1~QjWHToIY5)LY zrgKDCj@dFCx&-w$QMi=CqD*=`$NqC~2k366pPXl#>Y7A=iQD}f`)+B-pS@LIW_M?9 zlBS_)(vGz!L$#P`?<3Hvonw@B1uJ244y)M?0)z0-hq++sJ0GZ+{oiiH;lFi&wy(C! z0Bv9z^M;`4@)USP)7dhg@K5K&U&|7&-@I0Sk>I+ZH75_xEn>qh9qmc%aA@NEKBsVBgUuK zC=b{w-0oU|)~tAVI zyJ3BAB}%rsjz7qZ?x_XCWe6!_u-{e_3u68Asso0IvwKdxq1lN#%4w>J zi>}P;$JZ>58(ZAjsmSJl6BWUTe`0eGEf3f_yS#H6vx;UJWO7CCK!{)4C}`C$j5gNj|k znb$4QRurEE3tPEe!JzG-a0DmvXePO zSD#Q-qOAjTMm|=aBSnvwHoEbgyVIz@J$hT*legak-hhb}e#%cm2$nR2 zV9A{kc)WT$np=5coPQIskbGMO@Fn2NxPv$@SJZdG6}jV;+%(cH+*RFQ(+DjsJlman zy`D(yN?8MCtjWD3w}Q|jQccb$}BDW%M$zZZnri2+5ls)@@(wQD`jt_GpTKL_^CO&SSCcHbfMX#JXYFI^*947 zPh&S-G=l*C@`E5CU1$m7ao(Q&oSmY7)ZZ#5_fEyYzLsFJwJ%GfErFeRN@7lUbUrL| z$6;gQSNsI91LJvT+$Zb0>g<4g8T{B!U05lfKmoSRH^pB^^8sJ3{8PzVq0NeypMF5k zU3qOqksdq{>AUjm3O~dZx^vS6C$ldgCWszl?xd8-sJ;-kPnISB*-f=L*8XggOx$?u zg%B-QovSjBbj}%sShZv~r?`*6PiiQW;nee<-=+y4}S#}q_BgXIJoSOf$YbE7vXt4;Np zrKzZf6Ny0aES8(-cqmnIGMg&ieYWryBZ0VTB=4<*@auP4NdIk&q(Mt(OLPm|Yl za!0OpC9sA#tk>OsaCSx0;!$5r6naw ztzLBo>#LKaxxsO=yWe%yGilL`A|6E#TK! z+1VRQlo*D?(k0-mlRM+`OMT8kVB*-%ZGv}Aj1u^j!wu*~>L<-T+u?6sX!3C}lQte- zk(6_=iwXsQ0JbRvJDwMnk!c99w~s~uD_4vMB=m~-ft-*|z~$*g4g;pgG~Ap1m@@Fx zWS)8IKSN6`^vVQ8hv^Oc+O(Rt7!U%wVsGP+Y6fyS%GG+v+dIdVfCXPzAV~~li+3m5 ztFQmbE)(#2#Oi@k$1#zUS6ijD_yYsa{+BHZAw+^zAEI3bc(h0qm?|pNf?oS}Km#OG zrOfCKn_-CVO;}DXu|5YE#d8I2o>}vUxYlv&>=+I28WY>a1;uI)HUM_IvpF;Ln4ROT zf!=1rpKihNFUo=R@sD-pT!EOm%%ncl43f;aem^;|A#s3`b6vjeAzO!M-gwc`-Kj~{ zBX)tq64*kJl#TrgW4o%hTY3x$P01nD6a6s2#MmwM$vyX5PU|YngU*wXGK*?f?#Eg$~^OWW3I@of-=XVuu-b%A1Z|nqY_2 z;~jD&=QnB#WGU>;RwFq(I< z34K1fCMwf9F}G%k(&?~2EY&)W*-_z0ReS$;7+I1)zz`)M zpAF{5ZHLPMJhYU z;GE*@hM1NM{G{L94dL$!Y-h6A9K9W=I6AYb`Y=v{(tpyLQz^^Aibea(q()R*TU|-m zozpyr!|-BZ_Dn+$*2|vq2Y@ghHo!-`WjVtU-bab(SJp2*2i-}$UP9^qnF_OIFS~-< zYj^VS!)Wu}vn6!LDIt!HJ1SU-@ce>z8f4cT4R9V@O^Xg9)4`VpjsXm*~@%l^Ux;Rf#Zck`BNXu0Y(!C zj%Z}UAmD00nsOS%Uull)dU(fZgJ$bo>3Oa`8h~Wt)EM?v(ndlTS1p0|E9Pg>=&>58 zghD~%R;YpqZAw;F;M(lx5b_wkVbnd+ER+6A-SYj^1XUgNGn0I~ES|f|5emjyPIW)S z0z8i6)BZt&h(qQxih4HbFYa6~jyeKbc_`QEdLD@9SBGButjw|b^l*oQjDk<7Nig08IK zb`ATVGzK%LP+>9aFM0hr8t+m`uNr?h&8o3Rp$T&ql||K}7GgobFhCViaDH~+F#yC- zt>7T3&_PZ*feTKTyd6vlF~JmEA1f+*>CCE4ex}5N^$4o)YuxX&3T$P0(IS!+kan^J z_p>v#1J8bWELml|S02YAQe-&yVew+kipZr~H-I@yc$=8#rZ-8L<_nDx&Qv3dJDwUX z!)@=h1`~R2M{$J8bM^1O&Gy2oxe1T;K?NA{iv_eYuhpLyc3%xu%z`dVc}Z}%cHGHQ<7P!Q|e?dwnSpL!AUf!B^!?#^Q#W!Ry+7ofwPZ1mZq z(Id0{htmX1W?2cAYWZo_lOtT#+Us-nlP$=CGK|Ri4x0Xh>(|iN9y1 z=9y26A4Y}ViRi9Fxzm{>J`YM>GX1D|$4BY9xJrY{oY2~Z&};B{Zq9Pp!pox`8e#0C z-h~@fohA74(#ws!{7kIe4v6XUX<)9bd)g66Bz%^Y4p0~OF+rY;l$v&7T<3~4y!bv> zR$r#LblZcVgy2lq!ff+>yuR4qCcljQa03x|dTcG7`CHcxh#POtGKt6ymNd_0qF7Wf zBj_KC8{jl!zZ>0neDp19n3sD?HC=|WM3!}cK4zCnu6Uoj*hbV1<#F2BD)@A~y%@VXx+u}Hcn=_s-({PxzmMZ^xJ1SV zoZMY*FarYvO_@z8Lr2ep)%HgIL7rhYa~#X&&V8oYSw zA4m{3{hw1Vb~~26K^xro&e7i9eg^SqK0i}kG3z(!_~E?sjJlSWIWXJqKiHAWTG*SpPcCMD`kEc1gx`R^YkYWz zEN4vEIkj@&e4tC!(_~x`-K$w6CU%X7U2Y z)Y}T5stEyoSsB{H{+xfST3tov~6@lO}2gx#N(rHXiOAHT!dp6FiV8V)B4{L_P_% zmX0rPa^-{1xG6|#uEGo+!v)QAOjRe|jg2ICcXU!|Cr+LMbLHlhJ)ErR*P9*z$NLlt zmYjAUbljq004ZyOco?HJovV7M*Wb2nF8vT2D;3kGi%F)6Kr#TVW>}zTHnUQxoGmD0CY9J`|d%8@}n;_co2q zWr98`R_c@PQbMi}x3bWo4XZj{it6qYj+o*XvNoS4>rF;7WNn;vA*|A!3H}Wh-uk@n z*hV0S+XnX;K;BOoz?&*9_{NnM25s4^^QUt|>R!()^Z6#G3OmL{CU^-IG_M7_a~B+& zCrV;ouC1ljbK(K=ygqAE_-}ewnH2&&t0enS7}I4i0wJgNvCf|P$`|DHku`K`HfDa2=n@DCg8MRi_)vpMR2Mxy4PE2Qe! zD||kNXy=0WeU(43v%md9Hg9Zu#CP%d%C67gk_#pfXs8lf>M=betm(}0fdDKq0{26# z_c?J!Cgo-~*=wswLXkR|W8d+rDdV00`22Ouv=_Hod9bmB!=D$I4r@7DZX7e+0tO!9 zR{0d}A6^K#yRx@ykotO4(WUJsmFvN)d-o-wZ(wcDSUS`8jO-JSAMa4y@MK4fDP`(P zzxQ2})ofiauWKj9{Rm$Yw^?g=?`oO(Vf|T^I+-A+o1#F`>tn59d=FtgVJAV=y;G&` z0GMvtEeil5;e$Ln8-41(UeMl2kYLk%vPl?0+Egg_;g)494o5FsvdeZKP;&&fjw7o{ z|B+e%Z|)8Ts?=>@p|hr!nYXgV=ZjI4Cp#$E>+g^6r7Nd3<>-t=G%B5IyZUI{e{49G zqnIXEB=M@5Ndf1J#l5YWcLG=A4ufF8S{z5Kz-uM?Ni{{%mr);=l0=473h#cIc{K3> zZ-VUw_Ng5^HgWQhs5tQU@qv-YBej9`R$a^|lknX<*+sSVXue8M0#EPBJ6_Liwl*8l z_zoD#!l%WIXJZ$jm?|zUu0LdeP&8IW*(|39&QzKGnem$6--u{ZGtHt#Hro*h)?lu zXGKo-4Hv1WP*VLj;uA6UwGSV*6ro%PRbwR{@tXoCOb=OFTB4ru-|Id!rP5Y6LF*-D zy|t0qDSVPo$ffyoj#CIZV?l3VsPRYye$F^xxv~Z78_fwlCWbwW!nYCR2nx0_+@tg3C_UDMVa2Br=X3hfP}^Cp4Yg=#OK}K zKYVY`V9jEKD!UrCbSX6Xym2T-cg}!n;?;o{mM|zWj0P@D|FO-rQ zKt#ApEh#AX%_f%9!G6`I*K=bSnMIhQ%W5&BOMntzVr*eS;WR;FgM)+k`#+Vze*z&V zkU^I-R|!Nwy<~>eeQ~hJqa2|DdpX15kD=6U73Du;T|VarycBP^n#IZeIJ&H3S9#@oec~poZELqX$DAc>XZyuIqd^GK0Jq~0kI=d zA7gMo8%zmkEdnqMh)tkp?V0I;Tm3`>aU3^~dXw zlhdd3=iygnUgYu#GRhxln}4D?Gokczq?T;RjCk0=fUHy18$lt!-q!%sNxee7No^+N$9d?Es*``)0UJ4SC&FNY0pf z_MlbGdUy$|F}YDvJ9GTCkZbsNKj3DL5;=BGBx8xI;n)=A0d0j6MP7Mi6MQdk@Tux2Qy`oI_&*%EQ0bE?|R>P$rDhcFa8O?JIK zPOpFDa?-L*+Q7RrCg#y5z$l0d>n@+OYo3g>-Z*x&`Jj5|=*UOYaJer6;FAbdtt0O? zrFGUE?!XeUG}G8wMgeTs%+r;3uUU;Nq5EuU{h-g&UOBKhdS`;J=m!~xn*ztv_p@dD zR)tR!P=~5kX)FRsx9)uyuu?0dh%Ht7`PTM@e#Cq!z2ts;O;L)tQ1ipDiWqbGz@o_p z^D=UKR#`S7HAt4vQtD(_SeWyj_av~#tJKlb9>-s5Ykuzx_E1ZNl4)~f=zG$*;-y=T z2ozmFva9az<{2&63fQ?(Q8{IPx@t1LuFcxP-LXVctWh3AwazVTt2)w^*Zn-#eB`bD zSHoAusjOBK5(>uQPGj=ijdOH3jqG?(<5#C{*JQ?Lt~@zow=Ii4Al$Vr!#+Cf-gx)A z`_h(>b@7?*6bYM8%628gGW^rwWoG$mK_eCk`}B&llStfwHf12*{5spmTeNH$4{gCY z@Yuwr*k@%m;T<60bw9z6^WpWi@Bu^qe-g;YAzI+VjgsuZaGA=^G*I{KLy@rIjSpWb zFQNsCp2T;S$VaJtZ<(waRu8y7^X;>YhsWp zM)mKgCeE@K;J4vQSV z&-(Gl5AJCp>K*2-`U|4i;u3p8xo6(isu-38>cY zml1Eo&FBBKJpour?}q&nggpFiGM%m+YX`ng8P+uRnJiMyWcv*_AZ8KAB$w;rfmN8C z<-2EB6TqZO>A~P{*<);wYqZgxQS8E*syOXvGkGxF@s(scud0uv?T)fQ z(DGrwM7lvpitUG~6!*}kZUpBn9PuP`5^nMK@($xI^0Q~axP5qU>L~uF{R_<9&m z({}$$WuD1y-QzMVb3jLPk`~bDJNkw(Dv-6cKUb4uzD= z-w?i0NZ2K}AbT}Zi^uOZ32xmSxJw+6(3j%a!~Tdy-@RxVx6YUw2|V6JX+mSJNclfl zF~SD#eo+lnB=ZpHLl{)E+`sI^-V1Vn!6#Ml_W4aH*Pe(++sNI`M=5L3?X1z0;CJeE zJiX5Mp6JH*=R9W0t(1@>>1y=lP^F=yJil6JxU~I}EpTsBx?rJ5LbCbQ zuLBmmX1MO&!E}khx=+#hCesIB53`IWwqyFtR{AUv7vJ{Q^dn1S0@*^UOmRwctFy&> zd={(J@avBzmu$MbyamRMt_$kfHY<*v)%%&nY4hUDH=$k)$8LHlUG0G3Kv#T~-vQjw z)hXbsNIg?~b-jRw)ir5Q(gfwM+Zk+0haf z+4ER%>T8RnKAoJ-(s&tu&-iZ@A?^J|d z6md=9C4am*v2r=aa&a?~37bc($n#wQ<8UGXL+!RtrRXGSj-2INJ#+3J=}e6nOC}G8 zN~lvCS@rxoq7w$CLg-wx!%V%ymw>~xhUw4cADX*$A}D~{21F$!Y61aHwpdL!QcrsN zl~$s5kk%7HWHkZ43%mOcwlk3RcbKGQ*}K(Fxput)rpE0zH0vY(EyY=blQZ`odG#hD z)~{&r6XkSE(^csqsaMm>2c%xsT2&g_Nab1bTY%fIoNHatDY@C@Ei~v@19|F?szU6SWRS)uDXqNY!48RlAb;S*ijqus; zp;bteR835>3BXML2CewOM<^q3M*ubU`}gnI-oS&(vf=GF|JJB-inGOH_dc1xb|iqR zWgrcNy?1*8)vAlAaiBE%K3Q>5Ygy-#Wf$>FqL|Kvgb&6H?iQC*Z|PN)xZJhH#d#=a z@s9O0oea6Lg}submzNZ{iZ*_okZ$6G*h5YO!dE=7c4=YA9g$y%1xjkVl#|1DShEjM zH3(sS?uRfB3mhW5Wrm} zrY>KpBxM&CC;s5Ie_{o}upN{vdb8x<_$5iiQN49`z`+Zz`&E`yLAim;X&}$HAfKmT zkO2Dgdno95mWMH~h2c4);H=MigT8hyzl|4g;dU7F;p^X>w!fa0zf{^rf?>~ z0w{=F_R}ru{g5i@&xwC%R-!-1x|(k6pSb5_)$f`zyErIvSCs{z`iVvU4x_znFKti!!av6BkRX_=+kEc;*`_rla zB`g4ruCJGT3XVTTrlh3Yj>1>PNIy?sV%Yo*=qaBIOY87_?P04yx6TV?_{~K? zOHEo3|2EA2JAMPYZM!H<{|!s-$r>l5{19icxV`Wf-{<0I>{v&H4FZaCy$B6Ludz{v zRH!!HV#JGP?5(L!Zp#}NlOODgWqjO+yo~+LasPYxH+ht2KjdfCFQr(oovP3?vkFK^5FvPJ4^LD=DpYQi4tUXuY1;erJaBQ79 zHcp(>mKvoD+)bq5SX9siR>(%CL??*D>Snn%p}NfGO4(RY^puLI+j$Pw)NZLb5bKo{s|0L~ z-A3R~;QHMg0bHSgESOM&N&@oF4|8gkPF-nVM=sQ;d}wcS{{!iW-)yQ``D6t#xlh(O zRF0Z@O>0uMz9g)u{P))ptV5lH2(gC8I5i(FDRG5Gp1bgBydKgxJy5gBfK(#D7NzZU zatG}S^z#KL*Do5=K*F7hk(`mbdgI1XoM!8*-};#UzNtEG@Nki#`7)GfV;VlfW^)=` zBaAjK5>gx@wf_D!B!2C6xBK^K4%x|+#?P@5N7tlfWo6xWJD~Wz^cnPfFF($Ixt4!j z9%x^1$on56XZB0Irm^kw-*rd1YVO;(*LbB21@7OPJspo%WO676#~oUMws(zP#+shG+$ns0IC3W z_{kYU>N5<_6=j>*0d}r-?8U+--eXfy2M+opoYL|=I932TMp=&k#tzJ^72OtRJ8BVOvTYPh;@EE=LJLeOk`y?d|Dd9%fWlhON^LnB^6x0LyZqz@imyogJ`$C@Lr9Z4o)ZQz>NCavG$$@e2#r3 z4I=}I5KgV>wl)~_Ja7gLQGju0c1{h%cV&6c`doWWv$>q*=ZLc8J{hBiKXNK?zx2Nr zz!pph;BLU2OaZTv>Pzj(VpSp2&OWNCF<~>NgL!nezhxEgj;&2 zl>z@V#>sykFCnFL?|(j)J3SFr|FFa`n@KbhC2pZB7 z#3>qIn&~mG_Vki=p8_x&CFeD4V7MvgJlk^G7H;(apFxr+7Gc0+1KfI6$@aeF+d7DJ~_-A|H=0?Da#&^Cqb=!=fVz>giW5nw=jWQBS%L^t1EZ@ zCm9;qlG{($@0W3T&l17ownc5pWhfM8Mwn-fLtb7H|IYl)8@QikEc_Le+s60x?&B*m z5kObB5{BD}gGr7l84~vP{N)C~3V;xhBWd%=^j0&KBw3T3-HU`;hqWA3OWW~<8nl-M zfYn-BI0_?g`3$_;&Exw<(G{QM|8)Kq28x9NF-F$>r@_BO)t^T*i-U1bX01<)zC_uE zR@8qEQQ#cm$YbXIUPVO?z7KI$pw@r=-V{V@>dC9Hn==1QBVy_b;#*jR+&f*$AwCl?o&G?2Uk4=*Ej zFK^Yvw*HTO9n!XRBWe++o3)4O!OC9PC=_l_<$M(W8(Akk`zv5?nJifb^rH3N?Hhio zo$=nNmSEz_QFHj|XF!vQEcdqPyZz_4|M_GBH)k)KA9XGRlTJD;3*y1c#?ZWkeaQM* z^`Bf04#Z)ARgrE4rMmlk8E5F=NpaW8xKNd3)-orW$m+kh(W12jQbQ7oi z)=#qbmhkplt}u`FC0sV9sdnb5$E!zX_xlA{4wW&j0*DCm`=1;Sh_sB1xiH@C89Z93;8d)EUk=lPNIZ`o3H`Vd+Ig`=CV}#?PAXvzWk{x96fn z0(rYh<>?PJ>Hd8v@c8=*vm+)>P1k@i2>yMaKw2nihLV6Z;wcdc*E2{8=xNh(FkEe3 zq_pc;ISw&}`?lqKx<4vIa67!xu|P}G$c3MDyg?u^InS?uM6Zzys0QM9ChW>g-ypzA zkOUSfvhTTWq{_>TJ{+kpgwX{@>P5ptiJ1NTO5)8 z8BiLUY_!*AJ$V386^TicK@z0qOPWP#Ea5?}!$_&fQ zOcRKuR^tLX*&CM(ahYftiNg!a=uU|He)2nU2(~iX@Yo|foZp906;o=d%aK09YEW7_ z-yX*;XE#z@?zZ&fQ?2fYX!T8@-$(K5Jo+AkyOM+(944x4B%2NR&avFFJY^9_br5UtzSX5@gmYYm@ z@S$jtqFn18bXQr0IYhQ=+2~ZDB_DRW3d=*B+3q`-*1P$i!GVIG(AMp=vBQ#^_mNxp z(;4Iz#_~&9jZ}}7oW?R;_x8&h?b0N326NJq4~>W^TeI^!o4=G5G{|9ff|`NN5+?ns zL@IWva(*@PXPmVGQ#rgIOY*nnoqNDDy$hd2uMT>wBgzg>YT&BV2U{k1ah1(1j_v0` z@o;6~SUGW=!+j!oa9ko_2^G75?VolPmWk=Pb-h{k=phZga( z88Rp7QzbHkpYG!aug9e^DF63Bi|1#CeAW^CpakO9DTT!p$yhuT8Aq10^cl2O@Zl-2RXr`+zCPj#_FqXs}W2{Qvn2Y{BmNsG45? zB{BF_rVgT$u0 zE8o6|@C>uOK1Ba}!V zx!M$9J1B7#_JSs90cKlucib?T&HqQpLE9YV1?v{gh2NWKEt9FX8;3DePnCL5Z=k)Flp=?-i$<5H4zc z`?2ZZ+p~Y8FYr;m3Vn2(u5Z`Av6#S}zkpQpZ|vNP0DY^I-oa$HXzg+ajQC7%wldRN zfOAL!UwFtuphqqR41v|3He4cQF5;UU9M~lti-k<HSTs^#>-Tf|C2&~#m%6WZAy1jz!Q_-IbpZP z8ht8}UG13lz+N-7+01+RlE)6OT^3px7fn@1|_b7^{bhPet}< z_)77(<^>8-qQ2X(n4faVhm@T0@Z{5HFSWs~EDXtV@7IAMbVUP6;v8^%l3PZ#wOZ-* z*Vk4lRj6OYpAZ_$*`t|tYKmLar&&{5{d+5cst)rQTn`n8>Xi+0zXc6YbTPMgzewFg z23F=+`8=FXXF6b*CDVN$v3|6iy;TSFSYh$qrbhKDcT^U9l zj}3g#zty{k*>s8S+>t|cng#3@Rz`z}njy{*?90mV6_Mkvv=iL9pb0ttHf$7;TxkX1 z-klTGb`2~-Mxx6~+{b-KiFd3XG`p?+6-0PMorB#Q@TY_CH5)En#5WrmHqj;@Fvi1A zeGpO@wuYIPOgRY&02e-U+j7!$LZ#5mS72R3MJS^gfheL5`kQV_n{8}KXaj)V%4b~As zFrQ7yZal}~{ELX@8c#V?2LlM@)g(|;VvcBjEuTJ=`WkOem{DL!+7Lr!U;F!mGm_^~ z+V^T?%bz+8noq9{ybcq16Gzd^fS2`skac)@6|;8X8l6Q19epZ@l^3@1ES!x2XLNA4 z_FI8#x5sq7hXVr83D;_5$sU!*Ye}zyx1wMC?Q{DSgrUx#fM?_Fj@{syA2x2yL^J{S zPPLkQ#O+9E9a^H*USdriL6rGHDt$B!vu~t7^)@_e=(<|SVd!MenX48AP(Z$4WoC9_ zeN;I;hEAr{ZvB^gK*1AWfI~5H0a{Y#2UBjn9`7;3JDrI5leeufemoZol*pDlVTSHP z3#8@6kxsJwUFg9(;)>Xm!{nsFC<7}Xwv_?o=eP)$>vvvj>yw z=YS7{pIOg(u@mJ%G0G^TM@L6>l)?_{_e`(yLxmX%h*D zMJS13@e!}HFR{?GNtq;%=4#zUgfFP^$g|Ax1<`vC&qIPbwGNo}3>ZM?=Evk6r|J&S zi$UD-za)A$kcqu)8)1mG z{FI*zS4{wM6S3;RP-!$0&8!6*;>|%T%HJxZt}cmap#~4vD0Pkx22gBbPo~=2iEMFa zSN<~qRz>jf54?e)>3%j;Gc6C1_YO0C|CDQDt7+bE({$0($tizZ)xn2L?@6_ zR3$`yiwH?E%X*^k*^oQ=z!1GA|E&fXHPR=rIEGq4%0=SGvror2Y%k#d`aPmx5@~7a zdkmPa1d-<`6M%& zp9rn|?C(5SRowEcasXoE$)s`=GvJk9wPt|2VX31T2F}6x3#(&IMqZND*a1muBh9?X zX_HSLo?$y$a;qFx^U1W|YAd%)Gaf|AEHqZ*{PW96FF*&nO-@c?c6t5=K_z@2f$8<^ zY}d|9NRviy7sF$61>@bV$B3*VeDg4DX3qScxVTL~5Go^T?}aG+th- z2`EduJx~ZcSssR;yX%oW&ze|$TF?;>HGHp~Eq?$w&SAD?d#s$$|4F@l*T7}X$7>}7 zRvPwxrPaLO5X-qYiQ7{P^4Ui2GDbq&DJ3Yu`)8zfMi1{>HEq`+uR1bJ4x!#n0D6_M8Zs_# z3mc%u30aK|avL-!XI&?{^%v4OXUr4OzaL*|-HV&M5GPx)SUqYMWw@Ex;%DHx^&FOD zncjYHD@AiYbGx1O(rsKW>Eg}cid)6bqA}!r!G{?x#)c?^k+q_uv%Xh3ha^A^{%wnpRPY({1LqK{NQy>!UjUc8f7x2` zgyLiGpsKlFO75ee2#drn3Glyna)PvUP}e(t6P z(8^W6g23+fzT5gZQQ^L-Yg#^P;QK8FTZAe)*|CKS6(I>8a2aoN+XEkYf2jAF!Zi3! zjS($tF@bu(ypeC>`IZtF;jz`F6A-Y7ZUQBuZxp&q4zHb9cc*!1`T3p9xL9`nWhNVr z!2lf=fCA>;1E&E|yfmrHqB#XnUCu28b*4#eZ{lLL(42#`ui?BO&uZj|d_Fh!Bw8g$ zn@2uezsJz@^XM(T{!CEw+EyG*eaF`FuTN%C zOZg)khBpDobCl(3ud$bhr>EdmuQ^l^Cic|y2m>LM+gsZGYKUAeJE5YUX9}j^JDoojv<}Cm&t+agmp?JE0%d#fo}m_cYogpjn5&egilTvDFz-Df}1i zB4)bXfn$dqb!cCa13DdCgMNehaa&${n5Mw&bxeKfNmHq%e{T_H@WB!H3QgFK2gNpB zP<;xkez-y-Lr(0^P^G!YH~WLut`0=mPXbVN64iv6Nd`s=eUQ;?V((+QU0&B4SF3*{Pm$AVrq;v&)c>VLy_UCe45VEsI@ZWM2TaB# zRU6XaLx0^H=0)Z!$rIu`3*s{Z!W7pU@6aHvX*vUuzME+!B5H}k_gFD)3=f;nI zi1|B!@iO%p;L{!JSEI~vyUByf_{HY=;RuAK##-h!06XFwxYi?xl}oWStJ*P{OcVe~ z_v(y8!+BaLQB`(D(XrL0ReKMn$R)8mU2@$q$Pq; zbZq-$IkP4V(`m}e<)cwnZLrjiA-X0@VY~Gi5-PKX20#Eag!JOw1br%7Rr}`(v@d!u zCo@&wE1SwM=zt~$K!eJ**9GAv!}Cogn9(d0X~BwPkU4gaWh?WVRcE3N?C%_R_D)Vw z(YmJTJ_0~fhItqHPqoIFGQYE2!~?aSRa{vjcDWhy5>oT zGOMFTWfL`aLx-!QL(9r?~D6y9Uhq=af8z!rqg#p zXk%gE-;=@G>MUv7p@P#ni@zP*$YQwA0Dlc21`%pV;p!_F@xI(^eA5&SZ{rU?^Wj}! z6Y%C^eMYilc_~MAwqV`h=I0;WA)MqJ^$IvyJ-O0)*RuLYjTL1TWd|(NbhIZ;nOop( z`4bc=fsxaeI@zc!vvYFFetFRKSMjef2_#oIzzPIxZ4oB0sxKOzX4Wltz#G@LD2Qr5 zm9o~xF;EU*_!O`}IigC{sU%1^$$B@>Fa_H0*>*1Amc^7tnKxcPpr8zZTme`6(0@J| zXfBE;0)lcuv%tqq05V8P2B^)Nhq~qdR|1KCfe>(GeuFaNc)T~zvma>o)FZv;sVD@D zynx%jpd8m<{zI zz44BQcmN85TNhy2plu`Nt$b;sKELSBpW)my@*ZnL{lFaD|7-8c-;zw*wh@(1yH+~o zQd6mwOU~P(B4CS|mX=v+F44&NRvMbQpcpDmU!|BhndzGgrsa}~;RGs*v>~aLX|A9$ zxrCyC3y6ZiciVh3@BH@t1LJY%FM8{e94DY4JQ} zYS0fcOC|N!{@iq*a@H$Qe9ONriBWJrhLhC?o5K2)!=~i)0hGh-mMd~RkqdIGCB(fU zy5*IvHssJ&gxudt>g(3w2{)axskJ_#h96qTc~<{c!`n^f zg+SOfdm8=UI!4%}d%RkXd}yWU1H66h)eDTsQr!qkcZE^zbI#F$k(dn7l7z}@YSv1+ zIcEYw{HJjfg()x7R@zQ&o;LdJ2vi6Fkl?OHM-Ga!%w}co(6=I5LZ>n{9pr~6!z|S$ zq_VfE7##n|{H(t$wPI-D`~L#((@V(MZ>p6Eb8k%4{lIGT;hZ9cg%~HhcbDCd%0RbM zs?uZG1wSL{Z0f+NzDiO?w9~XT^dWptKJ@M~0(@5*az*ZgabU465JN9eFY7vD8Wdz_ zlAIonnlivB;uDXov3sIgoKx2>G6a;@?v0qg;r`RnZ{4wMw2%}(e*c8k`R7sNT@>H} zfUU~mHR~8!4rJTHVlT=v3wz2kx&95Nz?@Tj8)s5E}t{|AFA=d_Y zOTqb{ATx>U``k~NJ2hYk3r#Gn1}|1Xj}jq!9%;{k(?9!WZt1z#{OATvapC-}#$LWi zi2R>~v0v6A<|?Eg)Ye#VyRyr7RJ$N4vFEFfmb1jHF(yZN^rc!ULDen>KWu(D9Z5!P ze(qg(G2HmSqyi2B&W`vo@N=3l?+dXbWn-`1LrY1^_mSilpKLLxQp}@s?=Tqw6Do5Pui*IhPZtaT|GAE&MF$;(4s9Bt5f+vbITElRv3( ze&@3GgY%ltiz;PZXq||TeA+sP9bc(#*G<2ck&zF3W?0$Bxit`EwvZb7jke;810>h3 zb}}!oS_xUbJ^$_PWrSlJ-;v4qq!@|L9uM#ALcMu|+|fni+AqPpu+CtjBrs#Y1jKVU zEc6L$d!2l-MgMi5&7?{Dfxj)qn;mIZudn7I6V$88%05A!PtCQTGSxXKMGh;qXa|fE zJBUmhM!}@e#A?s%bajm+=Ka1WxHZWaj;k#XT{T#;bH9c5zA8txVHEz(EeE*PP9eD9 z<2|evdxmVLj_n@`lp>6@ zy_ZTczm54_lGjPwPaq$dF1HdIks&Mp;%bge$QZnnp${}#&Z3)z95ei@b9;c=kJpY- z$G#RZbgyTi3&d4=3%+gXOSp|g^~^%K1id>re4gTka;7m@WA}bFo`GUbT8-n19VVdO}IkuW(H_iil_S}@$xy(Q*fCcNaD60 zxqsWK5lESLWnKgy^ci@da#k9^aW5)oLzbFxlUVBA&UM~79PF7=rW@Ot`>9(Gju3N{A4%EK0dPuz{=J_LUv|Pe^*x3eq_ExMNjB3?{$+xH^_Y z;e5pH)*~Lo@y=;b=P$Iqp9KR|j(>D-kaI4WeI&&HPFRtbZBMiQ^PwE`pF$Z7#(@UF zP2~&InXDTNx3`4)H2mD8yHl{Jk(|C(VA2vwY}3IRqo*qy9HvN7a!$$hlZqjmb6tZy zp1fLd^be5LmcI`_d3@@A`jLDS!b0qXVvP%y>+DfL86Ie=*TZ)PL??Lk^F};4=dwv; zPRBV>*)f&NE0vtjYHw@vs9l(Dk*g-}ARSciwv!f)E361d_9y<;9b7)PBw$3dh`AZi zAY4)BVh3t>;gR=s)nZW3PT_3bOLDK)eTZT^*m%P!HdC!FvK=Z=_iA>Bg!`SsC|P3u zz+oMr^PUcTebccFK>bqp475+?5RUC{Y7klp^p=Q;ZM+c8Zq6wBtH*5c=QHlp7wZS%6AszeebN>>_2^H7uuK@g%1{vF}DT>U{h`}c+u5ubXcFMH)fZ6-l z!y=qVN>jqgj)3T!mALcM;1!8}PDcMCU6<9?l#euNff${zE=b0d%;TcPFfw`y>zjLg#_WgnwatH|t}Y&WrR32m5W_AWNa`OqIc{ zW{_mX(Ck1psRCgMhJ*hXhcAG1ocb_kuY)%9rlYzq8h$K;X}=5m+8CYpJ4Yw6zLi%S zpu}dkAc_hVv>NfWy9eLsQ-6OzoBl{WAkRi|U;anmJ5dFwz(C9~-A(!Vfw z(E!S5ua;@}(q5GrIc6|PAOSPg{il$s$UBI}tk5xuP-VedGyZd}xqXvWvU_`{;Cf0> z5fN79T(#iq-q$RLb(of0ZA0lfepj^!a2-6 zv{v^7r2J*xmj&XVgZ>Wd=RqwGGe1`-Svll~bz(-y7*N1ooU5J*aY@&5ea5ss6n(a? z`N9l?w~=^1g2wLDVRD5ovqLc^Z#YRDFR+QYV4emH*fzOpzer3>Pudh??f``be>dD3 z)xB}1O6bZpnt=j(m92Fxq0dz89n>B05xx10QDL-YDz&e>h_u@9+RG)Pv4{2IYNiMy z8auH}j+fW*;q%Ymtbq+KI_r4gxGUeYJ>hq~vbe!N3%NntH+Dyh7I70!cu(qE_`Vp; z07NvH4Q2s#9;mKj;>umoviK|H+#CbgGq`D+QxI*$r6&D`yf%-M^{H;6gi4*j3?c9c z8$}NK?0I4%b?c`p2;SvL3*xY`0fe_KIZqPm`M%{DCrPUt{bS|zlhbHBNlUe7zcK}E z$L2zIl+z#Z!thJW!}{G&JAC@Pg`H(}GLM_m;uV}C9Yt(vF+F0Dy7{`k zY&v=ZZf?8^qSD>~2iP#{qQK632aMplZye6Q3X>dctS@JHSz2)zJaqXvFEZlr>9$oY z^&9^4pN`1EJcEw_wi@P{zJqQX470?WZTB*5Y7F!3#xJO^z|Gw@)bFoY5#daTP5OgI zcbKI$Ok(|9g_%#If*$3ga=U0_n%|#}eWwyeW~(19Te+!xF*(rd=LU(nM15;<7Z&oA zrqIw#r7}&_qgCdvS7+!|3?8w7JNRtHQ$~8Yyw(xC+n=- z7SQBo3+)tbg2NJn^=lukNOCkiEsgt~4tCrZ{aSnrHRMk@_?1^whFrEn3mT1NSC9B&c-(JrWu@FUhSNf+(>-_%kX#@LYnzq`^M#XX}(*!_LZCY za24(5Y$WH^=;GY^#0c{Y4{_!GPvm_bd#&6ypUpfwu%|+=UEe^Q+oe$7cXnyF@O67L3%SKO#rdayD^4^vH2hG{w%vp|_*jKf4 z=jb?40UP4S+Mi~(Uz(^cvgVB+r+Rt|;wnFRYcz(i=&Q14Ok=V-tTPw4%v&;ZrxI#w z6&rvLjj#yzBr5~N*7o09CkIE=>EWwo`ceL*@Y=504RB*xY#SY{)p3Gvn9zBL_FCN0 zl^axu8p~su8HpiDNi{%5ojAv1{0?t7*mflF9&Y_x4#)X(jyLl~c+s6*I1G7{zBI;tH*_ z94)o##4$cU4ohj~e#C^E><)3E`d;ftdwTQZpDmp)9)n5^+h%BE?)8LI2A`L!zjTBL zPYE&+#0&jDFc&4Tg}VC}E@4ZGyWbiK2dvn6Mpu!cQT_^6!RG!7)fE>V>?PNFm?vc5 z>A8gcW=5Xm2#LEW_;XgMQ$=Y-#lc|zs2}}2ny_4Kb%D@Vrtu6rOmUe!ph7;;L`XHi zXcDHc;OYbIk44?|A9-=Ml{Xap)^{jb5$Kl?v`CIT`bDXV*x{h+UARtzOd}#US>a%X zOdU`5^_P@lkQxB*B<&RQB?FgJOH2-~rMnXf_{5%~s&OlUM^i30FeOM{`XOXs)3_BU zEAyNr%bz8RJ=Cvw8y=)3p z`K|i!j$l~LqQ)kabHK}7WeyB$x*({t#cQWf98qh&X{R*Y--9)~g)?XCL>&z;v9#hY zTFY?DV&1fPE&*z}6Ki`Y5#(-eVYB;OzZjPSDnN%ArA8D>wODpQT4Jt}ah556JE+G_! z_P0uQ!qDhR94VdpAqajIOl4~>oTaQ8H5yXaTZUOb%cRAkWYV?KSNlTqgSM=Wgf)JP zz=?Q5f5zPEVO!NbOCbqEwP^Ff_O_`gdm67#U{Mp^_bKcq2IoO%zcJb(M5z`cjv1Ck z+!awNRhwjj6CQqu+xC#{UWo^3+h?6ymzq3r?3JV}<|u_9x=MWAm`1AqAnOsJ*@)^4 zr|`FkZlg{Cd!#Chmhn=_ZQe;~-DTUOv>)Tbmh0{z_42vWa|vNUO% z_5KA1xNHBgw0zjUH|s5xg$b4k z@Koa#-AFizrr6h2#$k*41tm7_jp$yL4X*DZcklq!u+>9E0WnhcOFPn7Vh^ao@~tno z@RwY)*+8&|Hpdq)`a=L*Teuw;_B@u;o!a!YaOO@bs-?*gqpm?nRkXl~mKFfF z+OVzE%RlC`M5-+KM_GXZ@9b;=2C(sq+R&Ko_RzZ%5P~kDieK3yzV4BN*{$E%KY;4k z)s?*vacHYN~u+?SoI`e@S2!9Co!cdvz;@N@{yj`0-9^8osR(V7PR-O&gM)x3owqs5oJpIwc zgY`#VzjI$V>YYDrIr8D;0JK<10@ycefw z;;oV(!gUR*xBg%xTl-#d>u(5}#jFrLKo}q0b{IuuZhuO7n++ zo@9)d#`(AT$mbW5g;c;&z>1_2Nk%;L?TIhfeK%PYp>5N<5wdihxw4-qvVsN6t@bol zDFgi~t`B&ZU3ek!#fXVE5Ao$7AwI+@amT_m2SclwQE{cLcv3kwhokq+!S%>Fe_*(Z z75)vhq@YqZqa~Hf$0S?T@nr_%mV%*aT${~4)6|(P@Bq_Q!VC4tZa`7?ra`4?oV+wSr2`TVSUmKS_>V@3%0*S#!+L=3f@oF=4k9U9xv0p1;Fx&}V;X2J~h zcz^}G3|;s8JyEFR*LB*fPUm+?f+ofnBQ5uK%NrwA+RV_~h<6-mw_wU?NGRI!zNTh% z&>ty6x8&gW75gdW)?p->&%?{*brS|k@b|(>&<^nyO55Pi_q*eK)=J*Uunw2cw--p%E!VXuDa? ztZ$HPKJ6$Sh7!UrpxVBLFSnpZOw$(ftvg!Nk1LVfL+FL(u zh1Abu(oCSmgqQ2IrE;Zz2f2DAD%T4XO6tU&)2IB}vV3{^xpz1MYFEPy_09RP2QvmA zIqw<(UaCnCs!mFX$+3sjnV*(O5)y`jW!*wzF-l^K`Bxgap+0Ej z@c^nf{Ic`6I5#9bcE7fwiiP8JZ9dr3FsD~SBiW_`8{UgFt*{$@qj#E)90JYra>Zs3 z$sCTuzOye2GdTO;4@;wgJK@!ij-|c--insluCR}{#q=D6Xz#nL6;`rkc*UzLTR%Y{ zN2YK;Zcz4YY=+|(0_?E=#~3U@I1fIyRiBF zIeWj=id+b|L;kSMs>NMfeB^(={IdrC;NYJy_$L+olL`OdOqgH0OpSa?FTRhwb<|%A Pe7HEdAEg|=c=LY&YVNkY literal 0 HcmV?d00001 diff --git a/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png new file mode 100644 index 0000000000000000000000000000000000000000..13b35eba55c6dabc3aac36f33d859266c18fa0d0 GIT binary patch literal 5680 zcmaiYXH?Tqu=Xz`p-L#B_gI#0we$cm_HcmYFP$?wjD#BaCN4mzC5#`>w9y6=ThxrYZc0WPXprg zYjB`UsV}0=eUtY$(P6YW}npdd;%9pi?zS3k-nqCob zSX_AQEf|=wYT3r?f!*Yt)ar^;l3Sro{z(7deUBPd2~(SzZ-s@0r&~Km2S?8r##9-< z)2UOSVaHqq6}%sA9Ww;V2LG=PnNAh6mA2iWOuV7T_lRDR z&N8-eN=U)-T|;wo^Wv=34wtV0g}sAAe}`Ph@~!|<;z7*K8(qkX0}o=!(+N*UWrkEja*$_H6mhK1u{P!AC39} z|3+Z(mAOq#XRYS)TLoHv<)d%$$I@+x+2)V{@o~~J-!YUI-Q9%!Ldi4Op&Lw&B>jj* zwAgC#Y>gbIqv!d|J5f!$dbCXoq(l3GR(S>(rtZ~Z*agXMMKN!@mWT_vmCbSd3dUUm z4M&+gz?@^#RRGal%G3dDvj7C5QTb@9+!MG+>0dcjtZEB45c+qx*c?)d<%htn1o!#1 zpIGonh>P1LHu3s)fGFF-qS}AXjW|M*2Xjkh7(~r(lN=o#mBD9?jt74=Rz85I4Nfx_ z7Z)q?!};>IUjMNM6ee2Thq7))a>My?iWFxQ&}WvsFP5LP+iGz+QiYek+K1`bZiTV- zHHYng?ct@Uw5!gquJ(tEv1wTrRR7cemI>aSzLI^$PxW`wL_zt@RSfZ1M3c2sbebM* ze0=;sy^!90gL~YKISz*x;*^~hcCoO&CRD)zjT(A2b_uRue=QXFe5|!cf0z1m!iwv5GUnLw9Dr*Ux z)3Lc!J@Ei;&&yxGpf2kn@2wJ2?t6~obUg;?tBiD#uo$SkFIasu+^~h33W~`r82rSa ztyE;ehFjC2hjpJ-e__EH&z?!~>UBb=&%DS>NT)1O3Isn-!SElBV2!~m6v0$vx^a<@ISutdTk1@?;i z<8w#b-%|a#?e5(n@7>M|v<<0Kpg?BiHYMRe!3Z{wYc2hN{2`6(;q`9BtXIhVq6t~KMH~J0~XtUuT06hL8c1BYZWhN zk4F2I;|za*R{ToHH2L?MfRAm5(i1Ijw;f+0&J}pZ=A0;A4M`|10ZskA!a4VibFKn^ zdVH4OlsFV{R}vFlD~aA4xxSCTTMW@Gws4bFWI@xume%smAnuJ0b91QIF?ZV!%VSRJ zO7FmG!swKO{xuH{DYZ^##gGrXsUwYfD0dxXX3>QmD&`mSi;k)YvEQX?UyfIjQeIm! z0ME3gmQ`qRZ;{qYOWt}$-mW*>D~SPZKOgP)T-Sg%d;cw^#$>3A9I(%#vsTRQe%moT zU`geRJ16l>FV^HKX1GG7fR9AT((jaVb~E|0(c-WYQscVl(z?W!rJp`etF$dBXP|EG z=WXbcZ8mI)WBN>3<@%4eD597FD5nlZajwh8(c$lum>yP)F}=(D5g1-WVZRc)(!E3} z-6jy(x$OZOwE=~{EQS(Tp`yV2&t;KBpG*XWX!yG+>tc4aoxbXi7u@O*8WWFOxUjcq z^uV_|*818$+@_{|d~VOP{NcNi+FpJ9)aA2So<7sB%j`$Prje&auIiTBb{oD7q~3g0 z>QNIwcz(V-y{Ona?L&=JaV5`o71nIsWUMA~HOdCs10H+Irew#Kr(2cn>orG2J!jvP zqcVX0OiF}c<)+5&p}a>_Uuv)L_j}nqnJ5a?RPBNi8k$R~zpZ33AA4=xJ@Z($s3pG9 zkURJY5ZI=cZGRt_;`hs$kE@B0FrRx(6K{`i1^*TY;Vn?|IAv9|NrN*KnJqO|8$e1& zb?OgMV&q5|w7PNlHLHF) zB+AK#?EtCgCvwvZ6*u|TDhJcCO+%I^@Td8CR}+nz;OZ*4Dn?mSi97m*CXXc=};!P`B?}X`F-B5v-%ACa8fo0W++j&ztmqK z;&A)cT4ob9&MxpQU41agyMU8jFq~RzXOAsy>}hBQdFVL%aTn~M>5t9go2j$i9=(rZ zADmVj;Qntcr3NIPPTggpUxL_z#5~C!Gk2Rk^3jSiDqsbpOXf^f&|h^jT4|l2ehPat zb$<*B+x^qO8Po2+DAmrQ$Zqc`1%?gp*mDk>ERf6I|42^tjR6>}4`F_Mo^N(~Spjcg z_uY$}zui*PuDJjrpP0Pd+x^5ds3TG#f?57dFL{auS_W8|G*o}gcnsKYjS6*t8VI<) zcjqTzW(Hk*t-Qhq`Xe+x%}sxXRerScbPGv8hlJ;CnU-!Nl=# zR=iTFf9`EItr9iAlAGi}i&~nJ-&+)Y| zMZigh{LXe)uR+4D_Yb+1?I93mHQ5{pId2Fq%DBr7`?ipi;CT!Q&|EO3gH~7g?8>~l zT@%*5BbetH)~%TrAF1!-!=)`FIS{^EVA4WlXYtEy^|@y@yr!C~gX+cp2;|O4x1_Ol z4fPOE^nj(}KPQasY#U{m)}TZt1C5O}vz`A|1J!-D)bR%^+=J-yJsQXDzFiqb+PT0! zIaDWWU(AfOKlSBMS};3xBN*1F2j1-_=%o($ETm8@oR_NvtMDVIv_k zlnNBiHU&h8425{MCa=`vb2YP5KM7**!{1O>5Khzu+5OVGY;V=Vl+24fOE;tMfujoF z0M``}MNnTg3f%Uy6hZi$#g%PUA_-W>uVCYpE*1j>U8cYP6m(>KAVCmbsDf39Lqv0^ zt}V6FWjOU@AbruB7MH2XqtnwiXS2scgjVMH&aF~AIduh#^aT1>*V>-st8%=Kk*{bL zzbQcK(l2~)*A8gvfX=RPsNnjfkRZ@3DZ*ff5rmx{@iYJV+a@&++}ZW+za2fU>&(4y`6wgMpQGG5Ah(9oGcJ^P(H< zvYn5JE$2B`Z7F6ihy>_49!6}(-)oZ(zryIXt=*a$bpIw^k?>RJ2 zQYr>-D#T`2ZWDU$pM89Cl+C<;J!EzHwn(NNnWpYFqDDZ_*FZ{9KQRcSrl5T>dj+eA zi|okW;6)6LR5zebZJtZ%6Gx8^=2d9>_670!8Qm$wd+?zc4RAfV!ZZ$jV0qrv(D`db zm_T*KGCh3CJGb(*X6nXzh!h9@BZ-NO8py|wG8Qv^N*g?kouH4%QkPU~Vizh-D3<@% zGomx%q42B7B}?MVdv1DFb!axQ73AUxqr!yTyFlp%Z1IAgG49usqaEbI_RnbweR;Xs zpJq7GKL_iqi8Md?f>cR?^0CA+Uk(#mTlGdZbuC*$PrdB$+EGiW**=$A3X&^lM^K2s zzwc3LtEs5|ho z2>U(-GL`}eNgL-nv3h7E<*<>C%O^=mmmX0`jQb6$mP7jUKaY4je&dCG{x$`0=_s$+ zSpgn!8f~ya&U@c%{HyrmiW2&Wzc#Sw@+14sCpTWReYpF9EQ|7vF*g|sqG3hx67g}9 zwUj5QP2Q-(KxovRtL|-62_QsHLD4Mu&qS|iDp%!rs(~ah8FcrGb?Uv^Qub5ZT_kn%I^U2rxo1DDpmN@8uejxik`DK2~IDi1d?%~pR7i#KTS zA78XRx<(RYO0_uKnw~vBKi9zX8VnjZEi?vD?YAw}y+)wIjIVg&5(=%rjx3xQ_vGCy z*&$A+bT#9%ZjI;0w(k$|*x{I1c!ECMus|TEA#QE%#&LxfGvijl7Ih!B2 z6((F_gwkV;+oSKrtr&pX&fKo3s3`TG@ye+k3Ov)<#J|p8?vKh@<$YE@YIU1~@7{f+ zydTna#zv?)6&s=1gqH<-piG>E6XW8ZI7&b@-+Yk0Oan_CW!~Q2R{QvMm8_W1IV8<+ zQTyy=(Wf*qcQubRK)$B;QF}Y>V6d_NM#=-ydM?%EPo$Q+jkf}*UrzR?Nsf?~pzIj$ z<$wN;7c!WDZ(G_7N@YgZ``l;_eAd3+;omNjlpfn;0(B7L)^;;1SsI6Le+c^ULe;O@ zl+Z@OOAr4$a;=I~R0w4jO`*PKBp?3K+uJ+Tu8^%i<_~bU!p%so z^sjol^slR`W@jiqn!M~eClIIl+`A5%lGT{z^mRbpv}~AyO%R*jmG_Wrng{B9TwIuS z0!@fsM~!57K1l0%{yy(#no}roy#r!?0wm~HT!vLDfEBs9x#`9yCKgufm0MjVRfZ=f z4*ZRc2Lgr(P+j2zQE_JzYmP0*;trl7{*N341Cq}%^M^VC3gKG-hY zmPT>ECyrhIoFhnMB^qpdbiuI}pk{qPbK^}0?Rf7^{98+95zNq6!RuV_zAe&nDk0;f zez~oXlE5%ve^TmBEt*x_X#fs(-En$jXr-R4sb$b~`nS=iOy|OVrph(U&cVS!IhmZ~ zKIRA9X%Wp1J=vTvHZ~SDe_JXOe9*fa zgEPf;gD^|qE=dl>Qkx3(80#SE7oxXQ(n4qQ#by{uppSKoDbaq`U+fRqk0BwI>IXV3 zD#K%ASkzd7u>@|pA=)Z>rQr@dLH}*r7r0ng zxa^eME+l*s7{5TNu!+bD{Pp@2)v%g6^>yj{XP&mShhg9GszNu4ITW=XCIUp2Xro&1 zg_D=J3r)6hp$8+94?D$Yn2@Kp-3LDsci)<-H!wCeQt$e9Jk)K86hvV^*Nj-Ea*o;G zsuhRw$H{$o>8qByz1V!(yV{p_0X?Kmy%g#1oSmlHsw;FQ%j9S#}ha zm0Nx09@jmOtP8Q+onN^BAgd8QI^(y!n;-APUpo5WVdmp8!`yKTlF>cqn>ag`4;o>i zl!M0G-(S*fm6VjYy}J}0nX7nJ$h`|b&KuW4d&W5IhbR;-)*9Y0(Jj|@j`$xoPQ=Cl literal 0 HcmV?d00001 diff --git a/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png new file mode 100644 index 0000000000000000000000000000000000000000..0a3f5fa40fb3d1e0710331a48de5d256da3f275d GIT binary patch literal 520 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&K#jR^;j87-Auq zoUlN^K{r-Q+XN;zI ze|?*NFmgt#V#GwrSWaz^2G&@SBmck6ZcIFMww~vE<1E?M2#KUn1CzsB6D2+0SuRV@ zV2kK5HvIGB{HX-hQzs0*AB%5$9RJ@a;)Ahq#p$GSP91^&hi#6sg*;a~dt}4AclK>h z_3MoPRQ{i;==;*1S-mY<(JFzhAxMI&<61&m$J0NDHdJ3tYx~j0%M-uN6Zl8~_0DOkGXc0001@sz3l12C6Xg{AT~( zm6w64BA|AX`Ve)YY-glyudNN>MAfkXz-T7`_`fEolM;0T0BA)(02-OaW z0*cW7Z~ec94o8&g0D$N>b!COu{=m}^%oXZ4?T8ZyPZuGGBPBA7pbQMoV5HYhiT?%! zcae~`(QAN4&}-=#2f5fkn!SWGWmSeCISBcS=1-U|MEoKq=k?_x3apK>9((R zuu$9X?^8?@(a{qMS%J8SJPq))v}Q-ZyDm6Gbie0m92=`YlwnQPQP1kGSm(N2UJ3P6 z^{p-u)SSCTW~c1rw;cM)-uL2{->wCn2{#%;AtCQ!m%AakVs1K#v@(*-6QavyY&v&*wO_rCJXJuq$c$7ZjsW+pJo-$L^@!7X04CvaOpPyfw|FKvu;e(&Iw>Tbg zL}#8e^?X%TReXTt>gsBByt0kSU20oQx*~P=4`&tcZ7N6t-6LiK{LxX*p6}9c<0Pu^ zLx1w_P4P2V>bX=`F%v$#{sUDdF|;rbI{p#ZW`00Bgh(eB(nOIhy8W9T>3aQ=k8Z9% zB+TusFABF~J?N~fAd}1Rme=@4+1=M{^P`~se7}e3;mY0!%#MJf!XSrUC{0uZqMAd7%q zQY#$A>q}noIB4g54Ue)x>ofVm3DKBbUmS4Z-bm7KdKsUixva)1*&z5rgAG2gxG+_x zqT-KNY4g7eM!?>==;uD9Y4iI(Hu$pl8!LrK_Zb}5nv(XKW{9R144E!cFf36p{i|8pRL~p`_^iNo z{mf7y`#hejw#^#7oKPlN_Td{psNpNnM?{7{R-ICBtYxk>?3}OTH_8WkfaTLw)ZRTfxjW+0>gMe zpKg~`Bc$Y>^VX;ks^J0oKhB#6Ukt{oQhN+o2FKGZx}~j`cQB%vVsMFnm~R_1Y&Ml? zwFfb~d|dW~UktY@?zkau>Owe zRroi(<)c4Ux&wJfY=3I=vg)uh;sL(IYY9r$WK1$F;jYqq1>xT{LCkIMb3t2jN8d`9 z=4(v-z7vHucc_fjkpS}mGC{ND+J-hc_0Ix4kT^~{-2n|;Jmn|Xf9wGudDk7bi*?^+ z7fku8z*mbkGm&xf&lmu#=b5mp{X(AwtLTf!N`7FmOmX=4xwbD=fEo8CaB1d1=$|)+ z+Dlf^GzGOdlqTO8EwO?8;r+b;gkaF^$;+#~2_YYVH!hD6r;PaWdm#V=BJ1gH9ZK_9 zrAiIC-)z)hRq6i5+$JVmR!m4P>3yJ%lH)O&wtCyum3A*})*fHODD2nq!1@M>t@Za+ zH6{(Vf>_7!I-APmpsGLYpl7jww@s5hHOj5LCQXh)YAp+y{gG(0UMm(Ur z3o3n36oFwCkn+H*GZ-c6$Y!5r3z*@z0`NrB2C^q#LkOuooUM8Oek2KBk}o1PU8&2L z4iNkb5CqJWs58aR394iCU^ImDqV;q_Pp?pl=RB2372(Io^GA^+oKguO1(x$0<7w3z z)j{vnqEB679Rz4i4t;8|&Zg77UrklxY9@GDq(ZphH6=sW`;@uIt5B?7Oi?A0-BL}(#1&R;>2aFdq+E{jsvpNHjLx2t{@g1}c~DQcPNmVmy| zNMO@ewD^+T!|!DCOf}s9dLJU}(KZy@Jc&2Nq3^;vHTs}Hgcp`cw&gd7#N}nAFe3cM1TF%vKbKSffd&~FG9y$gLyr{#to)nxz5cCASEzQ}gz8O)phtHuKOW6p z@EQF(R>j%~P63Wfosrz8p(F=D|Mff~chUGn(<=CQbSiZ{t!e zeDU-pPsLgtc#d`3PYr$i*AaT!zF#23htIG&?QfcUk+@k$LZI}v+js|yuGmE!PvAV3 ztzh90rK-0L6P}s?1QH`Ot@ilbgMBzWIs zIs6K<_NL$O4lwR%zH4oJ+}JJp-bL6~%k&p)NGDMNZX7)0kni&%^sH|T?A)`z z=adV?!qnWx^B$|LD3BaA(G=ePL1+}8iu^SnnD;VE1@VLHMVdSN9$d)R(Wk{JEOp(P zm3LtAL$b^*JsQ0W&eLaoYag~=fRRdI>#FaELCO7L>zXe6w*nxN$Iy*Q*ftHUX0+N- zU>{D_;RRVPbQ?U+$^%{lhOMKyE5>$?U1aEPist+r)b47_LehJGTu>TcgZe&J{ z{q&D{^Ps~z7|zj~rpoh2I_{gAYNoCIJmio3B}$!5vTF*h$Q*vFj~qbo%bJCCRy509 zHTdDh_HYH8Zb9`}D5;;J9fkWOQi%Y$B1!b9+ESj+B@dtAztlY2O3NE<6HFiqOF&p_ zW-K`KiY@RPSY-p9Q99}Hcd05DT79_pfb{BV7r~?9pWh=;mcKBLTen%THFPo2NN~Nf zriOtFnqx}rtO|A6k!r6 zf-z?y-UD{dT0kT9FJ`-oWuPHbo+3wBS(}?2ql(+e@VTExmfnB*liCb zmeI+v5*+W_L;&kQN^ChW{jE0Mw#0Tfs}`9bk3&7UjxP^Ke(%eJu2{VnW?tu7Iqecm zB5|=-QdzK$=h50~{X3*w4%o1FS_u(dG2s&427$lJ?6bkLet}yYXCy)u_Io1&g^c#( z-$yYmSpxz{>BL;~c+~sxJIe1$7eZI_9t`eB^Pr0)5CuA}w;;7#RvPq|H6!byRzIJG ziQ7a4y_vhj(AL`8PhIm9edCv|%TX#f50lt8+&V+D4<}IA@S@#f4xId80oH$!_!q?@ zFRGGg2mTv&@76P7aTI{)Hu%>3QS_d)pQ%g8BYi58K~m-Ov^7r8BhX7YC1D3vwz&N8{?H*_U7DI?CI)+et?q|eGu>42NJ?K4SY zD?kc>h@%4IqNYuQ8m10+8xr2HYg2qFNdJl=Tmp&ybF>1>pqVfa%SsV*BY$d6<@iJA ziyvKnZ(~F9xQNokBgMci#pnZ}Igh0@S~cYcU_2Jfuf|d3tuH?ZSSYBfM(Y3-JBsC|S9c;# zyIMkPxgrq};0T09pjj#X?W^TFCMf1-9P{)g88;NDI+S4DXe>7d3Mb~i-h&S|Jy{J< zq3736$bH?@{!amD!1Ys-X)9V=#Z={fzsjVYMX5BG6%}tkzwC#1nQLj1y1f#}8**4Y zAvDZHw8)N)8~oWC88CgzbwOrL9HFbk4}h85^ptuu7A+uc#$f^9`EWv1Vr{5+@~@Uv z#B<;-nt;)!k|fRIg;2DZ(A2M2aC65kOIov|?Mhi1Sl7YOU4c$T(DoRQIGY`ycfkn% zViHzL;E*A{`&L?GP06Foa38+QNGA zw3+Wqs(@q+H{XLJbwZzE(omw%9~LPZfYB|NF5%j%E5kr_xE0u;i?IOIchn~VjeDZ) zAqsqhP0vu2&Tbz3IgJvMpKbThC-@=nk)!|?MIPP>MggZg{cUcKsP8|N#cG5 zUXMXxcXBF9`p>09IR?x$Ry3;q@x*%}G#lnB1}r#!WL88I@uvm}X98cZ8KO&cqT1p> z+gT=IxPsq%n4GWgh-Bk8E4!~`r@t>DaQKsjDqYc&h$p~TCh8_Mck5UB84u6Jl@kUZCU9BA-S!*bf>ZotFX9?a_^y%)yH~rsAz0M5#^Di80_tgoKw(egN z`)#(MqAI&A84J#Z<|4`Co8`iY+Cv&iboMJ^f9ROUK0Lm$;-T*c;TCTED_0|qfhlcS zv;BD*$Zko#nWPL}2K8T-?4}p{u)4xon!v_(yVW8VMpxg4Kh^J6WM{IlD{s?%XRT8P|yCU`R&6gwB~ zg}{At!iWCzOH37!ytcPeC`(({ovP7M5Y@bYYMZ}P2Z3=Y_hT)4DRk}wfeIo%q*M9UvXYJq!-@Ly79m5aLD{hf@BzQB>FdQ4mw z6$@vzSKF^Gnzc9vbccii)==~9H#KW<6)Uy1wb~auBn6s`ct!ZEos`WK8e2%<00b%# zY9Nvnmj@V^K(a_38dw-S*;G-(i(ETuIwyirs?$FFW@|66a38k+a%GLmucL%Wc8qk3 z?h_4!?4Y-xt)ry)>J`SuY**fuq2>u+)VZ+_1Egzctb*xJ6+7q`K$^f~r|!i?(07CD zH!)C_uerf-AHNa?6Y61D_MjGu*|wcO+ZMOo4q2bWpvjEWK9yASk%)QhwZS%N2_F4& z16D18>e%Q1mZb`R;vW{+IUoKE`y3(7p zplg5cBB)dtf^SdLd4n60oWie|(ZjgZa6L*VKq02Aij+?Qfr#1z#fwh92aV-HGd^_w zsucG24j8b|pk>BO7k8dS86>f-jBP^Sa}SF{YNn=^NU9mLOdKcAstv&GV>r zLxKHPkFxpvE8^r@MSF6UA}cG`#yFL8;kA7ccH9D=BGBtW2;H>C`FjnF^P}(G{wU;G z!LXLCbPfsGeLCQ{Ep$^~)@?v`q(uI`CxBY44osPcq@(rR-633!qa zsyb>?v%@X+e|Mg`+kRL*(;X>^BNZz{_kw5+K;w?#pReiw7eU8_Z^hhJ&fj80XQkuU z39?-z)6Fy$I`bEiMheS(iB6uLmiMd1i)cbK*9iPpl+h4x9ch7x- z1h4H;W_G?|)i`z??KNJVwgfuAM=7&Apd3vm#AT8uzQZ!NII}}@!j)eIfn53h{NmN7 zAKG6SnKP%^k&R~m5#@_4B@V?hYyHkm>0SQ@PPiw*@Tp@UhP-?w@jW?nxXuCipMW=L zH*5l*d@+jXm0tIMP_ec6Jcy6$w(gKK@xBX8@%oPaSyG;13qkFb*LuVx3{AgIyy&n3 z@R2_DcEn|75_?-v5_o~%xEt~ONB>M~tpL!nOVBLPN&e5bn5>+7o0?Nm|EGJ5 zmUbF{u|Qn?cu5}n4@9}g(G1JxtzkKv(tqwm_?1`?YSVA2IS4WI+*(2D*wh&6MIEhw z+B+2U<&E&|YA=3>?^i6)@n1&&;WGHF-pqi_sN&^C9xoxME5UgorQ_hh1__zzR#zVC zOQt4q6>ME^iPJ37*(kg4^=EFqyKH@6HEHXy79oLj{vFqZGY?sVjk!BX^h$SFJlJnv z5uw~2jLpA)|0=tp>qG*tuLru?-u`khGG2)o{+iDx&nC}eWj3^zx|T`xn5SuR;Aw8U z`p&>dJw`F17@J8YAuW4=;leBE%qagVTG5SZdh&d)(#ZhowZ|cvWvGMMrfVsbg>_~! z19fRz8CSJdrD|Rl)w!uznBF&2-dg{>y4l+6(L(vzbLA0Bk&`=;oQQ>(M8G=3kto_) zP8HD*n4?MySO2YrG6fwSrVmnesW+D&fxjfEmp=tPd?RKLZJcH&K(-S+x)2~QZ$c(> zru?MND7_HPZJVF%wX(49H)+~!7*!I8w72v&{b={#l9yz+S_aVPc_So%iF8>$XD1q1 zFtucO=rBj0Ctmi0{njN8l@}!LX}@dwl>3yMxZ;7 z0Ff2oh8L)YuaAGOuZ5`-p%Z4H@H$;_XRJQ|&(MhO78E|nyFa158gAxG^SP(vGi^+< zChY}o(_=ci3Wta#|K6MVljNe0T$%Q5ylx-v`R)r8;3+VUpp-)7T`-Y&{Zk z*)1*2MW+_eOJtF5tCMDV`}jg-R(_IzeE9|MBKl;a7&(pCLz}5<Zf+)T7bgNUQ_!gZtMlw=8doE}#W+`Xp~1DlE=d5SPT?ymu!r4z%&#A-@x^=QfvDkfx5-jz+h zoZ1OK)2|}_+UI)i9%8sJ9X<7AA?g&_Wd7g#rttHZE;J*7!e5B^zdb%jBj&dUDg4&B zMMYrJ$Z%t!5z6=pMGuO-VF~2dwjoXY+kvR>`N7UYfIBMZGP|C7*O=tU z2Tg_xi#Q3S=1|=WRfZD;HT<1D?GMR%5kI^KWwGrC@P2@R>mDT^3qsmbBiJc21kip~ zZp<7;^w{R;JqZ)C4z-^wL=&dBYj9WJBh&rd^A^n@07qM$c+kGv^f+~mU5_*|eePF| z3wDo-qaoRjmIw<2DjMTG4$HP{z54_te_{W^gu8$r=q0JgowzgQPct2JNtWPUsjF8R zvit&V8$(;7a_m%%9TqPkCXYUp&k*MRcwr*24>hR! z$4c#E=PVE=P4MLTUBM z7#*RDe0}=B)(3cvNpOmWa*eH#2HR?NVqXdJ=hq);MGD07JIQQ7Y0#iD!$C+mk7x&B zMwkS@H%>|fmSu#+ zI!}Sb(%o29Vkp_Th>&&!k7O>Ba#Om~B_J{pT7BHHd8(Ede(l`7O#`_}19hr_?~JP9 z`q(`<)y>%)x;O7)#-wfCP{?llFMoH!)ZomgsOYFvZ1DxrlYhkWRw#E-#Qf*z@Y-EQ z1~?_=c@M4DO@8AzZ2hKvw8CgitzI9yFd&N1-{|vP#4IqYb*#S0e3hrjsEGlnc4xwk z4o!0rxpUt8j&`mJ8?+P8G{m^jbk)bo_UPM+ifW*y-A*et`#_Ja_3nYyRa9fAG1Xr5 z>#AM_@PY|*u)DGRWJihZvgEh#{*joJN28uN7;i5{kJ*Gb-TERfN{ERe_~$Es~NJCpdKLRvdj4658uYYx{ng7I<6j~w@p%F<7a(Ssib|j z51;=Py(Nu*#hnLx@w&8X%=jrADn3TW>kplnb zYbFIWWVQXN7%Cwn6KnR)kYePEBmvM45I)UJb$)ninpdYg3a5N6pm_7Q+9>!_^xy?k za8@tJ@OOs-pRAAfT>Nc2x=>sZUs2!9Dwa%TTmDggH4fq(x^MW>mcRyJINlAqK$YQCMgR8`>6=Sg$ zFnJZsA8xUBXIN3i70Q%8px@yQPMgVP=>xcPI38jNJK<=6hC={a07+n@R|$bnhB)X$ z(Zc%tadp70vBTnW{OUIjTMe38F}JIH$#A}PB&RosPyFZMD}q}5W%$rh>5#U;m`z2K zc(&WRxx7DQLM-+--^w*EWAIS%bi>h587qkwu|H=hma3T^bGD&Z!`u(RKLeNZ&pI=q$|HOcji(0P1QC!YkAp*u z3%S$kumxR}jU<@6`;*-9=5-&LYRA<~uFrwO3U0k*4|xUTp4ZY7;Zbjx|uw&BWU$zK(w55pWa~#=f$c zNDW0O68N!xCy>G}(CX=;8hJLxAKn@Aj(dbZxO8a$+L$jK8$N-h@4$i8)WqD_%Snh4 zR?{O%k}>lr>w$b$g=VP8mckcCrjnp>uQl5F_6dPM8FWRqs}h`DpfCv20uZhyY~tr8 zkAYW4#yM;*je)n=EAb(q@5BWD8b1_--m$Q-3wbh1hM{8ihq7UUQfg@)l06}y+#=$( z$x>oVYJ47zAC^>HLRE-!HitjUixP6!R98WU+h>zct7g4eD;Mj#FL*a!VW!v-@b(Jv zj@@xM5noCp5%Vk3vY{tyI#oyDV7<$`KG`tktVyC&0DqxA#>V;-3oH%NW|Q&=UQ&zU zXNIT67J4D%5R1k#bW0F}TD`hlW7b)-=-%X4;UxQ*u4bK$mTAp%y&-(?{sXF%e_VH6 zTkt(X)SSN|;8q@8XX6qfR;*$r#HbIrvOj*-5ND8RCrcw4u8D$LXm5zlj@E5<3S0R# z??=E$p{tOk96$SloZ~ARe5`J=dB|Nj?u|zy2r(-*(q^@YwZiTF@QzQyPx_l=IDKa) zqD@0?IHJqSqZ_5`)81?4^~`yiGh6>7?|dKa8!e|}5@&qV!Iu9<@G?E}Vx9EzomB3t zEbMEm$TKGwkHDpirp;FZD#6P5qIlQJ8}rf;lHoz#h4TFFPYmS3+8(13_Mx2`?^=8S z|0)0&dQLJTU6{b%*yrpQe#OKKCrL8}YKw+<#|m`SkgeoN69TzIBQOl_Yg)W*w?NW) z*WxhEp$zQBBazJSE6ygu@O^!@Fr46j=|K`Mmb~xbggw7<)BuC@cT@Bwb^k?o-A zKX^9AyqR?zBtW5UA#siILztgOp?r4qgC`9jYJG_fxlsVSugGprremg-W(K0{O!Nw-DN%=FYCyfYA3&p*K>+|Q}s4rx#CQK zNj^U;sLM#q8}#|PeC$p&jAjqMu(lkp-_50Y&n=qF9`a3`Pr9f;b`-~YZ+Bb0r~c+V z*JJ&|^T{}IHkwjNAaM^V*IQ;rk^hnnA@~?YL}7~^St}XfHf6OMMCd9!vhk#gRA*{L zp?&63axj|Si%^NW05#87zpU_>QpFNb+I00v@cHwvdBn+Un)n2Egdt~LcWOeBW4Okm zD$-e~RD+W|UB;KQ;a7GOU&%p*efGu2$@wR74+&iP8|6#_fmnh^WcJLs)rtz{46);F z4v0OL{ZP9550>2%FE(;SbM*#sqMl*UXOb>ch`fJ|(*bOZ9=EB1+V4fkQ)hjsm3-u^Pk-4ji_uDDHdD>84tER!MvbH`*tG zzvbhBR@}Yd`azQGavooV=<WbvWLlO#x`hyO34mKcxrGv=`{ssnP=0Be5#1B;Co9 zh{TR>tjW2Ny$ZxJpYeg57#0`GP#jxDCU0!H15nL@@G*HLQcRdcsUO3sO9xvtmUcc{F*>FQZcZ5bgwaS^k-j5mmt zI7Z{Xnoml|A(&_{imAjK!kf5>g(oDqDI4C{;Bv162k8sFNr;!qPa2LPh>=1n z=^_9)TsLDvTqK7&*Vfm5k;VXjBW^qN3Tl&}K=X5)oXJs$z3gk0_+7`mJvz{pK|FVs zHw!k&7xVjvY;|(Py<;J{)b#Yjj*LZO7x|~pO4^MJ2LqK3X;Irb%nf}L|gck zE#55_BNsy6m+W{e zo!P59DDo*s@VIi+S|v93PwY6d?CE=S&!JLXwE9{i)DMO*_X90;n2*mPDrL%{iqN!?%-_95J^L z=l<*{em(6|h7DR4+4G3Wr;4*}yrBkbe3}=p7sOW1xj!EZVKSMSd;QPw>uhKK z#>MlS@RB@-`ULv|#zI5GytO{=zp*R__uK~R6&p$q{Y{iNkg61yAgB8C^oy&``{~FK z8hE}H&nIihSozKrOONe5Hu?0Zy04U#0$fB7C6y~?8{or}KNvP)an=QP&W80mj&8WL zEZQF&*FhoMMG6tOjeiCIV;T{I>jhi9hiUwz?bkX3NS-k5eWKy)Mo_orMEg4sV6R6X&i-Q%JG;Esl+kLpn@Bsls9O|i9z`tKB^~1D5)RIBB&J<6T@a4$pUvh$IR$%ubH)joi z!7>ON0DPwx=>0DA>Bb^c?L8N0BBrMl#oDB+GOXJh;Y&6I)#GRy$W5xK%a;KS8BrER zX)M>Rdoc*bqP*L9DDA3lF%U8Yzb6RyIsW@}IKq^i7v&{LeIc=*ZHIbO68x=d=+0T( zev=DT9f|x!IWZNTB#N7}V4;9#V$%Wo0%g>*!MdLOEU>My0^gni9ocID{$g9ytD!gy zKRWT`DVN(lcYjR|(}f0?zgBa3SwunLfAhx><%u0uFkrdyqlh8_g zDKt#R6rA2(Vm2LW_>3lBNYKG_F{TEnnKWGGC15y&OebIRhFL4TeMR*v9i0wPoK#H< zu4){s4K&K)K(9~jgGm;H7lS7y_RYfS;&!Oj5*eqbvEcW^a*i67nevzOZxN6F+K~A%TYEtsAVsR z@J=1hc#Dgs7J2^FL|qV&#WBFQyDtEQ2kPO7m2`)WFhqAob)Y>@{crkil6w9VoA?M6 zADGq*#-hyEVhDG5MQj677XmcWY1_-UO40QEP&+D)rZoYv^1B_^w7zAvWGw&pQyCyx zD|ga$w!ODOxxGf_Qq%V9Z7Q2pFiUOIK818AGeZ-~*R zI1O|SSc=3Z?#61Rd|AXx2)K|F@Z1@x!hBBMhAqiU)J=U|Y)T$h3D?ZPPQgkSosnN! zIqw-t$0fqsOlgw3TlHJF*t$Q@bg$9}A3X=cS@-yU3_vNG_!#9}7=q7!LZ?-%U26W4 z$d>_}*s1>Ac%3uFR;tnl*fNlylJ)}r2^Q3&@+is3BIv<}x>-^_ng;jhdaM}6Sg3?p z0jS|b%QyScy3OQ(V*~l~bK>VC{9@FMuW_JUZO?y(V?LKWD6(MXzh}M3r3{7b4eB(#`(q1m{>Be%_<9jw8HO!x#yF6vez$c#kR+}s zZO-_;25Sxngd(}){zv?ccbLqRAlo;yog>4LH&uZUK1n>x?u49C)Y&2evH5Zgt~666 z_2_z|H5AO5Iqxv_Bn~*y1qzRPcob<+Otod5Xd2&z=C;u+F}zBB@b^UdGdUz|s!H}M zXG%KiLzn3G?FZgdY&3pV$nSeY?ZbU^jhLz9!t0K?ep}EFNqR1@E!f*n>x*!uO*~JF zW9UXWrVgbX1n#76_;&0S7z}(5n-bqnII}_iDsNqfmye@)kRk`w~1 z6j4h4BxcPe6}v)xGm%=z2#tB#^KwbgMTl2I*$9eY|EWAHFc3tO48Xo5rW z5oHD!G4kb?MdrOHV=A+8ThlIqL8Uu+7{G@ zb)cGBm|S^Eh5= z^E^SZ=yeC;6nNCdztw&TdnIz}^Of@Ke*@vjt)0g>Y!4AJvWiL~e7+9#Ibhe)> ziNwh>gWZL@FlWc)wzihocz+%+@*euwXhW%Hb>l7tf8aJe5_ZSH1w-uG|B;9qpcBP0 zM`r1Hu#htOl)4Cl1c7oY^t0e4Jh$-I(}M5kzWqh{F=g&IM#JiC`NDSd@BCKX#y<P@Gwl$3a3w z6<(b|K(X5FIR22M)sy$4jY*F4tT{?wZRI+KkZFb<@j@_C316lu1hq2hA|1wCmR+S@ zRN)YNNE{}i_H`_h&VUT5=Y(lN%m?%QX;6$*1P}K-PcPx>*S55v)qZ@r&Vcic-sjkm z! z=nfW&X`}iAqa_H$H%z3Tyz5&P3%+;93_0b;zxLs)t#B|up}JyV$W4~`8E@+BHQ+!y zuIo-jW!~)MN$2eHwyx-{fyGjAWJ(l8TZtUp?wZWBZ%}krT{f*^fqUh+ywHifw)_F> zp76_kj_B&zFmv$FsPm|L7%x-j!WP>_P6dHnUTv!9ZWrrmAUteBa`rT7$2ixO;ga8U z3!91micm}{!Btk+I%pMgcKs?H4`i+=w0@Ws-CS&n^=2hFTQ#QeOmSz6ttIkzmh^`A zYPq)G1l3h(E$mkyr{mvz*MP`x+PULBn%CDhltKkNo6Uqg!vJ#DA@BIYr9TQ`18Un2 zv$}BYzOQuay9}w(?JV63F$H6WmlYPPpH=R|CPb%C@BCv|&Q|&IcW7*LX?Q%epS z`=CPx{1HnJ9_46^=0VmNb>8JvMw-@&+V8SDLRYsa>hZXEeRbtf5eJ>0@Ds47zIY{N z42EOP9J8G@MXXdeiPx#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91AfN*P1ONa40RR91AOHXW0IY^$^8f$?lu1NER9Fe^SItioK@|V(ZWmgL zZT;XwPgVuWM>O%^|Dc$VK;n&?9!&g5)aVsG8cjs5UbtxVVnQNOV~7Mrg3+jnU;rhE z6fhW6P)R>_eXrXo-RW*y6RQ_qcb^s1wTu$TwriZ`=JUws>vRi}5x}MW1MR#7p|gIWJlaLK;~xaN}b< z<-@=RX-%1mt`^O0o^~2=CD7pJ<<$Rp-oUL-7PuG>do^5W_Mk#unlP}6I@6NPxY`Q} zuXJF}!0l)vwPNAW;@5DjPRj?*rZxl zwn;A(cFV!xe^CUu+6SrN?xe#mz?&%N9QHf~=KyK%DoB8HKC)=w=3E?1Bqj9RMJs3U z5am3Uv`@+{jgqO^f}Lx_Jp~CoP3N4AMZr~4&d)T`R?`(M{W5WWJV^z~2B|-oih@h^ zD#DuzGbl(P5>()u*YGo*Och=oRr~3P1wOlKqI)udc$|)(bacG5>~p(y>?{JD7nQf_ z*`T^YL06-O>T(s$bi5v~_fWMfnE7Vn%2*tqV|?~m;wSJEVGkNMD>+xCu#um(7}0so zSEu7?_=Q64Q5D+fz~T=Rr=G_!L*P|(-iOK*@X8r{-?oBlnxMNNgCVCN9Y~ocu+?XA zjjovJ9F1W$Nf!{AEv%W~8oahwM}4Ruc+SLs>_I_*uBxdcn1gQ^2F8a*vGjgAXYyh? zWCE@c5R=tbD(F4nL9NS?$PN1V_2*WR?gjv3)4MQeizuH`;sqrhgykEzj z593&TGlm3h`sIXy_U<7(dpRXGgp0TB{>s?}D{fwLe>IV~exweOfH!qM@CV5kib!YA z6O0gvJi_0J8IdEvyP#;PtqP*=;$iI2t(xG2YI-e!)~kaUn~b{6(&n zp)?iJ`z2)Xh%sCV@BkU`XL%_|FnCA?cVv@h*-FOZhY5erbGh)%Q!Av#fJM3Csc_g zC2I6x%$)80`Tkz#KRA!h1FzY`?0es3t!rKDT5EjPe6B=BLPr7s0GW!if;Ip^!AmGW zL;$`Vdre+|FA!I4r6)keFvAx3M#1`}ijBHDzy)3t0gwjl|qC2YB`SSxFKHr(oY#H$)x{L$LL zBdLKTlsOrmb>T0wd=&6l3+_Te>1!j0OU8%b%N342^opKmT)gni(wV($s(>V-fUv@0p8!f`=>PxC|9=nu ze{ToBBj8b<{PLfXV$h8YPgA~E!_sF9bl;QOF{o6t&JdsX?}rW!_&d`#wlB6T_h;Xf zl{4Tz5>qjF4kZgjO7ZiLPRz_~U@k5%?=30+nxEh9?s78gZ07YHB`FV`4%hlQlMJe@J`+e(qzy+h(9yY^ckv_* zb_E6o4p)ZaWfraIoB2)U7_@l(J0O%jm+Or>8}zSSTkM$ASG^w3F|I? z$+eHt7T~04(_WfKh27zqS$6* zzyy-ZyqvSIZ0!kkSvHknm_P*{5TKLQs8S6M=ONuKAUJWtpxbL#2(_huvY(v~Y%%#~ zYgsq$JbLLprKkV)32`liIT$KKEqs$iYxjFlHiRNvBhxbDg*3@Qefw4UM$>i${R5uB zhvTgmqQsKA{vrKN;TSJU2$f9q=y{$oH{<)woSeV>fkIz6D8@KB zf4M%v%f5U2?<8B(xn}xV+gWP?t&oiapJhJbfa;agtz-YM7=hrSuxl8lAc3GgFna#7 zNjX7;`d?oD`#AK+fQ=ZXqfIZFEk{ApzjJF0=yO~Yj{7oQfXl+6v!wNnoqwEvrs81a zGC?yXeSD2NV!ejp{LdZGEtd1TJ)3g{P6j#2jLR`cpo;YX}~_gU&Gd<+~SUJVh+$7S%`zLy^QqndN<_9 zrLwnXrLvW+ew9zX2)5qw7)zIYawgMrh`{_|(nx%u-ur1B7YcLp&WFa24gAuw~& zKJD3~^`Vp_SR$WGGBaMnttT)#fCc^+P$@UHIyBu+TRJWbcw4`CYL@SVGh!X&y%!x~ zaO*m-bTadEcEL6V6*{>irB8qT5Tqd54TC4`h`PVcd^AM6^Qf=GS->x%N70SY-u?qr>o2*OV7LQ=j)pQGv%4~z zz?X;qv*l$QSNjOuQZ>&WZs2^@G^Qas`T8iM{b19dS>DaXX~=jd4B2u`P;B}JjRBi# z_a@&Z5ev1-VphmKlZEZZd2-Lsw!+1S60YwW6@>+NQ=E5PZ+OUEXjgUaXL-E0fo(E* zsjQ{s>n33o#VZm0e%H{`KJi@2ghl8g>a~`?mFjw+$zlt|VJhSU@Y%0TWs>cnD&61fW4e0vFSaXZa4-c}U{4QR8U z;GV3^@(?Dk5uc@RT|+5C8-24->1snH6-?(nwXSnPcLn#X_}y3XS)MI_?zQ$ZAuyg+ z-pjqsw}|hg{$~f0FzmmbZzFC0He_*Vx|_uLc!Ffeb8#+@m#Z^AYcWcZF(^Os8&Z4g zG)y{$_pgrv#=_rV^D|Y<_b@ICleUv>c<0HzJDOsgJb#Rd-Vt@+EBDPyq7dUM9O{Yp zuGUrO?ma2wpuJuwl1M=*+tb|qx7Doj?!F-3Z>Dq_ihFP=d@_JO;vF{iu-6MWYn#=2 zRX6W=`Q`q-+q@Db|6_a1#8B|#%hskH82lS|9`im0UOJn?N#S;Y0$%xZw3*jR(1h5s z?-7D1tnIafviko>q6$UyqVDq1o@cwyCb*})l~x<@s$5D6N=-Uo1yc49p)xMzxwnuZ zHt!(hu-Ek;Fv4MyNTgbW%rPF*dB=;@r3YnrlFV{#-*gKS_qA(G-~TAlZ@Ti~Yxw;k za1EYyX_Up|`rpbZ0&Iv#$;eC|c0r4XGaQ-1mw@M_4p3vKIIpKs49a8Ns#ni)G314Z z8$Ei?AhiT5dQGWUYdCS|IC7r z=-8ol>V?u!n%F*J^^PZ(ONT&$Ph;r6X;pj|03HlDY6r~0g~X#zuzVU%a&!fs_f|m?qYvg^Z{y?9Qh7Rn?T*F%7lUtA6U&={HzhYEzA`knx1VH> z{tqv?p@I(&ObD5L4|YJV$QM>Nh-X3cx{I&!$FoPC_2iIEJfPk-$;4wz>adRu@n`_y z_R6aN|MDHdK;+IJmyw(hMoDCFCQ(6?hCAG5&7p{y->0Uckv# zvooVuu04$+pqof777ftk<#42@KQ((5DPcSMQyzGOJ{e9H$a9<2Qi_oHjl{#=FUL9d z+~0^2`tcvmp0hENwfHR`Ce|<1S@p;MNGInXCtHnrDPXCKmMTZQ{HVm_cZ>@?Wa6}O zHsJc7wE)mc@1OR2DWY%ZIPK1J2p6XDO$ar`$RXkbW}=@rFZ(t85AS>>U0!yt9f49^ zA9@pc0P#k;>+o5bJfx0t)Lq#v4`OcQn~av__dZ-RYOYu}F#pdsl31C^+Qgro}$q~5A<*c|kypzd} ziYGZ~?}5o`S5lw^B{O@laad9M_DuJle- z*9C7o=CJh#QL=V^sFlJ0c?BaB#4bV^T(DS6&Ne&DBM_3E$S^S13qC$7_Z?GYXTpR@wqr70wu$7+qvf-SEUa5mdHvFbu^7ew!Z1a^ zo}xKOuT*gtGws-a{Tx}{#(>G~Y_h&5P@Q8&p!{*s37^QX_Ibx<6XU*AtDOIvk|^{~ zPlS}&DM5$Ffyu-T&0|KS;Wnaqw{9DB&B3}vcO14wn;)O_e@2*9B&0I_ zZz{}CMxx`hv-XouY>^$Y@J(_INeM>lIQI@I>dBAqq1)}?Xmx(qRuX^i4IV%=MF306 z9g)i*79pP%_7Ex?m6ag-4Tlm=Z;?DQDyC-NpUIb#_^~V_tsL<~5<&;Gf2N+p?(msn zzUD~g>OoW@O}y0@Z;RN)wjam`CipmT&O7a|YljZqU=U86 zedayEdY)2F#BJ6xvmW8K&ffdS*0!%N<%RB!2~PAT4AD*$W7yzHbX#Eja9%3aD+Ah2 zf#T;XJW-GMxpE=d4Y>}jE=#U`IqgSoWcuvgaWQ9j1CKzG zDkoMDDT)B;Byl3R2PtC`ip=yGybfzmVNEx{xi_1|Cbqj>=FxQc{g`xj6fIfy`D8fA z##!-H_e6o0>6Su&$H2kQTujtbtyNFeKc}2=|4IfLTnye#@$Au7Kv4)dnA;-fz@D_8 z)>irG$)dkBY~zX zC!ZXLy*L3xr6cb70QqfN#Q>lFIc<>}>la4@3%7#>a1$PU&O^&VszpxLC%*!m-cO{B z-Y}rQr4$84(hvy#R69H{H zJ*O#uJh)TF6fbXy;fZkk%X=CjsTK}o5N1a`d7kgYYZLPxsHx%9*_XN8VWXEkVJZ%A z1A+5(B;0^{T4aPYr8%i@i32h)_)|q?9vws)r+=5u)1YNftF5mknwfd*%jXA2TeP}Z zQ!m?xJ3?9LpPM?_A3$hQ1QxNbR&}^m z!F999s?p^ak#C4NM_x2p9FoXWJ$>r?lJ)2bG)sX{gExgLA2s5RwHV!h6!C~d_H||J z>9{E{mEv{Z1z~65Vix@dqM4ZqiU|!)eWX$mwS5mLSufxbpBqqS!jShq1bmwCR6 z4uBri7ezMeS6ycaXPVu(i2up$L; zjpMtB`k~WaNrdgM_R=e#SN?Oa*u%nQy01?()h4A(jyfeNfx;5o+kX?maO4#1A^L}0 zYNyIh@QVXIFiS0*tE}2SWTrWNP3pH}1Vz1;E{@JbbgDFM-_Mky^7gH}LEhl~Ve5PexgbIyZ(IN%PqcaV@*_`ZFb=`EjspSz%5m2E34BVT)d=LGyHVz@-e%9Ova*{5@RD;7=Ebkc2GP%pIP^P7KzKapnh`UpH?@h z$RBpD*{b?vhohOKf-JG3?A|AX|2pQ?(>dwIbWhZ38GbTm4AImRNdv_&<99ySX;kJ| zo|5YgbHZC#HYgjBZrvGAT4NZYbp}qkVSa;C-LGsR26Co+i_HM&{awuO9l)Ml{G8zD zs$M8R`r+>PT#Rg!J(K6T4xHq7+tscU(}N$HY;Yz*cUObX7J7h0#u)S7b~t^Oj}TBF zuzsugnst;F#^1jm>22*AC$heublWtaQyM6RuaquFd8V#hJ60Z3j7@bAs&?dD#*>H0SJaDwp%U~27>zdtn+ z|8sZzklZy$%S|+^ie&P6++>zbrq&?+{Yy11Y>@_ce@vU4ZulS@6yziG6;iu3Iu`M= zf3rcWG<+3F`K|*(`0mE<$89F@jSq;j=W#E>(R}2drCB7D*0-|D;S;(;TwzIJkGs|q z2qH{m_zZ+el`b;Bv-#bQ>}*VPYC|7`rgBFf2oivXS^>v<&HHTypvd4|-zn|=h=TG{ z05TH2+{T%EnADO>3i|CB zCu60#qk`}GW{n4l-E$VrqgZGbI zbQW690KgZt4U3F^5@bdO1!xu~p@7Y~*_FfWg2CdvED5P5#w#V46LH`<&V0{t&Ml~4 zHNi7lIa+#i+^Z6EnxO7KJQw)wD)4~&S-Ki8)3=jpqxmx6c&zU&<&h%*c$I(5{1HZT zc9WE}ijcWJiVa^Q^xC|WX0habl89qycOyeViIbi(LFsEY_8a|+X^+%Qv+W4vzj>`y zpuRnjc-eHNkvXvI_f{=*FX=OKQzT?bck#2*qoKTHmDe>CDb&3AngA1O)1b}QJ1Tun z_<@yVEM>qG7664Pa@dzL@;DEh`#?yM+M|_fQS<7yv|i*pw)|Z8)9IR+QB7N3v3K(wv4OY*TXnH&X0nQB}?|h2XQeGL^q~N7N zDFa@x0E(UyN7k9g%IFq7Sf+EAfE#K%%#`)!90_)Dmy3Bll&e1vHQyPA87TaF(xbqMpDntVp?;8*$87STop$!EAnGhZ?>mqPJ(X zFsr336p3P{PpZCGn&^LP(JjnBbl_3P3Kcq+m}xVFMVr1zdCPJMDIV_ki#c=vvTwbU z*gKtfic&{<5ozL6Vfpx>o2Tts?3fkhWnJD&^$&+Mh5WGGyO7fG@6WDE`tEe(8<;+q z@Ld~g08XDzF8xtmpIj`#q^(Ty{Hq>t*v`pedHnuj(0%L(%sjkwp%s}wMd!a<*L~9T z9MM@s)Km~ogxlqEhIw5(lc46gCPsSosUFsgGDr8H{mj%OzJz{N#;bQ;KkV+ZWA1(9 zu0PXzyh+C<4OBYQ0v3z~Lr;=C@qmt8===Ov2lJ1=DeLfq*#jgT{YQCuwz?j{&3o_6 zsqp2Z_q-YWJg?C6=!Or|b@(zxTlg$ng2eUQzuC<+o)k<6^9ju_Z*#x+oioZ5T8Z_L zz9^A1h2eFS0O5muq8;LuDKwOv4A9pxmOjgb6L*i!-(0`Ie^d5Fsgspon%X|7 zC{RRXEmYn!5zP9XjG*{pLa)!2;PJB2<-tH@R7+E1cRo=Wz_5Ko8h8bB$QU%t9#vol zAoq?C$~~AsYC|AQQ)>>7BJ@{Cal)ZpqE=gjT+Juf!RD-;U0mbV1ED5PbvFD6M=qj1 zZ{QERT5@(&LQ~1X9xSf&@%r|3`S#ZCE=sWD`D4YQZ`MR`G&s>lN{y2+HqCfvgcw3E z-}Kp(dfGG?V|97kAHQX+OcKCZS`Q%}HD6u*e$~Ki&Vx53&FC!x94xJd4F2l^qQeFO z?&JdmgrdVjroKNJx64C!H&Vncr^w zzR#XI}Dn&o8jB~_YlVM^+#0W(G1LZH5K^|uYT@KSR z^Y5>^*Bc45E1({~EJB(t@4n9gb-eT#s@@7)J^^<_VV`Pm!h7av8XH6^5zO zOcQBhTGr;|MbRsgxCW69w{bl4EW#A~);L?d4*y#j8Ne=Z@fmJP0k4{_cQ~KA|Y#_#BuUiYx8y*za3_6Y}c=GSe7(2|KAfhdzud!Zq&}j)=o4 z7R|&&oX7~e@~HmyOOsCCwy`AR+deNjZ3bf6ijI_*tKP*_5JP3;0d;L_p(c>W1b%sG zJ*$wcO$ng^aW0E(5ldckV9unU7}OB7s?Wx(761?1^&8tA5y0_(ieV>(x-e@}1`lWC z-YH~G$D>#ud!SxK2_Iw{K%92=+{4yb-_XC>ji&j7)1ofp(OGa4jjF;Hd*`6YQL+Jf zffg+6CPc8F@EDPN{Kn96yip;?g@)qgkPo^nVKFqY?8!=h$G$V=<>%5J&iVjwR!7H0 z$@QL|_Q81I;Bnq8-5JyNRv$Y>`sWl{qhq>u+X|)@cMlsG!{*lu?*H`Tp|!uv z9oEPU1jUEj@ueBr}%Y)7Luyi)REaJV>eQ{+uy4uh0ep0){t;OU8D*RZ& zE-Z-&=BrWQLAD^A&qut&4{ZfhqK1ZQB0fACP)=zgx(0(o-`U62EzTkBkG@mXqbjXm z>w`HNeQM?Is&4xq@BB(K;wv5nI6EXas)XXAkUuf}5uSrZLYxRCQPefn-1^#OCd4aO zzF=dQ*CREEyWf@n6h7(uXLNgJIwGp#Xrsj6S<^bzQ7N0B0N{XlT;`=m9Olg<>KL}9 zlp>EKTx-h|%d1Ncqa=wnQEuE;sIO-f#%Bs?g4}&xS?$9MG?n$isHky0caj za8W+B^ERK#&h?(x)7LLpOqApV5F>sqB`sntV%SV>Q1;ax67qs+WcssfFeF3Xk=e4^ zjR2^(%K1oBq%0%Rf!y&WT;lu2Co(rHi|r1_uW)n{<7fGc-c=ft7Z0Q}r4W$o$@tQF#i?jDBwZ8h+=SC}3?anUp3mtRVv9l#H?-UD;HjTF zQ*>|}e=6gDrgI9p%c&4iMUkQa4zziS$bO&i#DI$Wu$7dz7-}XLk%!US^XUIFf2obO zFCTjVEtkvYSKWB;<0C;_B{HHs~ax_48^Cml*mjfBC5*7^HJZiLDir(3k&BerVIZF8zF;0q80eX8c zPN4tc+Dc5DqEAq$Y3B3R&XPZ=AQfFMXv#!RQnGecJONe0H;+!f^h5x0wS<+%;D}MpUbTNUBA}S2n&U59-_5HKr{L^jPsV8B^%NaH|tUr)mq=qCBv_- ziZ1xUp(ZzxUYTCF@C}To;u60?RIfTGS?#JnB8S8@j`TKPkAa)$My+6ziGaBcA@){d z91)%+v2_ba7gNecdj^8*I4#<11l!{XKl6s0zkXfJPxhP+@b+5ev{a>p*W-3*25c&} zmCf{g9mPWVQ$?Sp*4V|lT@~>RR)9iNdN^7KT@>*MU3&v^3e?=NTbG9!h6C|9zO097 zN{Qs6YwR-5$)~ z`b~qs`a1Dbx8P>%V=1XGjBptMf%P~sl1qbHVm1HYpY|-Z^Dar8^HqjIw}xaeRlsYa zJ_@Apy-??`gxPmb`m`0`z`#G7*_C}qiSZe~l2z65tE~IwMw$1|-u&t|z-8SxliH00 zlh1#kuqB56s+E&PWQ7Nz17?c}pN+A@-c^xLqh(j;mS|?>(Pf7(?qd z5q@jkc^nA&!K-}-1P=Ry0yyze0W!+h^iW}7jzC1{?|rEFFWbE^Yu7Y}t?jmP-D$f+ zmqFT7nTl0HL|4jwGm7w@a>9 zKD)V~+g~ysmei$OT5}%$&LK8?ib|8aY|>W3;P+0B;=oD=?1rg+PxKcP(d;OEzq1CKA&y#boc51P^ZJPPS)z5 zAZ)dd2$glGQXFj$`XBBJyl2y-aoBA8121JC9&~|_nY>nkmW>TLi%mWdn-^Jks-Jv| zSR*wij;A3Fcy8KsDjQ15?Z9oOj|Qw2;jgJiq>dxG(2I2RE- z$As!#zSFIskebqU2bnoM^N<4VWD2#>!;saPSsY8OaCCQqkCMdje$C?Sp%V}f2~tG5 z0whMYk6tcaABwu*x)ak@n4sMElGPX1_lmv@bgdI2jPdD|2-<~Jf`L`@>Lj7{<-uLQ zE3S_#3e10q-ra=vaDQ42QUY^@edh>tnTtpBiiDVUk5+Po@%RmuTntOlE29I4MeJI?;`7;{3e4Qst#i-RH6s;>e(Sc+ubF2_gwf5Qi%P!aa89fx6^{~A*&B4Q zKTF|Kx^NkiWx=RDhe<{PWXMQ;2)=SC=yZC&mh?T&CvFVz?5cW~ritRjG2?I0Av_cI z)=s!@MXpXbarYm>Kj0wOxl=eFMgSMc?62U#2gM^li@wKPK9^;;0_h7B>F>0>I3P`{ zr^ygPYp~WVm?Qbp6O3*O2)(`y)x>%ZXtztz zMAcwKDr=TCMY!S-MJ8|2MJCVNUBI0BkJV6?(!~W!_dC{TS=eh}t#X+2D>Kp&)ZN~q zvg!ogxUXu^y(P*;Q+y_rDoGeSCYxkaGPldDDx)k;ocJvvGO#1YKoQLHUf2h_pjm&1 zqh&!_KFH03FcJvSdfgUYMp=5EpigZ*8}7N_W%Ms^WSQ4hH`9>3061OEcxmf~TcYn5_oHtscWn zo5!ayj<_fZ)vHu3!A!7M;4y1QIr8YGy$P2qDD_4+T8^=^dB6uNsz|D>p~4pF3Nrb6 zcpRK*($<~JUqOya#M1=#IhOZ zG)W+rJS-x(6EoVz)P zsSo>JtnChdj9^);su%SkFG~_7JPM zEDz3gk2T7Y%x>1tWyia|op(ilEzvAujW?Xwlw>J6d7yEi8E zv30riR|a_MM%ZZX&n!qm0{2agq(s?x9E@=*tyT$nND+{Djpm7Rsy!+c$j+wqMwTOF zZL8BQ|I`<^bGW)5apO{lh(Asqen?_U`$_n0-Ob~Yd%^89oEe%9yGumQ_8Be+l2k+n zCxT%s?bMpv|AdWP7M1LQwLm|x+igA~;+iK-*+tClF&ueX_V}>=4gvZ01xpubQWXD_ zi?Un>&3=$fu)dgk-Z;0Ll}HK5_YM->l^Czrd0^cJ))(DwL2g3aZuza7ga9^|mT_70 z))}A}r1#-(9cxtn<9jGRwOB4hb9kK@YCgjfOM-90I$8@l=H^`K$cyhe2mTM|FY9vW znH~h)I<_aa#V1xmhk?Ng@$Jw-s%a!$BI4Us+Df+?J&gKAF-M`v}j`OWKP3>6`X`tEmhe#y*(Xm$_^Ybbs=%;L7h zp7q^C*qM}Krqsinq|WolR99>_!GL#Z71Hhz|IwQQv<>Ds09B?Je(lhI1(FInO8mc} zl$RyKCUmfku+Cd^8s0|t+e}5g7M{ZPJQH=UB3(~U&(w#Bz#@DTDHy>_UaS~AtN>4O zJ-I#U@R($fgupHebcpuEBX`SZ>kN!rW$#9>s{^3`86ZRQRtYTY)hiFm_9wU3c`SC8 z-5M%g)h}3Pt|wyj#F%}pGC@VL`9&>9P+_UbudCkS%y2w&*o})hBplrB*@Z?gel5q+ z%|*59(sR9GMk3xME}wd%&k?7~J)OL`rK#4d-haC7uaU8-L@?$K6(r<0e<;y83rK&` z3Q!1rD9WkcB8WBQ|WT|$u^lkr0UL4WH4EQTJyk@5gzHb18cOte4w zS`fLv8q;PvAZyY;*Go3Qw1~5#gP0D0ERla6M6#{; zr1l?bR}Nh+OC7)4bfAs(0ZD(axaw6j9v`^jh5>*Eo&$dAnt?c|Y*ckEORIiJXfGcM zEo`bmIq6rJm`XhkXR-^3d8^RTK2;nmVetHfUNugJG(4XLOu>HJA;0EWb~?&|0abr6 zxqVp@p=b3MN^|~?djPe!=eex(u!x>RYFAj|*T$cTi*Sd3Bme7Pri1tkK9N`KtRmXf zZYNBNtik97ct1R^vamQBfo9ZUR@k*LhIg8OR9d_{iv#t)LQV91^5}K5u{eyxwOFoU zHMVq$C>tfa@uNDW^_>EmO~WYQd(@!nKmAvSSIb&hPO|}g-3985t?|R&WZXvxS}Kt2i^eRe>WHb_;-K5cM4=@AN1>E&1c$k!w4O*oscx(f=<1K6l#8Exi)U(ZiZ zdr#YTP6?m1e1dOKysUjQ^>-MR={OuD00g6+(a^cvcmn#A_%Fh3Of%(qP5nvjS1=(> z|Ld8{u%(J}%2SY~+$4pjy{()5HN2MYUjg1X9umxOMFFPdM+IwOVEs4Z(olynvT%G) zt9|#VR}%O2@f6=+6uvbZv{3U)l;C{tuc zZ{K$rut=eS%3_~fQv^@$HV6#9)K9>|0qD$EV2$G^XUNBLM|5-ZmFF!KV)$4l^KVj@ zZ4fI}Knv*K%zPqK77}B-h_V{66VrmoZP2>@^euu8Rc}#qwRwt5uEBWcJJE5*5rT2t zA4Jpx`QQ~1Sh_n_a9x%Il!t1&B~J6p54zxAJx`REov${jeuL8h8x-z=?qwMAmPK5i z_*ES)BW(NZluu#Bmn1-NUKQip_X&_WzJy~J`WYxEJQ&Gu7DD< z&F9urE;}8S{x4{yB zaq~1Zrz%8)<`prSQv$eu5@1RY2WLu=waPTrn`WK%;G5(jt^FeM;gOdvXQjYhax~_> z{bS_`;t#$RYMu-;_Dd&o+LD<5Afg6v{NK?0d8dD5ohAN?QoocETBj?y{MB)jQ%UQ}#t3j&iL!qr@#6JEajR3@^k5wgLfI9S9dT2^f`2wd z%I#Q*@Ctk@w=(u)@QC}yBvUP&fFRR-uYKJ){Wp3&$s(o~W7OzgsUIPx0|ph2L1(r*_Pa@T@mcH^JxBjh09#fgo|W#gG7}|)k&uD1iZxb0 z@|Y)W79SKj9sS&EhmTD;uI#)FE6VwQ*YAr&foK$RI5H8_ripb$^=;U%gWbrrk4!5P zXDcyscEZoSH~n6VJu8$^6LE6)>+=o#Q-~*jmob^@191+Ot1w454e3)WMliLtY6~^w zW|n#R@~{5K#P+(w+XC%(+UcOrk|yzkEes=!qW%imu6>zjdb!B#`efaliKtN}_c!Jp zfyZa`n+Nx8;*AquvMT2;c8fnYszdDA*0(R`bsof1W<#O{v%O!1IO4WZe=>XBu_D%d zOwWDaEtX%@B>4V%f1+dKqcXT>m2!|&?}(GK8e&R=&w?V`*Vj)sCetWp9lr@@{xe6a zE)JL&;p}OnOO}Nw?vFyoccXT*z*?r}E8{uPtd;4<(hmX;d$rqJhEF}I+kD+m(ke;J z7Cm$W*CSdcD=RYEBhedg>tuT{PHqwCdDP*NkHv4rvQTXkzEn*Mb0oJz&+WfWIOS4@ zzpPJ|e%a-PIwOaOC7uQcHQ-q(SE(e@fj+7oC@34wzaBNaP;cw&gm{Z8yYX?V(lIv5 zKbg*zo1m5aGA4^lwJ|bAU=j3*d8S{vp!~fLFcK8s6%Ng55_qW_d*3R%e=34aDZPfD z&Le39j|ahp6E7B0*9OVdeMNrTErFatiE+=Z!XZ^tv0y%zZKXRTBuPyP&C{5(H?t)S zKV24_-TKpOmCPzU&by8R1Q5HY^@IDoeDA9MbgizgQ*F1Er~HVmvSU>vx}pZVQ&tr| zOtZl8vfY2#L<)gZ=ba&wG~EI*Vd?}lRMCf+!b5CDz$8~be-HKMo5omk$w7p4`Mym*IR8WiTz4^kKcUo^8Hkcsu14u z`Pkg`#-Y^A%CqJ0O@UF|caAulf68@(zhqp~YjzInh7qSN7Ov%Aj(Qz%{3zW|xubJ- ztNE_u_MO7Q_585r;xD?e=Er}@U1G@BKW5v$UM((eByhH2p!^g9W}99OD8VV@7d{#H zv)Eam+^K(5>-Ot~U!R$Um3prQmM)7DyK=iM%vy>BRX4#aH7*oCMmz07YB(EL!^%F7?CA#>zXqiYDhS;e?LYPTf(bte6B ztrfvDXYG*T;ExK-w?Knt{jNv)>KMk*sM^ngZ-WiUN;=0Ev^GIDMs=AyLg2V@3R z7ugNc45;4!RPxvzoT}3NCMeK$7j#q3r_xV(@t@OPRyoKBzHJ#IepkDsm$EJRxL)A* zf{_GQYttu^OXr$jHQn}zs$Eh|s|Z!r?Yi+bS-bi+PE*lH zo|6ztu6$r_?|B~S#m>imI!kQP9`6X426uHRri!wGcK;J;`%sFM(D#*Le~W*t2uH`Q z(HEO9-c_`mhA@4QhbW+tgtt9Pzx=_*3Kh~TB$SKmU4yx-Ay&)n%PZPKg#rD4H{%Ke zdMY@rf5EAFfqtrf?Vmk&N(_d-<=bvfOdPrYwY*;5%j@O6@O#Qj7LJTk-x3LN+dEKy+X z>~U8j3Ql`exr1jR>+S4nEy+4c2f{-Q!3_9)yY758tLGg7k^=nt<6h$YE$ltA+13S<}uOg#XHe6 zZHKdNsAnMQ_RIuB;mdoZ%RWpandzLR-BnjN2j@lkBbBd+?i ze*!5mC}!Qj(Q!rTu`KrRRqp22c=hF6<^v&iCDB`n7mHl;vdclcer%;{;=kA(PwdGG zdX#BWoC!leBC4);^J^tPkPbIe<)~nYb6R3u{HvC!NOQa?DC^Q`|_@ zcz;rk`a!4rSLAS>_=b@g?Yab4%=J3Cc7pRv8?_rHMl_aK*HSPU%0pG2Fyhef_biA!aW|-(( z*RIdG&Lmk(=(nk28Q1k1Oa$8Oa-phG%Mc6dT3>JIylcMMIc{&FsBYBD^n@#~>C?HG z*1&FpYVvXOU@~r2(BUa+KZv;tZ15#RewooEM0LFb>guQN;Z0EBFMFMZ=-m$a3;gVD z)2EBD4+*=6ZF?+)P`z@DOT;azK0Q4p4>NfwDR#Pd;no|{q_qB!zk1O8QojE;>zhPu z1Q=1z^0MYHo1*``H3ex|bW-Zy==5J4fE2;g6sq6YcXMYK5i|S^9(OSw#v!3^!EB<% zZF~J~CleS`V-peStyf*I%1^R88D;+8{{qN6-t!@gTARDg^w2`uSzFZbPQ!)q^oC}m zPo8VOQxq2BaIN`pAVFGu8!{p3}(+iZ`f4ck2ygVpEZMQW38nLpj3NQx+&sAkb8`}P3- zc>N*k6AG?r}bfO6_vccTuKX+*- z7W4Q#2``P0jIHYs)F>uG#AM#I6W2)!Nu2nD5{CRV_PmkDS2ditmbd#pggqEgAo%5oC?|CP zGa0CV)wA*ko!xC7pZYkqo{10CN_e00FX5SjWkI3?@XG}}bze!(&+k2$C-C`6temSk z_YyYpB^wh3woo`B zrMSTd4T?(X-jh`FeO76C(3xsOm9s2BP_b%ospg^!#*2*o9N;tf4(X9$qc_d(()yz5 zDk@1}u_Xd+86vy5RBs?LQCuYKCGPS;E4uFOi@V%1JTK&|eRf~lp$AV#;*#O}iRI2=i3rFL8{ zA^ptDZ0l6k-mq=hUJ0x$Y@J>UNfz~I5l63H(`~*v;qX`Z{zwsQQD-!wp0D&hyB8&Z z7$R07gIKGJ^%AvQ{4KM0edM39iFRx=P^6`!<1(s0t|JbB2tXs_B_IH9#ajH0C=-n+ z`nz`fKMBKLlf?2AC+|83M+0rqR%uhNGD;uKA6jOjp7YDe^4%0fRB<^bcjlS2KF~F; zu09wh1x0&4pG&76M;x8$u`b134t=dEPBn6PV|X29<#T4F1mxGF*HOgiWU8tN@cguI z_F@o+XL7FJztR63wC|j4x_DANzcX94r7Iz-O2x$({&qd*mdLG=-Rv)uZ}UlMR+F&q zU}=lkfb0p1>1Ho){o$@}mSKIV;h*$AND7~Dl)QzpFBlSM99Kx+F7GsVK5xcR? z_4Q(Z%cgk8ST}U;;=!LwyZVu^S$>B-Waeik%wzcKTIqeX=0FP(TGQ=nxi=dsS5BYF zl@?}NT!Y!Iyos^@v7XWXA{_bV~1lxz7gC?xuXxy0_?GaN!AhRRM5>)^t%&ODd;@HN5L{MD3 zc>i2keQZVm#?NrDwbfd}_<*5^U&w0zv~n-y8=GGN-!=_`FU^cM8oVCWRFxw?BM^YD zi=Vxz4q|jwPTg+?q7_XI)-S@gQkh>w0ZUB}a{^ z_i;`Y(~fvpI!vmW*A^|P7(6+@C4UeL2WATf{P1?H5rk`5{TL zcf!CgP6Mi{MvjZS)rfo7JLDZK7M7ANd$3`{j9baD*7{#Zu-33fOYUzjvtKzR2)_T1I1s7fe&z|=)QkX;=`zX8!Byw-veM#yr;|wjO^II>!B*B z0+w%;0(=*G3V@88t!}~zx)&do(uF=073Yeh*fEhZb3Vn>t!m(9p~Y_FdV3IgR)9eT z)~e9xpI%2deTWyHlXA(7srrfc_`7ACm!R>SoIgkuF8 z!wkOhrixFy9y@)GdxAntd!!7@=L_tFD2T5OdSUO)I%yj02le`qeQ=yKq$g^h)NG;# za(0J@#VBi^5YI|QI=rq{KlxwGabZJ0dKmfWDROkcM}lUN$@DV`K7fU?8CP2H23QPi zG?YF*=Vn=kTK*#Y_{AQN&oLju|0#E=fx%YVh>S{puu&K$b;BN*jIo@VYhqPiJPzzM>#kxoy0vW9i;ne2_BIG0zyRFp<3M(iY(%*M_>q0ulV2K}Tg zkG{EWKS{i%4DUuHi%DVKy%e+Q!~Uf`>>F6NgD{{I8~nO4!VgOvtFOc7(O)X`|7n*f zxBa4CJ-v9fUUH+`7sPVvpM_C*udZ@OTGTzx56QM5y~OlrZc&w9=)B?nmd@keRn+^= zvm~4sa5987LFDnU{(N|N zJAR8H@}p1fC+H(yTI4n#%~TbImMpuqYn9cQ<0QQ%=PzZItLkC*ef9WJUvfITKWh#D zc#__8`4am9%#NslIUw+<82#SR8AYG|woLfBg#!-&dqq}@P>|I0%lbdy0lSMmNe+}o zj0zZuFr6Wb?Y{Qy-S=|r`bdrDmhnmvkRnkdn`YCleU>Q$=je}LGhh>_QAj6aa_0Oc z%Swsmui;IRx7bN*=AAS@5yW&Y2hy;3&|HAiA8}!HT6!Z!RVn~MZg`RmI6&%#tBZDx zfD+y@Z~NWlk*4l13vmt3AK2wP!fQlnBbECL>?p)F?T)<`w&QN>cP_V>r7UTcsTaaP zTOb$f!P@zf$6>890NVKbIkG8rE?9!Y97sMSZjfF?A zYR8lp`LMoz~O?iaZN;gcX;LC-%Ia*R%A&SLx!YIf29?P+=XAAojK8!^OU*@?R&DK!#G_lsn!#;S375uZ&B0HH1|BO0R90$U>qs zSvHv>H~mAgNCcjo-e+;RjY6B9NCbQrZ|BHjTkehaU<9CSkdd>Vl*ifA2LNOP&R2Qdy3k3-TQ+ zbq=#vI43x`s=%~cGyN&y4Y!FxhwgDe@i6uv8^BLL&3z*SO=D0aLjih?gY4-9uWp5or)H+v~w6n5X#F-I52z=Z_p4JB(;M| zeaVFhuR2|3UD2MzVc~^nSoD2(dD#uL_1PdnIxeA{V5n`#3xf1Zx@4lw(DsQ&H$h zw#%3O<1173hjg2_nhKi!d1ej=h7y`hVjCNB6|HTnx>SWuCE-kgTnfT+YGX4_Lun({ zDv2`>d3vrS)tTf7ps_vvh!Cx^e1BFuWnEAh0(7fkNk|-3oU|iRWdsC6U)?Raft~HN z;^$U}vZK5O8|LV$>6X5T(uYkblv{zwPxnQBh(BQ5tA~J!vGiAMYP^_ki~pkIxDfOZ zUJDwq%O~WueeV6%uN<54&u*c&E4y431cklBNrb06zGOOy4XNT~JS-q(s6@)F@ovbe ze`fial(O4(-su%6@@1+V0MsdLLMyE8;)nou(7}czU(5ASaZYDT(kUZ0L(&g$nF^n9 z9-Pi`ZZLX&)^*M6As4_2Mmc9S7OT)F8KkL2NJ)KJcnCuWU=Wy402A&45#Q9Id~BBH z0cY*xlv!uXzKrXLH!xQu(OtJvEj|0-DmRj1vjFz{c*I4$Pe(+_V|^b~S!0xm{8lq= zZv)@NlcyL3Xdz+*|L137F7y6L-2VsrKw=q^S>F6i%<{Fr8zk06$Ay-(!L$fY@7mcng!2}L0t zgi|KxfB63Xtk_Q8#ZPipQ@!zgjdpEIbK_?q17Hoi4Eiyun$hrc>T(7pOLVLQE=lgGwA+A308p& z7@=09(|$>eLy5gLe{*|3b(M;1n;C^~v?o88jYib48eR4$QGsBFzd}3QuwO^_XE(=B zq+hMi0UFC|dB{LCwch7;zYT=NK})O%sgi0k#yV;My@24^B1+CuZmYOh0^b)5Ba_)) zC%i#_Iev&nsu%I|1N5=MVc#PrlunKAs&hY|3s5;@}`>sB>}gzxuB zB=2vrRyB3uiyW(hkDUNe1@&(b`;>ZvGgw|@s{zVC#_`HXIN_^J@Etb zA7A+F?ot37T{<-vTy8h&b3e+WKHE1oh;pUQrN4yRRrx?mT_9jRa2i4l1fUnLW^Cbl z!I1>VzyFe?VELWWhM?@?t-YPZkD-Qjo@bC2(o#ZtZmr{KZsdFWItV`rs$gp{724@C zL8K5}E0+DHcWcL^{BGei4>@J-3%a#$y6;I}=upc};-NDv-z#kPX26ylOpH)Ov1uU{ zkLj6oiH6l_s+B~_z;|Jc2oi?naS7#3H63~~lWj4rUnd=fCnKdkik<@R&kch9q##G{ z4u!%=rlM~Yp3jk*t8}1B`Sv6<%Z^}~1e@aq zg|JQ`QO2pSjAm-g*?IrNc$^~sIrNBo2$m|Sxanr?Mfs>2@Auu49 zGXlsS<9XS1&8h(dD*Hl&5HBDG!^pJ*lkau_Ur+7`7z;rcs$hT4we?3bT=7Fe<>{5( z2m2(c+hUz2BTHM8dCe*Z3XX&Av;b~a=$6EF>&^E8%nyxO@m_n!q&XD^A{SRjRZQ0L~qDeC=j&0$j6=LNIz@`ni^>ch|sv}^6 zlm>?28yPl@WmDPR?Y-A9X{U9Dv_IsbXJnzKCjkRksLOg#42uG2mE_acbTQ4)J|1V>%U@K(FP3AYhL0U zdeOCPN1qLv!|#c=p!_+%VNV(GHt`RuLRV^vz<5tt-r)yOK**kUWPspVAf|}ZL{LS= z@k(@@!P&W!>wwe`x{+GrFSWhHov7hu?{KuuT%kl#WO@*WX$i_@retlhQBj++SVNCx z5$78LxP>Z=^aJ)D280r_jj=zFfMJFXCIe^B{~V@d1rl_F(qo&AB4bC-vYL>x2jSKX zpuTG-6kgp3e^T&+dtV*i6a~)v@n?n*MffN59y}<0djUX zt27R+SE#hp8bzc#;rk$jw3r4)Q@eI$*`_)=Pvge8@8|8>H3X)<9YX6cXa=ii#Le;(qKm@%0-7$>2ShnYc`j#zJ7gu_FE^?uAkL|H)UIH#gPu^40!6^J=^ zr`}iwa^!4tzW~vOMZAaKF>*8A{^8m$i(VK)>?=#l`xrVe>wseSvM_aF zATNkY>kM_P3?1kE`uIq#mvr-wuTgUH0N<&JhF=(E9%^NS*HLm!4GZ4_XI zL=R5tlG5Mk_1rPfg)sk^llFuKPMPBhuU|L5q#yP_mzxp1o&pAzi-X31sgFpIHn@($ z_>=`AB5(8tP6p2zS5VEvH5J$M` z_much3>S7t3Yo`Yx!>83-hW9LYzDKP?mKdkD#QAK8*M((sx{eBQdrR<^3ZhFP81+& zBnJMUefQyNBji~$5d88Wfw1Lv59aJN9t2!pABLg;ewJ#LXL-10;QcJl+Y4Mtngb)k6JZlCf)3uD_u)J3sYyN;NN5hNbg$%W!i-GK%e&!Us)2IExWSss$YG(hm3kJ-h%yD z>8q^n$+4I(_y_mbT{du4P%h1j3oSpjhY97{+IZ`aA4ug!vNJ6*p?<2H(2w+GD3j$I z1TUXGyNzdf>_yB3grP~FZUs<2Quw;eEi*7s(-MiIkQ%@J^+WGdQvYSUN+TRiD-xto zJ=OUU+kxGYc!HCLNbCvR4lGTp~#L;DFzGd-#gJe*xf(P3hDQz|y)?b9mwU3WUVnpcqXM<@w%r-k*Wr^gzAv)8T^sqA=Ye z!7qy&exJmAcAt~CwS#@yNmjr8*T*!A6w4~E*ibaLRs0CFo(;R3=ODhDt6zWNodmo0 zXx&bT$6&+5c>a|WJ)F4G-^GjY0H#*tY=UNyYr_q5fsrcjk(c^~e*7Lf`!Jd`)p412 zn|^*hV= zFI4UbwA%X@smDd$cQOiMC%jfitTxTb+#`9`G=2rJDfK!E=5ra|So>lc{X1$~w28i+ z4p&cTGwZ#5VueiXS9O8#;RR$yg7tL9!^)Sz&pZYIzlSh}0}V{LxL$Cu%B4U5_}k}- zm~|CsD<076x@<>m=6w6N?WaThIBP`!u{-;WF)xc=2otx*lwf|5+MkdJePjh(B z9SH+%cHGCMAXNxB{_3^otDWdsV7Ob6n{0 z+&!(;iaHOX__5z_$Qk{%xYV%Ig@7iokGBwR`3642ZP#H#v9QGbWl8<|MS*=@qO@Uj z6+SZ_v9`1paUe5tFN~v(b#J3a_Lx0+;r9giZIx-A5TxdbG>xi#AZ5_z1V}B^n)sxT zz49}eK7EWb6wR!6-qQOrHQHkUvshvq%=G2d&@(#XM*Am1;WbnJ{X_!a{ZkphD$^TQ z=Iskb&}=lBm(RHiwJoGg`*NiQ6#RB$T#LF+>#ef;Jne&MxKPX!#r`&TVEFsp2jnNx>dClzpcPy&G&13a_<0qaR3i+k212~hoQ z8nMk{JP-t04I{GW5gUBqcJW-jSMrlw}>p)ptx?WKuCUV77taMiV zHok9V=6yv+Uts@fMY&A}amC=!Yj}eL@=e%XJ#%?agkt1jWF+10{(E9mHLDa>Ll7Vj zG=3cp%ljIB-6pC}6&`xJ*6WCP|IlglLWJ^?yviI8Ve)?V_i4%n;olzny62_`-|IGi z^=}p_O>Z8M;c4|RExu70E7ePW(HWVS&E$+LL6xSQgB`QfMQJ|4pCTFowA39p5P-|$ zUtM_H2HnP8_RoS~Vwk(FhbG zH41licj%=0a;Ln2STFBvU}Ne&O&%8bYKj!h1FA#sNM`232fX|U3QPp#3C?mN2;hE9 z;)!@5ixSPl<89^7gwhHc2YAX1KJK$#*3`KOMIQ253q7-*RJ5k)zp9GBO|Ga~X*^}US5oN@aG&waHV%vi~r{t^`ptTxb zL}q1W8S7*>7oWwvgV4uFLZ(@k`R*=LO_|Gu`prs~!WQXj-NLIa^2(7IHg>BG^N zc|i{-^=&Cek9dkJFQys|sjG9i>LLz|;yCv{^1i%c*h>8zF91kLvS9HBQi~ZU!JL`B zK8N+U0fr1*6??Ium)AF!6tc1eGhXIYL6IRT7rmKp7+>?%5Pa6zC5)KY$ycF0ZJ`G5nEQDG100U-jLkH8^UE4g6wq?sg%pP=-$&G#bcN`^?w3a6 z((s$6eRKcSEIslW-kk5Qi|5Mg-(xdLF}PxxVh$PuO}#aR6pW1kV4Af!Bqh*btXNNZ z>-4(IUl+L4dw+3LcpGut=qB45O+W)Q5?*zZ2A6rJcg`qkSvWA!j^r2mqKuCm6`Py? z@^T#Ux04HemPGd!Hs7NkZdVn1}8_j`o?)*OKZGS!`ff)gF zG?v-lj$wWNWCcw2Mg2o18D~1?3_b0XzdiKBNkYSDpcv@&kp0POmweJE2ZkIQ3B!a! zIgIoE+Xv?;34kyo^QYjZk+tEqZvq^#QG(OzX4~X+KtsoQoddTWUR(yo8R+ObEF1j<-syWOb>)JQ&Zbdu(sctU%Mt zW&YR0{ttY2TTXYZ?~WNU&cES1Z2q(7SrWDh``!J(JM+Nk$!hu&Y;(7E`ZNKTe0w+% zJc?Qnw2B+%UR}0;cB0Rufa(7-3FF}?629@LgTiEC&2uyL6NxexOp?AKT^aAx3gi(W zao>r>MPw0eQ3>IV02uLsC@>yK_epX6GRg4{NEL2wPPF9=*L2RV3yyK8DhuEK>rmmV z`&Q~#c`lgR&93TdOCja|ewOXmPNRh7!&dMT(1ett#iDr8HZW~VqWW@7fe9B6;7S+? zbC`d4@MEau&mKlOPKd>*10q0c{~^baw6!a*w^sY#0Xim{oOsiXiDOhbG&kl3c$$n1 zMRrD83&QucDSEcV*7LIp8VTA@F<%qe+_c`L;6on(>SjAU^}5c9!BCffT>$VQhe=)z z8(=Ej{5>jhmjB3{xDfj2R@VmHQ!CqjlO4KnuOmvHy3K#po$yp_V;p_MKjh1`(rzj6 zHW956k1yvntz{_g?Xbs`avK(IjlTnsu%htO;D7 z?J#x^EzuvVn&NA=!MEj7cwe5A-Z$Zk2LBZH$~%E* zf`((xH0?`}hs|HA%mtwfOEsZJxxrennkTYcwP#FKO5%Lpc^JXhSpV|ZH$Wr;`}`_( zIP==gd3LYyVtwD|*ZJGi{7~x8{=^bGVqu0RJ`n_BZH9+}kz%-4ZRsImi@rx%=ZEKs zcPnUXo6hbJV>fH;@1|bAHIe0ijYI*&kdT|HkDS$9No9 zCHo=*HWb~U+Dtzxr+Esao}6@|;Pf+E$ay0$kQp#s{wlw+7aIKbMdf`OqhoG*;Tco0 zjrP}VQG#Y2cJuqoJg&5({)S(BA}q9T1lGeWRyu=Je|)I!6a+aj!IP^1({)ZYe&x6w zt3a)Dq^TB+A7CdB0-}#z2Ur$W&h3YVw8==!xONy$uQmDWh-@15iEOt!q2m&?ZLA|w z8loSb(0}7y6Xu0?M5Uf4>VZGluB`wMf2oh;m)ghxVda>3m}4%V)r^0nVQ5V6f3>*) z0&VN!N0~GC^P}vj$`EDMZEmVV;N&RISY2C;$0;2(<{Lt&PKzqRByQdiEHGAbwtbS zPj`Da5%U6k1oEtVzI}QNw;!hT6F+~|@=c@$C4NtO@=xgP?|5MyZAyuCzcvq4rdAv@C06%gZ`9%I);R6UGiGJobfux+<0DLS&|MSG4UH z_~o{^^9>ixMg~mY!-@Fai{xaE4^;qy9iZN15Gbn5ZqHWf>Jc5Rv6(#n8`1NcCsdmG zab*dSXVPaE?)wCalD;$ivF%@nB#7D`@YG04p6ed9m}4iJW|pfVMLE<-c{=-8$e?cH zUdU#mCj4gb zZKA^b9p*9S(}8@tw~1RNPHr7tQr;P+-)D8|sq=*o)G%RGqt> zzP5yf`pVxb)I51D_G~Xp^GNK zVI6sAX)a9s)e{8N3?35YA6aQTXuyszK3ah~CemzA&CII#8F&F#KN41~8I^&_%}6MCNb{W87qAF`zj_Y^szhb> z3p3}KbOxotY|(lD=;)`fYE_*{S}x;f^SW#)SU&5X#o|-R|trpa|L5PS5aa0 zTHw8%SDSVtU4?vyrhnq+^@dgFS)|(y{~(4j%3UEiO-rBM9%`)8(dh33pMLiuurNY# z#10AsQ7%*0Cu_DSAU}P;X(JwA64~Q_^R%d_zSm^6Aux?Pn70PM>9EvLeOX z&w9c)pGmcL22;MO3C_B>=NC0RJpMp8?#ZUf=GWRvy z6RHq3B}=MGVg?9@iKFBpsvnkVh3{Vpp=`CcD=u~@ql{my|6?3ssi3mCOPnjI&E}VC zc@X+Yl>;;DNo0W0`0th!X{?luDhOC{E8N=?!w}K1{V=)+1={m(f`Oc|N=07>}3;z{-(A zm{JL=j?Sro5iecmE2-pWlRf(r%|HEQ7kgwQ9+kt=NBhtQI7OwcZ#3%$Uf%^r2nhjY zoQ08MfC%_X{O9~WcirMZMhn#z^ux4Erx-tf-6bHD)9eH&^L>^jvAd^9A^DCDs?0;k zkm7LE*KjP6`2d17MrQaaLqd_Rka}J$csvUec#hw78<=s(hyR>065~YCVCA9+#Q+; za(*L0IEw!r5P|@-;x33L$Lv9 zcuN8YG&g{<(SeJG18~(b!5yywSqQiLAX0;---;}mF5&b4lg|T?LwKREa{9YX_-zL@ZE?Zqi@HxK^2KO1>0LATu{te=T zprmHtY)bDVfxI1S}KBE7V zznP7KQ8HekWU#W6mw`dr-boV}pMQR==&5=Q5T=_q091jfc;R*jX#&=MQ%~@E@9^?`$v48ks<>(fI(F6L(5ppKy|$HWng*bKOb(4|cMUB&z$#ob#XV z5-mg)gmFIybZf=znm3ZPyUO^GJfxt0kmHjaTZ|sthsxXw&}Y)fOUSg=JhRSR^UjZ- zhqqb}Wsyw4zdnj6@#BAJa#-PdI4_dgafFXh85DsEQ_cT+5)XpZq$fZlBA_9UsE9r6 zEFec5?uqN@QhJ^IzwZrwl-5J`CmVPv{(YDTqEqWR^dI;5hXc~cxP%B3v&~s0`Ct89 z@S`i~a^c%V^N81dDT*ItFS*&IN;@O$EgzX0e7x&}TD=!zS}hTpezBLS>mdX(5< z)8DEI(-o_D)c-UX@dA1MuJ*yc>Hf4|`*B2S_O>w*-tbUwtiu`;W(Ud{HTty@(&x(T(F&;M zJ=?H>6`B7nf-90e8V`WSVp|0oEKB-P2M{}4ZDawzvM&a!y>`Y#jCsD%T_l``@ah(I2nJs~Q|%uSKu@k!m~*8B*IoA{*TgtF<(5sHCGG;n@NE%~Xt(G$^&<87u;}Na zx-8cq0g`uA(&RBFo=-4Y1GUZ<``Zw{xL4jfHkZw~%~wvtGueszcXt)_QwH8g!; z%s&3kSa~R$dO$-%L-)c@_hi7&>{6L_M>OZFkUQu;{sL_bUMStNrt{{&O(Wn~*zPOk zB>dnfszb29NSTf2pqIs68k|p-UrSrxgLHqi?3N-UFa!LHy9n1)=s>`yS+J{MEzS@ zNlfGtpma7kG&LR3JE@wB%rFA*h~~KitlO=IP)ZjN6dQLM6qsry zHkB#cyNh#n`)}bCrN1My*;k)^@>e4gJ`LJK?2)Pwp?4Tl4)4FA0(tvY+#1jOUM)xw zlMz4x-f@g^+yKUN`?Vu)|AwujArnM~Pa@y*Q9S8eS(u{-S%(Z5=R~pRl5ZGDjdqH% zC8rW&{##wOpU_oTIG4WXMk4&%2t1;lWcW5&!yxmOT*!hBcKyTqEcNoO+R2;Q?Yj+W z1-Y4?59fijz4(MIDwGe4-baYf08UCs;r|YefD-Md2ST;=cxwpgW=tR76-dQVAhn^= zG9Wk5lQk%jIR@KNU!UMp6@BfU;r+;y4VQ)D2!Il9HX%yW-9nOzV+m$YKzVaO`B8S7t z$!S2Mz`xw>V(RjE`0>bQp<0y&h~Y=M#jpy!#=dE>`=e_AjSZq6u!Dy1xJf~-7|0F! zPR9|n`e_7D2DIV2H(CESQ}hA>U>n|6`%z?YKEA~)BOVY%y=jPV zT=44R!L?J)736X#csn|lfBJ)o8ixaZclguWgrGO<`TN2FMfO}7;5}d+BlK0yTSH3* z4!=;5rOh85&2|x=46hkNaz?)U8&=bcfh=N_#8BNpZ2v$aVBo;sk^*X`v;4-LU;D>! zM*h12MxXIQy)SfAqE4;jY)wgnppazZkdNNVVF;(PLf^qK$FgY9+VFyBKE7UC|f z`R|?&egV11K3s$rJ6!GvoeW=jV*!-e(wA;x(2=d0E_e_%0x--0o8#~m^H1%AH5Z^B zn!TNPn927*bvaf0pt}zhK0o^V@WlGwwKo(*nQ|Q~4_;>~-8y20`HP>@UJa)3nEnGG z5Hwhs|FcmFG16ZVNb5hL`2Gc1{zWIMM{_OiKewV!hCi}U!VuE?s9wU-QbZ!)+Y^tS zGzp5OSi5iq6hmEr$w}&9DFgoB+i*`q`8TBi^MVS{SKEb8Aw%@K7@XCo(De2A`6%mf&a2#~y1N)+kJLD$1HCP!22)(U}xo2|j?WRzt(11j8Z_*v;P$R+Ug*Gy3VxV4K; zGGUGabnW*`Z}~`ydXL-l9e=GC$pY#z|63vy>E*m=$=j}iWP{sRTh0%H54`t>2xYH% zsk+M&u&pNgMCM@3e)Xc?jBWX-TIR_cQ1Z!RW7!B zBjZX=+^3}?SE)B+$EP+0oi1Fp5blDT?*}nsP>filqXH{ms zxU<$hetC`u)Wi+x|EKL-`y^#aQX+sDYIa{M;V%LqLrOk~lR>u0Q!+pyQSU4zY`?E^ z|5@)C)w6G_=i5YYC5SE_u(7hDNYr}uKT|@DSqF%S++lTIbIk^$a>{~0IH8KNFEy%+ zW#$&!ynpgNJh>6uR~?2c)ZMW+h0OKu231(7L_vETPaR+(P)Zy%0~yGm>E9?@@x!Jy z3PYgS}Q@b}x}E#F27@F+j}0=&Ql4gES&f8acMrPAVlVs9$97`FR))R5wI zc&}KFI1UIewh>3PkhnB7u zS3AT8_*|nexznG|Z*DU0c!K@jsI4J)5#DyNi#|e#`l1Vv1`1)*NVcy0LZ``aL0n8B zecupJ(rhq3u8bW0NIRhKYq$v1li+jp*4hfAd&wxYDE8vn1TQ7S@bTM|I2Ob z8vMOIxA7&_j{AKmD+O@EyXT`|dElt0pED^@IV0m)RPBUs*5jW60>>w1!@_G3aBKzG z_f(KfAPBk}-jQtR*Sroq!*3rbQ_m27e+YdzQjUb<_*k8vc_C)y!@cj5E>NxUhPu&g z@Z2<~esU`)ih+4opWe+K7sbN9n*9@n>#@n3*o z?xoROgDuvhq>jJ;Ve{6i<3roQNfgo5^4Q4(|GNExO2Dr7GjgA2zWuKp_K)K0R(6lv z!l$!zW-+T6mb3gQaAFviTQi{|*t%>{(mhTdy+y;Re4qT@kccy#{b z&zWy~kLO@>*WPj2k#H)|7L&gAJ37DmHQAme#@m;(Y8Nu^`D5vf8sZFW#+lA2!HK=( zJ)#hO6JD*`o~&c*&46d}g=Qj@SsoB5ikC z^1V8E+&<-OzuS_C`p5<<(A6fB`LXT(!kV^0_~hL6PpW4={l%|#xgdh?5EIk~lu8{D z2hiyhv3Yxij_#$Wu>P@7SYsl`-~3;}Ktx{34_NL^Kwin&=?!HDv3elQDbcU*qyYpN z(#yw~f1vFGK-t%CC-qa-4FYHbA^h>bag-I&*qaxwn?Qv|idE$<>1H|Gr6JtUu(he2$eg!N z@HTF@dG1)*y;4fxe)4_ZkpaBHH9hXp9p4|gLrRQyuevRd@gSS}JhRnWqrvm|U@>qM z=yl7RQROTKwQtzP3!zUF)_6Ld#NGA6v~2{J9Dd`h6{%+XsU#qGLh%`fB1Hc?wfayK zN`H4BpDp)npVQuu$DVW1qsBS&AJ2eP%6Qw>;k{)Z$8%HL=Q4(a$Ng2_vHw&vA!1L+9zc8vaX2GtqJ{L-;gvF0IR$em zMQ8@{Qp3+3Quk)TJ$?I<8KmwzD*7#(q<@Mc`dchngW}cRG14(Z6K7{T|LhFXwhqUQ;BET;cYqPcAcMgt6M$V9$(?jHo@Sud$an$U&5F zZ1QNh^ztt)E*d#Ij;<43oSKKnd+WNr$_r}+s_O_x6DZSB10*5Q{ourqq>mTl| zx4y^(cy+9;t@R=*j>3_dmm_m)$k$#937V(sllby&5)Xex^UD-|m|q<(jEd#@DV(of zAd7sSdmS*zUDqJ9|K%O2J2OfdUiK{{b{PCy)pi<;hp~7v1CQj&4-10 zgO<3dqhYH1#-Fa}Q{pjql5>>P6gZH21zLfxZ4$SK4T@7b!|`nWF9b*84Bq8&Eht;9 z*P72x&NUCZ7*@B$`FtE=hz5b}S`|c6Ey+j@D1ZibjJaRlR;{cxAWv z?Nqa>QqV*H-*zzaPvpLMHt~nl(x6?vrPpR?zn7~wow?oj*1TKmx4j71>$hvtC$DLD zUrz0^tiP0792U&dxJxNv@r}Elsjn^aSLUu=9#mD{&9n8|ayIL$!H3s>%KEvbchBFW z%cd?VU83mGF#Dar9*s~w&AnmQRQIOvR+uWsuZ?+|a=TzApXO@q^(r%8=}iv#wCnFq z=K9}JbqU@k99Q%j-}NNk+qLCP)jXfmOO|)@?mHcnynd6({mJisP1_}u7k)|eYHXWK z63eQ)E$ufFi!3CWUY2gw%e>omCv}qEX66aH-k&35f9`Q@Us|NPetVqe8=dX*VxJdn ze`q7b=Dn(UA(2sf&g)cOmQFhNJ#<-aMELJZbA#@to>25@kbW<)&!X01 z%NMJt>1ST)tyX)h@?`DxhbgCHr>S4wv}WC&Nw-!{+Z7$2D}74QAcXTvip=M0%Tp_N zor=k`)t|ra^ySr-+(|R9mB(E=`MX#y(wSw)$!iymzB;^c*>%&^*7HxTnRga=soSZT zdDl+9s;r!v8hk6POtzBaig4pRp7eWF(<8gufvNHPu6xs-=e{;mnHzJyGKE+8L0j}; z@%8-e^UCL5HhMiR>sD3Rve&yVZ#{Q1*CO8c+qSr^Z#CN;)(X5>tGG5yUw3<+CfhaL z%bP;hZ?jvgJU67BWyiy74_)6r)_nSxttxn0`0?HE^5(uydHVgP+HE$V?Lv)Leti43 zWA|;f-RqX``95>)^P-fw!Vi{3KNsII-*5f){gdxqd%gVdB1sOBNe=nEW%;i~g_P8J w!5uhoe-Jcg1nPN%MiEAtgE$;km@@t6ukO)1^!cY^83Pb_y85}Sb4q9e0FIsP9{>OV literal 0 HcmV?d00001 diff --git a/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png new file mode 100644 index 0000000000000000000000000000000000000000..2f1632cfddf3d9dade342351e627a0a75609fb46 GIT binary patch literal 2218 zcmV;b2vzrqP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91K%fHv1ONa40RR91KmY&$07g+lumAuE6iGxuRCodHTWf3-RTMruyW6Fu zQYeUM04eX6D5c0FCjKKPrco1(K`<0SL=crI{PC3-^hZU0kQie$gh-5!7z6SH6Q0J% zqot*`H1q{R5fHFYS}dje@;kG=v$L0(yY0?wY2%*c?A&{2?!D*x?m71{of2gv!$5|C z3>qG_BW}7K_yUcT3A5C6QD<+{aq?x;MAUyAiJn#Jv8_zZtQ{P zTRzbL3U9!qVuZzS$xKU10KiW~Bgdcv1-!uAhQxf3a7q+dU6lj?yoO4Lq4TUN4}h{N z*fIM=SS8|C2$(T>w$`t@3Tka!(r!7W`x z-isCVgQD^mG-MJ;XtJuK3V{Vy72GQ83KRWsHU?e*wrhKk=ApIYeDqLi;JI1e zuvv}5^Dc=k7F7?nm3nIw$NVmU-+R>> zyqOR$-2SDpJ}Pt;^RkJytDVXNTsu|mI1`~G7yw`EJR?VkGfNdqK9^^8P`JdtTV&tX4CNcV4 z&N06nZa??Fw1AgQOUSE2AmPE@WO(Fvo`%m`cDgiv(fAeRA%3AGXUbsGw{7Q`cY;1BI#ac3iN$$Hw z0LT0;xc%=q)me?Y*$xI@GRAw?+}>=9D+KTk??-HJ4=A>`V&vKFS75@MKdSF1JTq{S zc1!^8?YA|t+uKigaq!sT;Z!&0F2=k7F0PIU;F$leJLaw2UI6FL^w}OG&!;+b%ya1c z1n+6-inU<0VM-Y_s5iTElq)ThyF?StVcebpGI znw#+zLx2@ah{$_2jn+@}(zJZ{+}_N9BM;z)0yr|gF-4=Iyu@hI*Lk=-A8f#bAzc9f z`Kd6K--x@t04swJVC3JK1cHY-Hq+=|PN-VO;?^_C#;coU6TDP7Bt`;{JTG;!+jj(` zw5cLQ-(Cz-Tlb`A^w7|R56Ce;Wmr0)$KWOUZ6ai0PhzPeHwdl0H(etP zUV`va_i0s-4#DkNM8lUlqI7>YQLf)(lz9Q3Uw`)nc(z3{m5ZE77Ul$V%m)E}3&8L0 z-XaU|eB~Is08eORPk;=<>!1w)Kf}FOVS2l&9~A+@R#koFJ$Czd%Y(ENTV&A~U(IPI z;UY+gf+&6ioZ=roly<0Yst8ck>(M=S?B-ys3mLdM&)ex!hbt+ol|T6CTS+Sc0jv(& z7ijdvFwBq;0a{%3GGwkDKTeG`b+lyj0jjS1OMkYnepCdoosNY`*zmBIo*981BU%%U z@~$z0V`OVtIbEx5pa|Tct|Lg#ZQf5OYMUMRD>Wdxm5SAqV2}3!ceE-M2 z@O~lQ0OiKQp}o9I;?uxCgYVV?FH|?Riri*U$Zi_`V2eiA>l zdSm6;SEm6#T+SpcE8Ro_f2AwxzI z44hfe^WE3!h@W3RDyA_H440cpmYkv*)6m1XazTqw%=E5Xv7^@^^T7Q2wxr+Z2kVYr + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/flutter_example/macos/Runner/Configs/AppInfo.xcconfig b/flutter_example/macos/Runner/Configs/AppInfo.xcconfig new file mode 100644 index 0000000..94384e5 --- /dev/null +++ b/flutter_example/macos/Runner/Configs/AppInfo.xcconfig @@ -0,0 +1,14 @@ +// Application-level settings for the Runner target. +// +// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the +// future. If not, the values below would default to using the project name when this becomes a +// 'flutter create' template. + +// The application's name. By default this is also the title of the Flutter window. +PRODUCT_NAME = flutter_example + +// The application's bundle identifier +PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterExample + +// The copyright displayed in application information +PRODUCT_COPYRIGHT = Copyright © 2023 com.example. All rights reserved. diff --git a/flutter_example/macos/Runner/Configs/Debug.xcconfig b/flutter_example/macos/Runner/Configs/Debug.xcconfig new file mode 100644 index 0000000..36b0fd9 --- /dev/null +++ b/flutter_example/macos/Runner/Configs/Debug.xcconfig @@ -0,0 +1,2 @@ +#include "../../Flutter/Flutter-Debug.xcconfig" +#include "Warnings.xcconfig" diff --git a/flutter_example/macos/Runner/Configs/Release.xcconfig b/flutter_example/macos/Runner/Configs/Release.xcconfig new file mode 100644 index 0000000..dff4f49 --- /dev/null +++ b/flutter_example/macos/Runner/Configs/Release.xcconfig @@ -0,0 +1,2 @@ +#include "../../Flutter/Flutter-Release.xcconfig" +#include "Warnings.xcconfig" diff --git a/flutter_example/macos/Runner/Configs/Warnings.xcconfig b/flutter_example/macos/Runner/Configs/Warnings.xcconfig new file mode 100644 index 0000000..42bcbf4 --- /dev/null +++ b/flutter_example/macos/Runner/Configs/Warnings.xcconfig @@ -0,0 +1,13 @@ +WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings +GCC_WARN_UNDECLARED_SELECTOR = YES +CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES +CLANG_WARN_PRAGMA_PACK = YES +CLANG_WARN_STRICT_PROTOTYPES = YES +CLANG_WARN_COMMA = YES +GCC_WARN_STRICT_SELECTOR_MATCH = YES +CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES +GCC_WARN_SHADOW = YES +CLANG_WARN_UNREACHABLE_CODE = YES diff --git a/flutter_example/macos/Runner/DebugProfile.entitlements b/flutter_example/macos/Runner/DebugProfile.entitlements new file mode 100644 index 0000000..dddb8a3 --- /dev/null +++ b/flutter_example/macos/Runner/DebugProfile.entitlements @@ -0,0 +1,12 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.cs.allow-jit + + com.apple.security.network.server + + + diff --git a/flutter_example/macos/Runner/Info.plist b/flutter_example/macos/Runner/Info.plist new file mode 100644 index 0000000..4789daa --- /dev/null +++ b/flutter_example/macos/Runner/Info.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIconFile + + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + $(FLUTTER_BUILD_NAME) + CFBundleVersion + $(FLUTTER_BUILD_NUMBER) + LSMinimumSystemVersion + $(MACOSX_DEPLOYMENT_TARGET) + NSHumanReadableCopyright + $(PRODUCT_COPYRIGHT) + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/flutter_example/macos/Runner/MainFlutterWindow.swift b/flutter_example/macos/Runner/MainFlutterWindow.swift new file mode 100644 index 0000000..3cc05eb --- /dev/null +++ b/flutter_example/macos/Runner/MainFlutterWindow.swift @@ -0,0 +1,15 @@ +import Cocoa +import FlutterMacOS + +class MainFlutterWindow: NSWindow { + override func awakeFromNib() { + let flutterViewController = FlutterViewController() + let windowFrame = self.frame + self.contentViewController = flutterViewController + self.setFrame(windowFrame, display: true) + + RegisterGeneratedPlugins(registry: flutterViewController) + + super.awakeFromNib() + } +} diff --git a/flutter_example/macos/Runner/Release.entitlements b/flutter_example/macos/Runner/Release.entitlements new file mode 100644 index 0000000..852fa1a --- /dev/null +++ b/flutter_example/macos/Runner/Release.entitlements @@ -0,0 +1,8 @@ + + + + + com.apple.security.app-sandbox + + + diff --git a/flutter_example/macos/RunnerTests/RunnerTests.swift b/flutter_example/macos/RunnerTests/RunnerTests.swift new file mode 100644 index 0000000..5418c9f --- /dev/null +++ b/flutter_example/macos/RunnerTests/RunnerTests.swift @@ -0,0 +1,12 @@ +import FlutterMacOS +import Cocoa +import XCTest + +class RunnerTests: XCTestCase { + + func testExample() { + // If you add code to the Runner application, consider adding tests here. + // See https://developer.apple.com/documentation/xctest for more information about using XCTest. + } + +} diff --git a/flutter_example/pubspec.yaml b/flutter_example/pubspec.yaml new file mode 100644 index 0000000..074ce96 --- /dev/null +++ b/flutter_example/pubspec.yaml @@ -0,0 +1,92 @@ +name: flutter_example +description: A new Flutter project. +# The following line prevents the package from being accidentally published to +# pub.dev using `flutter pub publish`. This is preferred for private packages. +publish_to: 'none' # Remove this line if you wish to publish to pub.dev + +# The following defines the version and build number for your application. +# A version number is three numbers separated by dots, like 1.2.43 +# followed by an optional build number separated by a +. +# Both the version and the builder number may be overridden in flutter +# build by specifying --build-name and --build-number, respectively. +# In Android, build-name is used as versionName while build-number used as versionCode. +# Read more about Android versioning at https://developer.android.com/studio/publish/versioning +# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. +# Read more about iOS versioning at +# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html +# In Windows, build-name is used as the major, minor, and patch parts +# of the product and file versions while build-number is used as the build suffix. +version: 1.0.0+1 + +environment: + sdk: '>=3.1.5 <4.0.0' + +# Dependencies specify other packages that your package needs in order to work. +# To automatically upgrade your package dependencies to the latest versions +# consider running `flutter pub upgrade --major-versions`. Alternatively, +# dependencies can be manually updated by changing the version numbers below to +# the latest version available on pub.dev. To see which dependencies have newer +# versions available, run `flutter pub outdated`. +dependencies: + flutter: + sdk: flutter + + + # The following adds the Cupertino Icons font to your application. + # Use with the CupertinoIcons class for iOS style icons. + cupertino_icons: ^1.0.2 + ffi: ^2.1.0 + +dev_dependencies: + flutter_test: + sdk: flutter + + # The "flutter_lints" package below contains a set of recommended lints to + # encourage good coding practices. The lint set provided by the package is + # activated in the `analysis_options.yaml` file located at the root of your + # package. See that file for information about deactivating specific lint + # rules and activating additional ones. + flutter_lints: ^2.0.0 + ffigen: ^9.0.1 + +# For information on the generic Dart part of this file, see the +# following page: https://dart.dev/tools/pub/pubspec + +# The following section is specific to Flutter packages. +flutter: + + # The following line ensures that the Material Icons font is + # included with your application, so that you can use the icons in + # the material Icons class. + uses-material-design: true + + # To add assets to your application, add an assets section, like this: + # assets: + # - images/a_dot_burr.jpeg + # - images/a_dot_ham.jpeg + + # An image asset can refer to one or more resolution-specific "variants", see + # https://flutter.dev/assets-and-images/#resolution-aware + + # For details regarding adding assets from package dependencies, see + # https://flutter.dev/assets-and-images/#from-packages + + # To add custom fonts to your application, add a fonts section here, + # in this "flutter" section. Each entry in this list should have a + # "family" key with the font family name, and a "fonts" key with a + # list giving the asset and other descriptors for the font. For + # example: + # fonts: + # - family: Schyler + # fonts: + # - asset: fonts/Schyler-Regular.ttf + # - asset: fonts/Schyler-Italic.ttf + # style: italic + # - family: Trajan Pro + # fonts: + # - asset: fonts/TrajanPro.ttf + # - asset: fonts/TrajanPro_Bold.ttf + # weight: 700 + # + # For details regarding fonts from package dependencies, + # see https://flutter.dev/custom-fonts/#from-packages diff --git a/flutter_example/test/widget_test.dart b/flutter_example/test/widget_test.dart new file mode 100644 index 0000000..c18af3f --- /dev/null +++ b/flutter_example/test/widget_test.dart @@ -0,0 +1,30 @@ +// This is a basic Flutter widget test. +// +// To perform an interaction with a widget in your test, use the WidgetTester +// utility in the flutter_test package. For example, you can send tap and scroll +// gestures. You can also use WidgetTester to find child widgets in the widget +// tree, read text, and verify that the values of widget properties are correct. + +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import 'package:flutter_example/main.dart'; + +void main() { + testWidgets('Counter increments smoke test', (WidgetTester tester) async { + // Build our app and trigger a frame. + await tester.pumpWidget(const MyApp()); + + // Verify that our counter starts at 0. + expect(find.text('0'), findsOneWidget); + expect(find.text('1'), findsNothing); + + // Tap the '+' icon and trigger a frame. + await tester.tap(find.byIcon(Icons.add)); + await tester.pump(); + + // Verify that our counter has incremented. + expect(find.text('0'), findsNothing); + expect(find.text('1'), findsOneWidget); + }); +}