commit 223ad767b1d941f23aeab524c4e03ffa5095da44 Author: Hugo Pointcheval Date: Mon Nov 6 16:04:00 2023 +0100 chore: initial commit 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 0000000..db77bb4 Binary files /dev/null and b/flutter_example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ 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 0000000..17987b7 Binary files /dev/null and b/flutter_example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/flutter_example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/flutter_example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..09d4391 Binary files /dev/null and b/flutter_example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ 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 0000000..d5f1c8d Binary files /dev/null and b/flutter_example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ 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 0000000..4d6372e Binary files /dev/null and b/flutter_example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ 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 0000000..dc9ada4 Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png new file mode 100644 index 0000000..7353c41 Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ 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 0000000..797d452 Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ 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 0000000..6ed2d93 Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ 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 0000000..4cd7b00 Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ 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 0000000..fe73094 Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png new file mode 100644 index 0000000..321773c Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png new file mode 100644 index 0000000..797d452 Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ 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 0000000..502f463 Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png new file mode 100644 index 0000000..0ec3034 Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ 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 0000000..0ec3034 Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ 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 0000000..e9f5fea Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png new file mode 100644 index 0000000..84ac32a Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ diff --git a/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png new file mode 100644 index 0000000..8953cba Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ 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 0000000..0467bf1 Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ 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 0000000..9da19ea Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ 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 0000000..9da19ea Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ 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 0000000..9da19ea Binary files /dev/null and b/flutter_example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ 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 0000000..82b6f9d Binary files /dev/null and b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png differ 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 0000000..13b35eb Binary files /dev/null and b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png differ 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 0000000..0a3f5fa Binary files /dev/null and b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png differ diff --git a/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png new file mode 100644 index 0000000..bdb5722 Binary files /dev/null and b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png differ diff --git a/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png new file mode 100644 index 0000000..f083318 Binary files /dev/null and b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png differ diff --git a/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png new file mode 100644 index 0000000..326c0e7 Binary files /dev/null and b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png differ 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 0000000..2f1632c Binary files /dev/null and b/flutter_example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png differ diff --git a/flutter_example/macos/Runner/Base.lproj/MainMenu.xib b/flutter_example/macos/Runner/Base.lproj/MainMenu.xib new file mode 100644 index 0000000..80e867a --- /dev/null +++ b/flutter_example/macos/Runner/Base.lproj/MainMenu.xib @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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); + }); +}